← News

Agents & MCPSources: arXiv · 30 Nov 2026

Study links retained failure messages in LLM agent context to lower success rates

Researchers quantify a Cost of Failure: failed actions left in an agent's history measurably reduce later success, and a training method reduces that residue.

In plain words

When an AI agent tries an action that fails, the failed attempt and its feedback stay in the conversation history the agent uses for later decisions. The paper's authors call the resulting drag on performance the Cost of Failure and show success rates drop as this failure content fills more of the history. They also report a training method, TFAS, that produces fewer failures in the first place.

What was announced

The authors define Error Token Density (ETD) as the share of an interaction history occupied by execution-failure content. On natural ALFWorld rollouts from Qwen3-8B, they report success of 40.1% when ETD is zero, falling to 6.7% when ETD reaches at least 40%. Because observational numbers alone cannot rule out other explanations, they ran controlled continuations with environment state and remaining action budget held fixed: inserting failure turns cut success by 1.9-3.8 percentage points more than token-matched neutral insertions, while deleting existing failure turns produced complementary gains.

As an intervention, the paper introduces Tool-Feedback Advantage Shaping (TFAS), a training approach that combines separately normalized task-success and trajectory-level execution-validity advantages. Across six model-environment settings, the authors report that TFAS improved overall accuracy and achieved the lowest ETD among compared policies, reducing ETD by 26.5-67.7% relative to outcome-only reinforcement learning. They present this as connecting the training intervention to lower failure-context density, and note failure-conditioned evaluations spanning planning, code execution, and visual tool use.

What it does not show

  • Evidence is limited to the paper's abstract; full methodology, baselines, and peer review status are not visible in the supplied excerpt.
  • The reported association and controlled-insertion results come from the authors' own measurements and have no independent confirmation in the sources.
  • The natural-rollout figures are observational; the abstract does not establish that high ETD alone causes the observed success differences outside the controlled continuations.

Sources

Source-support review completed 30 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 30 Nov 2026

New to the subject? AI from the Ground Up starts from the beginning.