Primal Generation, Dual Judgment: Self-Training from Test-Time Scaling
Yizhu Jiao, Ruixiang ZHANG, Richard He Bai, Jiawei Han, Ronan Collobert, Yizhe Zhang
NeurIPS 2026
TL;DR. DuST trains code models to judge their own execution-verified candidates, turning test-time scaling signals into RL supervision that improves both ranking and generation.
Abstract. Code generation is typically trained in the \emph{primal} space of programs: a model produces a candidate solution and receives sparse execution feedback, often a single pass/fail bit. Test-time scaling enriches the inference procedure by sampling multiple candidates and judging among them, but the comparative information this process reveals is discarded after inference. We argue that this information defines a \emph{dual} judgment space that provides a far richer training signal: the model learns not from an isolated success or failure, but from the relative correctness structure across its own plausible attempts, identifying which succeed, which fail, and what distinguishes them. We introduce \textbf{DuST} (\textbf{Du}al \textbf{S}elf-\textbf{T}raining), a framework for self-training from the dual judgment space. DuST samples candidate programs from the model's own distribution, labels them through sandbox execution, retains groups containing both successes and failures, and trains the model to rank candidates by execution correctness using GRPO. The objective is purely discriminative: the model is never directly rewarded for generating correct programs. Dual self-training improves both judgment and generation. Across four models spanning two families and three scales (4B to 30B), DuST consistently improves Best-of-4 test-time scaling on LiveCodeBench. For Qwen3-30B-Thinking on LiveCodeBench v6, judgment quality improves by +6.2 NDCG, single-sample pass@1 improves by +3.1, and Best-of-4 accuracy improves by +4.1. The trained model's single rollout matches the base model's Best-of-4 performance. SFT on the same ranking data improves judgment without improving generation, confirming that on-policy RL is the mechanism that transfers dual-space learning back into primal generation. The source code is released on \href{https://github.com/yzjiao/DuST}{GITHUB}.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Metareview
(a) Summary. DuST reuses the candidate comparisons produced during test-time scaling as a dense, execution-verifiable training signal. For each coding problem it samples many candidates, labels them by sandbox execution, keeps mixed-quality groups, and trains the model with GRPO to rank correct over incorrect candidates, a purely discriminative objective that never directly rewards generation. The central claim is that this dual-space training improves judgment (NDCG), single-sample generation (pass@1), and Best-of-4 TTS, with a trained single rollout matching the base model's Best-of-4. Results span 4B–30B models (Qwen, GPT-OSS, incl. MoE) on LiveCodeBench v5/v6, with ablations showing dense ranking beats selection reward and GRPO (not SFT) transfers gains into generation.
(b) Strengths.
- Original idea: turning discarded generate-then-judge comparisons into a dense verifiable RLVR signal, with the striking finding that discriminative ranking training improves generation itself (all reviewers).
- Broad coverage across families, scales, and reasoning styles, with a clean generation/judgment/TTS decomposition (e851, tfY4).
- Informative SFT-vs-GRPO and dense-vs-selection ablations, from a simple implementation needing no human preference data (all reviewers).
(c) Weaknesses.
- Fair-baseline gap and possible artifact: the on-policy generation RLVR baseline appears for only one model, and the heavily off-policy setup raises the concern that gains stem from clipping bias or spurious rewards rather than the claimed mechanism; no compute-matched baseline exists (e851).
- The judgment-to-generation transfer mechanism is underexplained and could be generic RL reasoning gains (tfY4).
- No DPO or other strong preference-optimization baseline, only SFT (tfY4).
- Limited evaluation: one benchmark (two LiveCodeBench versions), no math, SWE-bench, or agentic settings, with arbitrary K=4 and no candidate-size sweep (e851, qq2c).
- No model/data/code release, and the pipeline is costly to reproduce (qq2c).
- Minor: broken appendix reference, and abstract/intro claim five models while tables show four (e851, qq2c).
(d) What could change the recommendation. Adding the on-policy generation RLVR baseline across all models with clip-fraction/off-policy diagnostics to rule out spurious-reward effects (the pivotal check); a compute-matched baseline; a DPO comparison; evidence on math or SWE-bench plus a candidate-size sweep; a clearer transfer mechanism; a data/code release; and fixing the model-count and reference issues.
Given the ratings (e851 4, tfY4 4, qq2c 2), this is borderline and leans positive; the recommendation is a borderline accept, contingent on the fair on-policy-generation baseline confirming the gains are not an off-policy training artifact.
Final justification
I will keep my score to recommend accepting this paper since authors' response can solve part of Reviewer qq2c's concerns.
Read meta-review
Meta-review
Metareview
(a) Summary. DuST reuses the candidate comparisons produced during test-time scaling as a dense, execution-verifiable training signal. For each coding problem it samples many candidates, labels them by sandbox execution, keeps mixed-quality groups, and trains the model with GRPO to rank correct over incorrect candidates, a purely discriminative objective that never directly rewards generation. The central claim is that this dual-space training improves judgment (NDCG), single-sample generation (pass@1), and Best-of-4 TTS, with a trained single rollout matching the base model's Best-of-4. Results span 4B–30B models (Qwen, GPT-OSS, incl. MoE) on LiveCodeBench v5/v6, with ablations showing dense ranking beats selection reward and GRPO (not SFT) transfers gains into generation.
(b) Strengths.
- Original idea: turning discarded generate-then-judge comparisons into a dense verifiable RLVR signal, with the striking finding that discriminative ranking training improves generation itself (all reviewers).
- Broad coverage across families, scales, and reasoning styles, with a clean generation/judgment/TTS decomposition (e851, tfY4).
- Informative SFT-vs-GRPO and dense-vs-selection ablations, from a simple implementation needing no human preference data (all reviewers).
(c) Weaknesses.
- Fair-baseline gap and possible artifact: the on-policy generation RLVR baseline appears for only one model, and the heavily off-policy setup raises the concern that gains stem from clipping bias or spurious rewards rather than the claimed mechanism; no compute-matched baseline exists (e851).
- The judgment-to-generation transfer mechanism is underexplained and could be generic RL reasoning gains (tfY4).
- No DPO or other strong preference-optimization baseline, only SFT (tfY4).
- Limited evaluation: one benchmark (two LiveCodeBench versions), no math, SWE-bench, or agentic settings, with arbitrary K=4 and no candidate-size sweep (e851, qq2c).
- No model/data/code release, and the pipeline is costly to reproduce (qq2c).
- Minor: broken appendix reference, and abstract/intro claim five models while tables show four (e851, qq2c).
(d) What could change the recommendation. Adding the on-policy generation RLVR baseline across all models with clip-fraction/off-policy diagnostics to rule out spurious-reward effects (the pivotal check); a compute-matched baseline; a DPO comparison; evidence on math or SWE-bench plus a candidate-size sweep; a clearer transfer mechanism; a data/code release; and fixing the model-count and reference issues.
Given the ratings (e851 4, tfY4 4, qq2c 2), this is borderline and leans positive; the recommendation is a borderline accept, contingent on the fair on-policy-generation baseline confirming the gains are not an off-policy training artifact.
Final justification
I will keep my score to recommend accepting this paper since authors' response can solve part of Reviewer qq2c's concerns.
1 comment
- Rating
- 2/6
- Confidence
- 4/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper introduces DuST, Dual Self-training for improving code generation models by training with multiple samples generated during test-time scaling. Usually, the best candidate is picked by a judge out of the many candidates generated by the model during test-time scaling. The key insight in this paper is that there is useful signal in candidate comparison data which can be leveraged to improve the generative model.
The sampled candidates contain both correct and incorrect programs. The generation model is used to judge the correctness of candidate pairs using GRPO and this translates into improved generation capability.
The authors train 4 models of sizes 4B to 30B parameters and test on 2 versions of LiveCodeBench, which is a code generation benchmark. All trained models show gains of 1-5 percentage points on these two benchmarks.
Interesting ablation study comparing SFT with GRPO based training.
Strengths and weaknesses
This is a good clearly written paper. I like the simplicity of the idea. It is indeed true that test-time samples comparison data is used to improve the judge, but not often used to improve the generative model itself. However the scope of the paper is quite narrow and it is hard to reproduce the results since data, models or code is not available.
Strengths:
- Interesting idea with a simple but effective insight on how candidate comparison data can be used to improve the generative model.
- Implementation seems clean and straightforward with simple data generation steps, not requiring any human preference data or agent scaffolding.
- Ablation study is also interesting with SFT vs GRPO comparison.
Weaknesses:
- Hard to reproduce results since model, data and code is not made available. Sharing data would be useful, simply because there are 64 samples generated for each problem and each sample needs to be executed for correct labeling. This becomes a time and resource intensive exercise.
- Technically, only 1 benchmark was evaluated, although there are two versions of the same benchmark. Also the benchmark is a code generation benchmark, not a software engineering benchmark like swe-bench. It is not clear if the results will transfer to a more rigorous or hard benchmark.
- No agentic systems were used in evaluation. Agentic systems can fix incorrect candidates based on feedback. Models with an agent are more likely to produce a correct candidate at the end of a trajectory, than one shot output. Since such systems are increasingly popular, it would be interesting to see if a model with an agent benefits with this approach.
- Four seems to be an arbitrary number to be selected for best-of-4 pass@1. Experiments with different candidate set sizes like 2, 4, 6, 8 etc. should be included to understand if DuST helps uniformly or saturates early.
Minor issues:
- Broken reference for appendix on page 6 line 182.
- Abstract and Intro says 5 models were trained and evaluated, but results tables only show 4 models.
Questions
- Do you plan to release the data, code and trained models for the benefit of the community?
- Did you experiment with other candidate sizes apart from 4?
- Would the approach work for models tested on more difficult software engineering benchmarks?
- Do you think there would be similar improvements for models which are part of agentic systems?
Limitations
Topics covered in limitations are reasonable, but not making data available, limited evaluation not covering SWE tasks and agentic systems should also be covered.
Formatting concerns
NA
2 comments
Response from the Authors [1/2]
Thank you for the constructive feedback. We are delighted that you recognized the simplicity and effectiveness of using test-time comparison data to improve the generative model, the clean implementation without human preference data or agent scaffolding, and the informative SFT–GRPO ablation. Below, we address your concerns.
W1 & Q1: Code Release
Thanks for the comments! We provide an anonymized link, https://anonymous.4open.science/r/DuST-26E7, to the code, generated data, and trained models, including the execution labels and scripts/configurations needed to reproduce the main results.
W4 & Q2: Candidate-set-size sweep
We evaluate DuST with candidate-set sizes on Qwen3-30B-A3B-Thinking and LiveCodeBench v6. For , we report the same results as in Table 2 of the paper.
| Configuration | Generation pass@1 | TTS Accuracy |
|---|---|---|
| N = 2 | ||
| Baseline | 64.7 | 67.94 |
| + Dual-Trained Judge | 65.0 | 70.04 (+2.10) |
| + Dual-Trained Gen. & Judge | 67.3 (+2.6) | 71.56 (+3.62) |
| N = 4 | ||
| Baseline | 64.7 | 68.70 |
| + Dual-Trained Judge | 65.0 | 70.38 (+1.68) |
| + Dual-Trained Gen. & Judge | 68.3 (+3.6) | 72.60 (+3.90) |
| N = 8 | ||
| Baseline | 64.7 | 67.67 |
| + Dual-Trained Judge | 65.0 | 69.47 (+1.80) |
| + Dual-Trained Gen. & Judge | 66.1 (+1.0) | 69.66 (+1.99) |
DuST improves TTS accuracy at all three candidate budgets. The benefit is strongest at and narrows at , suggesting that ranking larger candidate sets may require further scaling of the judge. Nevertheless, the consistent gains across show that DuST is not specific to Best-of-4, while provides the best accuracy–compute trade-off in our current setting.
W2: More datasets
Thank you for raising the concern about evaluation breadth. We added one additional coding benchmark and one math benchmark to test whether DuST generalizes beyond LiveCodeBench.
On a new coding dataset, Open-R1/Codeforces, we use the Qwen3-30B-A3B-Thinking checkpoint from the paper.
| Configuration | Generation pass@1 | Ranking NDCG | TTS Accuracy |
|---|---|---|---|
| Baseline | 47.45 | 56.27 | 50.30 |
| DuST | 52.10 (+4.65) | 60.99 (+4.72) | 55.41 (+5.11) |
These results provide direct evidence that the improvements are not specific to LiveCodeBench and transfer to a distinct competitive-programming benchmark.
We further use AIME25 to test whether the same framework transfers to mathematical reasoning. Given the limited rebuttal time, we construct a simplified training setting by sampling 16 reasoning traces per problem from a 10K subset of DAPO-Math-17K using Qwen3-4B-Thinking-2507, retaining only mixed-correctness problems, which yields 3.4K ranking instances; we keep the same training hyperparameters and reward design and modify only the task prompt.
| Configuration | Generation Accuracy | Ranking NDCG | TTS Accuracy |
|---|---|---|---|
| Baseline | 74.36 | 82.46 | 77.14 |
| DuST | 75.22 (+0.86) | 84.75 (+2.29) | 79.10 (+1.96) |
Despite this lightweight adaptation, DuST improves generation, ranking, and final TTS accuracy on AIME25. We view this result primarily as evidence that the core mechanism—turning mixed-quality sampled solutions into comparative self-training signals—transfers across domains, model scales, and task formats. Although we are unable to conduct the agentic experiment due to the limited time, the strong Codeforces gains and the positive AIME transfer results substantially broaden the empirical support for DuST beyond the original LiveCodeBench setting.
Response from the Authors [2/2]
W3 && Q3 && Q4: Adaption to the agent dataset
Adaption to the agent dataset: Agentic self-correction does not make DuST redundant, because trajectories still differ substantially — in outcome and in process. On a SWE-bench issue, several trajectories may all revise their initial patch after test feedback, yet only some resolve the issue; and among those that do, they differ in tool calls, unnecessary edits, regressions introduced, and total cost. That variation is exactly the comparative structure DuST learns from, and it is finer-grained than the pass/fail bit available in single-shot generation.
The adaptation is direct. Each complete diagnosis–edit–test–repair trajectory becomes a candidate; terminal test outcomes, optionally combined with efficiency, define trajectory-level preferences; and the model is trained to rank stronger trajectories above weaker ones. The objective carries over unchanged — trajectory-level judgment as a learning signal serving two ends: better selection among multiple agent runs at test time, and better single-run behavior, as improved planning, diagnosis, repair, and stopping transfer back into the agent policy.
Minor issues
Thanks for your helpful comment. We carefully revised the whole paper to address the presentation issue (Link: https://anonymous.4open.science/r/DuST-26E7/revised_paper.pdf)
We hope these additional experiments and clarifications can address your main concerns. We would also be happy to address any remaining questions or concerns you may have.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This study proposes DuST, a dual self-training test-time scaling framework for code generation. The method turns the comparison signal among sampled candidates into a training signal. For each task, the base model generates multiple candidate programs. The method keeps candidate groups containing both correct and incorrect solutions, and trains the same model with GRPO to rank correct candidates above incorrect ones. The main empirical finding is that this ranking-oriented training improves not only judgment quality but also pass@1 generation quality.
Strengths and weaknesses
Strengths:
- The motivation is solid. In standard generate-then-judge pipelines, multiple candidate programs are sampled and ranked, but the comparative information is usually discarded after inference. The proposed method is a simple and appealing way to reuse this information for post-training.
- The empirical evaluation is quite strong. The authors evaluate DuST across several base models from different families and scales, and report improvements on LiveCodeBench v5 and v6. The paper attempts to decompose the gains into generation quality, judgment quality, and final test-time scaling accuracy.
- The comparison between SFT and GRPO is also informative. SFT improves ranking quality but does not appear to improve generation, while GRPO improves both.
Weaknesses:
- The novelty is moderate. The main novelty lies more in the framing and in the empirical observation that discriminative ranking RL improves generation, rather than in a fundamentally new algorithmic component.
- The mechanism behind judgment to generation transfer remains underexplained. During training, the candidate programs are fixed and on-policy sampling happens only over the model’s judgment responses. The paper argues that learning to identify correct solutions teaches the model correctness-sensitive features that also improve generation. This could be plausible. There may be other possibilities such as general reasoning improvements induced by RL.
- The experimental baselines are not yet fully convincing. The SFT baseline is useful, but it is not the strongest alternative for learning from execution-labeled preference data. A stronger comparison would include preference or ranking optimization methods such as DPO.
Questions
- Can the authors compare DuST against stronger preference/ranking optimization baselines, such as DPO?
- Can the authors clarify the decomposition experiment in Table 2? In the 'dual-trained judge' setting, is the generator the original base model? If so, why does generation pass@1 change for some models?
Limitations
The paper discusses several important limitations. The limitations section should also more explicitly discuss computational cost.
Final justification
The rebuttal has substantially addressed my main concerns. In particular, the added DPO comparison provides a stronger baseline, while the random-ranking and difficulty-control experiments offer more convincing evidence that DuST’s gains cannot be explained solely by generic RL. The clarification regarding Table 2 and the additional computational-cost discussion are also satisfactory. Although the exact judgment-to-generation transfer mechanism remains only partially understood and the algorithmic novelty is still moderate, I believe the paper presents a technically solid framework, extensive empirical validation. I therefore maintain my Borderline Accept assessment, now with increased confidence.
Formatting concerns
None
2 comments
Response from the Authors [1/2]
Thank you for the positive and constructive feedback. We are encouraged that you appreciated the motivation of reusing discarded comparison signals, the strong evaluation across model families and scales, and the informative SFT–GRPO comparison. Below, we provide detailed responses to your comments.
W1 Novelty
While GRPO itself is standard, DuST introduces a new training paradigm: it converts the comparative structure exposed by test-time scaling into dense, execution-grounded supervision over the model’s own candidates, and improves generation while rewarding only judgment responses. We substantiate this across four reported models, two model families, 4B–30B scales, and two LiveCodeBench splits, together with generation–judgment–TTS decomposition, SFT, direct generation RL, four training modes, and three reward ablations. These results show that DuST is not merely a framing, but a new route for internalizing test-time scaling into single-rollout generation.
W2. Mechanism of judgment-to-generation transfer
We agree that the exact representation-level mechanism remains open. Our results point to three complementary contributors rather than generic RL alone.
(1) Candidate-conditioned reasoning. We add a random-permutation control that uses the same problem, four candidates, and on-policy ranking training as DuST, but replaces execution-grounded targets with random rankings. The base model is Qwen3-4b-thinking and the benchmark is LCB v6.
| Training Setting | Candidate Input | Reward | Gen. pass@1 | Judge NDCG | TTS Accuracy |
|---|---|---|---|---|---|
| Base | ✗ | None | 45.8 | 60.5±0.6 | 55.0 |
| Random-Permutation Ranking | ✓ | Random ranking | 47.8 (+2.0) | 60.0 (−0.5) | 55.4 (+0.4) |
| DuST | ✓ | Execution-grounded ranking | 49.1 (+3.3) | 63.0±0.4 (+2.5) | 59.4 (+4.4) |
The +2.0 generation gain from random ranking shows that candidate exposure, comparative reasoning, and generic on-policy RL contribute to transfer.
(2) Dense execution-grounded supervision. Compared with random ranking, DuST adds +1.3 generation pass@1, +3.0 NDCG, and +4.0 TTS accuracy. Fig. 4 provides consistent evidence: dense PairAcc/NDCG rewards transfer more strongly than top-selection reward under the same judgment-RL setting. Thus, correctness-aware relative supervision explains gains beyond generic ranking RL.
(3) Execution-based difficulty control. DuST retains only mixed-quality groups, focusing training near the model’s competence boundary. We compare it with the same ranking-RL setup trained on the full ~10K problems without offline mixed-quality filtering. The base model is Qwen3-30b-thinking and the benchmark is LCB v6.
| Training Setting | Training Data | Gen. pass@1 | Judge NDCG | TTS Accuracy |
|---|---|---|---|---|
| Without difficulty control | Full ~10K set | 67.0 | 75.5 | 71.9 |
| DuST | ~6.9K mixed-quality set | 68.3 (+1.3) | 76.3 (+0.8) | 72.6 (+0.7) |
Despite using fewer problems, DuST performs better across all metrics, supporting the benefit of selecting execution-informative examples.
Overall, candidate-conditioned RL explains part of the transfer, while dense correctness supervision and mixed-quality filtering provide the additional task-specific gains. We will clarify these operational factors while leaving the exact internal mechanism as future work.
Response from the Authors [2/2]
W3. Experiment using DPO
We thank the reviewer for suggesting a strong preference-optimization baseline. We add a dual-space DPO baseline that uses exactly the same ranking prompts and execution-grounded PairAcc signal as DuST. For each training group, we sample eight judgment responses from the base model using the same rollout temperature as GRPO, select a fully correct ranking as the chosen response and a low-scoring ranking as the rejected response, and exclude unparsable outputs from both sides. DPO is trained on Qwen3-4b-thinking with the standard sigmoid loss (rpo_alpha=0.5), a learning rate of 1e-5, a beta of 0.01, and three epoch. Unlike DuST, DPO learns from fixed pairwise preferences, whereas DuST samples judgment responses on-policy and optimizes a dense listwise ranking reward. The results are:
| Method | Gen. pass@1 | Judge NDCG | TTS Accuracy |
|---|---|---|---|
| Base | 45.8 | 60.5±0.6 | 55.0 |
| DPO | 47.0 (+1.2) | 61.5 (+1.0) | 56.5 (+1.5) |
| DuST | 49.1 (+3.3) | 63.0±0.4 (+2.5) | 59.4 (+4.4) |
This comparison suggests that learning from execution-derived preferences is useful, while DuST’s on-policy, listwise feedback provides additional transfer from judgment to generation.
Q2. Variance of Generation performance in Table 2
Thank you for pointing this out. In the “Dual-Trained Judge” setting, the generator is indeed the original base model; the small pass@1 differences arise because each configuration independently regenerates its evaluation candidates rather than reusing an identical sampled pool. To reduce this sampling variance, we evaluate each setting over 10 independent repeats and report the mean (as described in Sec. 3.1). Across the four models in Table 2, the average difference in generation pass@1 is only +0.26 points. Thus, the small variation from independent sampling is substantially smaller than the full-model improvement (+2.23) and does not affect the overall trend.
Limitations: computational cost.
We agree to add an explicit cost discussion to Appendix. Here are two major points:
One-time data construction. For Qwen3-30B-Thinking, sampling 64 candidates for ~10K problems and executing them in the sandbox costs around one day using 16 H100s. This is a one-time cost: the dataset is built once from the base model and reused throughout training, since on-policy sampling applies only to judgment responses.
Training-time cost is lower than online generation RLVR. DuST's reward is a string comparison against pre-computed labels, so no sandbox execution occurs inside the training loop.Specifically, we train Qwen3-30B-Thinking around 3 days using 8 H200s. On-policy generation RLVR instead executes the same quantity of programs per step with timeouts. At matched wall-clock, DuST therefore completes more optimizer steps, which partially offsets the construction cost.
We hope these additional experiments and clarifications can address your main concerns. We would also be happy to address any remaining questions or concerns you may have.
- Rating
- 4/6
- Confidence
- 4/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 proposes DuST, a method that uses the parallel generations sampled during test-time scaling (TTS) to construct verifiable, judge-based ranking problems, providing a denser training signal for RLVR. The goal is to internalize the comparative correctness information that TTS normally discards after inference, improving both the code-generation and the judgment capability of a base model. The most striking result is that although the model is only rewarded for ranking candidates of code and never directly rewarded for generating correct code, this judge-based training can outperform additional code generation training for code generation tasks: the trained model's single-rollout pass@1 matches the base model's Best-of-4 TTS performance. Three Qwen models and one GPT-OSS model are trained with DuST, showing gains on LiveCodeBench v5/v6. Ablations show that (1) the dense pairwise-comparison reward is a better training signal than selecting only the single best candidate, and (2) on-policy RLVR transfers this judge-based learning into standard code generation capability better than SFT on the same collected code ranking training data.
Strengths and weaknesses
Strengths:
-
Originality. The method cleverly augments RLVR with a dense, verifiable judge-based reward derived from the execution outcomes of parallel TTS generations. The most interesting finding is that dual-space (judgment) training can outperform additional primal-space (generation) training even on code generation itself.
-
Generality of the dense reward design. Figure 4 supports the efficacy of this clever dense reward: the dense pairwise-comparison reward transfers to generation better than the simpler selection reward.
-
Metric and model coverage. Gains appear consistently across generation, judgment, and Best-of-4 for all four reported base models. The inclusion of MoE base model, which usually has different RL training dynamics, and the clarity of the training/evaluation details.
Weaknesses I’m currently leaning towards weak acceptance assuming the spurious reward effect mentioned below is addressed, and there’s genuine consistent improvements over primal generation training.
- Missing fair baselines in Table 1. Table 1 omits a model trained on the same rSTARcoder data with standard generation + execution-based reward. Table 3 includes this "on-policy generation" training baseline, but only for Qwen3-30B-Thinking. This is the fair comparison for isolating how much DuST gains over standard RLVR on the same problems, and it should appear in the main table for the other three models. This matters because the configuration is heavily off-policy (3 PPO epochs/batch and many mini-batch updates/epoch), so improvements may come from clipping bias that would occur under standard generation RLVR and even spurious rewards [1, 2, 3]. I want to see how often you hit clip higher 0.28 bound, and whether there's any clipping bias that drives improvement over the base model in Table 1.
- Not tested on math reasoning. The method is evaluated with a single training corpus and two competitive-programming benchmarks. It should extend naturally to math, using final-answer correctness to build pairwise labels over reasoning traces. I recognize the compute cost of a second domain, so I can see this as future work provided the training-based baselines above are addressed thoroughly.
- Minor: broken cross-reference "Full hyperparameters are in Appendix ??" in the Section 3.1 body text. The body text claims the Table 3 modes share "the same reward function".
References: [1] Shao et al. (2025), Spurious Rewards: Rethinking Training Signals in RLVR, arXiv:2506.10947
[2] Yu et al. (2025), DAPO: An Open-Source LLM RL System at Scale, openreview.net/pdf?id=2a36EMSSTp
[3] Clip-Low Increases Entropy and Clip-High Decreases Entropy in RL of LLMs, arXiv:2509.26114
Questions
- Is the "PPO mini-batch" of 16 a mini-batch size, implying 512/16 = 32 gradient updates per PPO epoch? Combined with 3 PPO epochs per batch, this makes training quite off-policy and prone to clipping bias that sharpens the distribution irrespective of the reward [1]. Figure 4 partially rules out a pure spurious-reward effect, but did you observe the gap between DuST and on-policy generation training widen as training becomes more off-policy?
- In "Dual Ranking Training Outperforms Primal Generation Training," you state the modes use "the same base model, data, and reward function." For the on-policy generation baseline, are the generation prompts drawn from the 6.9k valid queries, or from all ~10K problems?
- How much of the gain do you attribute simply to the long-context ranking prompt (problem + 4 candidate solutions)? The on-policy generation baseline sees only short prompts. In large-scale RL, long-context data may already be present. Could this make DuST partly redundant when such data already exists in the training mix?
- Qwen3-14B is listed in the experimental setup and Appendix B (training) but appears in no table, and the abstract claims five models. Is this a typo, or were the results dropped?
References: [1] Shao et al. (2025), Spurious Rewards: Rethinking Training Signals in RLVR, arXiv:2506.10947
Limitations
Adequately addressed. I would also point out the additional computational cost of preparing this offline data. Relative to the on-policy generation baseline, off-policy ranking consumes extra inference: 64 samples for each of ~10K rSTARcoder problems to build the judge prompts. There is no baseline that spends a comparable budget on on-policy generation (e.g., raising rollouts per problem above the fixed G=8) or on on-policy ranking. If the rationale is that DuST's mixed-quality filtering is still applied to filter training problems, a baseline trained on unfiltered rSTARcoder with the online dynamic filtering of DAPO would make the comparison fair.
Final justification
Overall, with the spurious-reward effect addressed and the improvements over primal generation training holding up as genuine and consistent, I'll keep my score at 4/6 as initially suggested and have raised the significance score to 3. I think the improvements over the Gen RLVR training-based baselines are still somewhat small, especially pass@1. This also seems the case in math domain (AIME25) +0.86, but such improvements are consistent across the presented results and ablations.
Formatting concerns
N/A
3 comments
Response from the Authors [1/2]
Thank you for the positive and constructive feedback. We are encouraged that you recognized the originality of DuST, the effectiveness and generality of its dense verifiable reward, and the consistent gains across generation, judgment, and multiple model architectures. Below, we provide detailed responses to your comments.
W1 & Q1 & Q2: Generation-RLVR baseline
The generation-RLVR baseline is already matched to DuST on the filtered training problems, and the new cross-model results show that DuST consistently performs better. We thank the reviewer for emphasizing this comparison and would like to clarify that the on-policy generation baseline in Table 3 is trained on the same filtered rSTAR-Coder problem set as DuST. The two methods use the same problem IDs, base model, sandbox verifier, GRPO framework, and optimization configuration; the controlled difference is the learning objective. To provide more complete evidence, we have extended the generation-RLVR baseline to the other three models and report the results on LiveCodeBench v6 below.
| Model | Gen. RLVR: Gen. pass@1 | Gen. RLVR: Judge NDCG | Gen. RLVR: TTS Acc. | DuST: Gen. pass@1 | DuST: Judge NDCG | DuST: TTS Acc. |
|---|---|---|---|---|---|---|
| Qwen3-30B-Thinking | 67.1 | 74.6 | 71.4 | 68.3 (+1.2) | 76.3 (+1.7) | 72.6 (+1.2) |
| GPT-OSS-20B | 63.5 | 70.9 | 67.4 | 65.0 (+1.5) | 72.0 (+1.1) | 69.4 (+2.0) |
| Qwen3-30B-Instruct | 41.6 | 47.6 | 44.2 | 42.5 (+0.9) | 49.4 (+1.8) | 47.1 (+2.9) |
| Qwen3-4B-Thinking | 48.0 | 61.2 | 57.0 | 49.1 (+1.1) | 63.0 (+1.8) | 59.4 (+2.4) |
Across all four models, DuST improves generation pass@1, judgment NDCG, and final test-time-scaling accuracy relative to standard generation RLVR on the same filtered problems.
Regarding the concern that our configuration is heavily off-policy, the clipping diagnostics suggest that clipping bias is unlikely to be the primary driver of the gains. Across the full Qwen3-30B-A3B-Thinking run, the aggregate active clipping fraction averages 1.06% of tokens, with a median of 0.87% and a maximum of 2.41%; the mean approximate old-policy KL is (6.6\times10^{-4}). Around the selected checkpoint at step 130, aggregate clipping is approximately 1%. Between step 130-200, aggregate clipping rises to 1.94% on average and KL continues to increase, while held-out validation performance declines. Thus, the reported improvement is obtained before the higher-drift regime, and increasing off-policyness is associated with worse rather than better held-out performance. While aggregate statistics cannot completely rule out clipping concentrated on particular tokens, these results argue against clipping bias being the main source of the observed gains.
We also clarify the actual number of mini-batch updates and the checkpoint-selection procedure. Each rollout batch contains 64 prompts, and each optimizer update processes 16 prompts, together with all eight rollouts associated with each prompt. Thus, each PPO epoch contains 4 optimizer updates, resulting in 12 optimizer updates per rollout batch—not 96. We will explicitly label the mini-batch unit as prompts in Table 4. The actual degree of policy reuse is therefore more moderate than suggested in the concern.
Additionally, three epochs specify only the maximum training budget; we do not automatically use the checkpoint obtained after completing all three epochs. We evaluate checkpoints every 10 steps on the held-out rSTAR-Coder validation set and select the checkpoint with the best validation ranking performance. Importantly, we apply the same checkpoint-selection rule to DuST and the on-policy RLVR and DPO baselines, so this procedure does not selectively favor our method. Empirically, all selected checkpoints occur before step 200.
Response from the Authors [2/2]
W2: Evaluation on math dataset Thank you for raising the concern about evaluation breadth. We added one additional coding benchmark and one math benchmark to test whether DuST generalizes beyond LiveCodeBench.
On a new coding dataset, Open-R1/Codeforces, we use the Qwen3-30B-A3B-Thinking checkpoint from the paper.
| Configuration | Generation pass@1 | Ranking NDCG | TTS Accuracy |
|---|---|---|---|
| Baseline | 47.45 | 56.27 | 50.30 |
| DuST | 52.10 (+4.65) | 60.99 (+4.72) | 55.41 (+5.11) |
These results provide direct evidence that the improvements are not specific to LiveCodeBench and transfer to a distinct competitive-programming benchmark.
We further use AIME25 to test whether the same framework transfers to mathematical reasoning. Given the limited rebuttal time, we construct a simplified training setting by sampling 16 reasoning traces per problem from a 10K subset of DAPO-Math-17K using Qwen3-4B-Thinking-2507, retaining only mixed-correctness problems, which yields 3.4K ranking instances; we keep the same training hyperparameters and reward design and modify only the task prompt.
| Configuration | Generation Accuracy | Ranking NDCG | TTS Accuracy |
|---|---|---|---|
| Baseline | 74.36 | 82.46 | 77.14 |
| DuST | 75.22 (+0.86) | 84.75 (+2.29) | 79.10 (+1.96) |
Despite this lightweight adaptation, DuST improves generation, ranking, and final TTS accuracy on AIME25. We view this result primarily as evidence that the core mechanism—turning mixed-quality sampled solutions into comparative self-training signals—transfers across domains, model scales, and task formats. Together, the strong Codeforces gains and the positive AIME transfer results substantially broaden the empirical support for DuST beyond the original LiveCodeBench setting.
Q3: Long-context ranking prompts
This is an excellent question. We view DuST’s improvement as arising from three intrinsic advantages of the ranking formulation: candidate-included inputs (Sec. 2.3), dense execution-grounded ranking supervision (Fig. 4), and execution-based data difficulty control (Sec. 2.2). To isolate the effect of the long candidate-containing prompt, we added a control that keeps exactly the same problem and four candidate solutions but replaces the execution-grounded ranking labels with a random within-group permutation. The base model is Qwen3-4b-thinking.
| Training Setting | Candidate-Included Input | Training Reward | Gen. pass@1 | Judge NDCG | TTS Accuracy |
|---|---|---|---|---|---|
| Base Model | ✗ | None | 45.8 | 60.5±0.6 | 55.0 |
| On-policy Generation | ✗ | Binary execution reward | 48.5 (+2.7) | 61.2 (+0.7) | 57.0 (+2.0) |
| Random-Permutation Ranking | ✓ | Random ranking | 47.8 (+2.0) | 60.0 (-0.5) | 55.4 (+0.4) |
| DuST | ✓ | Execution-grounded ranking | 49.1 (+3.3) | 63.0±0.4 (+2.5) | 59.4 (+4.4) |
Generation still improves, suggesting that candidate exposure and long-context reasoning contribute to the transfer. However, it remains substantially below DuST, showing that long context alone is insufficient and that most of the gain depends on meaningful execution-grounded ranking supervision. Thus, DuST should be viewed as a complementary data-construction and training paradigm that can also be applied within long-context RL settings, rather than as a substitute for or duplicate of long-context data.
W3 & Q4: presentation issues
Thanks for your helpful comment. Qwen3-14B was a typo, which was never used in the experiment. We carefully revised the whole paper to address the presentation issues.(Link: https://anonymous.4open.science/r/DuST-26E7/revised_paper.pdf)
We hope these additional experiments and clarifications can address your main concerns. We would also be happy to address any remaining questions or concerns you may have.
Thank you for your rebuttal (Reviewer e851).
Thank you for your detailed response and clarifications. I do remember now that the convention for "ppo mini-batch" within group-relative methods is number of prompts. Thanks for the correction there. And I appreciate the added math experiments for W2 and the controlled experiment to isolate the effect of long context prompt for Q3.
Regarding fair baseline, I am aware, as I originally wrote "Table 3 includes this "on-policy generation" training baseline, but only for Qwen3-30B-Thinking.". My question was why there was only one baseline that trained on the same data in the entire paper. I appreciate the added 3 training-based baselines.
Overall, with the spurious-reward effect addressed and the improvements over primal generation training holding up as genuine and consistent, I'll keep my score at 4/6 as initially suggested and have raised the significance score to 3.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response from the Authors
We sincerely thank the area chair for recognizing DuST’s original and simple insight, its consistent improvements across model families and scales, and its comprehensive decomposition and ablation studies. We especially appreciate the positive assessment and the clear identification of the evidence most important for the final recommendation. We summarize our rebuttal additions below:
Fair generation-RLVR baseline: Extended to all four models using the same training problems, base models, verifier, GRPO framework, and optimization setup; DuST consistently achieves stronger generation, judgment, and TTS results.
Off-policy diagnostics: Added clipping and KL statistics showing that the reported gains occur in a low-drift regime, while greater policy drift leads to worse held-out performance rather than artificial improvement.
Compute fairness and cost analysis: Clarified the actual number of optimizer updates, ensured matched optimization settings, and provided detailed data-construction and training-cost comparisons.
DPO baseline: Added a dual-space DPO baseline using the same ranking prompts and execution-derived preferences; DuST consistently performs better.
Transfer mechanism: Added random-ranking and difficulty-control ablations that disentangle candidate exposure, generic RL effects, execution-grounded supervision, and mixed-quality filtering.
Broader evaluation: Added two new benchmarks on coding and math respectively, demonstrating generalization beyond LiveCodeBench.
Candidate-size sweep: Added results for (N=2,4,8), showing consistent TTS improvements across different candidate budgets.
Reproducibility: Released anonymized code, generated data, execution labels, training configurations, and trained checkpoints. The link is https://anonymous.4open.science/r/DuST-26E7
Paper corrections: We carefully revised the manuscript text to fix the model-count inconsistency, broken appendix reference, and other presentation issues. The paper link is https://anonymous.4open.science/r/DuST-26E7/revised_paper.pdf
We hope these additions can address the central concerns identified in the meta-review and provide the stronger support for the submission.