AutoTriton: Automatic Triton Programming with Reinforcement Learning in LLMs
Not on the map. Why?
Abstract (arXiv)
Kernel development in deep learning requires optimizing computational units across hardware while balancing memory management, parallelism, and hardware-specific optimizations through extensive empirical tuning. Although domain-specific languages like Triton simplify GPU programming by abstracting low-level details, developers must still manually tune critical parameters such as tile sizes and memory access patterns through iterative experimentation, creating substantial barriers to optimal performance and wider adoption. In this work, we introduce AutoTriton, the first model dedicated to Triton programming powered by reinforcement learning (RL). AutoTriton performs supervised fine-tuning (SFT) to be equipped with essential Triton programming expertise using a high-quality data gathering pipeline, and conducts RL with Group Relative Policy Optimization (GRPO) algorithm, combining a rule-based reward and an execution-based reward to further improve Triton programming ability, sequentially. Experiments across five evaluation channels of TritonBench and KernelBench illustrate that our 8B model AutoTriton achieves performance comparable to mainstream large models, including Claude-4-Sonnet and DeepSeek-R1-0528. Further experimental analysis demonstrates the crucial role of each module within AutoTriton, including the SFT stage, the RL stage, and the reward design strategy. These findings underscore the promise of RL for automatically generating high-performance kernels, and since high-performance kernels are core components of AI systems, this breakthrough establishes an important foundation for building more efficient AI systems. The model and code will be available at https://github.com/AI9Stars/AutoTriton.
Key facts. Cited by 40 papers in the map (data through 14 Oct 2026). Builds on 13 of its 25 references that are in the map. First posted on arXiv 8 Jul 2025.
Builds on
13 of 25 references.
References · 13
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
- 2022Competition-Level Code Generation with AlphaCodecited by 1,462
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 358
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2024Enhancing Code LLMs with Reinforcement Learning in Code Generation: A Surveycited by 83
- 2025TritonBench: Benchmarking Large Language Model Capabilities for Generating Triton Operatorscited by 75
- 2025Seed-Coder: Let the Code Model Curate Data for Itselfcited by 49
1 more
- 2024CYCLE: Learning to Self-Refine the Code Generationcited by 42
Built on by
Citing papers per year: 2025: 7; 2026: 33.
40 papers.
Sort:
By area:
- 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 38
- 2025TritonRL: Training LLMs to Think and Code Triton Without Cheatingcited by 24
- 2026K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Modelcited by 24
- 2026Dr. Kernel: Reinforcement Learning Done Right for Triton Kernel Generationscited by 22
- 2025ConCuR: Conciseness Makes State-of-the-Art Kernel Generationcited by 13
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 12
- 2026Towards Automated Kernel Generation in the Era of LLMscited by 11
- 2025cuPilot: A Strategy-Coordinated Multi-agent Framework for CUDA Kernel Evolutioncited by 7
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesiscited by 7
- 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilationcited by 7
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 6
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
28 more
- 2025From Exploration to Exploitation: A Two-Stage Entropy RLVR Approach for Noise-Tolerant MLLM Trainingcited by 5
- 2025KernelEvolve: Scaling Agentic Kernel Coding for Heterogeneous AI Accelerators at Metacited by 5
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardwarecited by 5
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolutioncited by 5
- 2026DICE: Diffusion Large Language Models Excel at Generating CUDA Kernelscited by 3
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimizationcited by 3
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
- 2026DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generationcited by 3
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 3
- 2026AdaExplore: Failure-Driven Adaptation and Diversity-Preserving Search for Efficient Kernel Generationcited by 3
- 2026FastKernels: Benchmarking GPU Kernel Generation in Productioncited by 3
- 2026daVinci-kernel: Co-Evolving Skill Selection, Summarization, and Utilization via RL for GPU Kernel Optimizationcited by 3
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agentscited by 2
- 2026Xe-Forge: Multi-Stage LLM-Powered Kernel Optimization for Intel GPUcited by 2
- 2026MusaCoder: Native GPU Kernel Generation with Full-Stack Training on Moore Threads GPUcited by 2
- 2026RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworkscited by 2
- 2026MobileKernelBench: Can LLMs Write Efficient Kernels for Mobile Devices?cited by 1
- 2026From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generationcited by 1
- 2026FlashRT: Agent Harness for Guiding Agents to Deploy Real-Time Multimodal Applicationscited by 1
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generationcited by 1
- 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Codecited by 0
- 2026Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solverscited by 0
- 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Expertscited by 0
- 2026EGG: An Expert-Guided Agent Framework for Kernel Generationcited by 0
- 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTXcited by 0
- 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimizationcited by 0
- 2026FlashVector: Agent for Hierarchical Model Serving Stack Optimizationcited by 0
- 2026KernelZero: Co-Evolving Proposer and Coder for Continuously Improved GPU Kernel Generationcited by 0
- 2026KernelZero: Co-Evolving Proposer and Coder for Continuously Improved GPU Kernel Generation27 Sep 2026
- 2026FlashVector: Agent for Hierarchical Model Serving Stack Optimization15 Sep 2026
- 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimization11 Sep 2026
- 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTX18 Aug 2026
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution12 Aug 2026
- 2026RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworks12 Aug 2026
- 2026FlashRT: Agent Harness for Guiding Agents to Deploy Real-Time Multimodal Applications20 Jul 2026
- 2026EGG: An Expert-Guided Agent Framework for Kernel Generation25 Jun 2026
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generation20 Jun 2026
- 2026daVinci-kernel: Co-Evolving Skill Selection, Summarization, and Utilization via RL for GPU Kernel Optimization15 Jun 2026
- 2026From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generation15 Jun 2026
- 2026MusaCoder: Native GPU Kernel Generation with Full-Stack Training on Moore Threads GPU3 Jun 2026
28 more
- 2026FastKernels: Benchmarking GPU Kernel Generation in Production22 May 2026
- 2026Beyond Inference-Time Search: Reinforcement Learning Synthesizes Reusable Solvers18 May 2026
- 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Code18 May 2026
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents16 May 2026
- 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts8 May 2026
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernels6 May 2026
- 2026AdaExplore: Failure-Driven Adaptation and Diversity-Preserving Search for Efficient Kernel Generation17 Apr 2026
- 2026Xe-Forge: Multi-Stage LLM-Powered Kernel Optimization for Intel GPU16 Apr 2026
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe1 Apr 2026
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimization30 Mar 2026
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimization24 Mar 2026
- 2026DRTriton: Large-Scale Synthetic Data Driven Reinforcement Learning for Triton Kernel Generation23 Mar 2026
- 2026MobileKernelBench: Can LLMs Write Efficient Kernels for Mobile Devices?12 Mar 2026
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesis11 Mar 2026
- 2026K-Search: LLM Kernel Generation via Co-Evolving Intrinsic World Model22 Feb 2026
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization12 Feb 2026
- 2026DICE: Diffusion Large Language Models Excel at Generating CUDA Kernels12 Feb 2026
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware10 Feb 2026
- 2026Dr. Kernel: Reinforcement Learning Done Right for Triton Kernel Generations5 Feb 2026
- 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilation30 Jan 2026
- 2026Towards Automated Kernel Generation in the Era of LLMs22 Jan 2026
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesis29 Dec 2025
- 2025KernelEvolve: Scaling Agentic Kernel Coding for Heterogeneous AI Accelerators at Meta29 Dec 2025
- 2025cuPilot: A Strategy-Coordinated Multi-agent Framework for CUDA Kernel Evolution18 Dec 2025
- 2025From Exploration to Exploitation: A Two-Stage Entropy RLVR Approach for Noise-Tolerant MLLM Training11 Nov 2025
- 2025TritonRL: Training LLMs to Think and Code Triton Without Cheating18 Oct 2025
- 2025ConCuR: Conciseness Makes State-of-the-Art Kernel Generation8 Oct 2025
- 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generation20 Jul 2025
- 2026Towards Automated Kernel Generation in the Era of LLMscited by 11
- 2025cuPilot: A Strategy-Coordinated Multi-agent Framework for CUDA Kernel Evolutioncited by 7
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesiscited by 7
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
- 2025KernelEvolve: Scaling Agentic Kernel Coding for Heterogeneous AI Accelerators at Metacited by 5
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardwarecited by 5
- 2026FastKernels: Benchmarking GPU Kernel Generation in Productioncited by 3
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agentscited by 2
- 2026FlashRT: Agent Harness for Guiding Agents to Deploy Real-Time Multimodal Applicationscited by 1
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generationcited by 1
- 2026EGG: An Expert-Guided Agent Framework for Kernel Generationcited by 0
- 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimizationcited by 0
- 2026AMDKernelVault: Large-Scale Datasets and Agentic Training for AMD GPU Kernel Optimization11 Sep 2026
- 2026FlashRT: Agent Harness for Guiding Agents to Deploy Real-Time Multimodal Applications20 Jul 2026
- 2026EGG: An Expert-Guided Agent Framework for Kernel Generation25 Jun 2026
- 2026MKEvolve: A Modular Multi-Agent Framework for Kernel Code Generation20 Jun 2026
- 2026FastKernels: Benchmarking GPU Kernel Generation in Production22 May 2026
- 2026AgentKernelArena: Generalization-Aware Benchmarking of GPU Kernel Optimization Agents16 May 2026
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe1 Apr 2026
- 2026KernelCraft: Benchmarking for Agentic Close-to-Metal Kernel Generation on Emerging Hardware10 Feb 2026
- 2026Towards Automated Kernel Generation in the Era of LLMs22 Jan 2026
- 2025AKG kernel Agent: A Multi-Agent Framework for Cross-Platform Kernel Synthesis29 Dec 2025
- 2025KernelEvolve: Scaling Agentic Kernel Coding for Heterogeneous AI Accelerators at Meta29 Dec 2025
- 2025cuPilot: A Strategy-Coordinated Multi-agent Framework for CUDA Kernel Evolution18 Dec 2025
- 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 38
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernelscited by 12
- 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilationcited by 7
- 2026Kernel-Smith: A Unified Recipe for Evolutionary Kernel Optimizationcited by 6
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolutioncited by 5
- 2026DICE: Diffusion Large Language Models Excel at Generating CUDA Kernelscited by 3
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimizationcited by 3
- 2026Towards Cold-Start Drafting and Continual Refining: A Value-Driven Memory Approach with Application to NPU Kernel Synthesiscited by 3
- 2026AscendOptimizer: Episodic Agent for Ascend NPU Operator Optimizationcited by 3
- 2026AdaExplore: Failure-Driven Adaptation and Diversity-Preserving Search for Efficient Kernel Generationcited by 3
- 2026daVinci-kernel: Co-Evolving Skill Selection, Summarization, and Utilization via RL for GPU Kernel Optimizationcited by 3
- 2026Xe-Forge: Multi-Stage LLM-Powered Kernel Optimization for Intel GPUcited by 2
12 most cited of 21 All 21 (JSON)
- 2026KernelZero: Co-Evolving Proposer and Coder for Continuously Improved GPU Kernel Generation27 Sep 2026
- 2026FlashVector: Agent for Hierarchical Model Serving Stack Optimization15 Sep 2026
- 2026PTXBench: Benchmarking and Adapting LLMs for GPU Kernel Optimization with Architecture-specific PTX18 Aug 2026
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolution12 Aug 2026
- 2026RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworks12 Aug 2026
- 2026daVinci-kernel: Co-Evolving Skill Selection, Summarization, and Utilization via RL for GPU Kernel Optimization15 Jun 2026
- 2026From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generation15 Jun 2026
- 2026MusaCoder: Native GPU Kernel Generation with Full-Stack Training on Moore Threads GPU3 Jun 2026
- 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Code18 May 2026
- 2026Kernel Foundry: A Diagnosis-driven Evolutionary Kernel Optimizer with Multi-Experts8 May 2026
- 2026KernelBenchX: A Comprehensive Benchmark for Evaluating LLM-Generated GPU Kernels6 May 2026
- 2026AdaExplore: Failure-Driven Adaptation and Diversity-Preserving Search for Efficient Kernel Generation17 Apr 2026
12 newest of 21 All 21 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Fine-Tuning GPT-5 for GPU Kernel Generation
- 2026rl-triton: High-Performance Triton GPU Kernels for Reinforcement Learning Credit Assignment
- 2026AI as a Compiler: Compiling Triton kernels without the Triton compiler
- 2025Geak: Introducing Triton Kernel AI Agent & Evaluation Benchmarks
- 2024Improving Generalization on the ProcGen Benchmark with Simple Architectural Changes and Scale
- 2026How to Train Your Little Dragon: Teaching a Small Language Model to Construct and Refine GPU Optimization Scripts
- 2025The Art of Scaling Reinforcement Learning Compute for LLMs
- 2025LlamaRL: A Distributed Asynchronous Reinforcement Learning Framework for Efficient Large-scale LLM Training