From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generation
Not on the map. Why?
Abstract (arXiv)
High-performance CUDA kernels are essential for scalable AI systems, while Large Language Models (LLMs) still struggle to generate correct kernels due to strict and implicit execution constraints. Existing LLM-based approaches either rely on costly agentic or reinforcement-learning (RL) pipelines, or adopt supervised fine-tuning (SFT) objectives that fail to explicitly model CUDA sensitivity, namely code tokens or regions tightly coupled with execution constraints. In this work, we investigate CUDA sensitivity from the perspective of token confidence patterns, showing that CUDA sensitivity appears at both token and region levels, where most CUDA-sensitive tokens are predicted with high confidence, while a smaller low-confidence subset forms regions corresponding to execution-critical structures. These findings suggest that effective CUDA kernel generation should both leverage high-confidence CUDA-sensitive tokens and preserve low-confidence CUDA-sensitive regions. Building on these insights, we propose textbfunderlineCUDA-underlineSensitive Instruction underlineTuning (CuSeT), a low-cost post-training method within a simple SFT framework. CuSeT follows the principle of ``from tokens to regions'' by combining adaptive token-level masking with region-aware sample reweighting. Experiments show that CuSeT consistently improves functional correctness across multiple model families and scales, outperforming standard SFT and advanced SFT variants, while achieving competitive performance against frontier CUDA kernel generation models with substantially lower inference cost.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 36 of its 48 references that are in the map. First posted on arXiv 15 Jun 2026.
Builds on
36 of 48 references.
References · 36
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 258
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 256
24 more
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2025On the Generalization of SFT: A Reinforcement Learning Perspective with Reward Rectificationcited by 127
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 102
- 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 78
- 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 61
- 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 51
- 2025Seed-Coder: Let the Code Model Curate Data for Itselfcited by 49
- 2025AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMscited by 40
- 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 34
- 2025STARK: Strategic Team of Agents for Refining Kernelscited by 25
- 2025TritonRL: Training LLMs to Think and Code Triton Without Cheatingcited by 24
- 2026Dr. Kernel: Reinforcement Learning Done Right for Triton Kernel Generationscited by 22
- 2025Beyond Log Likelihood: Probability-Based Objectives for Supervised Fine-Tuning across the Model Capability Continuumcited by 18
- 2026ProFit: Leveraging High-Value Signals in SFT via Probability-Guided Token Selectioncited by 18
- 2025ConCuR: Conciseness Makes State-of-the-Art Kernel Generationcited by 13
- 2026AscendKernelGen: A Systematic Study of LLM-Based Kernel Generation for Neural Processing Unitscited by 12
- 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimizationcited by 11
- 2025From Large to Small: Transferring CUDA Optimization Expertise via Reasoning Graphcited by 10
- 2026CUDABench: Benchmarking LLMs for Text-to-CUDA Generationcited by 10
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
- 2025Aligning LLMs with Biomedical Knowledge using Balanced Fine-Tuningcited by 3
- 2026Gradients Must Earn Their Influence: Unifying SFT with Generalized Entropic Objectivescited by 3
- 2025HPCTransCompile: An AI Compiler Generated Dataset for High-Performance CUDA Transpilation and LLM Preliminary Explorationcited by 2
- 2025QiMeng-MuPa: Mutual-Supervised Learning for Sequential-to-Parallel Code Translationcited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026CUDA-Harness: Harnessing Agentic CUDA Kernel Generation and Optimization from Natural Language
- 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimization
- 2026KernelBlaster: Continual Cross-Task CUDA Optimization via Memory-Augmented In-Context Reinforcement Learning
- 2026Fine-Tuning GPT-5 for GPU Kernel Generation
- 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization
- 2026MusaCoder: Native GPU Kernel Generation with Full-Stack Training on Moore Threads GPU
- 2025CudaForge: An Agent Framework with Hardware Feedback for CUDA Kernel Optimization