potentialpaper

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

Import ICLR 2027 submission 1PwnQkQCYe: 3 notes

@openreview[bot] · 2026-11-22 19:26 UTC · d2f5d8deb171

Evidence

.gitattributes added

+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),
+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.
+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text
+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text
+/thumbnail.png filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text
+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text
+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,19 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "1PwnQkQCYe"
+ }
+ ],
+ "title": "Compiler-Grounded Hierarchical Diagnosis for LLM-Based Triton Kernel Optimization",
+ "authors": [],
+ "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, which 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, and present a compiler-grounded, hierarchical optimization framework for Triton kernels that escalates from lightweight pattern triage and profiling diagnosis to IR attribution and compiler-grounded analysis only when deeper evidence is needed. Implemented on Triton for Ascend NPUs and evaluated on 37 successfully converted entries from a standardized NPUKernelBench-derived Ascend 950 benchmark, the system attains a geometric-mean speedup of $4.35\\times$ and a median 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.",
+ "year": 2027,
+ "venue": "ICLR 2027 (under review)",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

+++ b/community/10-tl-dr.md

community/20-summary.md added

+++ b/community/20-summary.md

community/30-why-it-matters.md added

+++ b/community/30-why-it-matters.md

community/40-critique.md added

+++ b/community/40-critique.md

community/50-errata.md added

+++ b/community/50-errata.md

community/60-reproductions.md added

+++ b/community/60-reproductions.md

community/70-follow-ups.md added

+++ b/community/70-follow-ups.md

owners/10-tl-dr.md added

+++ b/owners/10-tl-dr.md

owners/20-overview.md added

+++ b/owners/20-overview.md

owners/30-results.md added

+++ b/owners/30-results.md

owners/40-demos.md added

+++ b/owners/40-demos.md

owners/50-code-and-data.md added

+++ b/owners/50-code-and-data.md

owners/60-talks.md added

+++ b/owners/60-talks.md

prek.toml added

+++ b/prek.toml
@@ -0,0 +1,36 @@
+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.
+# The site checks every push again; these catch mistakes before you commit. The same on every page.
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-json" },
+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },
+ { id = "end-of-file-fixer", exclude = '^demos/' },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },
+ { id = "check-case-conflict" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },
+]
+
+# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).
+[[repos]]
+repo = "https://github.com/python-jsonschema/check-jsonschema"
+rev = "0.39.0"
+hooks = [
+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },
+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },
+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },
+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },
+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },
+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },
+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },
+]
+
+# Sections formatted the way the web editor formats them.
+[[repos]]
+repo = "https://github.com/rbubley/mirrors-prettier"
+rev = "v3.9.9"
+hooks = [
+ { id = "prettier", files = '^(owners|community)/.*\.md$' },
+]

reviews/openreview/1pwnqkqcye/forms.json added

