Pareto Optimal Code Generation
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Generate-then-rank is the dominant test-time scaling (TTS) paradigm for code generation, but scaling accuracy by sampling and executing more candidates makes comprehensive verification a major computational bottleneck. This creates an inherent trade-off between accuracy and compute that, despite its importance to TTS, is often ignored. Specifically, faster but noisier signals, such as outcome reward models (ORMs), are dismissed as suboptimal. We frame verifier selection as a Pareto optimization problem and empirically map the accuracy-throughput frontier across signals, including the full test suite, heuristics for selective execution, and ORMs, across four Python benchmarks. We show that ORMs are most effective at optimizing the Pareto curve when pruning is used in the generate-then-rank pipeline--known as staged verification--where lightweight filters remove obviously incorrect solutions, including candidates with small syntactic or character-level bugs, before expensive verification. Our pruning analysis shows that eliminating incorrect yet highly ranked candidates (often character-level bugs) prevents wasted compute on incorrect tokens. We find that ORMs with staged verification shift the Pareto frontier outward, achieving 11.64x higher throughput at a cost of 8.26% accuracy relative to full test-suite verification.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. First posted on arXiv 11 Jun 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Test-Time Scaling Makes Overtraining Compute-Optimalcited by 3
- 2026Test-Time Scaling Makes Overtraining Compute-Optimal1 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2025S*: Test Time Scaling for Code Generation
- 2026Verification Trap: Understanding Test-Time Selection Failures under False Premises in Code Generation
- 2026Test-Time Scaling in the Wild: Why Exploitation, Not Exploration, Is the Bottleneck
- 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification
- 2026PaT: Planning-after-Trial for Efficient Test-Time Code Generation
- 2026Consistency Meets Verification: Enhancing Test Generation Quality in Large Language Models Without Ground-Truth Solutions
- 2025Trust but Verify! A Survey on Verification Design for Test-time Scaling
- 2025SELF-REDRAFT: Eliciting Intrinsic Exploration-Exploitation Balance in Test-Time Scaling for Code Generation