Learning from All-Failed Groups via First-Visit Coverage in Long-Horizon Agentic Tasks

Kaibing Yang, Guangfeng Cai, Shengtian Yang, Shuo He, Yu Li +4 more
7/22/2026
cs.LGcs.AI
rl

No confident code implementation found for this paper.

Abstract

Group-based policy optimization has been increasingly used to train large language model (LLM) agents from sparse outcome rewards by comparing trajectories or steps within a group. However, on difficult long-horizon agentic tasks, we found this comparison suffers from a sampling imbalance: repeated or low-effect actions dominate the high-probability region of the policy, leaving useful state-changing actions under-sampled.

Show full abstract

This imbalance produces many all-failed rollout groups, where the relative advantages within such a group provide no direction for updating the policy. Consequently, the sampling imbalance and the all-failed groups collapse into a self-perpetuating credit trap: failure-dominated sampling yields no learning signal, allowing repeated low-effect actions to persist. To break this trap, we propose Coverage-conditioned Group Policy Optimization (CovGPO), which uses first-visit observation coverage only when all samples in a group receive zero outcome reward. Specifically, within such groups, CovGPO assigns higher relative advantages to state-exploring actions without corrupting the original reward signal, as reaching new observations is a prerequisite for task success. Experiments on two challenging agentic benchmarks, ALFWorld and WebShop, show that CovGPO consistently improves over group-based baselines, with particularly large gains on hard tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026learning,
  title  = {Learning from All-Failed Groups via First-Visit Coverage in Long-Horizon Agentic Tasks},
  author = {Kaibing Yang and Guangfeng Cai and Shengtian Yang and Shuo He and Yu Li and Mengyi Liu and Pengwei Chen and Jun Xu and Lei Feng},
  year   = {2026},
  eprint = {2607.22724},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.22724v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.22724.svg)](https://codeofpaper.com/paper/2607.22724)

Discussion