- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
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:
-
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.
-
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.
-
The empirical results are the strongest part of the paper, especially the KernelBench results.
Weakness:
-
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.
-
On the synthetic benchmark DRTriton without search is much weaker on harder levels.
Questions
-
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.
-
How much of the improvement on harder synthetic tasks comes from the trained DRTriton model itself versus the test-time search procedure?
-
Ablation studies to compare test-time search using different checkpoints: base model, SFT-only model, DRTriton after each RL stage
Limitations
yes
Paper formatting concerns
No formatting issues.
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-k program, the k 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:
"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.