- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 4
- Quality
- 3
- Significance
- 4
Read review
Summary
This paper studies reinforcement learning for generating code that is not only correct but also fast. The main contribution is that how authors convert execution time into reliable RL signal. In this case, authors conduct:
- they separate correctness tests from larger optimization tests and uses calibrated remote execution.
- they decompose efficiency into three phases to compute reward faithfully: pre/during/post-execution, with correctness enforced as a prerequisite for efficiency.
- Finally, GRPO is modified to handle sparse rewards.
Experiment shows that strongest configurations improve strict top-decile efficiency pass@1 from 18.1% to 27.7% for Qwen 2.5 7B, from 22.4% to 35.6% for Qwen 2.5 32B, and from 28.7% to 42.4% for CWM 32B. The paper also reports OOD speed improvements on LiveCodeBench, although some configurations trade.
Strengths and weaknesses
Strength:
- The paper clearly identifies efficient code generation as a distinct and practically important objective. Rather than naively adding runtime to a correctness reward, it treats timing as an end-to-end signal pipeline encompassing test construction, runtime measurement and calibration, reward design, and RL optimization. This framing is technically thoughtful and highly relevant to practical code-generation settings, where functional correctness alone is insufficient.
- The empirical results are promising, including OOD evaluation on the public LiveCodeBench benchmark. These findings suggest that the proposed method does not merely overfit to the targeted DMC-Optim setting, but can also elicit transferable efficiency improvements in generated code. I particularly appreciate the conclusion that the observed gains primarily arise from improved I/O handling and constant-factor optimizations.
Weakness:
- The reported speed win rates are conditioned on passing samples and exclude draws. Some optimization-trained models simultaneously reduce pass@1. Consequently, a high conditional win rate does not necessarily imply a higher probability of producing a solution that is both correct and faster.
- The paper demonstrates that timing-aware RL outperforms correctness-only RLVR, but it does not establish that online RL and live timing are preferable to simpler offline training using the same information. A single matched 7B comparison would help answer whether the complexity of the proposed online pipeline is necessary.
Questions
- How does the method compare with a simple offline efficiency-training baseline?
Limitations
yes
Paper formatting concerns
no
Final justification
I support this paper to be accepted. During rebuttal authors solved my concerns of weakness #1 and #2 by experiments and explanation with math. Overall, I think this is a solid work.
The rebuttal should be uploaded by the end of day (July 28th) AoE time. Thanks again for all the comments you shared.