DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels

21d ago · Global · primary source: export.arxiv.org

A team of researchers has introduced DICE, a series of diffusion large language models tailored for CUDA kernel generation that outperforms both autoregressive and diffusion models of comparable scale on the KernelBench benchmark, according to a paper posted to arXiv [1]. The models, spanning 1.7B, 4B, and 8B parameters, were built to address two obstacles that have limited the application of diffusion LLMs to CUDA kernel code: the high specialization required and a severe shortage of high-quality training data [1][2]. To overcome the data scarcity, the researchers constructed CuKe, an augmented supervised fine-tuning dataset optimized for high-performance CUDA kernels [3][4]. The dataset contains a large number of high-performance kernel examples, providing the foundation for task-specific supervision [5]. On top of CuKe, the team built a bi-phase curated reinforcement learning framework called BiC-RL [1][6]. The framework operates in two sequential stages: a CUDA kernel infilling stage, where the model learns to complete partial kernel implementations, followed by an end-to-end CUDA kernel generation stage [3][5]. During training, data is scheduled hierarchically, progressing from fundamental operations to complex model structures [3]. This progressive paradigm ensures the model masters core kernel implementation before transitioning to full generation [3]. The resulting DICE models represent what the authors describe as the first specialized diffusion LLMs designed for CUDA kernel generation [4][5]. In experiments on KernelBench, the DICE series established a new state-of-the-art, significantly outperforming both autoregressive LLMs and other diffusion LLMs of comparable scale [1][2]. The paper notes that recent studies have demonstrated the superior data efficiency of diffusion LLMs, especially under data-bound conditions, making them uniquely positioned for tasks where high-quality kernel data is scarce [3]. The work was submitted by Haolei Bai and collaborators, with the initial preprint posted on February 12, 2026, and a revised version uploaded on June 16, 2026 [1].

tool-releaseresearch-paperbenchmark

Background sources we checked (10)
  • arxiv.org ↗ 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-sequentia…
  • arxiv.org ↗ 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-sequentia…
  • arxiv.org ↗ # DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels ... 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-sui…
  • arxiv.org ↗ DICE: Diffusion Large Language Models Excel ... at Generating CUDA Kernels ... Diffusion large language models (dLLMs) have ... holistic structural planning and non-sequential refinement are critical. Despite this potential, tailoring dLLMs for CUDA kernel generation remains ..…
  • huggingface.co ↗ Paper page - DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels ... # DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels ... Diffusion large language models (dLLMs) for CUDA kernel generation achieve superior performance through a specializ…
  • arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) ... DagsHub Toggle ... DagsHub (What is DagsHub?)…
  • arxiv.org ↗ With the creation of new datasets, the question arises of whether the data in them is complementary to other datasets for training ML models (see recent reviews for a perspective of catalysts informatics22, 23, 24). This is especially important when consolidating data with a vari…
  • arxiv.org ↗ CatalyzeX Code Finder for Papers (What is CatalyzeX?) ... DagsHub Toggle ... DagsHub (What is DagsHub?)…
  • en.wikipedia.org ↗ Sustainable Development Goals (abbr. SDGs) were adopted in 2015 by all United Nations (UN) members for the 2030 Agenda for Sustainable Development. The aim of the 17 global goals is "peace and prosperity for people and the planet", tackling climate change, and working to preserv…
  • en.wikipedia.org ↗ In molecular biology, a transcription factor (TF) (or sequence-specific DNA-binding factor) is a protein that controls the rate of transcription of genetic information from DNA to messenger RNA, by binding to DNA sequences. Specificity can be due to sequence motifs, or epigenetic…

Sources

Spot something wrong? Report an issue