potentialpaper

CodeScaler: Scaling Code LLM Training and Test-Time Inference via Reward Models

Xiao Zhu, Xinyu Zhou, Boyu Zhu, Hanxu Hu, Mingzhe Du, Haotian Zhang, Huiming Wang, Zhijiang Guo

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose CodeScaler, a reward model designed to scale both reinforcement learning training and test-time inference for code generation.

Abstract. Reinforcement Learning from Verifiable Rewards (RLVR) has driven recent progress in code large language models by leveraging execution-based feedback from unit tests, but its scalability is fundamentally constrained by the availability and reliability of high-quality test cases. We propose CodeScaler, a reward model designed to scale both reinforcement learning training and test-time inference for code generation. CodeScaler is trained on carefully curated preference data derived from verified code problems and incorporates syntax-aware code extraction and validity-preserving reward shaping to ensure stable and robust optimization. Across four coding benchmarks, CodeScaler consistently outperforms execution-based RL by +1.55 points on Qwen3-8B-Base and +4.23 points on Qwen3-14B-Base. By further scaling to 44K problems with additional synthetic data, CodeScaler yields +14.64 points improvement over the base model without requiring any test cases. At inference time, CodeScaler serves as an effective test-time scaling method, achieving performance comparable to unit test approaches while providing a 10× reduction in latency. Moreover, CodeScaler surpasses existing reward models on RM-Bench not only in the code domain (+3.3 points), but also in general and reasoning domains (+2.7 points on average).

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
27 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Summary

This paper proposes CodeScaler, a learned reward model for code generation trained from execution-labeled, on-policy rollouts of an RLVR-trained policy. CodeScaler is used both as the reward for GRPO training and as a Best-of-N ranker, together with single-block AST-validated code extraction and validity-preserving reward shaping.

Main strengths

The paper addresses an important scalability bottleneck in code RL and presents a simple, practically useful approach. The on-policy construction of preference data, the syntax and validity safeguards, and the reuse of one reward model for both training-time optimization and test-time selection are well motivated. The evaluation is reasonably broad, and the approximately 10x latency reduction relative to unit-test-based test-time selection is a meaningful deployment advantage.

Main weaknesses

The reward model is still bootstrapped from execution-labeled trajectories generated by a policy already trained with RLVR. Without matched accounting of test-case executions, rollout tokens, and compute, it remains unclear whether the gains over direct RLVR arise from the learned reward itself or from additional supervision and optimization stages. Moreover, the margins over RLVR are often modest with no multi-seed uncertainty estimates; reward hacking is not evaluated; and the 44k synthetic-data generation details are missing.

Actions that may change the recommendation

Overall, I think the review stays close to positive. To improve the recommendation, I summarized that the authors should provide:

  1. end-to-end execution and compute accounting, ideally with a matched-compute or disjoint-data control;
  2. multi-seed results or confidence intervals for the small margins over RLVR;
  3. extended training curves that jointly track reward-model score and true execution pass rate, together with sensitivity to reward-shaping choices (or clarify these in the rebuttal if they have already been provided in the appendix);
  4. a reproducible description of the synthetic-data pipeline and a matched 24K-versus-44K scaling comparison.
Final justification

The rebuttal adequately addresses the main concerns through disjoint-data controls, an additional independent run, long-horizon reward/pass-rate analysis, and clearer synthetic-data and cost accounting. While the compute comparison and multi-seed evidence remain somewhat limited, these are now better viewed as limitations rather than fatal flaws. Given the reviewers' updated scores, I recommend acceptance.

Area Chair FB5H · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Summary

This paper proposes CodeScaler, a learned reward model for code generation trained from execution-labeled, on-policy rollouts of an RLVR-trained policy. CodeScaler is used both as the reward for GRPO training and as a Best-of-N ranker, together with single-block AST-validated code extraction and validity-preserving reward shaping.

Main strengths

The paper addresses an important scalability bottleneck in code RL and presents a simple, practically useful approach. The on-policy construction of preference data, the syntax and validity safeguards, and the reuse of one reward model for both training-time optimization and test-time selection are well motivated. The evaluation is reasonably broad, and the approximately 10x latency reduction relative to unit-test-based test-time selection is a meaningful deployment advantage.

Main weaknesses

