- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 3
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
-
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.
-
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.
-
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?
-
Could you provide full details of (and ideally release) the 44K synthetic-data pipeline so the +14.64 result is independently reproducible?
-
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.
Paper formatting concerns
None observed.
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.
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
Thank you for this central question. We address it with two complementary pieces of evidence already in the paper.
Q2
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:
RL scale-up, where execution feedback is unverified or unavailable
Test-time scaling (BoN), where test case based method requires generate-then-execute test cases to perform selection.
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
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:
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
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:
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.
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.
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.
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
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.