+++ b/reviews/openreview/1pwnqkqcye/forms.json
@@ -0,0 +1,183 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "additional_comments_on_reviewer_discussion",
+ "label": "Reviewer discussion",
+ "type": "text"
+ },
+ {
+ "key": "recommendation",
+ "label": "Recommendation",
+ "type": "choice"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "soundness",
+ "presentation",
+ "informativeness"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "soundness",
+ "label": "Soundness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "presentation",
+ "label": "Presentation",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "informativeness",
+ "label": "Informativeness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "paper_summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "critical_strengths",
+ "label": "Strengths",
+ "type": "text"
+ },
+ {
+ "key": "critical_weaknesses",
+ "label": "Weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions_for_authors",
+ "label": "Questions for the authors",
+ "type": "text"
+ },
+ {
+ "key": "flag_for_ethics_review",
+ "label": "Flag for ethics review",
+ "type": "choice",
+ "omitWhen": [
+ "No",
+ "No ethics review needed."
+ ]
+ },
+ {
+ "key": "details_of_ethics_concerns",
+ "label": "Ethics concerns",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/1pwnqkqcye/notes/5ssumfmw4x.json added

+++ b/reviews/openreview/1pwnqkqcye/notes/5ssumfmw4x.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "5sSUmFMW4x",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer SyCs",
+ "content": {
+ "paper_summary": "This paper proposes a Compiler-Grounded Hierarchical Diagnosis (CGHD) framework for LLM-based Triton kernel optimization on Ascend NPUs. The framework uses a four-layer diagnostic pipeline: pattern classification, profiling diagnosis, IR attribution, and compiler-source escalation, to progressively identify and fix performance bottlenecks. It is evaluated on 37 operators from NPUKernelBench on Ascend 950, reporting a 4.35× geometric mean kernel speedup and a 2.60× speedup over Torch NPU.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 1,
+ "critical_strengths": "1. Progressive hierarchical design. The four-level escalation strategy: pattern classification, profiling diagnosis, IR attribution, and compiler-source escalation, provides a structured workflow for progressively deeper kernel optimization. By restricting deep compiler analysis to cases where lightweight evidence is insufficient, the framework avoids unconstrained search and offers a principled diagnostic pipeline. This design may be informative for future compiler-aware code optimization efforts.\n2. Compiler-grounded analysis. Integrating IR-level evidence, such as pattern matching, memory/layout analysis, fusion/scheduling checks, and compiler pass behavior into the optimization loop is a promising direction. Distinguishing source-level symptoms from compiler-mediated causal effects is well motivated and addresses a real limitation of existing LLM-driven kernel systems that rely heavily on execution results as reward signals.",
+ "critical_weaknesses": "1. The main experimental figure (Figure 3) has serious formatting issues that undermine result verification. Figure 3 is the primary visual evidence supporting the paper’s headline speedup claims. However, its current formatting problems make it difficult to independently verify per-operator results. A main results figure should be correctly formatted, clearly readable, and independently verifiable, especially when it underpins the paper’s central quantitative claims.\n\n2. The evaluation scope is narrow. The system is evaluated only on 37 operators from a single NPU platform (Ascend 950). The paper does not compare with Kernel Design Agent (KDA) or other closely related methods, nor does it evaluate on a more diverse set of operators or shapes. The paper also does not discuss whether the method generalizes beyond Ascend NPUs, which limits the broader impact and external validity of the proposed framework.",
+ "questions_for_authors": "1. Could the authors provide a corrected version of Figure 3 with properly readable labels, axes, and legends, so that per-operator results can be independently verified?\n\n2. The evaluation is limited to Ascend NPUs. How well does the method generalize to GPU/CUDA environments? Would migrating the hierarchical diagnosis framework to other accelerators require substantial modifications?\n\n3. Could the experimental section include comparisons with additional methods, such as Kernel Design Agent (KDA), to better position the proposed approach relative to closely related work?",
+ "flag_for_ethics_review": "No",
+ "rating": 1,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-22T06:18:21.407Z",
+ "modifiedAt": "2026-11-06T12:30:53.813Z",
+ "url": "https://openreview.net/forum?id=1PwnQkQCYe&noteId=5sSUmFMW4x",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/1pwnqkqcye/notes/dpgrmy8l1i.json added

+++ b/reviews/openreview/1pwnqkqcye/notes/dpgrmy8l1i.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "DPGRmY8L1I",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer hZA5",
+ "content": {
+ "paper_summary": "The paper proposes a hierarchical LLM-based framework for optimizing Triton kernels on Ascend NPUs. The approach progressively escalates from pattern-based optimization to profiling, IR attribution, and compiler-source analysis, while accumulating reusable optimization knowledge. Evaluated on 37 successfully converted operators, the framework achieves a 4.35× geometric-mean speedup over initial Triton implementations and a 2.60× speedup over Torch NPU on a separate set of 35 operators.",
+ "presentation": 1,
+ "informativeness": 1,
+ "soundness": 2,
+ "critical_strengths": "1. I like the idea of multi-stage bottleneck identification, progressively using profiling, IR, and compiler-level information to guide kernel optimization",
+ "critical_weaknesses": "1.The paper does not compare against existing LLM-based optimization agents such as triton forge, alphaevolve or provide ablations isolating the contributions of different diagnostic stages. It is therefore unclear how much the proposed hierarchy contributes to the reported speedups.\n\n2. Only 3 and 4 trajectories reach L3 and L4, respectively, and none of the winning rounds is attributed to these stages. Most winning rounds are attributed to pattern triage. Furthermore, the paper does not distinguish the contribution of prebuilt optimization knowledge from newly learned patterns or demonstrate whether the latter improve subsequent optimizations.\n\n3. The paper would benefit from careful proofreading and clearer presentation. Figure 3 is distorted and difficult to read. There are also several grammatical and formatting issues, such as sentences beginning with lowercase \"the system\" instead of \"The system.\" The approach section is dense and would benefit from a clear end-to-end example illustrating the agent's decisions and transitions between stages. There are also inconsistencies: Section 7 states that the agent must proceed through profiling, IR attribution, and compiler-grounded explanation before rewriting, whereas Section 4 allows rewrites at earlier stages.\n\n4. Since the framework heavily relies on agent-driven decisions, more transparency regarding prompts, skill definitions, tools, and escalation criteria is necessary for reproducibility. The paper does not report token consumption, monetary cost, or optimization time, despite efficiency being a key motivation for hierarchical diagnosis.",
+ "questions_for_authors": "1. Given that most winning rounds are attributed to pattern triage, what evidence supports the effectiveness of L3/L4? How would the results compare against a pattern-only or profiling-guided agent?\n2. How much of the pattern knowledge is prebuilt versus learned during optimization? How frequently are newly learned patterns reused, and what measurable benefit do they provide?\n3. How are escalation decisions enforced? Could the authors provide the agent prompts, skill definitions, and a complete end-to-end optimization trace? Also, why do more trajectories reach L4 than L3 if escalation is sequential?\n4. What are the token, monetary, and wall-clock costs of optimization? \n5. Which aspects of the proposed framework are specific to Ascend NPUs and which would generalize to other backends, such as GPUs.",
+ "flag_for_ethics_review": "No",
+ "rating": 1,
+ "confidence": 4
+ },
+ "createdAt": "2026-10-22T00:53:04.710Z",
+ "modifiedAt": "2026-11-06T12:30:54.926Z",
+ "url": "https://openreview.net/forum?id=1PwnQkQCYe&noteId=DPGRmY8L1I",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/1pwnqkqcye/notes/wnrdpsjeeq.json added

+++ b/reviews/openreview/1pwnqkqcye/notes/wnrdpsjeeq.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "wNrdpsjEeQ",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer pfnk",
+ "content": {
+ "paper_summary": "The paper proposes hierarchical diagnosis for LLM-based Triton kernel optimization. It progresses from profiling to IR and compiler analysis to guide source rewrites, with evaluation on 37 Ascend NPU kernels.",
+ "presentation": 2,
+ "informativeness": 1,
+ "soundness": 1,
+ "critical_strengths": "The real-hardware speedups are useful, and the case studies connect compiler behavior to concrete source changes.",
+ "critical_weaknesses": "1. There is no comparison with profiling-only or always-deep analysis. The benefit of the hierarchy itself is therefore unclear.\n\n2. Token use and total optimization time are not reported. It is unclear whether using deep analysis only when needed actually saves resources.\n\n3. The agent decides when to use deeper analysis, but the paper does not test how well these decisions work.\n\n4. The main speedup is measured on the same five input cases used during optimization. It is unclear whether these gains hold on new inputs.",
+ "questions_for_authors": "1. With the same model, toolchain, and budget, does the hierarchy perform better than profiling-only and always-deep analysis?\n\n2. How many tokens and how much time does each method need to reach the same speedup?\n\n3. Does the decision rule work better than simply using deeper analysis after a few failed attempts?\n\n4. Do the gains hold on new input shapes and sizes? How often is the optimized kernel slower than the initial kernel on these inputs?",
+ "flag_for_ethics_review": "No",
+ "rating": 1,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-20T13:16:52.795Z",
+ "modifiedAt": "2026-11-06T12:30:56.501Z",
+ "url": "https://openreview.net/forum?id=1PwnQkQCYe&noteId=wNrdpsjEeQ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/1pwnqkqcye/submission.json added

+++ b/reviews/openreview/1pwnqkqcye/submission.json
@@ -0,0 +1,18 @@
+{
+ "schema": "submission/1",
+ "id": "1PwnQkQCYe",
+ "venue": {
+ "id": "ICLR.cc/2027/Conference",
+ "name": "ICLR 2027",
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"
+ },
+ "number": 37415,
+ "keywords": [
+ "LLM agents",
+ "kernel optimization",
+ "Triton",
+ "NPU accelerators"
+ ],
+ "url": "https://openreview.net/forum?id=1PwnQkQCYe",
+ "license": "CC-BY-4.0"
+}

versions/v_yki7i9td.json added

+++ b/versions/v_yki7i9td.json
@@ -0,0 +1,21 @@
+{
+ "date": "2026-09-18",
+ "kind": "submitted",
+ "label": "ICLR 2027",
+ "submissions": [
+ {
+ "venue": "ICLR 2027",
+ "status": "under_review",
+ "number": 37415,
+ "url": "https://openreview.net/forum?id=1PwnQkQCYe",
+ "reviews": "openreview/1pwnqkqcye",
+ "evidence": [
+ "https://openreview.net/forum?id=1PwnQkQCYe"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=1PwnQkQCYe",
+ "evidence": [
+ "https://openreview.net/forum?id=1PwnQkQCYe"
+ ]
+}