The reward model is still bootstrapped from execution-labeled trajectories generated by a policy already trained with RLVR. Without matched accounting of test-case executions, rollout tokens, and compute, it remains unclear whether the gains over direct RLVR arise from the learned reward itself or from additional supervision and optimization stages. Moreover, the margins over RLVR are often modest with no multi-seed uncertainty estimates; reward hacking is not evaluated; and the 44k synthetic-data generation details are missing.

Actions that may change the recommendation

Overall, I think the review stays close to positive. To improve the recommendation, I summarized that the authors should provide:

  1. end-to-end execution and compute accounting, ideally with a matched-compute or disjoint-data control;
  2. multi-seed results or confidence intervals for the small margins over RLVR;
  3. extended training curves that jointly track reward-model score and true execution pass rate, together with sensitivity to reward-shaping choices (or clarify these in the rebuttal if they have already been provided in the appendix);
  4. a reproducible description of the synthetic-data pipeline and a matched 24K-versus-44K scaling comparison.
Final justification

The rebuttal adequately addresses the main concerns through disjoint-data controls, an additional independent run, long-horizon reward/pass-rate analysis, and clearer synthetic-data and cost accounting. While the compute comparison and multi-seed evidence remain somewhat limited, these are now better viewed as limitations rather than fatal flaws. Given the reviewers' updated scores, I recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

We sincerely thank all reviewers for their insightful feedback and the engagement with our work during the review process, which has helped us to strengthen our manuscript.

Here we provide a summary of our rebuttal in light of the rebuttal expectations from the Area Chair:

1. End-to-end execution and compute accounting, with a disjoint-data control.

For cost accounting, the one-time RM-training seed comes from ~20K high-quality verified problems. We reuse the trajectories from one RLVR run as preference data, so the RM-training stage adds roughly one extra RLVR run's worth of rollout tokens, GPU-hours, and test-case executions (the RM-based policy run itself executes no test cases). Once the RM is used to train on synthetic dataset, the fixed cost of the 20K-problem RM training becomes negligible relative to the downstream RL compute, and the amortized overhead per downstream run tends to zero.

The existing disjoint-data control (Table 1; Section 5.1.1) trains the RM only on DeepCoder-derived preferences while the downstream policies use the disjoint KodCode/rStarCoder datasets. CodeScaler improves the average by +1.72/+0.64 (8B) and +1.71/+2.18 (14B) on KodCode/rStarCoder. This isolates the contribution of the learned reward itself.

2. Independent-run evidence for the margins over RLVR.

We completed an additional independent run of CodeScaler on DeepCoder (Qwen3-8B-Base; Reviewer znD2, W1/Q1). The second run exceeds RLVR by a comparable margin (+1.71 on average), indicating that the overall gain is not attributable to run variance.

Method LCB CodeContests MBPP CodeForces Avg
RLVR 23.60 32.00 76.01 16.43 37.01
CodeScaler (run 1) 24.80 33.94 75.90 19.61 38.56
CodeScaler (run 2) 24.20 33.52 75.96 21.20 38.72

3. Joint long-horizon curves and reward-shaping analysis.

The requested joint analysis is already in Appendix M, Fig. 7: extending DeepCoder training from 250 to 650 steps, the RM score and execution-based pass@1 rise together with no observed divergence. Faithfulness of the reward is justified in Section 6.1. On DeepCoder trajectory records with ground-truth execution labels, CodeScaler ranks a correct solution above an incorrect one 87.9% of the time (AUROC 0.879), separates correct vs. incorrect scores with Cohen's d = 1.71, and selects a correct top-1 candidate 79.8% of the time.

The validity-preserving shaping has no tunable hyperparameters, so a sensitivity sweep is not applicable. Its effect, with syntax-aware extraction, is isolated by the Fig. 4 ablation.

4. Reproducible synthetic-data pipeline and matched 24K-vs-44K scaling.

The full synthetic pipeline is described in Appendix G.2.3: GPT-4o concept extraction → weighted concept co-occurrence graph → random-walk concept sampling → GPT-4o problem generation, with exact prompts included.

Under the same configuration, the matched 24K-vs-44K comparison shows a clear data-scaling effect. The key point is that the extra 20K problems lack verified test cases, whereas RLVR cannot train on them at all.

Method LCB CodeContests MBPP CodeForces Avg
Base 13.75 19.03 61.70 5.35 24.96
CodeScaler @ 24K 24.80 33.94 75.90 19.61 38.56
CodeScaler @ 44K 25.76 33.63 76.81 22.18 39.60

