Dr. Kernel: Reinforcement Learning Done Right for Triton Kernel Generations
High-quality kernel is critical for scalable AI systems, and enabling LLMs to generate such code would advance AI development. However, training LLMs for this task requires sufficient data, a robust environment, and the process is often vulnerable to reward hacking and lazy optimization. In these cases, models may hack training rewards and prioritize trivial correctness over meaningful speedup. In this paper, we systematically study reinforcement learning (RL) for kernel generation. We first design KernelGYM, a robust distributed GPU environment that supports reward hacking check, data collection from multi-turn interactions and long-term RL training. Building on KernelGYM, we investigate...
| Authors | Wei Liu, Jiawei Xu, Yingru Li et al. |
|---|---|
| Primary category | cs.LG |
| Published | 5 February 2026 |
| Last updated at source | 6 February 2026 |
Connected in the knowledge graph
- hkust-nlp/drkernel-8bModel · cited by
- hkust-nlp/drkernel-rl-dataDataset · cited by
- hkust-nlp/drkernel-coldstart-8kDataset · cited by
- hkust-nlp/drkernel-8b-coldstartModel · cited by
Models and datasets referencing this paper
Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 18 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.