potentialpaper

DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generation

Siqi Guo, Ming Lin, Tianbao Yang

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.

Abstract. Developing efficient CUDA kernels is a fundamental yet challenging task in the generative AI industry. Recent research leverages Large Language Models (LLMs) to automatically convert PyTorch reference implementations to CUDA kernels, significantly reducing engineering effort. State-of-the-art LLMs, such as GPT-5.2 and Claude-Sonnet-4.5, still struggle with this task. To address this challenge, we propose DRTriton, a scalable learning framework for training LLMs to convert PyTorch programs into highly optimized Triton kernels, which are then compiled to CUDA kernels at runtime. DRTriton consists of three key components: (i) a data synthetic algorithm CSP-DAG that guarantees full coverage and unbiased uniform sampling over the operator space with controlled difficulty; (ii) a curriculum RL framework with decoupled rewards that jointly optimizes conversion success rate and execution speed; and (iii) a test-time search algorithm that further improves the execution speed of the generated Triton kernels. With a warmup stage of SFT on limited PyTorch-Triton pairs curated using existing LLMs, DRTriton trained by RL on synthesized PyTorch programs generalizes effectively to real-world CUDA kernels that are challenging even for human experts. Experimental results show that DRTriton-7B achieves speedup over PyTorch on 92% of KernelBench Level 2 tasks, compared to 23% for GPT-5.2 and 19% for Claude-Sonnet-4.5.

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
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:49 UTC.

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

Summary

The paper proposes DRTriton for translating PyTorch programs into efficient Triton kernels. It combines CSP-DAG synthetic program generation, curriculum RL with separate correctness and speed rewards, and test-time search based on program decomposition. Results on synthetic tasks and KernelBench show strong correctness and runtime performance.

Main strengths

CSP-DAG is the paper’s strongest contribution, providing a scalable way to generate valid programs with controllable difficulty. The verification pipeline is carefully designed, and the overall system addresses a practically important problem. The KernelBench results are strong for a 7B model, and the test-time search method is also applicable to other models.

Main weaknesses

The evaluation does not clearly separate improvements from model training and test-time search. DRTriton uses search and PyTorch fallback, while commercial baselines are evaluated zero-shot, making the headline comparison unfair. The speed metric is computed only over correct tasks, and the timing protocol is insufficiently specified. Claims such as "unbiased uniform sampling" and "full coverage" also require stronger evidence or more precise wording.

Issues to address in the author response

The authors should provide controlled comparisons using similar search budgets and report search results for the base, SFT, and RL checkpoints. They should clarify the timing methodology and use a speed metric based on a common task subset. They should also justify or soften the sampling claims.

Final justification

During rebuttal, the authors provided a matched-budget comparison with a strong commercial model, clarified the timing protocol and sampling claims, added a speed metric computed over the full task set, and reported checkpoint-wise ablations that better separate the effects of training and test-time search. Based on its original high quality, I maintain my recommendation of acceptance.

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

Summary

The paper proposes DRTriton for translating PyTorch programs into efficient Triton kernels. It combines CSP-DAG synthetic program generation, curriculum RL with separate correctness and speed rewards, and test-time search based on program decomposition. Results on synthetic tasks and KernelBench show strong correctness and runtime performance.

Main strengths

CSP-DAG is the paper’s strongest contribution, providing a scalable way to generate valid programs with controllable difficulty. The verification pipeline is carefully designed, and the overall system addresses a practically important problem. The KernelBench results are strong for a 7B model, and the test-time search method is also applicable to other models.

Main weaknesses

The evaluation does not clearly separate improvements from model training and test-time search. DRTriton uses search and PyTorch fallback, while commercial baselines are evaluated zero-shot, making the headline comparison unfair. The speed metric is computed only over correct tasks, and the timing protocol is insufficiently specified. Claims such as "unbiased uniform sampling" and "full coverage" also require stronger evidence or more precise wording.

Issues to address in the author response

The authors should provide controlled comparisons using similar search budgets and report search results for the base, SFT, and RL checkpoints. They should clarify the timing methodology and use a speed metric based on a common task subset. They should also justify or soften the sampling claims.

Final justification

