TRANSMISSION // 2612.05497v1
Teaching AI Agents to Cope With Missing History
Source published
VeilGRPO trains multi-turn language-model agents with masked tool observations and filters the next response, aiming to improve performance when history is lost.

A tool-using AI agent may need information from a web page or search result it can no longer see. A preprint tests a way to train agents for imperfect histories, while avoiding reinforcement of some responses made immediately after information is hidden.
Imagine a shopping agent that has seen a product page but later loses that page from its conversation history. It might repeat a step or lose track of the task. This is a hypothetical illustration, not an experiment in the paper. The VeilGRPO preprint asks whether reinforcement-learning training can help agents handle missing or shortened tool history without collecting extra task-environment interactions for the training method.
The authors study GRPO, a method that updates a language model using the relative success of several attempts at the same task. In standard training, the agent’s actions are learned from trajectories with full observations. At use time, however, context limits or memory management may hide, truncate or summarize earlier tool results. The model then has less information than it did during training.
VeilGRPO changes the training update, not the initial task attempts. First, the researchers collect trajectories with full context and calculate task rewards and group-relative advantages. During the update, they randomly replace some tool observations with an omission marker. They then exclude from the training loss the response immediately following each masked observation. The original rewards and advantages are reused, so this procedure does not require additional environment rollouts to create masked examples.
That exclusion is a heuristic, not a test of whether a response truly depended on the hidden observation. The authors reason that the next response may rely directly on it—for example, by using a value from a tool result. Excluding that response avoids training on an action whose basis may have been removed. The response is still kept in the trajectory as history for later responses. Some excluded responses may not depend on the observation, however, and later responses can still depend on missing information.
The team tested Qwen3.5 models on WebShop, a simulated shopping task; ALFWorld, a household-task environment; ScienceWorld, a science problem-solving environment; and DeepSearch multi-hop question answering. They compared VeilGRPO with standard full-observation GRPO, testing complete histories and altered contexts, including omission and summary compression. In component ablations—tests of masking and filtering separately and together—the combination performed well across the reported settings, but not every comparison was a unique win. For example, on ScienceWorld’s W1 condition, which retains only the latest interaction step, filtering alone and the combination both scored 16.00%. Masking alone was unreliable across the two environments examined in the ablation.
The largest reported gains came under severe history loss. In WebShop, when evaluation retained only the latest tool observation, the three-seed mean success rate was 4.60% for standard GRPO and 43.87% for VeilGRPO. In ALFWorld, when evaluation retained only the latest interaction step, success was 16.42% and 63.43%, respectively. These figures describe specific models and evaluation setups, not a guarantee of improvement for other agents or deployments.
Under full observation, VeilGRPO generally matched or improved on the baseline in the tested settings. ALFWorld was an exception: on its 134-task evaluation set, the full-observation baseline scored 100% success, while VeilGRPO scored 97.01%. The paper also reports gains under some perturbations unlike the training-time masking, including summary compression and missing newly arriving feedback. In 40 tested conditions where the baseline’s success rate fell by at least 10 percentage points from its own full-observation result, VeilGRPO’s drop was smaller. This does not establish robustness to every kind of missing or corrupted information.
The evidence has limits. Most reported settings use one training seed; WebShop’s main 4B results use three, and one DeepSearch feedback result combines two. Confidence intervals reflect variation across sampled tasks, not variation across training runs, and the authors did not adjust them for multiple comparisons. Their analysis finds fewer repeated actions alongside improved outcomes, but it is observational and cannot show that fewer repetitions caused the gains.
The method trains on full-context trajectories and applies masking during updates; it does not train through actual online episodes with degraded histories. The paper’s gradient analysis is not a guarantee of higher task returns or successful convergence. Its conclusions are limited to the tested GRPO configurations, models, environments and perturbations.
VeilGRPO is described in version 1 of an arXiv preprint. A preprint is a publicly shared manuscript and is not, by itself, evidence of peer review. The experiments offer an initial test of training agents with altered views of past tool results, while excluding the immediately following response from the loss as a practical, imperfect safeguard.
- AI agents
- large language models
- reinforcement learning
- GRPO
- context robustness
- tool use
- VeilGRPO
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
An AI Agent’s Past Attempts Become a Checklist for Training
Shared method: Both papers use GRPO and reuse on-policy trajectories to add training signals without additional environment interactions: VeilGRPO masks tool observations and filters the next response, while ORSD derives token-level credit from rubric-conditioned likelihood gaps. This is a shared optimization framework, not the same augmentation; their evaluations use different tasks and models.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.05497v1 — Original paper
Excerpt reference:
static/papers/2612.05497v1.md:87-196
Basis: Paper text
Source file SHA-256:06f9c5321a8a094e4239c5622302e79878dc403a2535281d8addea10bf5f3a992611.06543v1 — Original paper
Excerpt reference:
static/papers/2611.06543v1.md:66-112
Basis: Paper text
Source file SHA-256:4679aa98f10c9d0e9f5aad4e19b7c5b6d5b0eecc58f70c2b8fc61953f4b109d12611.06543v1 — Original paper
Excerpt reference:
static/papers/2611.06543v1.md:113-168
Basis: Paper text
Source file SHA-256:4679aa98f10c9d0e9f5aad4e19b7c5b6d5b0eecc58f70c2b8fc61953f4b109d1
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
When AI Agents’ Errors Weigh on Later Tasks
Source published
Shared keywords: ai agents, large language models, reinforcement learning, tool use
Teaching an AI Video Director When to Check and Retry
Source published
Shared keywords: ai agents, reinforcement learning
A Vietnamese LLM built to gain language skills without losing others
Source published
Shared keywords: large language models, reinforcement learning
APPO Looks for the Decisions That Change an AI Agent’s Course
Source published
Shared keywords: ai agents, large language models, reinforcement learning, tool use
Teaching Visual AI When to Call a Tool
Source published
Shared keywords: reinforcement learning