mlsanityData to 14 Oct 2026

Fine-Tuning GPT-5 for GPU Kernel Generation

arXiv 2602.11000 ↗First posted 11 Feb 2026cs.DC cs.AI cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Developing efficient GPU kernels is essential for scaling modern AI systems, yet it remains a complex task due to intricate hardware architectures and the need for specialized optimization expertise. Although Large Language Models (LLMs) demonstrate strong capabilities in general sequential code generation, they face significant challenges in GPU code generation because of the scarcity of high-quality labeled training data, compiler biases when generating synthetic solutions, and limited generalization across hardware generations. This precludes supervised fine-tuning (SFT) as a scalable methodology for improving current LLMs. In contrast, reinforcement learning (RL) offers a data-efficient and adaptive alternative but requires access to relevant tools, careful selection of training problems, and a robust evaluation environment. We present Makora's environment and tools for reinforcement learning finetuning of frontier models and report our results from fine-tuning GPT-5 for Triton code generation. In the single-attempt setting, our fine-tuned model improves kernel correctness from 43.7% to 77.0% (+33.3 percentage points) and increases the fraction of problems outperforming TorchInductor from 14.8% to 21.8% (+7 percentage points) compared to baseline GPT-5, while exceeding prior state-of-the-art models on KernelBench. When integrated into a full coding agent, it is able to solve up to 97.4% of problems in an expanded KernelBench suite, outperforming the PyTorch TorchInductor compiler on 72.9% of problems with a geometric mean speedup of 2.12x. Our work demonstrates that targeted post-training with reinforcement learning can unlock LLM capabilities in highly specialized technical domains where traditional supervised learning is limited by data availability, opening new pathways for AI-assisted accelerator programming.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 15 of its 26 references that are in the map. First posted on arXiv 11 Feb 2026.

Builds on

15 of 26 references.

References · 15

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  5. 2021Program Synthesis with Large Language Modelscited by 3,637
  6. 2022Scaling Laws for Reward Model Overoptimizationcited by 1,095
  7. 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
  8. 2025Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMscited by 289
  9. 2023A Survey of Reinforcement Learning from Human Feedbackcited by 264
  10. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
  11. 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
  12. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 78
3 more
  1. 2025Towards Robust Agentic CUDA Kernel Benchmarking, Verification, and Optimizationcited by 56
  2. 2025CUDA-LLM: LLMs Can Write Efficient CUDA Kernelscited by 34
  3. 2025EvoEngineer: Mastering Automated CUDA Kernel Code Evolution with Large Language Modelscited by 13

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026From Tokens to Regions: CUDA-Sensitive Instruction Tuning for GPU Kernel Generation
  2. 2026GPU Forecasters: Language Models as Selective Surrogates for Kernel Runtime Optimization
  3. 2025STARK: Strategic Team of Agents for Refining Kernels
  4. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimization
  5. 2026MusaCoder: Native GPU Kernel Generation with Full-Stack Training on Moore Threads GPU
  6. 2026How to Train Your Little Dragon: Teaching a Small Language Model to Construct and Refine GPU Optimization Scripts
  7. 2026KernelSkill: A Multi-Agent Framework for GPU Kernel Optimization
  8. 2026A Two-Stage GPU Kernel Tuner Combining Semantic Refactoring and Search-Based Optimization