During rebuttal, the authors provided a matched-budget comparison with a strong commercial model, clarified the timing protocol and sampling claims, added a speed metric computed over the full task set, and reported checkpoint-wise ablations that better separate the effects of training and test-time search. Based on its original high quality, I maintain my recommendation of acceptance.

Reviewer TsABOpenReview ↗
Rating
5/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 work addresses the challenge of automatically turning PyTorch programs into efficient Triton kernels. The paper proposes DRTriton, a training framework built around three main ideas: a CSP-DAG method for generating valid synthetic PyTorch programs, curriculum RL with decoupled correctness and speed rewards, and a test-time search procedure that finds good compositional Triton kernels for harder programs.

Strengths and weaknesses

Strength:

  1. Automatic GPU kernel generation is a hard and practically important problem. The paper provides a complete and solid pipeline rather than just a model fine-tuning recipe.

  2. The CSP-DAG formulation is a good way to create tasks with controllable difficulty, and the curriculum setup makes sense. The evaluation is complete, focusing on not only correctness but also runtime speed.

  3. The empirical results are the strongest part of the paper, especially the KernelBench results.

Weakness:

  1. The claims of the paper around “full coverage” and “unbiased uniform sampling” feel strong. The paper describes random DAG construction followed by a CP-SAT solver that selects a feasible shape assignment, but it is not fully clear what distribution is being sampled uniformly, or whether the final distribution over valid programs and tensor shapes is really unbiased.

  2. On the synthetic benchmark DRTriton without search is much weaker on harder levels.

Questions
  1. Could the authors clarify what exactly is meant by “full coverage” and “unbiased uniform sampling” in CSP-DAG? The current description explains random DAG construction followed by CP-SAT shape solving, but it is not very clear whether the uniformity is over operator sequences, DAG structures, or valid shape assignments.

  2. How much of the improvement on harder synthetic tasks comes from the trained DRTriton model itself versus the test-time search procedure?

  3. Ablation studies to compare test-time search using different checkpoints: base model, SFT-only model, DRTriton after each RL stage

Limitations

yes

Formatting concerns

No formatting issues.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for detailed comments and suggestions!

Q1: What exactly is meant by "full coverage" and "unbiased uniform sampling"?

A: Uniformity is scoped to operator sequences: for a difficulty-kk program, the kk OpCompute operators are drawn uniformly from the 61-operator set (Table 3). "Full coverage" refers to CSP-DAG's guarantee of coverage over all valid PyTorch programs composable from these operators subject to the CP-SAT feasibility constraints — not to uniformity over DAG topology or the resulting shape assignments, since CP-SAT returns a feasible solution when one exists, not a uniform witness over the solution space. We will revise the abstract and Sec. 3 wording accordingly.

Q2: How much of the improvement on harder synthetic tasks comes from the trained model itself vs. test-time search?

A: We decomposed this directly by running search on the base model, the SFT-only checkpoint, and each DRPO stage. The results are shown in the following table:

Checkpoint L1 Acc/Faster1 L2 Acc/Faster1 L5 Acc/Faster1 L20 Acc/Faster1 Avg. speedup (success) Avg. speedup (full)
Base model + search 23/4 44/12 73/34 81/52 1.06 1.03
SFT-only + search 30/6 50/14 82/44 95/71 1.09 1.05
DRPO Stage 1 + search 82/28 92/62 100/89 98/87 1.32 1.29
DRPO Stage 2 + search 92/36 98/83 100/91 97/84 1.53 1.51
DRPO Stage 3 + search 87/32 96/78 99/89 99/86 1.57 1.53

"Avg. speedup (success)" is the geometric mean over correct kernels; "(full)" treats failures as 1×. Accuracy improves quickly and saturates by DRPO Stage 1 (e.g., L2 Acc: 44→92 from base to Stage 1), while the average speedup keeps improving steadily through Stage 3 (1.03→1.29→1.51→1.53). Search on the untrained base model alone recovers only a fraction of final performance (1.03 vs. 1.53 speedup at the same search budget), confirming that the curriculum RL — not just the search harness — drives both the correctness gains and the continued kernel-quality gains.

Q3: Ablation of test-time search applied to different checkpoints.

