cd /news/artificial-intelligence/compiler-grounded-hierarchical-diagn… · home topics artificial-intelligence article
[ARTICLE · art-85336] src=arxiv.org ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Compiler-Grounded Hierarchical Diagnosis for LLM Triton Kernel Optimization

Researchers have developed a compiler-grounded hierarchical optimization framework for Triton kernels that achieves a geometric-mean speedup of 4.35× and a median speedup of 2.73× across 37 benchmark entries on Ascend NPUs. The system, implemented on Triton for Ascend NPUs and evaluated on a standardized NPUKernelBench-derived Ascend 950 benchmark, escalates from pattern triage to compiler-grounded analysis to propose evidence-backed source-level rewrites. The work addresses the limitation of existing LLM-based kernel optimization approaches that rely on surface signals, which fail to explain why backend compilers miss profitable optimizations on emerging accelerators.

read2 min views1 publishedAug 3, 2026
Compiler-Grounded Hierarchical Diagnosis for LLM Triton Kernel Optimization
Image: source
[Submitted on 25 Jul 2026]


[View PDF](/pdf/2607.23089)

[HTML (experimental)](https://arxiv.org/html/2607.23089v1)

Abstract: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$\times$ and a median speedup of 2.73$\times$ from the initial to optimized Triton kernel; 22/37 exceed 2$\times$ and 13/37 exceed 5$\times$. The complete distribution ranges from near-baseline entries to large wins, motivating transparent reporting of the current system's scope and limitations.

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?)# Code, Data and Media Associated with this Article alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?)# Demos Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?)# arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @triton 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/compiler-grounded-hi…] indexed:0 read:2min 2026-08-03 ·