Lastly, in this rebuttal, we provide detailed clarifications regarding the dependence of exectuion-verified data, cost/benefit breakdown and cross-domain ablation. Again, we thank for all reviewers' thoughtful and constructive feedback and appreciate the time and effort invested in evaluating our work.

Reviewer PZ27OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces CodeScaler, a code reward model trained on preference data derived from verified code problems, with preference pairs collected from on-policy RLVR rollouts. It adds syntax-aware code extraction and validity-preserving reward shaping to stabilize RM-based RL. The reward model is used in two ways: as a training-time reward signal (replacing execution feedback) and as a test-time scaling selector. The authors report gains of +1.55 (Qwen3-8B-Base) and +4.23 (Qwen3-14B-Base) over execution-based RL, +14.64 over the base model when scaling to 44K problems with additional synthetic data and no test cases, roughly 10x lower test-time latency than unit-test test-time-scaling, and improvements on RM-Bench that extend beyond the code domain to general and reasoning domains.

Strengths and weaknesses

Strengths. The paper targets a genuine bottleneck in RLVR for code: its dependence on the availability and reliability of high-quality test cases. Using a single reward model for both RL training reward and test-time selection is practical and well motivated. The evaluation is reasonably broad, covering four coding benchmarks, two base model sizes, RM-Bench cross-domain evaluation, and multilingual HumanEval-X. The latency/quality trade-off at inference time (comparable accuracy to unit-test approaches at about 10x lower latency) is a tangible, deployment-relevant result. Sourcing preference data from on-policy rollouts of a model trained with RLVR is a sensible design choice that should better match the policy distribution than prompting off-the-shelf models.

Weaknesses. On DeepCoder, the regime where high-quality verified test cases already exist, the absolute margins over RLVR are modest, so the strongest case for the method rests on the no-test-case / synthetic-data regime; the paper could frame this distinction more carefully. The risk of reward hacking when an RM replaces execution feedback is under-examined: it would help to show whether the RM score and true execution pass-rate diverge over the course of RL training. The cross-domain RM-Bench improvement is interesting but presented somewhat anecdotally ("a surprising result") and would benefit from a more hypothesis-driven analysis. Finally, reproducibility of the headline +14.64 result depends on synthetic data generation details that should be fully specified and ideally released.

Quality: good. The empirical work is solid and the design choices are reasonable. Clarity: good; the paper is readable, though the framing of where gains come from could be sharpened. Significance: good; the test-case-free training and the latency reduction are practically useful. Originality: the individual components are largely known, so the contribution is more integrative and empirical than conceptually novel.

Questions
  1. How does CodeScaler guard against reward hacking when used as the RL training reward? Do you observe any divergence between the RM score and the true execution pass-rate over the course of training? An experiment tracking both signals would help establish that the RM is a faithful reward.

  2. On DeepCoder, where verified tests exist, the gains over RLVR are small. Under what conditions would you recommend the RM over execution feedback? A cost/benefit breakdown (compute, latency, reliability) would clarify the practical recommendation.

  3. The RM-Bench cross-domain gains (Chat, Math) are intriguing. Is there a controlled ablation that isolates why code-only RM training improves judgment in non-code domains?

  4. Could you provide full details of (and ideally release) the 44K synthetic-data pipeline so the +14.64 result is independently reproducible?

  5. How sensitive are results to the validity-preserving reward shaping hyperparameters? An ablation would help readers understand the stability of the method.

My evaluation could increase if the reward-hacking and reproducibility questions (1 and 4) are convincingly addressed.

Limitations

The limitations are only partly addressed. I would encourage the authors to discuss explicitly the risk of reward hacking when an RM replaces execution feedback, and the reliance on the quality of the synthetic data that drives the largest reported gains. Adding these would strengthen the paper rather than weaken it.

Final justification

I have carefully read the authors' rebuttal and the subsequent discussion. The response addresses my main questions, but it does not change my overall assessment of the paper. I therefore maintain my original rating of 4.

Formatting concerns

None observed.

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to express our sincere gratitude for your valuable feedback on our manuscript. We have carefully reviewed your suggestions and would provide detailed responses to each of your points.


Q1

How does CodeScaler guard against reward hacking when used as the RL training reward? Do you observe any divergence between the RM score and the true execution pass-rate over the course of training? An experiment tracking both signals would help establish that the RM is a faithful reward.

