Metraipolis › archive › dc_7a50c7f8837d

Ockhamareto: Pareto-Gated Segment-Level Credit Assignment for Concise Unit-Test Generation with Reinforcement Learning — arXiv:2608.24473

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.24473
License (as archived)
CC0-1.0
Archived
2026-10-18T06:20:55.852Z
SHA-256 of the archived text
f374963ead15a3f58bbc683b2090993d97bf043b601b38b6e4feccbef6407257
Stable URL of this page
https://metraipolis.com/documento/dc_7a50c7f8837d

How to cite

Ockhamareto: Pareto-Gated Segment-Level Credit Assignment for Concise Unit-Test Generation with Reinforcement Learning — arXiv:2608.24473 — arXiv (en), https://arxiv.org/abs/2608.24473 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_7a50c7f8837d (Metraipolis archive dc_7a50c7f8837d, sha256 f374963ead15a3f58bbc683b2090993d97bf043b601b38b6e4feccbef6407257)
BibTeX
@misc{dc7a50c7f8837d,
  title = {Ockhamareto: Pareto-Gated Segment-Level Credit Assignment for Concise Unit-Test Generation with Reinforcement Learning — arXiv:2608.24473},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.24473},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_7a50c7f8837d; sha256 f374963ead15a3f58bbc683b2090993d97bf043b601b38b6e4feccbef6407257},
  year = {2026}
}

Archived text

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

We introduce \textbf{Ockhamareto}, a single-shot GRPO framework for unit-test generation and selection, based on the principles of \emph{Ockham's Razor} and \emph{Pareto Optimality}. Ockhamareto has two principal components: (i)~a \emph{Pareto-gated Bonus} that rewards only rollouts non-dominated in~(mutation, $-$\#tests) space, and (ii)~\emph{Token-level Segment Credit}, which attributes each test's marginal mutation kills back to the tokens of its unit-test block. On the \emph{UnLeakedTestBench~(ULT)}, Ockhamareto \emph{strictly Pareto-dominates} the strongest RL baseline~(\emph{MIST-RL}). Furthermore, it dominates on {\em each and all} optimization objectives, catching more bugs ($49.9\%$ vs $31.3\%$ mutation score at $N{=}5$), using \emph{fewer} tests ($2.60$ vs $4.67$ on average), thereby achieving $3.4\times$ the per-test trade-off improvement. The advantage is found in all four benchmarks~(\emph{HumanEval+}, \emph{MBPP+}, \emph{CodeContests}, \emph{TestGenEval-Lite}): Ockhamareto leads both mutation and coverage metrics on every one, always with the smallest suite. Ockhamareto also outperforms the state-of-the-art at all model scales, adding $+30$--$35$~pp mutation at 4B, 9B, and 27B model sizes. We also show that the knee point of the optimal trade-off between efficiency and effectiveness on the Pareto front is not correlated with obvious more easily computed proxy metrics, such as function size. This finding motivates the Pareto front computation; it is needed to identify this crucial engineering trade-off for each function under test.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-26 in cs.CL).
Categorie arXiv: Software Engineering (cs.SE) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2608.24473 — 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-18T06:17:29.413Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-26?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).