Sign inGet started
Paper · arXiv

AgentHER: Hindsight Experience Replay for LLM Agent Trajectory Relabeling

LLM-agent training pipelines routinely discard failed trajectories even though GPT-4o achieves only 14-20% on WebArena and below 55% pass@1 on ToolBench; even specialised systems at 50-65% leave the majority of trajectories unused. We introduce AgentHER, which recovers this lost signal by adapting Hindsight Experience Replay (HER) to natural-language agent trajectories: a trajectory that fails goal A is often a correct demonstration for an achievable alternative goal B. AgentHER realises this through a four-stage pipeline (failure classification, outcome extraction, LLM-guided relabeling with confidence gating, and data packaging) that converts discarded failures into SFT, DPO, and ShareG...

AuthorsLiang Ding
Primary categorycs.AI
Published22 March 2026
Last updated at source10 May 2026
cs.AIcs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/e2c73055-a0c9-46c0-be23-8e40a3f66509" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.