A: This is the experiment reported above (this section's Q2). We will fold the full checkpoint-by-checkpoint table into Sec. 5.2 as Table 1b, so this decomposition is visible in the main text rather than only in the rebuttal.

Reviewer TsAB · CommentOpenReview ↗

Reply to Authors

Thank you for your answers. My concerns have now been resolved.

Reviewer 9giwOpenReview ↗
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 DRTriton, a large-scale synthetic data-driven approach to improve Triton kernel generation. The authors generated a large number of synthetic PyTorch programs using constraint solver validation and then used the data to post-train a model for kernel generation. Finally, it introduces test-time composition of smaller kernels into larger ones. Evaluations show that this approach achieves better results on KernelBench than the baselines.

--

Strengths and weaknesses

Strength

The paper provides strong empirical evaluations and demonstrates that synthetic data generation can improve overall performance. The paper also includes ablations on RL reward design and the algorithm.

Weakness

The paper's contributions are somewhat fragmented: The constrained program generation is similar to previous approaches like NNSmith used for generating fuzzing programs. While the paper presents the system as a whole, it is difficult to isolate the impact of individual components. For example, it is likely that the same test-time scaling would work on other baseline models, and it would be useful to see the impact of each component. While KernelBench is a useful benchmark, it would be helpful to see evaluations on real-world inference benchmarks, such as FlashInfer.

Questions

Would it be possible to provide an ablation of the component contributions? How does the approach generalize to real-world inference workloads? Can the dataset be used in other settings, such as in-context learning?

Limitations

yes

Final justification

thanks for providing the rebuttal, i will maintain my score but think the paper is ready for acceptance

Formatting concerns

no

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for detailed comments and suggestions!

Q1: An ablation of the component contributions.

A: DRTriton has three components — CSP-DAG data generation, curriculum RL with decoupled rewards, and test-time search — and we can isolate each:

  • RL curriculum vs. search: We have added evaluation of test-time search on different RL stages. The following table shows the results:
Checkpoint L1 Acc/Faster1 L2 Acc/Faster1 L5 Acc/Faster1 L20 Acc/Faster1 Avg. speedup (success) Avg. speedup (full)
Base model + search 23/4 44/12 73/34 81/52 1.06 1.03
SFT-only + search 30/6 50/14 82/44 95/71 1.09 1.05
DRPO Stage 1 + search 82/28 92/62 100/89 98/87 1.32 1.29
DRPO Stage 2 + search 92/36 98/83 100/91 97/84 1.53 1.51
DRPO Stage 3 + search 87/32 96/78 99/89 99/86 1.57 1.53

"Avg. speedup (success)" is the geometric mean over correct kernels; "(full)" treats failures as 1×. We observe that accuracy saturates by DRPO Stage 1, while average speedup keeps climbing (1.03→1.53), isolating the RL curriculum's contribution beyond what search alone gives an untrained base model.

  • CSP-DAG's contribution is harder to isolate via ablation, since it is a data-generation method rather than a model component that can be toggled at inference time — its value is evidenced structurally (100k valid, difficulty-graded programs at ~1.5 CPU-hours, vs. 11–14k hand-curated samples in prior work) rather than via a held-out comparison.

Q2: How does the approach generalize to real-world inference workloads such as FlashInfer?

A: Generalizing requires extending DRTriton's operator coverage beyond the current 61 operators (Table 3, Appendix A) — notably attention-style patterns (softmax-QK^T-V fusion, RoPE, KV-cache indexing) that dominate FlashInfer-style workloads but are not represented in our current OpCompute/OpCreate taxonomy. We flag this as an important, tractable follow-up: the CSP-DAG generation pipeline is operator-agnostic, so adding new operator classes to Table 3 with corresponding shape constraints (Appendix B) should let the same curriculum-RL recipe extend to these patterns without architectural changes.

Q3: Can the dataset be used in other settings, such as in-context learning?

A: Yes. Each (PyTorch program, verified Triton kernel) pair passes the full verifier (Sec. 4.1: syntactic, faithfulness, and correctness checks), so correctness is guaranteed independent of downstream use. These pairs could serve directly as retrieval/demonstration examples for in-context learning, or as an SFT corpus for other base models, without re-verification.

Reviewer Fd3COpenReview ↗
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 trains an LLM to translate PyTorch programs into efficient Triton kernels (compiled to CUDA at runtime), using synthetic data + curriculum RL to bypass the scarcity of real PyTorch–Triton pairs. There are three components. (1) CSP-DAG: PyTorch program generation is cast as a constraint-satisfaction problem over DAGs, solved with a CP-SAT solver for tensor-shape constraints (plus FLOPs/element-count bounds), sampling from 61 operators with guaranteed syntactic validity, shape legality, and uniform coverage over operator compositions (~1.5 h for 100k programs). (2) Curriculum RL with decoupled rewards (DRPO): the correctness reward and speed reward (best form: log(t_torch/t_triton)) are decoupled, advancing difficulty levels once Pass@1 > 50% (L1→L2→L5). (3) Test-time search: the program is split into contiguous fragments of ≤5 operators, each is converted and verified, then recombined with the remaining PyTorch code into a hybrid implementation, selecting the fastest by measured execution time. The verifier covers syntax (compilation), faithfulness (a monkey-patch no-op test to catch copying), and correctness (5 random test cases, exact match). DRTriton-7B (from Qwen-2.5-Coder-7B, ~10 days on 8×H100) reports that 92% of its correct KernelBench Level-2 kernels beat PyTorch eager, vs. 23% for GPT-5.2 and 19% for Claude-Sonnet-4.5.

Strengths and weaknesses

Strengths:

CSP-DAG is a genuinely novel and valuable core contribution. Formulating program synthesis as a CSP over DAGs solved by CP-SAT yields validity + shape-correctness + coverage guarantees in one stroke, directly attacking the data-scarcity bottleneck (prior work: 11–14k samples → here 100k with guarantees), and it is cheap and reusable. This is the strongest part of the paper. The decoupled correctness/speed reward is well-motivated and validated. Decoupling the two signals is sensible under a dual-objective, sparse-reward setting; the ablation shows DRPO beats GRPO, and the speed-reward-function ablation (log vs. power) is thorough. Principled and effective curriculum RL. Advancing difficulty by a measured threshold is reasonable, and Figure 3 shows clear gains from RL over SFT. Strong, practically meaningful results on an industrially relevant problem. A 7B model outperforming GPT-5.2/Claude-4.5 on Triton generation is notable, real speedups are measured, and the authors do report torch.compile and AutoTriton+search comparisons (some evaluation honesty). The monkey-patch faithfulness check to prevent "fake" kernels is a nice verifier detail.

Weaknesses:

  1. The headline framing is clearly optimistic. The "92% vs. 23%/19%" claim uses Torch Eager (unoptimized) as the speed baseline, counts only the fraction of correct kernels, and gives DRTriton test-time search while GPT-5.2/Claude are zero-shot, so it is not an apples-to-apples comparison. Against the real production baseline, torch.compile, the advantage is much smaller: only 12% / 56% / 34% of DRTriton kernels are faster than torch.compile at L1/L2/L3, and at L1 most DRTriton kernels are actually slower than torch.compile/eager. The headline should use torch.compile as the baseline and give the commercial baselines an equivalent test-time-search budget.

  2. At high difficulty, test-time search does most of the work, blurring model-vs-search attribution. Without search, accuracy is 15% at L5 and 0% at L20; with search it jumps to 99% and 99%. Because search decomposes into ≤5-operator fragments, converts what it can, falls back to PyTorch otherwise, and picks the fastest by direct measurement, the high-difficulty "accuracy/speedup" mainly reflect the search harness + PyTorch fallback, not the model's ability to generate whole kernels and "pick the fastest by measurement" mechanically inflates the Faster1 metric. These are reported as model results, which overstates the model's contribution.

Questions

See Weaknesses

Limitations

yes

Final justification

I think my concerns have been addressed successfully. I will maintain my positive score, and support this paper to be accepted.

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for detailed comments and suggestions!

Q1: The headline should use torch.compile as the baseline, and commercial baselines should be given an equivalent test-time-search budget.

A: We agree. Regarding torch.compile as the baseline: we will revise the abstract's headline claim to reflect this more precisely. Regarding the commercial baselines: we have run Claude-Sonnet-4.5 under an identical search budget (full table and discussion in T4Jm Q1). Under a matched budget, DRTriton's advantage over a strong commercial model is on speed metrics — on the Level 2 torch.compile baseline, DRTriton achieves 56% Faster1 versus 42% for Claude-Sonnet-4.5.

Q2: At high difficulty, test-time search does most of the work, so accuracy/speedup mainly reflects the search harness plus PyTorch fallback rather than the model's kernel-generation ability.

A:

  1. Although we use test-time search, the output quality still depends on the underlying model's per-fragment competence. For example, at KernelBench Level 3 (Table 2), AutoTriton+search reaches 86% accuracy but only 48%/20% Faster1 (TE/TC), while DRTriton+search reaches 76% accuracy but 54%/34% Faster1: the trained model's fragments are markedly faster even though AutoTriton solves more tasks overall. Search amplifies existing fragment quality; it does not manufacture speed from a weak model.

  2. To directly decompose the relative contributions of the model versus search, we ran test-time search on the base model, the SFT-only checkpoint, and each DRPO stage:

Checkpoint L1 Acc/Faster1 L2 Acc/Faster1 L5 Acc/Faster1 L20 Acc/Faster1 Avg. speedup (success) Avg. speedup (full)
Base model + search 23/4 44/12 73/34 81/52 1.06 1.03
SFT-only + search 30/6 50/14 82/44 95/71 1.09 1.05
DRPO Stage 1 + search 82/28 92/62 100/89 98/87 1.32 1.29
DRPO Stage 2 + search 92/36 98/83 100/91 97/84 1.53 1.51
DRPO Stage 3 + search 87/32 96/78 99/89 99/86 1.57 1.53

"Avg. speedup (success)" is the geometric mean over correct kernels; "(full)" treats failures as 1×. Accuracy saturates by Stage 1, while the full-average speedup climbs steadily from 1.03 (base+search) to 1.53 (Stage 3+search) — i.e., the DRPO curriculum keeps improving kernel quality, not just correctness.

Reviewer T4JmOpenReview ↗
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

The paper studies automatic translation of PyTorch reference programs into optimized Triton kernels, arguing that progress is bottlenecked by the scarcity and uncontrolled difficulty of paired training data (prior RL efforts use 11–14k hand-collected samples). The proposed framework, DRTriton, has three parts. First, CSP-DAG synthesizes PyTorch programs: a random DAG over 61 operators is drawn, and a CP-SAT solver assigns tensor shapes subject to operator, FLOPs, and size constraints, yielding 100k valid programs with difficulty graded by operator count. Second, Qwen-2.5-Coder-7B-Instruct is warm-started with SFT on 2,026 verified single-operator PyTorch–Triton pairs produced by DeepSeek-R1/GPT-5.2, then trained with curriculum RL using DRPO, which decouples a correctness reward from a log-speed-ratio reward under a trust-region-style KL penalty; difficulty advances once held-out Pass@1 exceeds 50%, stopping at Level 5. Third, a test-time search decomposes long programs into contiguous fragments (length ≤ 5), keeps per-fragment verified kernels, and benchmarks hybrid compositions to pick the fastest. A verifier with monkey-patch no-op testing guards against kernels that merely wrap PyTorch. Reported results: 87–99% accuracy across difficulty levels on a 400-program synthetic benchmark after search; on KernelBench, 69/96/76% accuracy on Levels 1/2/3, with 92% of Level-2 kernels faster than eager PyTorch and 56% faster than torch.compile.

Strengths and weaknesses

Strengths

  1. The CSP-DAG formulation (Sec. 3) is the real contribution and it is a good one. Casting program synthesis as random DAG generation plus CP-SAT shape assignment gives syntactic and shape validity by construction, graded difficulty, full operator coverage, and 100k programs in ~1.5 CPU-hours. This directly attacks the scaling ceiling of AutoTriton (14k samples) and TritonRL (11k), and sidesteps the correctness/coverage problems of LLM-generated synthetic code (Magicoder/WizardCoder-style pipelines).
  2. The verifier design (Sec. 4.1) is thoughtful. Monkey-patch no-op testing is a simple, effective guard against the "fake kernel" failure mode that plagued KernelLLM and that TritonRL explicitly wrestled with; combined with compilation checks and execution tests, the reward is hard to game in the obvious ways.
  3. Strong empirical package for the model class: 96% accuracy on KernelBench Level 2 and 76% on Level 3 from a 7B model, with the full recipe specified (curriculum sizes 20k/60k/20k, DRPO hyperparameters, 8 rollouts, 8×H100, ~10 days). Many labs could reproduce this.
  4. Test-time search (Sec. 4.5) is simple, honestly costed (App. D.3: ~3.5h on KernelBench), and model-agnostic — Table 1 shows it also lifts AutoTriton, which is a genuinely useful finding on its own.

Weaknesses

  1. Headline comparisons mix a search-augmented system with zero-shot baselines (abstract; Tables 1–2; intro claim (i)). The 92%-vs-23%/19% gap on KernelBench Level 2 compares DRTriton+test-time-search against GPT-5.2/Claude answering once with the default KernelBench prompt (App. F). Yet the search is model-agnostic: the paper's own Table 2 shows it lifts AutoTriton from 45→89% accuracy at Level 2 and 32→86% at Level 3, where AutoTriton+search actually beats DRTriton+search on accuracy (86 vs 76). Without giving the commercial baselines the same search budget, the abstract attributes to the trained model gains that may substantially come from the wrapper. What changes my mind: same-search numbers for at least one strong commercial model.
  2. The learned-fusion ceiling is low without search. Training covers 61 operators; there is nothing on attention patterns, dynamic shapes, or non-default dtypes. At Level 20 the trained model scores 0% without search (Table 1), so "generalizes to complex programs" currently rests on decomposition at inference time rather than learned long-range fusion. This deserves a plain statement in the main text, not only the conclusion's future-work sentence.
  3. The "Avg. speedup" column is not comparable across rows (Table 1). It is a geometric mean over correct kernels only, so a model that solves just the easiest programs (GPT-5.2: 5% accuracy at Level 5, yet 1.34 avg speedup overall) is averaged over a different, easier subset than DRTriton. The column conflates selectivity with speed; it should be computed over all tasks (failures as 1×) or on a matched subset.
  4. The timing protocol behind the speed reward is unspecified (Sec. 4.3). rs=log⁡(ttorch/ttriton)r_s = \log(t_{torch}/t_{triton}) enters training directly, but the paper never states warmup, repetition count, synchronization, whether Triton JIT compilation is excluded, or clock state. Reward noise here is a training-stability hazard, and the evaluation speedups depend on the same protocol.
  5. "Unbiased uniform sampling" is asserted, not shown (abstract; Sec. 3.2). Sec. 3.2 only says the CP-SAT solver "selects one [feasible solution] at random" — CP-SAT is a feasibility solver, not a uniform witness generator, and the sequential DAG construction of Sec. 3.1 adds its own biases (operator-order and arity effects). Either give an empirical uniformity check on a small enumerable space or soften the wording.
  6. Single-run evidence. No seeds or error bars anywhere (checklist item 7 admits this). The DRPO-vs-GRPO ablation (Fig. 3b) is one run on Stage-1 data, and the Stage-2→3 regression at Levels 1/2 in Fig. 3a is reported but unexplained — interference from harder levels, or run noise? Two extra Stage-1 seeds would largely settle this.
Questions
  1. Specify the timing protocol (warmup, repeats, synchronization, JIT-compile exclusion, GPU/clock) used for both the speed reward and the reported speedups, and the tolerance used in "matched precisely."
  2. Justify or soften "unbiased uniform sampling": e.g., operator/difficulty frequency histograms over the 100k corpus, or a uniformity test on a small enumerable operator subset. Either evidence or rewording suffices.
  3. Add two seeds to the Stage-1 DRPO-vs-GRPO ablation (Fig. 3b).
Limitations

the 0%-without-search ceiling at Level 20, i.e., complex-program success currently comes from decomposition rather than learned fusion;

Formatting concerns

possible hidden instructions in pdf should be checked

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for detailed comments and suggestions!

Q1: The abstract should include the comparison with a commercial model under the same search budget.

A: We evaluated Claude-Sonnet-4.5 under the same search budget on KernelBench. Below are the full results:

Model L1 Acc L1 Faster1 TE L1 Faster1 TC L2 Acc L2 Faster1 TE L2 Faster1 TC L3 Acc L3 Faster1 TE L3 Faster1 TC
Claude-Sonnet-4.5 46 8 8 36 19 12 36 12 12
Claude-Sonnet-4.5 (test-time search) 67 41 30 96 68 42 86 64 30
DRTriton (test-time search) 69 17 12 96 92 56 76 54 34

Here, TE stands for the Torch Eager baseline, and TC stands for the torch.compile baseline. With test-time search, Claude-Sonnet-4.5 improves its Level 2 accuracy from 36% to 96%, and its Faster1 TC from 12% to 42%. This demonstrates the strength of test-time search, one of our core contributions, which can significantly enhance kernel generation. Under the same budget, our DRTriton, trained at relatively low cost, still outperforms Claude-Sonnet-4.5 by 14% on Level 2 Faster1 TC and 4% on Level 3 Faster1 TC.

In accordance with your request, we will update the abstract to use this result under the same budget.

Q2: The model performs poorly without search on Level 20 synthesis data.

A: We did not train on PyTorch code with 20 operators, and our curriculum-based RL training stops at 5 operators. So it is expected to see zero accuracy on Level 20 and non-zero accuracy on Level 5. Learning to convert a complex program with more than 20 operators is very challenging, as it requires more careful design of the shapes, dtypes, and operation patterns, as mentioned in the question. Nevertheless, we find kernel decomposition to be an efficient and practical way to handle long programs. This forms the basis of test-time search, our main contribution.

Per your request, we will add a discussion of this to the main text.

Q3: "Avg. speedup" conflates selectivity with speed, since it is a geometric mean over correct kernels only.

A: This is a valid critique, and we have corrected it. We now report a second "Avg. speedup (full)" column, computed across all tasks with failures counted as 1×, alongside the original "Avg. speedup (on success)."

Model Level 1 Acc Level 1 Faster1 Level 2 Acc Level 2 Faster1 Level 5 Acc Level 5 Faster1 Level 20 Acc Level 20 Faster1 Avg. speedup (on success) Avg. speedup (full)
GPT-5.2 54 17 43 35 5 5 0 0 1.34 1.08
Claude-Sonnet-4.5 68 14 49 29 7 3 0 0 0.68 0.89
DeepSeek-R1 33 13 24 16 9 3 0 0 0.91 0.98
Qwen-3-Coder-480B 48 6 30 23 1 1 0 0 0.97 0.99
AutoTriton 36 7 15 8 2 1 0 0 1.08 1.01
+ test-time search 36 7 45 22 61 34 96 80 1.18 1.10
DRTriton (ours) 87 32 75 54 15 10 0 0 1.20 1.08
+ test-time search 87 32 96 78 99 89 99 86 1.57 1.53

Q4: The timing protocol is unspecified.

A: The timing protocol consists of the following steps:

  1. Initialization Stage: A single fixed input is sampled from get_inputs().
  2. Warmup Stage: A warmup call is made with this input, followed by torch.cuda.synchronize() to absorb Triton's JIT compilation cost before timing begins.
  3. Timing Cycles: The kernel is called 20 times, each bracketed by torch.cuda.Event start/end calls with a synchronize to capture true GPU execution time. Timing uses GPU-side CUDA events rather than host wall-clock time. We compute the kernel execution time as the arithmetic mean over the 20 trials.

We will add the specifics of the timing protocol to the Appendix.

Q5: "Unbiased uniform sampling" is asserted, not shown; CP-SAT is a feasibility solver, and the sequential DAG construction may itself bias operator order/arity.

A: Our uniformity claim is scoped to operator sequences only: for a difficulty-nn program, the nn OpCompute operators (Sec. 3.1) are drawn uniformly from the 61-operator space (Table 3) — not the DAG topology or the CP-SAT-assigned shapes. We will revise the abstract's "full coverage and unbiased uniform sampling" language (line 9) to state this precisely, and add empirical operator-frequency histograms over the 100k-program corpus to Appendix A.

Q6: No seeds or error bars.

A: Running experiments on large language models usually requires huge computing resources. For our SFT+RL stages on a 7B model with 100K synthetic data points, we need approximately 10 days of 8×H100 training. It is common in LLM papers to omit error bars from experimental results, given this cost.

Q7: The Stage-2→3 regression at Levels 1/2 in Fig. 3a is reported but unexplained.

A: Stage 3 training data is drawn entirely from Level-5 programs, so continued optimization pressure on harder, longer programs plausibly trades off some sharpness on Levels 1/2, which no longer receive gradient updates at that stage. We will note this explanation in the text.

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

Missing a submission?

Loading the discussion…