mlsanityData to 7 Oct 2026

Groupwise Agentic Grading and Advantage Redistribution for Code Agent RL

arXiv 2609.32577 ↗First posted 26 Sep 2026cs.CL cs.LGcited by 1

On the map: LLM agents and tool use → Software engineering coding agents also fits: Reinforcement learning for LLM agents

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 21 of its 25 references that are in the map. First posted on arXiv 26 Sep 2026.

Builds on

21 of 25 references.

Closest ancestors · 1

Same direction, newest first

  1. 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Tasks8 Jul

Other references · 20

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  3. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,276
  4. 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 442
  5. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
  6. 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 223
  7. 2026Kimi K3: Open Frontier Intelligencecited by 99
  8. 2025Agent Lightning: Train ANY AI Agents with Reinforcement Learningcited by 94
  9. 2025No Prompt Left Behind: Exploiting Zero-Variance Prompts in LLM Reinforcement Learning via Entropy-Guided Advantage Shapingcited by 48
  10. 2025ReCode: Reinforcing Code Generation with Reasoning-Process Rewardscited by 25
  11. 2026Beyond Trajectory-Level Attribution: Graph-Based Credit Assignment for Agentic Reinforcement Learningcited by 23
  12. 2026HiPER: Hierarchical Reinforcement Learning with Explicit Credit Assignment for Large Language Model Agentscited by 14
8 more
  1. 2025CPO: Addressing Reward Ambiguity in Role-playing Dialogue via Comparative Policy Optimizationcited by 10
  2. 2025Towards Better Correctness and Efficiency in Code Generationcited by 8
  3. 2026PAPO: Stabilizing Rubric Integration Training via Decoupled Advantage Normalizationcited by 8
  4. 2026TRIAGE: Role-Typed Credit Assignment for Agentic Reinforcement Learningcited by 5
  5. 2026GRRM: Group Relative Reward Modeling for Machine Translationcited by 2
  6. 2026Prioritizing the Best: Incentivizing Reliable Multimodal Reasoning by Rewarding Beyond Answer Correctnesscited by 2
  7. 2026Leveraging Error Diversity in Group Rollouts for Reinforcement Learningcited by 2
  8. 2026How Much, Then Where: Credit-Conserving Action-to-Token Allocation for Multi-Turn Agent Reinforcement Learningcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Cross-Benchmark Transfer from RL on Agentic Coding Tasks
  2. 2026Targeting Pivotal Decisions for Credit Assignment in Agentic Reinforcement Learning
  3. 2026DiDPO: Diff-in-Diff Policy Optimization for Coding Agent Training
  4. 2026CodeMidas: Scaling Agentic Coding RL Environments from Code Itself
  5. 2026LEGO-RL: Harness-Native Reinforcement Learning for Coding Agents
  6. 2026ArenaFlow: From Trajectory Ranking to Hierarchical Credit Propagation for Open-Ended Agent RL
  7. 2026EvoCode-Bench: Evaluating Coding Agents in Multi-Turn Iterative Interactions
  8. 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agents