mlsanityData to 7 Oct 2026

Compiler-Grounded Hierarchical Diagnosis for LLM-Based Triton Kernel Optimization

arXiv 2607.23089 ↗First posted 25 Jul 2026cs.AI cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent advances in large language models (LLMs) have enabled automated kernel generation and optimization, but most existing approaches rely on surface signals such as compilation feedback and profiling metrics. These signals reveal that a kernel is slow, but not why the backend compiler fails to realize a profitable optimization, especially on emerging accelerators such as NPUs. We therefore formulate kernel optimization as a progressive cross-layer diagnosis problem that links runtime symptoms to IR structure and compiler behavior before rewriting source. Based on this insight, we present our system, a compiler-grounded and hierarchical optimization framework for Triton kernels. the system escalates from lightweight pattern triage and profiling diagnosis to IR attribution and compiler-grounded analysis only when deeper evidence is needed, then proposes evidence-backed source-level rewrites. We implement the system on Triton for Ascend NPUs and evaluate it on 37 successfully converted entries from a standardized NPUKernelBench-derived Ascend 950 benchmark. Across these entries, the system attains a geometric-mean speedup of 4.35× and a median speedup of 2.73× from the initial to optimized Triton kernel; 22/37 exceed 2× and 13/37 exceed 5×. The complete distribution ranges from near-baseline entries to large wins, motivating transparent reporting of the current system's scope and limitations.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 23 references that are in the map. First posted on arXiv 25 Jul 2026.

Builds on

15 of 23 references.

References · 15

  1. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
  2. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  3. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 73
  4. 2025TritonBench: Benchmarking Large Language Model Capabilities for Generating Triton Operatorscited by 68
  5. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 59
  6. 2025Astra: A Multi-Agent System for GPU Kernel Performance Optimizationcited by 46
  7. 2025MultiKernelBench: A Multi-Platform Benchmark for Kernel Generationcited by 35
  8. 2026AVO: Agentic Variation Operators for Autonomous Evolutionary Searchcited by 19
  9. 2025TritonForge: Profiling-Guided Framework for Automated Triton Kernel Optimizationcited by 15
  10. 2025PRAGMA: A Profiling-Reasoned Multi-Agent Framework for Automatic Kernel Optimizationcited by 11
  11. 2026AscendKernelGen: A Systematic Study of LLM-Based Kernel Generation for Neural Processing Unitscited by 11
  12. 2026Towards Automated Kernel Generation in the Era of LLMscited by 9
3 more
  1. 2026AscendCraft: Automatic Ascend NPU Kernel Generation via DSL-Guided Transcompilationcited by 6
  2. 2025KForge: Program Synthesis for Diverse AI Hardware Acceleratorscited by 3
  3. 2025KPerfIR: Towards an Open and Compiler-centric Ecosystem for GPU Kernel Performance Tooling on Modern AI Workloadscited by 2

Built on by

Not cited yet.