Metraipolis › archive › dc_a2543d509a11

Groupwise Agentic Grading and Advantage Redistribution for Code Agent RL — arXiv:2609.32577

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.32577
License (as archived)
CC0-1.0
Archived
2026-10-07T21:50:13.231Z
SHA-256 of the archived text
b8d8f02d345c3df66e2f9538a22226384385fdb41a66c8f6b43bcdb5e3b179f1
Stable URL of this page
https://metraipolis.com/documento/dc_a2543d509a11

How to cite

Groupwise Agentic Grading and Advantage Redistribution for Code Agent RL — arXiv:2609.32577 — arXiv (en), https://arxiv.org/abs/2609.32577 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a2543d509a11 (Metraipolis archive dc_a2543d509a11, sha256 b8d8f02d345c3df66e2f9538a22226384385fdb41a66c8f6b43bcdb5e3b179f1)
BibTeX
@misc{dca2543d509a11,
  title = {Groupwise Agentic Grading and Advantage Redistribution for Code Agent RL — arXiv:2609.32577},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.32577},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a2543d509a11; sha256 b8d8f02d345c3df66e2f9538a22226384385fdb41a66c8f6b43bcdb5e3b179f1},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.32577. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Reinforcement learning (RL) for code agents often uses executable tests to provide binary rewards. With these rewards, Group Relative Policy Optimization (GRPO) assigns identical advantages to test-passing trajectories within each rollout group, overlooking differences in implementation quality and adherence to task requirements. This leaves the policy without a learning signal that favors clean, targeted implementations over those containing unnecessary or out-of-scope changes. We introduce GAGAR, a framework for quality-aware credit redistribution in code agent RL. Built on dynamic sampling that retains groups containing both passing and failing trajectories, GAGAR places all trajectories from each group in a shared workspace, where an SFT-trained agentic grader jointly inspects them and ranks the test-passing candidates. Based on this ranking, we downweight lower-ranked trajectories and proportionally rescale the advantages of all test-passing trajectories to restore their original sum. This sum-preserving redistribution retains the relative weights established by quality-based downweighting while shifting credit toward higher-quality implementations. We evaluate GAGAR at industrial scale using pre-RL SFT checkpoints of MiMo-V2.6-Flash (310B total parameters) and MiMo-V2.6-Pro (1.02T total parameters). Controlled code-only Flash experiments show improved code agent performance, reduced trajectory-length growth, and more stable training. We further apply GAGAR in large-scale mixed-task RL with both Flash and Pro. Our results support combining test-based verification with groupwise agentic grading to improve the quality and stability of code agent RL.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.32577 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T21:27:08.446Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).