Reinforcement Learning for Code Optimization
Update NeurIPS 2026 submission qRPKxKFqhP: 7 notes
@openreview[bot] · 2026-11-24 15:55 UTC · edc61bdcc19f ·
reviews/openreview/qrpkxkfqhp/notes/cq8wydcfzn.json added
+++ b/reviews/openreview/qrpkxkfqhp/notes/cq8wydcfzn.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "cQ8wydCfZN",+ "replyTo": "H5akSOEqZB",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear reviewer yAc4, just a gentle nudge to check whether the responses we provided solve your concerns, or whether you would like to further discuss them. Many thanks for your time :)"+ },+ "createdAt": "2026-07-31T09:49:58.314Z",+ "modifiedAt": "2026-11-19T16:47:16.310Z",+ "url": "https://openreview.net/forum?id=qRPKxKFqhP¬eId=cQ8wydCfZN",+ "license": "CC-BY-4.0"+}
reviews/openreview/qrpkxkfqhp/notes/dm3oomcyhy.json added
+++ b/reviews/openreview/qrpkxkfqhp/notes/dm3oomcyhy.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "DM3oomcyhy",+ "replyTo": "eNhNhJJzSJ",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Reviewer acUQ",+ "content": {+ "comment": "Thanks for the detailed rebuttal. The additional experiments along with math interpretation makes the contribution of paper/statement more clear. I will keep my positive attitude to the acceptance."+ },+ "createdAt": "2026-08-04T11:50:35.282Z",+ "modifiedAt": "2026-11-19T16:47:16.312Z",+ "url": "https://openreview.net/forum?id=qRPKxKFqhP¬eId=DM3oomcyhy",+ "license": "CC-BY-4.0"+}
reviews/openreview/qrpkxkfqhp/notes/enhnhjjzsj.json added
+++ b/reviews/openreview/qrpkxkfqhp/notes/enhnhjjzsj.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "eNhNhJJzSJ",+ "replyTo": "miXZLWXjd3",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear reviewer acUQ, just a gentle nudge to check whether the responses we provided solve your concerns, or whether you would like to further discuss them. Thanks again for your time :)"+ },+ "createdAt": "2026-07-31T09:43:56.118Z",+ "modifiedAt": "2026-11-19T16:47:16.326Z",+ "url": "https://openreview.net/forum?id=qRPKxKFqhP¬eId=eNhNhJJzSJ",+ "license": "CC-BY-4.0"+}
reviews/openreview/qrpkxkfqhp/notes/hhkr2tarjh.json added
+++ b/reviews/openreview/qrpkxkfqhp/notes/hhkr2tarjh.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "HhkR2TARJh",+ "replyTo": "AlsMy5tdac",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "We would like to thank the reviewer for the detailed summary of our contributions, and for underlining the significance and originality of the work. We split this rebuttal into two comments of up to 5k characters each (to account for the 10k character limit of the rebuttal).\n\n### Speed win rates\n\nWe agree that the paper did not define these win rates clearly enough, which limits the interpretation of the results.\n\nConcerning the existing win-rate metrics reported in the paper, we apologize that their definition was unclear. They are not directly conditioned on passing samples, but the aggregation (best or median) favors correct samples. These metrics are more comparable to pass@20 than to pass@1, but they do suffer if the model outputs incorrect samples.\n\nMore specifically, for each problem/task, we generate 20 samples from each model and proceed as follows:\n\n1. Best sample win rate: select the fastest correct sample from each model, among the correct samples (if available)\n2. Median sample win rate: order each model's correct samples by execution time and select the median one (if available)\n3. If only one model has a correct sample, that model wins. If both have a correct sample, the model whose selected sample is more than 1% faster wins. If neither model succeeds, or if their execution times differ by at most 1%, the task is a draw.\n\nThe originally reported best and median win rates remove draws. And they fix the sampling budget, whatever the success rate of the model is. Therefore, if a model outputs many fast programs that are rarely correct, it can lose against a model that consistently outputs correct code, even if it is less likely to be well-optimized. Nevertheless, the aggregation includes a form of correctness oracle, so we should indicate in the paper that this metric corresponds to the following use case: \"with an equal sampling budget, we want to know which model may work best when combined with inference-time search methods or execution feedback\". Let $N_A$ and $N_B$ be the numbers of tasks won by A and B. The win rate of A is:\n\n$$\nw_A=\\frac{N_A}{N_A+N_B}.\n$$\n\nAs suggested by the reviewer, we therefore introduce a new metric that covers a different use case: what happens when one generation is selected randomly from each model, without any additional search or feedback? Which model is most likely to generate a correct and fast sample in one shot? For that, we now introduce the random-sample win rate, which compares every sample from model A with every sample from model B on each task. With 20 samples per model, this gives $20\\times20=400$ comparisons. Every comparison uses the same rule: a correct sample beats an incorrect one; when both are correct, the sample that is more than 1% faster wins (we ablate this threshold later); otherwise the comparison is a draw.\n\nFor task $t$, let $W^A_{t,i,j}$, $W^B_{t,i,j}$, and $D_{t,i,j}$ respectively denote the binary indicators of an A win, a B win, and a draw when comparing samples $i$ and $j$. The per-task estimator of the random-sample win rate of model A is\n\n$$\n\\widehat p_{A,t}\n=\\frac{1}{20\\times20}\n\\sum_{i=1}^{20}\\sum_{j=1}^{20}W^A_{t,i,j}.\n$$\n\nWith $T$ evaluation tasks, we macro-average across tasks. The global probability of an A win is\n\n$$\n\\widehat p_A\n=\\frac{1}{T}\\sum_{t=1}^{T}\\widehat p_{A,t}.\n$$\n\nWe obtain $\\widehat p_B$ in the same way. And finally, we explicitly compute the draw probability, as draws are no longer discarded for this metric:\n\n$$\n\\widehat p_{\\mathrm{draw}}\n=\\frac{1}{20\\times20\\times T}\n\\sum_{t=1}^{T}\\sum_{i=1}^{20}\\sum_{j=1}^{20}\nD_{t,i,j}.\n$$\n\n\nThis way, every sample pair contributes exactly one outcome: A wins, B wins, or the pair is a draw (and the three probabilities therefore cover the full outcome space, i.e., $\\widehat p_A+\\widehat p_B+\\widehat p_{\\mathrm{draw}}=1$). We now compute the newly introduced win rates, and include the table below in the appendix (with more configurations for other model sizes). We share in this rebuttal only some of the best configs on CWM 32B (and as underlined by reviewer 1, we clarify the configuration names):\n\n|config|A win|= corr + speed|B win|= corr + speed|draw|= both fail + speed tie|\n|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n|two-gate continuous percentile ranking (qar)|30.7 [27.6, 33.9]|4.1 + 26.6|23.3 [21.1, 25.7]|6.0 + 17.3|46.0 [41.3, 50.3]|39.4 + 6.6|\n|abs. 2s filtering|30.9 [27.8, 34.0]|3.8 + 27.0|22.9 [20.6, 25.4]|7.0 + 15.9|46.3 [41.6, 50.7]|39.7 + 6.6|\n|top-30% percentile ranking (p30)|29.7 [26.4, 33.1]|3.0 + 26.7|23.7 [21.3, 26.4]|9.0 + 14.8|46.6 [42.0, 51.1]|40.5 + 6.1|\n|top-50% percentile ranking (p50)|30.3 [27.1, 33.7]|3.5 + 26.8|23.5 [21.1, 26.0]|7.9 + 15.6|46.2 [41.6, 50.6]|40.0 + 6.2|"+ },+ "createdAt": "2026-07-29T11:35:34.694Z",+ "modifiedAt": "2026-11-19T16:47:16.440Z",+ "url": "https://openreview.net/forum?id=qRPKxKFqhP¬eId=HhkR2TARJh",+ "license": "CC-BY-4.0"+}
reviews/openreview/qrpkxkfqhp/notes/mixzlwxjd3.json added
+++ b/reviews/openreview/qrpkxkfqhp/notes/mixzlwxjd3.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "miXZLWXjd3",+ "replyTo": "AlsMy5tdac",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "### Speed win rates (continued)\n\nIn particular, we now use bootstrapping to obtain confidence intervals, which we report in Table 2 for both the newly added random-sample win rate and the other win rates. And we use paired bootstrapping on the differences to verify that the gains are meaningful for our best optimization-RL runs compared to standard RLVR.\nWith the new random-sample metric, because speed gains are limited on easy problems and many draws are due to both samples failing (around 40% of the pairs), the win rates are more compressed. We provide the following details as well (further expanded in the appendix of the paper) for the differences in win rates by problem difficulty:\n\n| config | all (global) | easy | medium | hard |\n|:------------:|:---------------------:|:-------------------:|:-----------------------:|:-------------------:|\n| qar | +7.4 [+4.5, +10.4] ✱ | +1.3 [−2.9, +5.8] | +19.2 [+12.8, +26.7] ✱ | +3.9 [+0.3, +7.9] ✱ |\n| filter_abs2s | +8.0 [+4.6, +11.2] ✱ | +4.1 [+0.1, +8.2] ✱ | +21.4 [+13.9, +29.2] ✱ | +2.6 [−1.7, +7.4] |\n\nThis refines our discussion and conclusions: we keep the discussion on the original win rates, with the specification that they encompass the use case of relying on execution feedback at inference. On top of that, the random-sample win rate shows that overall, the optimization-RL models still outperform standard RLVR on out-of-domain data, even if some of the speed gains also come with a slight diminution of pure correctness (for instance, -3% for QAR LCB pass@1 compared to RLVR). On easy problems, the gains are not necessarily significant (using two-sided tests for conservativeness), and wins mostly come from speed differences. On medium problems, our RL runs significantly outperform standard RLVR, with similar numbers of correctness-based wins and 2.5 times as many wins due to speed. On hard problems, standard RLVR has more correctness wins than OptimRL has, but the latter still achieves significantly more speed wins, which outweigh the diminution in correctness.\nWe provide further ablations, showing, for instance, that at a 5% tie threshold, the number of draws increases, but the relative win rate of OptimRL over standard RLVR also increases and is even more significant.\n\n### Offline RL\n\nThank you for underlining this limitation. We are narrowing down the claim made by the paper to clarify that our work is a comparative study in the online RL setting exclusively. This choice was made as online RL is an important part of frontier LLM releases, and we are presenting a way to include the optimization objective in this online RL loop. To the best of our knowledge, online and offline RL are not necessarily mutually exclusive, and iterative training can include an online training phase, then rejection-sampling SFT, and then further online RL, for instance. Nevertheless, we believe that a direct head-to-head comparison of online and offline RL may be outside the scope of the current paper: offline RL would imply a large number of choices, each requiring its own experiments and ablations, such as the algorithm, the method used to generate the offline data corpus, the construction of each preference pair ... We believe this also falls into the dedicated thread of research on online versus offline RL, which includes a variety of works [1, 2] arguing that online data is strictly superior, though recent work [3] reconciles some of the inherent off-policiness due to policy lag in distributed post-training. Finally, we conclude in the limitations of our paper that our results show we can make the optimization signal survive the noisier online RL loop; therefore, we believe that the same measurement and reward pipeline can be used to label offline data, which could be interesting as a replacement, or certainly as an addition to the current online training, to further boost performance.\n\n## References\n\n[1] Lanchantin et al. “Bridging Offline and Online Reinforcement Learning for LLMs.” 2025. arXiv:2506.21495.\n\n[2] Xu et al. “Is DPO Superior to PPO for LLM Alignment? A Comprehensive Study.” 2024. arXiv:2404.10719.\n\n[3] Ritter et al. “LLMs Can Learn to Reason Via Off-Policy RL.” 2026. arXiv:2602.19362.\n\n### Changes made to the paper\n\n1. Reported our new metric scores, random-sample win-rate, in Table 2 and added CIs for all scores\n2. Improved analysis in Section 5 based on new win rates\n3. Included a new appendix with exact mathematical definitions of win rates and additional breakdown tables\n4. Narrowed down claims in the introduction and conclusion regarding our online RL setting, and discussed offline RL in the limitations and future work sections"+ },+ "createdAt": "2026-07-29T11:36:24.740Z",+ "modifiedAt": "2026-11-19T16:47:16.336Z",+ "url": "https://openreview.net/forum?id=qRPKxKFqhP¬eId=miXZLWXjd3",+ "license": "CC-BY-4.0"+}
reviews/openreview/qrpkxkfqhp/notes/s5xbgmqgpq.json added
+++ b/reviews/openreview/qrpkxkfqhp/notes/s5xbgmqgpq.json@@ -0,0 +1,15 @@+{+ "schema": "review/1",+ "id": "S5XbgmqgpQ",+ "replyTo": "fbhA8wdtj6",+ "kind": "comment",+ "invitation": "Official_Comment",+ "signature": "Authors",+ "content": {+ "comment": "Dear reviewer F6zD, just a gentle nudge to check whether the responses we provided solve your concerns, or whether you would like to further discuss them. Thanks again for your time :)"+ },+ "createdAt": "2026-07-31T09:46:25.720Z",+ "modifiedAt": "2026-11-19T16:47:16.555Z",+ "url": "https://openreview.net/forum?id=qRPKxKFqhP¬eId=S5XbgmqgpQ",+ "license": "CC-BY-4.0"+}
reviews/openreview/qrpkxkfqhp/notes/vbsyyxtzlm.json modified
+++ b/reviews/openreview/qrpkxkfqhp/notes/vbsyyxtzlm.json@@ -5,11 +5,12 @@"kind": "meta_review","invitation": "Meta_Review","signature": "Area Chair x2b5","content": {- "metareview": "### (a) Scientific claims and findings\n\nThis paper develops an RL pipeline for generating code that is both correct and efficient. Its contribution is an integrated recipe: calibrated execution, correctness-gated timing rewards, offline reward screening, and adaptations of GRPO, with evidence on code-optimization benchmarks and LiveCodeBench transfer. The response clarifies the joint correctness-efficiency interpretation, statistical reporting, and limits of the claimed online-RL advantage.\n\n### (b) Main strengths\n\nThe paper tackles a genuinely difficult reward-design problem and does so carefully. Reviewers `yAc4` and `F6zD` recognized the value of calibrated timing, negative controls, and safeguards against rewarding broken code; Reviewer `acUQ` valued the end-to-end execution pipeline and transfer evidence. The integrated empirical contribution is meaningful even though no single component is a new RL algorithm.\n\n### (c) Main weaknesses\n\nThe work is limited to a specialized Python setting and requires nontrivial execution infrastructure. Conditional speed-win metrics and single-checkpoint comparisons can overstate practical advantage if correctness, draws, or run variation are not reported jointly. The need for online live-timing RL rather than a matched offline alternative is also not fully established. These limitations restrict the scope of the result.\n\n### (d) Assessment of the author response\n\nThe response addresses the core interpretive issues by providing clearer joint accounting, uncertainty and sample information, and a more precise claim about what online interaction contributes. It also clarifies the closest comparisons and reproducibility boundaries. While the system remains specialized, the response resolves the central concern that improvements might be merely artifacts of conditional efficiency reporting.\n\n### (e) Reviewer discussion and response\n\nReviewer `F6zD` remained strongly positive, and the discussion appropriately distinguishes the value of the integrated use-inspired contribution from algorithmic novelty. Reviewers `yAc4` and `acUQ` raised valid limitations about statistical support, comparators, and scope; these have been sufficiently addressed or appropriately qualified for the present contribution."+ "metareview": "### (a) Scientific claims and findings\n\nThis paper develops an RL pipeline for generating code that is both correct and efficient. Its contribution is an integrated recipe: calibrated execution, correctness-gated timing rewards, offline reward screening, and adaptations of GRPO, with evidence on code-optimization benchmarks and LiveCodeBench transfer. The response clarifies the joint correctness-efficiency interpretation, statistical reporting, and limits of the claimed online-RL advantage.\n\n### (b) Main strengths\n\nThe paper tackles a genuinely difficult reward-design problem and does so carefully. Reviewers `yAc4` and `F6zD` recognized the value of calibrated timing, negative controls, and safeguards against rewarding broken code; Reviewer `acUQ` valued the end-to-end execution pipeline and transfer evidence. The integrated empirical contribution is meaningful even though no single component is a new RL algorithm.\n\n### (c) Main weaknesses\n\nThe work is limited to a specialized Python setting and requires nontrivial execution infrastructure. Conditional speed-win metrics and single-checkpoint comparisons can overstate practical advantage if correctness, draws, or run variation are not reported jointly. The need for online live-timing RL rather than a matched offline alternative is also not fully established. These limitations restrict the scope of the result.\n\n### (d) Assessment of the author response\n\nThe response addresses the core interpretive issues by providing clearer joint accounting, uncertainty and sample information, and a more precise claim about what online interaction contributes. It also clarifies the closest comparisons and reproducibility boundaries. While the system remains specialized, the response resolves the central concern that improvements might be merely artifacts of conditional efficiency reporting.\n\n### (e) Reviewer discussion and response\n\nReviewer `F6zD` remained strongly positive, and the discussion appropriately distinguishes the value of the integrated use-inspired contribution from algorithmic novelty. Reviewers `yAc4` and `acUQ` raised valid limitations about statistical support, comparators, and scope; these have been sufficiently addressed or appropriately qualified for the present contribution.",+ "final_justification": "I recommend acceptance as a poster. The paper provides a careful and useful end-to-end approach to RL-based code optimization and meaningful evidence for its intended setting. The camera-ready should retain clear joint correctness-efficiency reporting and explicit scope/reproducibility limitations."},"createdAt": "2026-07-19T09:22:15.001Z",- "modifiedAt": "2026-11-18T15:24:11.533Z",+ "modifiedAt": "2026-11-19T05:02:39.170Z","url": "https://openreview.net/forum?id=qRPKxKFqhP¬eId=vBSyyxTzLM","license": "CC-BY-4.0"}