Thank you for this central question. We address it with two complementary pieces of evidence already in the paper.

  • Faithfulness of the reward (Section 6.1). On DeepCoder trajectory records with ground-truth execution labels, CodeScaler ranks a correct solution above an incorrect one 87.9% of the time (AUROC 0.879), separates correct vs. incorrect scores with Cohen's d = 1.71, and selects a correct top-1 candidate 79.8% of the time. The reward is tightly aligned with true correctness.
  • No divergence over training (Appendix M). We extend training to 650 steps and track both the RM score and the true execution pass@1 every 50 steps; the two rise in tandem with no divergence. The invalid rate also drops from 30–37% to ~1.3% / 7%, and the fragment rate to ≤0.5%, showing how our code-extraction and reward-shaping techniques avoid the known failure modes.

Q2

On DeepCoder, where verified tests exist, the gains over RLVR are small. Under what conditions would you recommend the RM over execution feedback? A cost/benefit breakdown (compute, latency, reliability) would clarify the practical recommendation.

Thank you for asking for a concrete cost/benefit breakdown. In short, we recommend CodeScaler whenever reliable test cases are unavailable or when per-candidate execution is too costly; it can also serve as a dense-reward complement to RLVR when tests do exist. We ground the recommendation from two settings:

  1. RL scale-up, where execution feedback is unverified or unavailable

    • Reliability. Synthetic problems come without verified test cases; CodeScaler assigns a dense, calibrated reward to every rollout. Its faithfulness is quantified in Q1 (AUROC 0.879, Cohen's d = 1.71, top-1 accuracy 79.8%).
    • Compute / latency. CodeScaler removes both test-case handling and sandbox execution from the reward step. Because scoring is a single forward pass, it is far lighter than executing a program against many test cases in a sandbox, giving roughly a 3× latency reduction in reward computation during RL.
  2. Test-time scaling (BoN), where test case based method requires generate-then-execute test cases to perform selection.

    • Reliability. CodeScaler reaches 42.88 BoN@8 Avg (vs. 43.21 for the CURE and 40.43 for the SkyworkRM), providing a stable, high-quality selector without any execution.
    • Latency / compute. Execution-based selection pays test-case generation plus N sandboxed runs per query. CodeScaler eliminates the generation cost entirely and replaces execution with N cheap forward passes, delivering roughly a 10× latency reduction at matched reliability, on top of removing the compute of test-case generation.

Across both settings, we emphasize that computing the RM score is extremely lightweight, adding almost no compute overhead, whereas execution feedback must generate and run test cases in a sandbox. This is what makes CodeScaler attractive whenever tests are unavailable, unreliable, or too slow to execute. We will add this cost/benefit framing to the revised paper.

Q3

The RM-Bench cross-domain gains (Chat, Math) are intriguing. Is there a controlled ablation that isolates why code-only RM training improves judgment in non-code domains?

We performed an additional experiment in which we train CodeScaler on progressively smaller fractions of the seed preference data and evaluate the resulting RM on RM-Bench. As the amount of code data increases, the RM's performance on the Chat and Math splits of RM-Bench also improves, further validating the transfer ability of code data:

# Data Chat Math
SkyworkRM (0%) 80.6 75
12.5% 82.26 75.97
25% 82.77 77.48
50% 81.83 78.68
CodeScaler (100%) 84.15 80.42

Prior work [1,2,3] has reported analogous phenomena in LLM reinforcement learning, where training on code tasks can enhance a model's capacity for long-chain reasoning (Long CoT). This is likely because the structured nature of code closely mirrors the logical branching patterns found in mathematical reasoning and formal proofs. From the perspective of reward models, such structural similarities may give rise to analogous evaluation patterns across domains, enabling improvements achieved through code optimization to transfer to Chat and Math settings. We agree this phenomenon warrants more systematic and quantitative investigation, and consider it an important direction for future work.

[1] Code to think, think to code: A survey on code-enhanced reasoning and reasoning-driven code intelligence in llms. EMNLP 2025

[2] On Code-Induced Reasoning in LLMs. ICLR 2026

[3] Mathcoder2: Better math reasoning from continued pretraining on model-translated mathematical code. ICLR 2025

Q4

Could you provide full details of (and ideally release) the 44K synthetic-data pipeline so the +14.64 result is independently reproducible?

The full pipeline is specified in Appendix G.2.3 (concept extraction → co-occurrence concept graph → random-walk concept sampling → problem generation), together with the exact Concept Extraction and Problem Generation prompt templates in the Appendix P. We describe the four stages in detail here:

  1. Concept extraction. From each seed problem in the verified DeepCoder set, we prompt an LLM with our Concept Extraction template to distill the problem into a small set of atomic programming concepts (e.g., data structures, algorithmic patterns, and language features such as "binary search", "dynamic programming", "hash map"). This converts a corpus of concrete problems into a normalized vocabulary of reusable concepts.

  2. Co-occurrence concept graph. We build a graph whose nodes are the extracted concepts and whose edges connect concepts that co-occur within the same seed problem, weighted by their co-occurrence frequency. This graph captures which concepts are naturally combined in realistic problems, so that later sampling produces coherent rather than arbitrary concept combinations.

  3. Random-walk concept sampling. To synthesize a new problem, we perform a weighted random walk over the concept graph to sample a connected subset of concepts. Walking along high-weight edges keeps the sampled combinations plausible, while the stochasticity of the walk yields diverse combinations that need not appear together in any single seed problem.

  4. Problem generation. The sampled concept set is passed to GPT-4o with our Problem Generation template, which instructs the model to author a self-contained, well-specified programming problem that exercises exactly those concepts. Note that these synthetic problems come without verified test cases.

To further improve reproducibility, we will release the 20K generated synthetic problems.

Q5

How sensitive are results to the validity-preserving reward shaping hyperparameters? An ablation would help readers understand the stability of the method.

We clarify that the reward shaping is parameter-free: the transform f(z) \= ln(1 + e^z) (softplus) is fixed, and the invalid-code reward is fixed at 0, leaving no tunable hyperparameters to sweep. The contribution of this component (together with syntax-aware extraction) is isolated in our ablation (Fig. 4), where adding it to SkyworkRM improves RL performance consistently across all benchmarks.


We thank you again for your insightful comments and look forward to your reply! We hope our response has adequately addressed your concerns.

Reviewer PZ27 · CommentOpenReview ↗

Thank you, my questions have been addressed. I will maintaining the rating.

Authors · CommentOpenReview ↗

We are glad that our rebuttal and additional experiments have been helpful in addressing your concerns. We would like to kindly confirm whether our responses have adequately addressed Q1 and Q4. Should there be any remaining aspects that require further clarification, we would be more than happy to provide promptly.

Thank you again for your thoughtful and constructive feedback! We truly appreciate the time and effort you have invested in evaluating our work.

Reviewer kGxYOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes CodeScaler, a specific reward model for code generation that is used both as the reward in GRPO training and as a Best-of-N ranker at inference. It is trained on execution-labeled, on-policy trajectories from an RLVR-trained Qwen3-8B/14B model. The method additionally applies strict single-block code extraction, AST validation, and reward shaping that assigns invalid outputs zero reward and valid outputs a positive transformed RM score. Experiments conducted cover Qwen3-8B/14B, three training datasets, 4 coding benchmarks showing promising in terms of effectiveness.

Strengths and weaknesses

Strength: s1. Authors shows effectiveness of CodeScaler over comprehensive code generation benchmarks and diverse training set which shows its generalization. s2.This method could reduce the reliance of uni-test in code RL. s3. The AST gate and invalid-output reward treatment appear practically important.

Weakness: w1. CodeScaler is constructed with verified test cases and trajectories from a policy already trained with RLVR on DeepCoder. The resulting reward model is then used to train another policy. Thus the complete pipeline first consumes execution-based supervision to train and sample from an RLVR policy, then trains the RM, and finally performs RM-based policy optimization. The RLVR baseline appears to receive only the final policy-training stage. Consequently, the comparison does not establish that a learned reward is intrinsically more effective than execution feedback under an equal amount of supervision, execution, or compute.

w2. Actually according to Tab. 1 & 2, the improvment seems modest, it is not confident that such expensive post-RL procedure is well-deserved.

Questions

Q1. CodeScaler is trained from execution-labeled trajectories produced by an RLVR-trained policy, so the overall pipeline appears to use more execution feedback and optimization stages than the direct RLVR baseline. Please report the total test-case executions, rollout tokens, and GPU hours for both pipelines. A small controlled experiment using disjoint subsets for reward-model training and policy training would help determine whether the gain comes from the learned reward rather than additional supervision.

Q2. What is the incremental benefit of scaling from 24K to 44K training problems? The paper highlights a +14.64 improvement over the base model for the 44K setting, but the directly relevant comparison appears to be against CodeScaler trained on the original 24K DeepCoder set, whose reported average is 38.56 versus 39.60 for 44K. Please provide a matched 20K v.s. 44K comparison with the same training steps or the same number of epochs, ideally with learning curves from existing checkpoints.

Limitations

yes

Final justification

The disjoint-dataset results partially address my concern about additional supervision. However, I remain unconvinced by the scaling evidence. Expanding the dataset from 24K to 44K problems improves the average only from 38.56 to 39.60, and the gains are uneven across benchmarks, including a slight regression on CodeContests. This indicates a modest benefit, but not yet a clear or robust scaling trend. Further analysis is needed to explain the low marginal return of the additional 20K problems, e.g., whether it is caused by data quality, domain bias, reward-model reliability, or optimization saturation.

Formatting concerns

no

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to express our sincere gratitude for your valuable feedback on our manuscript. We have carefully reviewed your suggestions and would provide detailed responses to each of your points.


W1 & Q1

CodeScaler is trained from execution-labeled trajectories produced by an RLVR-trained policy, so the overall pipeline appears to use more execution feedback and optimization stages than the direct RLVR baseline. Please report the total test-case executions, rollout tokens, and GPU hours for both pipelines. A small controlled experiment using disjoint subsets for reward-model training and policy training would help determine whether the gain comes from the learned reward rather than additional supervision.

We thank the reviewer for this careful analysis of the pipeline. We want to first emphasize that CodeScaler is a reusable artifact. The resources spent training the reward model are a one-time cost. CodeScaler shifts the reliance on verified test cases from every RL run to a single reward-model training stage; the resulting RM is then reusable across arbitrarily many downstream policies, datasets, and test time scaling settings as a community artifact.

For cost accounting, the one-time RM-training seed comes from only ~20K high-quality verified problems compared to millions of synthetic data, which is exactly the scarcity our method targets. We reuse the trajectories from one RLVR run as preference data, so the RM-training stage adds roughly one extra RLVR run's worth of rollout tokens, GPU-hours, and test-case executions (the RM-based policy run itself executes no test cases).

The seed cost is fixed and tiny while downstream training scales without bound. High-quality verified data caps out at ~20K problems, whereas synthetic problems are essentially unlimited. Once the RM is used to train on this vastly larger synthetic pool, the fixed cost of the 20K-problem RM training becomes negligible relative to the downstream RL compute, and the amortized overhead per downstream run tends to zero.

We have already conducted a disjoint-subset controlled experiment in Section 5.1.1. The KodCode and rStarCoder experiments (Table 11) are exactly this setting: the RM is trained only on DeepCoder-derived preferences, while the policy is trained on the entirely disjoint KodCode / rStarCoder problem sets. The RLVR baseline and CodeScaler see identical policy-training data with no additional supervision, yet CodeScaler still outperforms RLVR (+1.72 KodCode-8B, +0.64 rStarCoder-8B, +1.71 / +2.18 for 14B). This isolates the contribution of the learned reward itself.

W2 & Q2

What is the incremental benefit of scaling from 24K to 44K training problems? The paper highlights a +14.64 improvement over the base model for the 44K setting, but the directly relevant comparison appears to be against CodeScaler trained on the original 24K DeepCoder set, whose reported average is 38.56 versus 39.60 for 44K. Please provide a matched 20K v.s. 44K comparison with the same training steps or the same number of epochs, ideally with learning curves from existing checkpoints.

We thank the reviewer for this question, and we would first clarify the claim this experiment is designed to support. The purpose of scaling to 44K training problems is to demonstrate that CodeScaler can continue to train on synthetic data that has no test cases and keep improving model capability. On such data, RLVR is entirely inapplicable, whereas CodeScaler can conveniently make use of it.

As requested, we provide a matched 24K vs. 44K comparison. Scaling improves the average from 38.56 to 39.60 (+1.04), which further verifies our claim:

Method LCB CodeContests MBPP CodeForces Avg
Base 13.75 19.03 61.70 5.35 24.96
CodeScaler @ 24K 24.80 33.94 75.90 19.61 38.56
CodeScaler @ 44K 25.76 33.63 76.81 22.18 39.60

We thank you again for your insightful comments and look forward to your reply! We hope our response has adequately addressed your concerns.

Reviewer kGxY · CommentOpenReview ↗

Feedback

Thank you for the authors’ clarification. The disjoint-dataset results partially address my concern about additional supervision. However, I remain unconvinced by the scaling evidence. Expanding the dataset from 24K to 44K problems improves the average only from 38.56 to 39.60, and the gains are uneven across benchmarks, including a slight regression on CodeContests. This indicates a modest benefit, but not yet a clear or robust scaling trend. Further analysis is needed to explain the low marginal return of the additional 20K problems, e.g., whether it is caused by data quality, domain bias, reward-model reliability, or optimization saturation.

Reviewer znD2OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper targets a key limit of RLVR for training code LLMs: it needs unit tests to score generated code, but good test cases are costly and limited, so the method does not scale. To remove this dependence, the authors propose CODESCALER, a code reward model that scores code without running it. They build preference data from on-policy RL rollouts, and add two tricks for stable RL training: keeping only one AST-checked code block, and shaping the reward so invalid code always gets a low score. The model is used both as a reward for RL training and as a Best-of-N ranker at test time, and experiments show it matches or beats execution-based RL and other reward models while being much faster.

Strengths and weaknesses

Strengths

  1. The paper targets a real and important bottleneck. RLVR for code depends on unit tests that are costly and limited, and the paper makes a convincing case that this constrains both training-time scaling and test-time scaling.

  2. The method is simple and practical. Building preference data from on-policy RL rollouts is a sensible choice, and the two stabilization tricks, single AST-checked code extraction and validity-preserving reward shaping, are easy to adopt and directly address known failure modes of RM-based RL such as reward hacking and instability.

  3. The empirical coverage is broad. The method is tested on four code benchmarks, two model scales, three training datasets, and both RL training and test-time Best-of-N. Showing that CODESCALER is the only reward model here that surpasses RLVR, while SkyworkRM and AceCodeRM degrade, is a meaningful result.

  4. The efficiency result is appealing. Reaching quality comparable to a unit-test TTS method with about 10x lower latency is a clear practical advantage, and the latency breakdown makes the comparison concrete.

Weaknesses

  1. The gains over RLVR are uneven and sometimes small. On rStarCoder for 8B the improvement is only +0.64, and some per-benchmark entries regress (e.g., MBPP). This makes the headline claim of consistently beating RLVR look stronger than the data fully supports.

  2. The preference data depends on verified test cases from DeepCoder. The method removes test cases at RL training time, but the reward model itself is bootstrapped from execution-verified data, so the dependence on test cases is shifted rather than fully eliminated. This should be stated more carefully.

  3. Reward hacking is addressed mainly through extraction and shaping, but the paper gives limited evidence on longer training horizons. Since RM-based RL is known to drift over time, results on whether CODESCALER stays stable under extended training would strengthen the claims.

Questions
  1. The reported average gains over RLVR are sometimes small (e.g., +0.64 on rStarCoder for 8B), and a few per-benchmark results regress (e.g., MBPP). Can the authors report variance across seeds or runs for these cases, so readers can judge whether the improvements are statistically meaningful rather than noise? Clarifying this would directly affect how strongly the "consistently outperforms RLVR" claim can be stated.
  2. The preference data is bootstrapped from DeepCoder, which relies on verified test cases. This means the reward model still indirectly depends on execution-verified data, even if RL training itself is execution-free. Can the authors clarify this dependence, and ideally show how performance changes if the seed preference data uses fewer or no verified test cases? This would help readers understand how far the method truly removes the test-case bottleneck.
  3. RM-based RL is known to drift and reward-hack over longer training. The paper addresses this with code extraction and reward shaping, but mostly shows results at a fixed training length. Can the authors provide training curves over extended steps, or report whether reward and performance stay stable late in training? Evidence of long-horizon stability would substantially strengthen the claim that the proposed techniques prevent reward hacking.
Limitations

Yes

Final justification

My concerns have been addressed and I decide to raise my score.

Formatting concerns

None.

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We would like to express our sincere gratitude for your valuable feedback on our manuscript. We have carefully reviewed your suggestions and would provide detailed responses to each of your points.


W1 & Q1

The reported average gains over RLVR are sometimes small (e.g., +0.64 on rStarCoder for 8B), and a few per-benchmark results regress (e.g., MBPP). Can the authors report variance across seeds or runs for these cases, so readers can judge whether the improvements are statistically meaningful rather than noise? Clarifying this would directly affect how strongly the "consistently outperforms RLVR" claim can be stated.

We thank the reviewer for raising this important point. Despite compute constraints and the short rebuttal window, we completed one additional independent run of CodeScaler on DeepCoder (Qwen3-8B-Base). We report results below alongside the original run and the RLVR baseline:

Method LCB CodeContests MBPP CodeForces Avg
RLVR 23.60 32.00 76.01 16.43 37.01
CodeScaler (run 1) 24.80 33.94 75.90 19.61 38.56
CodeScaler (run 2) 24.20 33.52 75.96 21.20 38.72

The second run exceeds RLVR by a comparable margin (+1.71 on average), indicating that the overall gain is not attributable to run variance. CodeScaler consistently improves over RLVR at the average level. Accordingly, we will revise the text to state that CodeScaler "consistently outperforms RLVR at the average level," making the claim more precise and better supported by the data.

W2 & Q2

The preference data is bootstrapped from DeepCoder, which relies on verified test cases. This means the reward model still indirectly depends on execution-verified data, even if RL training itself is execution-free. Can the authors clarify this dependence, and ideally show how performance changes if the seed preference data uses fewer or no verified test cases? This would help readers understand how far the method truly removes the test-case bottleneck.

We appreciate this observation and would like to clarify where the bottleneck lies in three points:

  1. The bottleneck is on the RL-training side, not the RM side. High-quality verified problems are limited in number, while synthetic problems are abundant but lack reliable tests. CodeScaler makes the most of the scarce verified data and we use it once to train a reward model that then transfers high-quality supervision onto low-quality (synthetic) data. Using verified tests to train the RM therefore does not mean we fail to remove the bottleneck; we relocate a one-time investment away from every RL run.

  2. The dependence is a one-time, amortized cost. CodeScaler shifts the reliance on verified test cases from every RL run to a single RM-training stage. The resulting RM is then reusable across arbitrarily many downstream policies, datasets, and test-time-scaling settings with zero further test-case execution. The goal is to invest verified data once to produce a reusable community artifact, not to eliminate verified data from the entire pipeline.

  3. The quality of the training data plays an important role. In Appendix L, we train an alternative RM from lower-quality supervision (trajectories on KodCode, whose tests are synthesized rather than verified) and use it to train a policy on rStarCoder. From the results, we can see DeepCoder-sourced RM consistently wins. This shows that fully exploiting the available high-quality verified data is exactly what lets CodeScaler leverage synthetic data more effectively and alleviate the test-case bottleneck.

As suggested, we trained CodeScaler on progressively smaller fractions of the seed preference data. Within the rebuttal window, retraining a full RM at each fraction and then running a complete downstream RL policy for each is not feasible. We instead report BoN@8 and RM-Bench, which we find are strongly correlated with the RM's effectiveness as an RL reward. As shown in the table, downstream performance improves steadily and monotonically as more verified data is used, indicating that the quantity of verified data also matters and suggesting that leveraging more high-quality verified data could train a stronger RM and further alleviate the bottleneck.

# Data BoN@8 Avg RM-Bench Avg
SkyworkRM (0%) 40.26 81.40
12.5% 41.12 82.57
25% 41.34 83.50
50% 42.01 83.63
CodeScaler (100%) 42.49 84.32

W3 & Q3

RM-based RL is known to drift and reward-hack over longer training. The paper addresses this with code extraction and reward shaping, but mostly shows results at a fixed training length. Can the authors provide training curves over extended steps, or report whether reward and performance stay stable late in training? Evidence of long-horizon stability would substantially strengthen the claim that the proposed techniques prevent reward hacking.

Thank you for raising this; we agree it is important. We refer the reviewer to Appendix M (Training Stability Analysis), which we believe directly addresses this concern:

  • Fig. 5 (Page 22): the fragment rate converges to ≤0.5%, and the invalid rate drops from 30–37% to ~1.3% (14B) / ~7% (8B), showing that our syntax-aware extraction and validity-preserving shaping suppress the known failure modes throughout training.
  • Fig. 7 (Page 23): we extend DeepCoder training from 250 to 650 steps, evaluating every 50 steps. Both the RM score and the true execution pass@1 increase steadily and in tandem, showing no reward hacking over an extended horizon.

We thank you again for your insightful comments and look forward to your reply! We hope our response has adequately addressed your concerns.

Reviewer znD2 · CommentOpenReview ↗

My concerns have been addressed and I will raise my score.

Authors · CommentOpenReview ↗

Thank you for reconsidering your assessment! We greatly appreciate your thoughtful feedback and are glad that our rebuttal and additional experiments addressed your concerns.

Reviewer znD2 · CommentOpenReview ↗

You are welcome. Good Luck!

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…