Dynamic Scaling of Unit Tests for Code Reward Modeling
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Current large language models (LLMs) often struggle to produce accurate responses on the first attempt for complex reasoning tasks like code generation. Prior research tackles this challenge by generating multiple candidate solutions and validating them with LLM-generated unit tests. The execution results of unit tests serve as reward signals to identify correct solutions. As LLMs always confidently make mistakes, these unit tests are not reliable, thereby diminishing the quality of reward signals. Motivated by the observation that scaling the number of solutions improves LLM performance, we explore the impact of scaling unit tests to enhance reward signal quality. Our pioneer experiment reveals a positive correlation between the number of unit tests and reward signal quality, with greater benefits observed in more challenging problems. Based on these insights, we propose CodeRM-8B, a lightweight yet effective unit test generator that enables efficient and high-quality unit test scaling. Additionally, we implement a dynamic scaling mechanism that adapts the number of unit tests based on problem difficulty, further improving efficiency. Experimental results show that our approach significantly improves performance across various models on three benchmarks (e.g., with gains of 18.43% for Llama3-8B and 3.42% for GPT-4o-mini on HumanEval Plus).
Key facts. Cited by 31 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 13 of its 44 references that are in the map. First posted on arXiv 2 Jan 2025.
Builds on
13 of 44 references.
Closest ancestors · 1
Same direction, newest first
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code12 Mar
Other references · 12
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2023TACO: Topics in Algorithmic COde generation datasetcited by 150
- 2024Learning How Hard to Think: Input-Adaptive Allocation of LM Computationcited by 67
- 2024Smaller, Weaker, Yet Better: Training LLM Reasoners via Compute-Optimal Samplingcited by 60
Built on by
Citing papers per year: 2025: 11; 2026: 20.
31 papers.
Sort:
By area:
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learningcited by 178
- 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learningcited by 51
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluationcited by 32
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discoverycited by 17
- 2025A Practitioner's Guide to Multi-turn Agentic Reinforcement Learningcited by 16
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learningcited by 16
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millionscited by 16
- 2025Rethinking Verification for LLM Code Generation: From Generation to Testingcited by 12
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learningcited by 11
- 2025Teaching Your Models to Understand Code via Focal Preference Alignmentcited by 10
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoningcited by 8
19 more
- 2026Scaling Coding Agents via Atomic Skillscited by 8
- 2026Scaling Agentic Verifier for Competitive Codingcited by 5
- 2025MultiFileTest: A Multi-File-Level LLM Unit Test Generation Benchmark and Impact of Error Fixing Mechanismscited by 4
- 2026Rule2DRC: Benchmarking LLM Agents for DRC Script Synthesis with Execution-Guided Test Generationcited by 2
- 2026Self-Improving Code Generation via Semantic Entropy and Behavioral Consensuscited by 1
- 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verificationcited by 1
- 2026Granularity-Regulated Adaptive Computational Efficiency for Optimal Verification in Test-Time Scalingcited by 1
- 2026VeriBound: PAC-Bayesian Generalization Bounds for Process Reward Models Trained with Formal Verification Toolscited by 1
- 2026The geometry of AI validation: From structural blindness to reusable auditscited by 1
- 2026Two-Stage Reinforcement Learning for Sound and Adversarial Test Generation in Code LLMscited by 1
- 2026CVeDRL: An Efficient Code Verifier via Difficulty-aware Reinforcement Learningcited by 0
- 2026Synthesizing File-Level Data for Unit Test Generation with Chain-of-Thoughts via Self-Debuggingcited by 0
- 2026MIST-RL: Mutation-based Incremental Suite Testing via Reinforcement Learningcited by 0
- 2026Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimizationcited by 0
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithmscited by 0
- 2026Function-Level Execution Feedback for Code Preference Optimizationcited by 0
- 2026Robust Code RL via Faulty-Code-Driven Test case Synthesis and Dense Reward Shapingcited by 0
- 2026Confidence-Gated Transductive Test Generation for Code Rerankingcited by 0
- 2026Cheap to Draw, Expensive to Trust: Certifying Test-Time Scaling Curvescited by 0
- 2026Cheap to Draw, Expensive to Trust: Certifying Test-Time Scaling Curves30 Sep 2026
- 2026Confidence-Gated Transductive Test Generation for Code Reranking11 Sep 2026
- 2026Two-Stage Reinforcement Learning for Sound and Adversarial Test Generation in Code LLMs3 Sep 2026
- 2026Robust Code RL via Faulty-Code-Driven Test case Synthesis and Dense Reward Shaping25 Aug 2026
- 2026Function-Level Execution Feedback for Code Preference Optimization23 Aug 2026
- 2026The geometry of AI validation: From structural blindness to reusable audits21 Aug 2026
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithms24 Jun 2026
- 2026VeriBound: PAC-Bayesian Generalization Bounds for Process Reward Models Trained with Formal Verification Tools17 Jun 2026
- 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification17 May 2026
- 2026Rule2DRC: Benchmarking LLM Agents for DRC Script Synthesis with Execution-Guided Test Generation15 May 2026
- 2026Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimization13 May 2026
- 2026Granularity-Regulated Adaptive Computational Efficiency for Optimal Verification in Test-Time Scaling28 Apr 2026
19 more
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discovery7 Apr 2026
- 2026Scaling Coding Agents via Atomic Skills6 Apr 2026
- 2026Self-Improving Code Generation via Semantic Entropy and Behavioral Consensus31 Mar 2026
- 2026MIST-RL: Mutation-based Incremental Suite Testing via Reinforcement Learning2 Mar 2026
- 2026Scaling Agentic Verifier for Competitive Coding4 Feb 2026
- 2026Synthesizing File-Level Data for Unit Test Generation with Chain-of-Thoughts via Self-Debugging3 Feb 2026
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millions2 Feb 2026
- 2026CVeDRL: An Efficient Code Verifier via Difficulty-aware Reinforcement Learning30 Jan 2026
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learning27 Oct 2025
- 2025A Practitioner's Guide to Multi-turn Agentic Reinforcement Learning1 Oct 2025
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learning28 Aug 2025
- 2025Rethinking Verification for LLM Code Generation: From Generation to Testing9 Jul 2025
- 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learning3 Jun 2025
- 2025d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learning16 Apr 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
- 2025Teaching Your Models to Understand Code via Focal Preference Alignment4 Mar 2025
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoning19 Feb 2025
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation18 Feb 2025
- 2025MultiFileTest: A Multi-File-Level LLM Unit Test Generation Benchmark and Impact of Error Fixing Mechanisms10 Feb 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learningcited by 178
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluationcited by 32
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learningcited by 16
- 2025Rethinking Verification for LLM Code Generation: From Generation to Testingcited by 12
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoningcited by 8
- 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verificationcited by 1
- 2026Granularity-Regulated Adaptive Computational Efficiency for Optimal Verification in Test-Time Scalingcited by 1
- 2026VeriBound: PAC-Bayesian Generalization Bounds for Process Reward Models Trained with Formal Verification Toolscited by 1
- 2026Synthesizing File-Level Data for Unit Test Generation with Chain-of-Thoughts via Self-Debuggingcited by 0
- 2026VeriBound: PAC-Bayesian Generalization Bounds for Process Reward Models Trained with Formal Verification Tools17 Jun 2026
- 2026Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification17 May 2026
- 2026Granularity-Regulated Adaptive Computational Efficiency for Optimal Verification in Test-Time Scaling28 Apr 2026
- 2026Synthesizing File-Level Data for Unit Test Generation with Chain-of-Thoughts via Self-Debugging3 Feb 2026
- 2025Incentivizing Agentic Reasoning in LLM Judges via Tool-Integrated Reinforcement Learning27 Oct 2025
- 2025Rethinking Verification for LLM Code Generation: From Generation to Testing9 Jul 2025
- 2025d1: Scaling Reasoning in Diffusion Large Language Models via Reinforcement Learning16 Apr 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
- 2025Scoring Verifiers: Evaluating Synthetic Verification for Code and Reasoning19 Feb 2025
- 2025MCTS-Judge: Test-Time Scaling in LLM-as-a-Judge for Code Correctness Evaluation18 Feb 2025
- 2025A Practitioner's Guide to Multi-turn Agentic Reinforcement Learningcited by 16
- 2026Scaling Coding Agents via Atomic Skillscited by 8
- 2026Scaling Agentic Verifier for Competitive Codingcited by 5
- 2026Rule2DRC: Benchmarking LLM Agents for DRC Script Synthesis with Execution-Guided Test Generationcited by 2
- 2026Rule2DRC: Benchmarking LLM Agents for DRC Script Synthesis with Execution-Guided Test Generation15 May 2026
- 2026Scaling Coding Agents via Atomic Skills6 Apr 2026
- 2026Scaling Agentic Verifier for Competitive Coding4 Feb 2026
- 2025A Practitioner's Guide to Multi-turn Agentic Reinforcement Learning1 Oct 2025
- 2025Teaching Your Models to Understand Code via Focal Preference Alignmentcited by 10
- 2026Self-Improving Code Generation via Semantic Entropy and Behavioral Consensuscited by 1
- 2026Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimizationcited by 0
- 2026Robust Code RL via Faulty-Code-Driven Test case Synthesis and Dense Reward Shapingcited by 0
- 2026Robust Code RL via Faulty-Code-Driven Test case Synthesis and Dense Reward Shaping25 Aug 2026
- 2026Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimization13 May 2026
- 2026Self-Improving Code Generation via Semantic Entropy and Behavioral Consensus31 Mar 2026
- 2025Teaching Your Models to Understand Code via Focal Preference Alignment4 Mar 2025
- 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learningcited by 51
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discoverycited by 17
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millionscited by 16
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learningcited by 11
- 2025MultiFileTest: A Multi-File-Level LLM Unit Test Generation Benchmark and Impact of Error Fixing Mechanismscited by 4
- 2026The geometry of AI validation: From structural blindness to reusable auditscited by 1
- 2026Two-Stage Reinforcement Learning for Sound and Adversarial Test Generation in Code LLMscited by 1
- 2026CVeDRL: An Efficient Code Verifier via Difficulty-aware Reinforcement Learningcited by 0
- 2026MIST-RL: Mutation-based Incremental Suite Testing via Reinforcement Learningcited by 0
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithmscited by 0
- 2026Function-Level Execution Feedback for Code Preference Optimizationcited by 0
- 2026Confidence-Gated Transductive Test Generation for Code Rerankingcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Cheap to Draw, Expensive to Trust: Certifying Test-Time Scaling Curves30 Sep 2026
- 2026Confidence-Gated Transductive Test Generation for Code Reranking11 Sep 2026
- 2026Two-Stage Reinforcement Learning for Sound and Adversarial Test Generation in Code LLMs3 Sep 2026
- 2026Function-Level Execution Feedback for Code Preference Optimization23 Aug 2026
- 2026The geometry of AI validation: From structural blindness to reusable audits21 Aug 2026
- 2026The Generalization Spectrum: A Chromatographic Approach to Evaluating Learning Algorithms24 Jun 2026
- 2026AutoSOTA: An End-to-End Automated Research System for State-of-the-Art AI Model Discovery7 Apr 2026
- 2026MIST-RL: Mutation-based Incremental Suite Testing via Reinforcement Learning2 Mar 2026
- 2026SWE-Universe: Scale Real-World Verifiable Environments to Millions2 Feb 2026
- 2026CVeDRL: An Efficient Code Verifier via Difficulty-aware Reinforcement Learning30 Jan 2026
- 2025Learning to Generate Unit Test via Adversarial Reinforcement Learning28 Aug 2025
- 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learning3 Jun 2025
12 newest of 13 All 13 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026CodeScaler: Scaling Code LLM Training and Test-Time Inference via Reward Models
- 2025From Mathematical Reasoning to Code: Generalization of Process Reward Models in Test-Time Scaling
- 2025Rethinking Reward Models for Multi-Domain Test-Time Scaling
- 2025Smaller Models, Smarter Rewards: A Two-Sided Approach to Process and Outcome Rewards
- 2025S*: Test Time Scaling for Code Generation
- 2026Sample Count Is Not Enough: Candidate-Generation Strategy Shapes the Energy and Performance of LLM Test-Time Scaling
- 2025Can 1B LLM Surpass 405B LLM? Rethinking Compute-Optimal Test-Time Scaling
- 2026FunPRM: Function-as-Step Process Reward Model with Meta Reward Correction for Code Generation