Metraipolis › archive › dc_04e71b60048b

Counterfactual Rollout Replay: Forkable Environments as Free Process Rewards for Software Engineering Agents — arXiv:2609.33875

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.33875
License (as archived)
CC0-1.0
Archived
2026-10-07T21:01:52.556Z
SHA-256 of the archived text
10f69edcb2766c53e86d68d4091e3aa8b2c3c18a90f62b971d08f16013390485
Stable URL of this page
https://metraipolis.com/documento/dc_04e71b60048b

How to cite

Counterfactual Rollout Replay: Forkable Environments as Free Process Rewards for Software Engineering Agents — arXiv:2609.33875 — arXiv (en), https://arxiv.org/abs/2609.33875 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_04e71b60048b (Metraipolis archive dc_04e71b60048b, sha256 10f69edcb2766c53e86d68d4091e3aa8b2c3c18a90f62b971d08f16013390485)
BibTeX
@misc{dc04e71b60048b,
  title = {Counterfactual Rollout Replay: Forkable Environments as Free Process Rewards for Software Engineering Agents — arXiv:2609.33875},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.33875},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_04e71b60048b; sha256 10f69edcb2766c53e86d68d4091e3aa8b2c3c18a90f62b971d08f16013390485},
  year = {2026}
}

Archived text

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

Outcome-only reinforcement learning gives software engineering (SWE) agents a terminal success signal but little direct guidance about intermediate decisions. We introduce Counterfactual Rollout Replay (CRR), a training-time procedure that uses forkable executable environments to obtain step-level return contrasts. CRR selects a small set of decision points, restores each state, samples an alternative action, and rolls the branch forward under the policy. It retains the realised training trajectory and replaces the advantage at selected steps with the difference between its terminal return and the sampled counterfactual return. The method needs no human process labels or learned process reward model; free refers to those supervision costs, not replay compute. With a 14B policy, CRR improves pass@1 on SWE-bench Verified, SWE-bench Live, and SWE-rebench, and combines with process-reward and trajectory-search methods. On SWE-bench Verified, an equal-wall-clock comparison on the same hardware yields 41.7% versus 36.7% for extended outcome-only GRPO, a 5.0-point gain with fork overhead included. These results apply to environments with affordable, reliable state restoration; stochastic continuations and expensive or imperfect replay remain limitations.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.33875 — 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-07T20:29:02.776Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).