Saved in:
Bibliographic Details
Main Authors: Bai, Haolei, Kong, Lingcheng, Chen, Xueyi, Wang, Jianmian, Tao, Zhiqiang, Wang, Huan
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.11715
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910020095967232
author Bai, Haolei
Kong, Lingcheng
Chen, Xueyi
Wang, Jianmian
Tao, Zhiqiang
Wang, Huan
author_facet Bai, Haolei
Kong, Lingcheng
Chen, Xueyi
Wang, Jianmian
Tao, Zhiqiang
Wang, Huan
contents Diffusion large language models (dLLMs) have emerged as a compelling alternative to autoregressive (AR) LLMs, owing to their capacity for parallel token generation. This paradigm is particularly well-suited for code generation, where holistic structural planning and non-sequential refinement are critical. Despite this potential, tailoring dLLMs for CUDA kernel generation remains challenging, obstructed not only by the high specialization but also by the severe lack of high-quality training data. To address these challenges, we construct CuKe, an augmented supervised fine-tuning dataset optimized for high-performance CUDA kernels. On top of it, we propose a bi-phase curated reinforcement learning (BiC-RL) framework consisting of a CUDA kernel infilling stage and an end-to-end CUDA kernel generation stage. Leveraging this training framework, we introduce DICE, a series of diffusion large language models designed for CUDA kernel generation, spanning three parameter scales, 1.7B, 4B, and 8B. Extensive experiments on KernelBench demonstrate that DICE significantly outperforms both autoregressive and diffusion LLMs of comparable scale, establishing a new state-of-the-art for CUDA kernel generation.
format Preprint
id arxiv_https___arxiv_org_abs_2602_11715
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels
Bai, Haolei
Kong, Lingcheng
Chen, Xueyi
Wang, Jianmian
Tao, Zhiqiang
Wang, Huan
Machine Learning
Computation and Language
Diffusion large language models (dLLMs) have emerged as a compelling alternative to autoregressive (AR) LLMs, owing to their capacity for parallel token generation. This paradigm is particularly well-suited for code generation, where holistic structural planning and non-sequential refinement are critical. Despite this potential, tailoring dLLMs for CUDA kernel generation remains challenging, obstructed not only by the high specialization but also by the severe lack of high-quality training data. To address these challenges, we construct CuKe, an augmented supervised fine-tuning dataset optimized for high-performance CUDA kernels. On top of it, we propose a bi-phase curated reinforcement learning (BiC-RL) framework consisting of a CUDA kernel infilling stage and an end-to-end CUDA kernel generation stage. Leveraging this training framework, we introduce DICE, a series of diffusion large language models designed for CUDA kernel generation, spanning three parameter scales, 1.7B, 4B, and 8B. Extensive experiments on KernelBench demonstrate that DICE significantly outperforms both autoregressive and diffusion LLMs of comparable scale, establishing a new state-of-the-art for CUDA kernel generation.
title DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2602.11715