potentialpaper

KernelMaster: Agentic GPU Kernel Optimization from Semantics to Execution

Import ICLR 2027 submission rIc8lSAsw0: 14 notes

@openreview[bot] · 2026-11-22 21:46 UTC · 5bbee3b561d7 ·

Evidence

reviews/openreview/ric8lsasw0/forms.json added

+++ b/reviews/openreview/ric8lsasw0/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/ric8lsasw0/notes/0xqlrwdz81.json added

+++ b/reviews/openreview/ric8lsasw0/notes/0xqlrwdz81.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "0xqLrwDZ81",
+ "replyTo": "DMjR9vhh3s",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the response and for the careful reading of our rebuttal and the appendix. We address the remaining question on graph selection below.\n\n**Experiment.** On differential-gated MLA decode on the RTX 5090 D, we take the graphs at the 0th, 25th and 75th percentiles of the 1541-candidate ranking. Each graph is passed to the same final-body Agent with the same KM feedback and the same budget of five refinement rounds, and each is run three times.\n\n**Results.** Average latency in µs over three runs:\n\n| Ranking percentile | After round 1 | After round 5 |\n|---|---|---|\n| **P0** | **19.37** | **12.97** |\n| P25 | 24.92 | 13.66 |\n| P75 | 53.93 | 24.59 |\n\n**Conclusion.** Under the same Agent and the same refinement budget, higher-ranked graphs give faster kernels on average, both after the first round and after the full budget. The final Agent optimizes the concrete implementation of the body, but lower-ranked graphs tend to converge more slowly, and the P75 graph remains 1.9× slower than the top-ranked graph after five rounds."
+ },
+ "createdAt": "2026-11-19T09:38:22.212Z",
+ "modifiedAt": "2026-11-19T09:38:22.212Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=0xqLrwDZ81",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/cpmtb7glrb.json added

+++ b/reviews/openreview/ric8lsasw0/notes/cpmtb7glrb.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "Cpmtb7glrb",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer ecgr",
+ "content": {
+ "paper_summary": "The paper argues that LLM kernel agents are fine at local code fixes but bad at the big structural decisions, like which mathematical form of the computation to use and how to organize the work across warps and thread blocks. Profiler feedback tells you a kernel is slow, but not which of these levels to change. KernelMaster decides the structure before the agent writes any code. An LLM picks among legal math rewrites of the PyTorch reference (e.g. fusing ops, or folding a downstream multiply into a running reduction), each checked by replaying against the reference. Then the system searches how warps and thread blocks split the work, ranking plans with a cost model built from small calibration kernels timed on the target GPU. The best plan becomes a fixed contract the agent follows while writing and refining the CUDA code. On five new attention variants it beats four agent systems on every task, and on five established kernels it's faster than expert libraries like FlashInfer and FlashMLA in most settings.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "The central idea is really interesting. Splitting the problem into the math form, the work organization on the GPU and the low-level code, and handing the agent a checked structure instead of letting it figure out all three by trial and error, is a nice way to make agent-driven kernel optimization less blind. The premise that agents do well on instruction-level tweaks but struggle with structural choices also sounds right to me.\n\nThe evaluation setup is fair. They compare with four recent agent systems using the same LLM, use tasks designed to be unfamiliar to the model, and also compare with expert libraries on recent GPUs instead of just PyTorch eager. If the wins over hand-tuned libraries hold up, that's a solid result.",
+ "critical_weaknesses": "**W1.** The central claim, that the searched structure is what makes the agent good, is never actually tested. There's no ablation at all, so I can't tell how much comes from the math rewrite search, how much from the execution planning, and how much from just giving a strong LLM a detailed plan. Removing each stage in turn would answer this. The execution planning also relies completely on the calibrated cost model, but there's no check that it ranks plans correctly (e.g. predicted vs measured time across candidates). The agent comparison needs more care too. Everyone gets five optimization steps, but KernelMaster does its whole rewrite search and calibration before step one, and KernelAgent is stopped at its first correct result, so it's comparing steps, not effort. It also looks like single runs with no variance, and some margins over the best baseline are small enough that noise could flip them. \n\n**W2.** The scope is narrow. All five new tasks are attention variants and the established kernels are mostly attention plus RMSNorm. The flagship rewrite (folding the softmax-times-V product into a running reduction) is essentially the FlashAttention trick, so this might show the system is very good at one family of kernels, not that it generalizes. Matmul-heavy kernels, convolutions, MoE routing or scans would be much more convincing. Some wins over expert libraries also come from specialization, e.g. FlashMLA pads to more heads than the workload needs. That's a legit advantage, but a narrower one than \"beats expert implementations\".\n\n**W3.** The paper is hard to follow. There are lots of new terms (MathIR, LoopIR, WrapIR, cuts, slots, channels, contracts), explained mostly in dense prose with one worked example, no algorithm box and no appendix. Claims that the projection and composition preserve semantics are stated, not shown. So it's hard to tell what's fully automatic, what relies on the LLM, and what needed hand engineering per task, and I don't think I could reproduce it from the paper.",
+ "questions_for_authors": "1. Can you ablate the math rewrite search, the execution planning and the contract one at a time? To me this is the most important missing piece.\n2. How accurate is the cost model, i.e. how well do predicted times rank candidate plans vs measured latency?\n3. How much total effort does each system use (LLM calls, wall-clock time, including your search and calibration)? Would KernelAgent catch up if it kept refining after its first correct result?\n4. How much do results vary across repeated runs?\n5. How does it do outside attention and normalization, e.g. matmul-heavy ops, convolutions or MoE routing?\n6. Which parts are fully automatic, and which needed manual work per task (like defining legal rewrites or writing calibration kernels)?",
+ "flag_for_ethics_review": "No",
+ "rating": 3,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-19T22:43:29.636Z",
+ "modifiedAt": "2026-11-17T22:40:16.392Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=Cpmtb7glrb",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/dmjr9vhh3s.json added

+++ b/reviews/openreview/ric8lsasw0/notes/dmjr9vhh3s.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "DMjR9vhh3s",
+ "replyTo": "eWqBlti5dE",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer D2tA",
+ "content": {
+ "comment": "I appreciate the additional comparisons provided by the authors. The response answers my questions about the search budget and execution contract on differential-gated MLA (Q1/Q4), the timing protocol (Q3), and the H20 FlashMLA comparison (Q5).\n\nOn graph selection (W3/Q4), I found Appendix A.5 helpful for understanding how the ranking reflects hardware constraints. What remains open for me is whether the same agent produces a faster kernel from a higher-ranked graph when both graphs receive the same refinement budget."
+ },
+ "createdAt": "2026-11-19T06:40:06.303Z",
+ "modifiedAt": "2026-11-19T06:40:06.303Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=DMjR9vhh3s",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/ekfkgbtkpv.json added

+++ b/reviews/openreview/ric8lsasw0/notes/ekfkgbtkpv.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "eKFkGBTkPv",
+ "replyTo": "GihyQ9pl64",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer ecgr",
+ "content": {
+ "comment": "Thanks for the detailed response and the additional experiments. To be transparent, I see this paper as somewhere around a 2.5. I've decided to raise my score to 3 because I find the core idea interesting and think it could be valuable to the community, but several important concerns remain.\n\nThe main one is the scope of the evaluation. All the new tasks are attention variants and the established kernels are mostly attention plus RMSNorm, and the flagship rewrite is essentially the FlashAttention technique. The new Mamba2 task is run without the structure search, so it doesn't show whether MathIR and the execution search work beyond attention. I think results with the full pipeline on kernels with a different structure, such as matmul-heavy operators, convolutions or MoE, are needed to support the claim that the approach is general, and it would help to know which MathIR rewrite types are actually used across tasks.\n\nSecond, the cost model is compared with an analytic roofline rather than with measured latencies, so it's still unclear how accurately it ranks candidates in practice. Finally, the response says LoopIR is produced by Agents while the paper describes a deterministic projection, which should be clarified, and the correctness tolerances are still not stated.\n\nI hope the authors can address these points in the revision."
+ },
+ "createdAt": "2026-11-17T20:24:35.851Z",
+ "modifiedAt": "2026-11-17T20:24:35.851Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=eKFkGBTkPv",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/etuxypz85o.json added

+++ b/reviews/openreview/ric8lsasw0/notes/etuxypz85o.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "eTuXypZ85O",
+ "replyTo": "Cpmtb7glrb",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "# Q1. Component ablations\n\n**Experiment.** We add KernelMaster's components one at a time to the same Agent on differential-gated MLA decode, on both GPUs, with three runs each. All systems use Codex CLI as the Agent harness with GPT-5.6-sol at high reasoning effort.\n\n**Results.** Latency in µs, reported as min / max / avg:\n\n| System | RTX 5090 D | H20 |\n|---|---|---|\n| Codex only | 18.43 / 36.86 / 26.62 | 16.66 / 87.97 / 40.52 |\n| Codex + KM feedback | 18.43 / 28.67 / 25.26 | 19.26 / 50.83 / 35.39 |\n| Codex + MathIR + KM feedback | 12.29 / 20.48 / 16.38 | 22.59 / 35.12 / 28.20 |\n| **KernelMaster** | **12.29 / 14.34 / 12.97** | **14.46 / 16.58 / 15.36** |\n\n**Conclusion.** Each component brings a consistent gain:\n\n- The feedback loop improves the average and the worst run.\n- MathIR lowers the average further.\n- The searched, contract-bound structure gives the lowest average and the smallest spread on both GPUs.\n\nFull results, including per-round trajectories, are in Appendix A.2 (Table 3, Figures 9–10).\n\n# Q2. Accuracy of the cost model\n\n**Experiment.** We take candidates at rank percentiles P0–P100 of the 1,541-candidate ranking on the RTX 5090 D and compare KernelMaster's predicted device time with an analytic device roofline. The roofline uses no KernelMaster cost formula, only the candidate's geometry and bandwidth curves we measure with a stream kernel.\n\n**Results.** Device time in µs:\n\n| Percentile | Rank | Grid × block | KM prediction | Analytic roofline |\n|---|---|---|---|---|\n| P0 | 1 | 256 × 128 | 9.76 | 1.98 |\n| P25 | 386 | 256 × 128 | 12.51 | 2.79 |\n| P50 | 771 | 512 × 128 | 14.67 | 2.84 |\n| P75 | 1156 | 64 × 128 | 17.48 | 3.95 |\n| P90 | 1387 | 64 × 128 | 21.01 | 3.95 |\n| P100 | 1541 | 1024 × 32 | 48.70 | 7.32 |\n\nRank correlation between the prediction and the roofline:\n\n| Set | Spearman ρ | Kendall τ |\n|---|---|---|\n| 79 candidates | 0.84 | 0.67 |\n| 19 distinct structures | 0.81 | 0.65 |\n\n**Conclusion.** The ranking follows an independent hardware bound from top to bottom: top-ranked structures have the lowest bounds, and the tail is slower because fewer CTAs and fewer threads per CTA lower the achievable bandwidth. The cost model therefore orders candidates by the same hardware limits that bound them, so the search selects good structures for principled reasons.\n\nFull details, with all sampled percentiles, are in Appendix A.5 (Tables 8–9, Figure 13).\n\n# Q3. Total effort and KernelAgent\n\n**Experiment.** We charge KernelMaster's full search to its first round and give AKO4X, the strongest baseline, the same total token budget. KernelMaster's search measures candidate structures with Agent-generated calibration kernels, which are stored in a calibration cache. Without the calibration cache, the Agent generates every calibration kernel anew. With the calibration cache, the search reuses the calibration kernels of an earlier search of the same task and makes no LLM calls.\n\n**Results.** RTX 5090 D, reported as min / max / avg:\n\n| System | Tokens per run | Best latency at KernelMaster's final budget (µs) |\n|---|---|---|\n| AKO4X | 4.44 / 16.12 / 9.16M over five rounds | 12.29 / 26.62 / 17.07, continued to 39.52M |\n| KernelMaster without calibration cache | 38.71 / 41.06 / 39.52M | **12.29 / 14.34 / 12.97** |\n| KernelMaster with calibration cache | 20.87 / 23.22 / 21.68M | **12.29 / 14.34 / 12.97** |\n\nIn wall-clock time, a search takes about 86 minutes without the calibration cache and 28 minutes with it, and a final body takes 41–57 minutes. About two thirds of the search time is spent in Agent-driven stages, so higher API concurrency would shorten it.\n\n**Conclusion.** KernelMaster leads at equal total tokens, while additional tokens help AKO4X little. KernelAgent prompts only for correctness and has no optimization loop of its own, so we keep its original single-pass design rather than altering the baseline.\n\nFull details are in Appendix A.4 (Tables 6–7, Figure 12)."
+ },
+ "createdAt": "2026-11-13T08:57:54.713Z",
+ "modifiedAt": "2026-11-13T08:57:54.713Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=eTuXypZ85O",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/ewqblti5de.json added

+++ b/reviews/openreview/ric8lsasw0/notes/ewqblti5de.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "eWqBlti5dE",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer D2tA",
+ "content": {
+ "paper_summary": "KernelMaster tries to reduce trial-and-error CUDA optimization by making the main dataflow and scheduling decisions before code generation. It first searches for mathematical rewrites, then ranks execution graphs using a hardware-calibrated cost model. The selected graph constrains the CUDA agent, which gets 5 further optimization steps. The evaluation compares 5 new attention tasks with agent baselines, and 5 established kernels with expert implementations on Hopper and Blackwell GPUs. The authors report speedups of $1.08\\times$ to $3.04\\times$ over the strongest agent baselines and $4.91\\times$ to $9.18\\times$ over PyTorch, and lower latency than the fastest plotted baseline in 8 of 10 established kernel-GPU settings. The largest speedup over an expert implementation is $1.91\\times$ against FlashMLA's padded 64-head representation.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "S1. The decomposition is well designed. KernelMaster settles the dataflow and execution structure before asking the agent to write CUDA. This resembles how kernel optimization is usually approached manually. The intermediate checks also seem useful, particularly coverage and replay for the rewrites.\n\nS2. The agent baselines use the same base model, which makes the comparison more useful. I also appreciate that Figure 8 includes the cases where KernelMaster loses, and that the authors explain the padding difference behind the largest FlashMLA speedup.",
+ "critical_weaknesses": "Major\n\nW1. Unclear optimization budget. I could not tell whether the 5-step budget (L402-403) includes KernelMaster's MathIR search, calibration and execution-graph ranking. These stages precede CUDA refinement, so matching refinement steps alone may leave different total optimization budgets. This could affect the comparison: 3 of the 5 gains over agent baselines are at most $1.2\\times$, and KernelMaster only passes the strongest final baseline at step 4 on differential-gated and nonlinear-latent MLA and at step 5 on page-factorized MLA (L429-431). Please report total optimization time and model/GPU usage, along with the number of independent runs and variation across runs behind Figure 6.\n\nW2. Small margins over expert implementations without a noise floor. I am not convinced that the $1.003\\times$ and $1.008\\times$ results should be counted as wins without reported measurement uncertainty. The paper does not report timing variance, so these differences may be noise. The platform split also deserves discussion: excluding the padded FlashMLA comparison, the H20 results range from $0.941\\times$ to $1.033\\times$, while all other gains of 10% or more ($1.177\\times$, $1.336\\times$ and $1.429\\times$) are on the RTX 5090 D (L464-471).\n\nW3. Unclear contribution of the proposed mechanisms. The paper does not show which part of the pipeline accounts for the gains. I would like to see the same CUDA agent run with and without the execution contract under a matched total budget. Using a contract from an unranked candidate graph would also help test whether the cost-model ranking is useful. The NCU comparison with AutoKernel (L432-440) does not resolve this, since the two systems differ in more than execution synthesis. I also could not find how contract compliance is checked. Passing correctness tests does not establish that the CUDA code follows the specified CTA partitioning or Warp roles. Is the realized-lowering manifest (L348-349) used for this?\n\nMinor\n\nW4. The abstract's $1.91\\times$ omits the padding caveat. The abstract advertises the $1.91\\times$ peak without noting that it compares a 16-head specialization with FlashMLA's padded 64-head representation (L469-470); that caveat belongs beside the number. The 5 new tasks behind the claim about unfamiliar operations are all attention variants (L395-400), close to the online fold the paper uses as its MathIR example (Figure 2), so generality beyond attention and normalization kernels is untested.",
+ "questions_for_authors": "Q1. Does the 5-step budget include MathIR search, calibration and graph ranking? Please report the total optimization cost and the number of independent runs for each system in Figure 6.\n\nQ2. What numerical tolerance thresholds and how many test inputs were used for the reference correctness checks at L370? Does the finite-precision policy (L178, L189-190) permit algebraic reassociation or reduced-precision intermediates that were not available to the baseline implementations?\n\nQ3. What does the \"common memory-state timing protocol\" at L449 specify about warm-up runs, timing iterations and cache handling? Please report measurement uncertainty for the 10 established kernel-GPU comparisons.\n\nQ4. How much performance is lost if the same CUDA agent runs without a contract, or with a contract from an unranked graph, under the same total budget?\n\nQ5. On the H20 sparse MLA benchmark, how does KernelMaster compare with an expert kernel on a native 64-head workload, or with a 16-head expert implementation if one exists?",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-21T08:27:59.860Z",
+ "modifiedAt": "2026-11-06T12:39:25.593Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=eWqBlti5dE",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/gihyq9pl64.json added

+++ b/reviews/openreview/ric8lsasw0/notes/gihyq9pl64.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "GihyQ9pl64",
+ "replyTo": "eTuXypZ85O",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "# Q4. Variance across runs\n\n**Experiment.** We repeat every system three times on both GPUs. We also run KernelMaster three times on RMSNorm, each with an independent search.\n\n**Results.** Latency in µs, reported as min / max / avg:\n\n| Task | System | RTX 5090 D | H20 |\n|---|---|---|---|\n| Differential-gated MLA | **KernelMaster** | **12.29 / 14.34 / 12.97** | **14.46 / 16.58 / 15.36** |\n| | AKO4X | 12.29 / 30.72 / 19.80 | 18.74 / 27.79 / 24.66 |\n| | AutoKernel | 12.29 / 32.77 / 23.62 | 39.36 / 138.11 / 72.90 |\n| | AdaExplore | 48.99 / 49.15 / 49.10 | 28.83 / 38.69 / 33.66 |\n| | KernelAgent | 51.20 / 128.98 / 96.24 | 64.67 / 100.37 / 86.46 |\n| RMSNorm (7168) | KernelMaster | 4.172 / 4.264 / 4.205 | 6.281 / 6.541 / 6.425 |\n\n**Conclusion.** KernelMaster has the smallest spread on both GPUs and both tasks. The three independent RMSNorm searches select the same structure, so the search itself is reproducible. Fixing its result before implementation keeps run-to-run variation of the Agent small.\n\nFull details, including per-round trajectories, are in Appendix A.3 (Tables 4–5, Figure 11).\n\n# Q5. Beyond attention and normalization\n\n**Experiment.** We add Mamba2 selective-state-update decode, a state-space operator. We use the FlashInfer-Trace definition and reference verbatim, and compare against FlashInfer, the Agent baselines and a measured bandwidth roofline of 23.99 µs in the same timing scope.\n\n**Results.** Latency in µs on the RTX 5090 D:\n\n| Method | Latency | Fraction of roofline |\n|---|---|---|\n| PyTorch reference | 743.87 | 0.03 |\n| FlashInfer | 36.86 | 0.65 |\n| AutoKernel | 26.62 | 0.90 |\n| AdaExplore | 26.62 | 0.90 |\n| KernelAgent | 30.72 | 0.78 |\n| AKO4X | 37.28 | 0.64 |\n| **KernelMaster feedback loop**, min / max / avg | **24.58 / 30.78 / 27.33** | **0.78 / 0.98 / 0.89** |\n\n**Conclusion.** SSU decode is a bandwidth-bound gather–update–scatter over a persistent state cache. Its only reduction is a 128-element dot product. The roofline shows that little room remains for a multi-stage pipeline or a different work decomposition: the best kernel already reaches 0.98 of it. We therefore evaluate this operator with KernelMaster's evaluation and feedback loop, without the structure search. KernelMaster's best run beats FlashInfer and every Agent baseline under the same contract.\n\nFull details are in Appendix A.8 (Table 12, Figure 14).\n\n# Q6. Automatic versus manual\n\nKernelMaster is fully automatic:\n\n- MathIR is derived automatically from the captured operator graph together with Agent-generated rewrites.\n- LoopIR, the calibration kernels and the final CUDA kernel are produced by Agents, with automatic checks.\n- The search, calibration and ranking are deterministic.\n\nFor each task, the user supplies only the PyTorch reference and its workload."
+ },
+ "createdAt": "2026-11-13T09:02:05.143Z",
+ "modifiedAt": "2026-11-13T09:02:05.143Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=GihyQ9pl64",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/gkvqmhsgzq.json added

+++ b/reviews/openreview/ric8lsasw0/notes/gkvqmhsgzq.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "GKVqMHsgZQ",
+ "replyTo": "eWqBlti5dE",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "# Q1. Budget and independent runs\n\n**Experiment.** We charge KernelMaster's full search to its first round and give AKO4X the same total token budget. We also repeat KernelMaster and every Agent baseline three times on both GPUs. All systems use Codex CLI as the Agent harness with GPT-5.6-sol at high reasoning effort.\n\n**Results.** KernelMaster's search measures candidate structures with Agent-generated calibration kernels, which are stored in a calibration cache. Here we run the search without the calibration cache, so the Agent generates every calibration kernel anew and its full token cost is included. Equal total tokens on the RTX 5090 D, latency in µs, reported as min / max / avg:\n\n| Budget | AKO4X | KernelMaster |\n|---|---|---|\n| After round 2, 31.98M tokens | 12.29 / 26.62 / 17.58 | 14.34 / 18.40 / 15.69 |\n| After round 5, 39.52M tokens | 12.29 / 26.62 / 17.07 | 12.29 / 14.34 / 12.97 |\n\nRepeated runs on differential-gated MLA decode, latency in µs, reported as min / max / avg:\n\n| System | RTX 5090 D | H20 |\n|---|---|---|\n| **KernelMaster** | **12.29 / 14.34 / 12.97** | **14.46 / 16.58 / 15.36** |\n| AKO4X | 12.29 / 30.72 / 19.80 | 18.74 / 27.79 / 24.66 |\n| AutoKernel | 12.29 / 32.77 / 23.62 | 39.36 / 138.11 / 72.90 |\n| AdaExplore | 48.99 / 49.15 / 49.10 | 28.83 / 38.69 / 33.66 |\n| KernelAgent | 51.20 / 128.98 / 96.24 | 64.67 / 100.37 / 86.46 |\n\n**Conclusion.** With the search included in the budget, KernelMaster still leads on average. It also has the smallest spread on both GPUs. Because the Agent implements a fixed, searched structure, the result depends little on run-to-run variation of the Agent.\n\nFull details are in Appendix A.4 for the equal-budget comparison and Appendix A.3 (Table 4, Figure 11) for the repeated runs.\n\n# Q2. Tolerances, test inputs and finite-precision policy\n\n**Protocol.** Correctness tolerances per task, which apply to all systems:\n\n| Task | Output dtype | atol | rtol |\n|---|---|---|---|\n| Differential-gated MLA decode | BF16 | $10^{-2}$ | $10^{-2}$ |\n| RMSNorm, hidden size 7168 | BF16 | $3 \\times 10^{-3}$ | $3 \\times 10^{-3}$ |\n| Mamba2 SSU decode | BF16 output and state cache | $10^{-2}$ | $10^{-2}$ |\n\n**Conclusion.**\n\n- **Tolerances.** They follow FlashInfer-Bench; RMSNorm uses a stricter one.\n- **Test inputs.** Each kernel is checked on the task's deterministic fixed-seed workload, the same for all systems. MathIR rewrites are additionally replayed on three seeds and on perturbed-metadata cases.\n- **Rewrites.** They are real-arithmetic identities, such as partitioned online-softmax merges and applying the linear projection per partition before the merge. They change only the rounding order.\n- **Precision.** The selected candidates keep FP32 accumulation for all states, and the final-body contract requires FP32 states and the reference's casts.\n\nEvery system may use any arithmetic, and all are judged by the same tolerance.\n\nThe full evaluation protocol is in Appendix A.1 (Table 1).\n\n# Q3. Timing protocol and measurement uncertainty\n\n**Protocol.**\n\n- Every launch is timed with CUDA events.\n- L2 is flushed before every warm-up and timed launch, outside the timed region.\n- Each trial runs 10 warm-up and 50 timed launches.\n- We report the median of three trial medians.\n- Clocks are fixed and locked, with no thermal or power throttling.\n\n**Results.** Speedup with its 95% bootstrap interval, from the per-trial statistics:\n\n| GPU | Kernel | Speedup [95% CI] |\n|---|---|---|\n| RTX 5090 D | Paged GQA | 1.003 [1.001, 1.005] |\n| RTX 5090 D | RMSNorm | 1.099 [1.046, 1.448] |\n| RTX 5090 D | Dense MLA | 1.429 [1.427, 1.429] |\n| H20 | Dense MLA | 1.008 [1.002, 1.012] |\n\n**Conclusion.** KernelMaster's trial-to-trial spread stays below 0.2 µs, and the intervals for 1.003× and 1.008× exclude 1. These small margins are therefore not noise. The baselines are expert production kernels, and reaching them automatically is the substance of the claim.\n\nThe protocol is detailed in Appendix A.1, and the statistics for all comparisons are in Appendix A.6 (Table 10)."
+ },
+ "createdAt": "2026-11-13T08:49:45.148Z",
+ "modifiedAt": "2026-11-13T08:49:45.148Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=GKVqMHsgZQ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/gqbeaund4m.json added

+++ b/reviews/openreview/ric8lsasw0/notes/gqbeaund4m.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "GQBeAUNd4M",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer oXXW",
+ "content": {
+ "paper_summary": "This paper presents KernelMaster, an agentic system for GPU kernel optimization. It combines three things: mathematical dataflow search, hardware-calibrated execution synthesis, and contract-guided CUDA refinement. Here's the flow: it first uses MathIR to expose and validate mathematical transformations, projects the selected candidates into LoopIR, and then searches hierarchical Warp and CTA execution structures based on measurements of local service time, concurrency, resource usage, and HBM bandwidth. The chosen execution graph then becomes an \"execution contract\" that constrains the subsequent Agent-driven CUDA implementation and profiler-guided refinement.\nFor evaluation, the paper tests KernelMaster on five newly specified attention workloads and five established kernels, running on an RTX 5090D and an H20 GPU. On the new workloads, it reports 1.08–3.04× speedups over the strongest evaluated Agent baseline and 4.91–9.18× over PyTorch references. On established kernels, it shows lower latency in eight of ten settings, with speedups up to 1.91×.",
+ "presentation": 3,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "The paper gives Agent-driven kernel optimization a coherent multi-level structure. KernelMaster cleanly separates mathematical transformation, loop-level representation, Warp-level pipeline design, CTA-level task scheduling, and the actual CUDA implementation. On top of that, explicit contracts for dependencies, state versions, buffer lifetimes, ownership, and synchronization give a principled way to keep later Agent revisions in check. That's a meaningful systems contribution, because profiler feedback on its own often tells you where the bottleneck is but not which abstraction level you should actually go and change.\n\nThe reported performance is promising, and the hardware analysis is genuinely useful. KernelMaster gets strong results on the five newly specified workloads, and it stays competitive with established implementations on two GPU platforms. The xHC-wrapped GQA analysis ties the performance gain to concrete changes in CTA partitioning, occupancy, issue-active rate, and memory throughput, rather than just reporting a speedup number. All of this suggests the system can produce kernels that are actually useful in practice, though on their own these results don't pin down how much each proposed component contributes.",
+ "critical_weaknesses": "Missing component ablations. Figure 7 and the xHC analysis only test the full pipeline: gains across refinement steps and a comparison of two final kernels cannot separate MathIR, CTA synthesis, calibrated ranking, the contract, or Agent refinement. Controlled ablations are needed, such as dropping MathIR rewriting, using random or heuristic ranking, removing Warp–CTA feedback, or removing the contract under equal budgets, plus a direct check of predicted versus measured graph rankings. Without these, the paper shows the full system works, not that the combination is necessary.\n\nBudgets are not controlled and overhead is not accounted for. Equal step counts do not imply equal budgets: KernelMaster runs MathIR search, LoopIR projection, Warp/CTA search, and calibration before its first CUDA kernel, none of which is charged to the five-step budget, and the KernelAgent comparison is weaker still since it uses only that system's first correct result. So the finding that the first implementation beats the baselines' final results is not evidence of lower cost, and while excluding compile/setup from latency is fine for deployment claims, it cannot support efficiency claims; the authors should report LLM calls and tokens, candidate and compile counts, GPU, profiler and wall-clock time, and performance-versus-total-budget curves.",
+ "questions_for_authors": "1.\tCan the authors provide component-level ablations for MathIR rewriting, hierarchical Warp–CTA synthesis, hardware-calibrated ranking, and contract-guided refinement? Which components account for the reported gains under a matched total budget?\n2.\tWhat exactly constitutes one optimization step for KernelMaster and each baseline? Does the five-step budget include all mathematical search, execution-graph search, calibration, compilation, profiling, and GPU measurements before the first CUDA implementation? Please report total LLM, GPU, compilation, and wall-clock costs, including the assumed amortization of reusable calibration.\n3.\tHow accurately does the calibrated execution-graph model rank complete candidate implementations? Please report prediction-versus-measurement correlation, top-k recall, and selected-candidate regret, and compare against simple heuristic or random ranking under the same evaluation budget.\n4.\tCan the authors report repeated timing or confidence intervals for the established-kernel comparison? In particular, the reported 1.003× and 1.008× improvements may be within normal measurement noise.",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-22T07:25:11.855Z",
+ "modifiedAt": "2026-11-06T12:39:23.933Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=GQBeAUNd4M",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/h5iewfay3x.json added

+++ b/reviews/openreview/ric8lsasw0/notes/h5iewfay3x.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "h5iewfay3x",
+ "replyTo": "mPHKveBiuZ",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "### 3. How LoopIR is produced\n\nWe thank the reviewer for pointing out this inconsistency. LoopIR's semantic content is fixed by the selected MathIR; what varies is only how that content is encoded, and every encoding passes the same deterministic validator.\n\n- **Mechanical projection.** When the selected MathIR has a single normalized state in one region, KernelMaster projects it into LoopIR mechanically. This was the case for interleaved-head GQA, page-factorized MLA, xHC-wrapped GQA and dense MLA.\n- **Agent encoding.** Otherwise, a LoopIR Agent encodes the selection from a hash-bound request. This happens for coupled states, as in differential-gated MLA, and for replay-type selections without state contracts, as in RMSNorm. The request fixes the state contracts (recurrence, state shape, identity, merge and finalizer), the captured ABI and the workload symbols. The Agent only writes the loop form: loop nesting, operation placement and value versions. It chooses no tile, Warp role, CTA mapping or instruction.\n- **Deterministic validation.** Every LoopIR, mechanical or Agent-encoded, is admitted only if all of the following hold:\n - every semantic node is covered exactly once;\n - each selected state is realized by one loop-body recurrence with matching shape and identity;\n - the partial-state merge is a supported one;\n - a loop-exit finalizer consumes the final state;\n - the provenance is hash-bound to the source, the MathIR and the workload.\n\n Violations are returned to the Agent as precise feedback.\n\nDifferent runs may therefore encode the loop differently, but every accepted LoopIR is a validated encoding of the same MathIR semantics.\n### 4. Correctness tolerances\n\nThe correctness tolerances per task apply to all systems (Appendix A.1, Table 1):\n\n| Task | Output dtype | atol | rtol |\n|---|---|---|---|\n| Differential-gated MLA decode | BF16 | $10^{-2}$ | $10^{-2}$ |\n| RMSNorm, hidden size 7168 | BF16 | $3 \\times 10^{-3}$ | $3 \\times 10^{-3}$ |\n| Mamba2 SSU decode | BF16 output and state cache | $10^{-2}$ | $10^{-2}$ |\n\n- **Tolerances.** They follow FlashInfer-Bench; RMSNorm uses a stricter one.\n- **Test inputs.** Each kernel is checked on the task's deterministic fixed-seed workload, the same for all systems. MathIR rewrites are additionally replayed on three seeds and on perturbed-metadata cases.\n- **Rewrites.** They are real-arithmetic identities, such as partitioned online-softmax merges and applying the linear projection per partition before the merge. They change only the rounding order.\n- **Precision.** The selected candidates keep FP32 accumulation for all states, and the final-body contract requires FP32 states and the reference's casts.\n\nEvery system may use any arithmetic, and all are judged by the same tolerance."
+ },
+ "createdAt": "2026-11-18T01:37:12.514Z",
+ "modifiedAt": "2026-11-18T01:37:12.514Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=h5iewfay3x",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/jyfp8pvbs5.json added

+++ b/reviews/openreview/ric8lsasw0/notes/jyfp8pvbs5.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "jYFP8Pvbs5",
+ "replyTo": "GKVqMHsgZQ",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "# Q4. Running the same Agent without a contract\n\n**Experiment.** We give the same Agent, Codex + KM feedback, a read-only text description of the structure that KernelMaster selects: launch geometry, partitioning, synchronization, merge and dataflow. It receives neither the contract itself nor its audits.\n\n**Results.** Latency in µs on the RTX 5090 D, reported as min / max / avg:\n\n| System | Latency |\n|---|---|\n| Codex + KM feedback | 18.43 / 28.67 / 25.26 |\n| Codex + structure text, no contract | 10.24 / 28.67 / 16.38 |\n| **KernelMaster, with contract** | **12.29 / 14.34 / 12.97** |\n\n**Conclusion.** Knowing the structure is not enough. With the text description, the Agent can reach a fast best run, but its average is worse and its spread wide. All fifteen of its kernels follow the described launch geometry, synchronization and merge. Only one reuses each loaded K and latent row across heads and branches, as the contract specifies. In the slowest run, the Agent reloads them per head.\n\nThe contract fixes these decisions and makes them mechanically checkable, which is why KernelMaster's runs stay close to its best. For candidates lower in the ranking, Appendix A.5 shows that their structural bounds are higher, consistent with the ranking.\n\nFull details are in Appendix A.7 (Table 11), and the ranking analysis is in Appendix A.5.\n\n# Q5. H20 sparse MLA\n\n**Experiment.** We re-measured FlashMLA on the H20 in one session, both on a native 64-head workload and on the 16-head workload padded to 64 heads. While re-measuring, we found that converting the softmax-scale tensor on the host inside the timed call added CPU overhead and made the FlashMLA timing fluctuate; we moved the conversion to setup, as in our other adapters. We then compared FlashMLA with three independent KernelMaster runs in the same session, using the corrected timing.\n\n**Results.** H20, latency in µs, mean ± 95% CI over three interleaved repeats:\n\n| Path | Latency |\n|---|---|\n| FlashMLA, native 64-head workload | 20.99 ± 0.22 |\n| FlashMLA, 16 heads padded to 64 | 21.17 ± 0.18 |\n\n| System | Latency, min / max / avg over three runs | Speedup over FlashMLA |\n|---|---|---|\n| FlashMLA, padded, corrected timing | 21.17 | 1.00× |\n| **KernelMaster** | **17.71 / 18.59 / 18.05** | **1.14–1.20×** |\n\n**Conclusion.** Padding costs FlashMLA only 0.18 µs (0.86%), which is within the measurement interval, because MLA decode reads one latent KV shared by all heads and the extra heads add little work. Under the corrected timing, KernelMaster is 1.14–1.20× faster than FlashMLA across all three runs. The KernelMaster kernel reported here comes from the revised search space, which admits multi-token KV tiles and keeps the attention scores on tensor-core MMA fragments.\n\nThe per-trial statistics are in Appendix A.6 (Table 10)."
+ },
+ "createdAt": "2026-11-13T08:54:46.835Z",
+ "modifiedAt": "2026-11-13T08:54:46.835Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=jYFP8Pvbs5",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/mphkvebiuz.json added

+++ b/reviews/openreview/ric8lsasw0/notes/mphkvebiuz.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "mPHKveBiuZ",
+ "replyTo": "eKFkGBTkPv",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "We thank the reviewer for the response and for the careful reading of our rebuttal and paper. The follow-up raises precise points, and we address them in turn below.\n\n### 1. Scope beyond attention\n\n**Which MathIR rewrites are used.** MathIR operates on the captured PyTorch operator graph, not on an attention template. Its rewrite laws fall into two groups:\n- **General laws:** dataflow boundaries (fusion, retention and rematerialization), shared value placement, indexed substitution, and monoid partition folds (sum, sum+count, max, min).\n- **Normalization-specific laws:** the normalized weighted fold with a shared-maximum merge, which is the online-softmax technique, and the linear-closure pushdown built on it.\n\nThe Agent proposes rewrites from these laws and may declare new ones. Every rewrite is accepted only after replay against the reference. The rewrites used in our tasks are:\n\n| Task | Rewrites in the selected MathIR |\n|---|---|\n| Differential-gated MLA | 2× normalized weighted fold, value placement |\n| Interleaved-head paged GQA | normalized weighted fold |\n| Nonlinear latent-value MLA | normalized weighted fold, monoid partition fold, dataflow boundaries |\n| Page-factorized MLA | normalized weighted fold with linear-closure pushdown, i.e. the projection applied per partition before the merge |\n| xHC-wrapped GQA | normalized weighted fold |\n| Dense MLA | normalized weighted fold with the mask absorbed into the weights |\n| RMSNorm (7168) | dataflow boundaries (cast fusion and rematerialization), value placement |\n| Mamba2 SSU | value placement only: the dataflow is already minimal |\n\nThe online-softmax fold is therefore the decisive rewrite for the attention tasks, and the non-attention tasks use the general laws. On Mamba2, MathIR keeps the operation order unchanged, because the reference dataflow is already minimal. Each state element is read once, updated once and written back once, so there is no intermediate tensor to eliminate, and the only reduction is a 128-term dot product, which gains nothing from partitioning. MathIR therefore fixes only where values are placed, and its selection retains the 128-term contractions as they are.\n\n**Where the structure search adds value.** LoopIR models a kernel as a pipeline of streaming stages whose loop-carried state is combined by associative merges. Matrix multiplication fits this model directly: the contraction over K is an associative reduction, and KernelMaster already searches and realizes tensor-core contractions inside its pipelines. In the H20 DeepSeek-V4 sparse MLA kernel, for example, both QK and PV run as BF16 MMA on tensor cores, fed by a cp.async load stage and an FP8 dequantization stage. KernelMaster also has a dedicated dense-MLP region family for gated MLPs, which consist of two GEMMs and an elementwise stage.\n\nThe search is most valuable for fused, multi-stage operators, where independent stages can be overlapped through Warp specialization and the best partitioning, merge and hand-off structure is not obvious. Examples are gather, dequantization, contraction, normalization and merge in attention variants. A standalone dense GEMM has essentially one stage, so its design space reduces mainly to tiling, which vendor libraries and autotuners already cover well. This is why our evaluation focuses on fused attention-style and normalization operators.\n\nOperators that update persistent state at data-dependent locations fall outside the current model. Examples are Mamba2's indexed state-cache update and MoE token routing. In these operators different iterations may write the same location, so correctness depends on write ordering and memory consistency rather than on an associative merge, and a Warp-specialized producer–consumer schedule, which assumes ordered hand-offs, would require that reasoning. For Mamba2, the operator is in addition bandwidth-bound: the feedback loop alone reaches 0.98 of the roofline, so little room remains for structural search. Extending LoopIR to consistency-constrained updates is future work."
+ },
+ "createdAt": "2026-11-18T01:36:35.146Z",
+ "modifiedAt": "2026-11-18T01:36:35.146Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=mPHKveBiuZ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/ojjeew7i6s.json added

+++ b/reviews/openreview/ric8lsasw0/notes/ojjeew7i6s.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "OjJeEw7i6S",
+ "replyTo": "GQBeAUNd4M",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "# Q1. Component ablations\n\n**Experiment.** On differential-gated MLA decode, the task of Figure 6, we add KernelMaster's components one at a time to the same Agent, on both GPUs:\n\n1. Codex only.\n2. Codex + KM feedback, which is KernelMaster's feedback loop without search.\n3. Codex + MathIR + KM feedback.\n4. Full KernelMaster: MathIR, the hierarchical execution search, and the contract-guided final body.\n\nEvery system uses Codex CLI as the Agent harness with GPT-5.6-sol at high reasoning effort, and runs three times. Each run's result is its best correct round.\n\n**Results.** Latency in µs, reported as min / max / avg:\n\n| System | RTX 5090 D | H20 |\n|---|---|---|\n| Codex only | 18.43 / 36.86 / 26.62 | 16.66 / 87.97 / 40.52 |\n| Codex + KM feedback | 18.43 / 28.67 / 25.26 | 19.26 / 50.83 / 35.39 |\n| Codex + MathIR + KM feedback | 12.29 / 20.48 / 16.38 | 22.59 / 35.12 / 28.20 |\n| **KernelMaster** | **12.29 / 14.34 / 12.97** | **14.46 / 16.58 / 15.36** |\n\n**Conclusion.** Each component brings a consistent gain on both GPUs:\n\n- The feedback loop improves both the average and the worst run over the Agent alone.\n- Adding MathIR lowers the average further.\n- The searched, contract-bound execution structure gives the lowest average and by far the smallest spread.\n\nStability matters as much as the average. Every KernelMaster run lands close to its best result, while the other configurations vary by up to 5× between runs.\n\nFull results, including per-round trajectories, are in Appendix A.2 (Table 3, Figures 9–10).\n\n# Q2. Definition of a step and total cost\n\n**Experiment.** One step is one Agent round that produces, checks and times one kernel. We charge KernelMaster's full search to its first round. AKO4X, the strongest baseline, receives the same total token budget: we continue each of its three runs in its own thread. KernelMaster's search measures candidate structures with Agent-generated calibration kernels, which are stored in a calibration cache. We report two settings. Without the calibration cache, the Agent generates every calibration kernel anew. With the calibration cache, the search reuses the calibration kernels of an earlier search of the same task and makes no LLM calls.\n\n**Results.** We compare at B(k), the total token budget KernelMaster has used after its final-body round k. Latency in µs on the RTX 5090 D, reported as min / max / avg:\n\nWithout calibration cache:\n\n| k | B(k) | AKO4X | KernelMaster |\n|---|---|---|---|\n| 1 | 29.75M | 12.29 / 26.62 / 17.75 | 14.34 / 28.67 / 20.48 |\n| 2 | 31.98M | 12.29 / 26.62 / 17.58 | 14.34 / 18.40 / 15.69 |\n| 3 | 33.75M | 12.29 / 26.62 / 17.07 | 12.29 / 14.34 / 12.97 |\n| 5 | 39.52M | 12.29 / 26.62 / 17.07 | 12.29 / 14.34 / 12.97 |\n\nWith calibration cache:\n\n| k | B(k) | AKO4X | KernelMaster |\n|---|---|---|---|\n| 1 | 11.91M | 14.34 / 26.62 / 19.11 | 14.34 / 28.67 / 20.48 |\n| 2 | 14.14M | 14.34 / 26.62 / 19.11 | 14.34 / 18.40 / 15.69 |\n| 3 | 15.91M | 14.34 / 26.62 / 19.11 | 12.29 / 14.34 / 12.97 |\n| 5 | 21.68M | 12.29 / 26.62 / 17.75 | 12.29 / 14.34 / 12.97 |\n\nTokens per run, min / max / avg:\n\n| System | Tokens per run |\n|---|---|\n| AKO4X, five rounds | 4.44 / 16.12 / 9.16M |\n| KernelMaster without calibration cache | 38.71 / 41.06 / 39.52M |\n| KernelMaster with calibration cache | 20.87 / 23.22 / 21.68M |\n\nWall-clock time:\n\n| Stage | Wall-clock time |\n|---|---|\n| KernelMaster search, without calibration cache | about 86 minutes |\n| KernelMaster search, with calibration cache | about 28 minutes |\n| KernelMaster five-round final body | 41–57 minutes, of which GPU measurement takes a few minutes |\n| AKO4X five-round run | 17–32 minutes |\n\nAbout two thirds of the search time is spent in Agent-driven stages. These run at most four Agent calls in parallel through Codex CLI, so higher API concurrency would shorten the search.\n\n**Conclusion.** With the search fully charged, KernelMaster's average is lower than AKO4X's at the same token budget from the second round on, with or without the calibration cache. Extra tokens help AKO4X little: beyond its original five rounds, one run improves and the others stay at their earlier results. Device calibration is a one-time cost per GPU, reused by every task.\n\nFull details are in Appendix A.4 (Tables 6–7, Figure 12), and Appendix A.1 (Table 2) lists the rounds each system runs."
+ },
+ "createdAt": "2026-11-13T08:35:19.443Z",
+ "modifiedAt": "2026-11-13T08:35:19.443Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=OjJeEw7i6S",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/notes/tl1ayxbzzg.json added

+++ b/reviews/openreview/ric8lsasw0/notes/tl1ayxbzzg.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "tl1ayXbzZg",
+ "replyTo": "OjJeEw7i6S",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "# Q3. Accuracy of the calibrated ranking\n\n**Experiment.** We take candidates at rank percentiles P0–P100 of the 1,541-candidate ranking on the RTX 5090 D. For each, we compare KernelMaster's predicted device time with an analytic device roofline. The roofline uses no KernelMaster cost formula, only the candidate's geometry and bandwidth curves we measure with a stream kernel.\n\n**Results.** Device time in µs:\n\n| Percentile | Rank | Grid × block | KM prediction | Analytic roofline |\n|---|---|---|---|---|\n| P0 | 1 | 256 × 128 | 9.76 | 1.98 |\n| P25 | 386 | 256 × 128 | 12.51 | 2.79 |\n| P50 | 771 | 512 × 128 | 14.67 | 2.84 |\n| P75 | 1156 | 64 × 128 | 17.48 | 3.95 |\n| P90 | 1387 | 64 × 128 | 21.01 | 3.95 |\n| P100 | 1541 | 1024 × 32 | 48.70 | 7.32 |\n\nRank correlation between the prediction and the roofline:\n\n| Set | Spearman ρ | Kendall τ |\n|---|---|---|\n| 79 candidates | 0.84 | 0.67 |\n| 19 distinct structures | 0.81 | 0.65 |\n\n**Conclusion.** The ranking follows an independent hardware bound from top to bottom:\n\n- Top-ranked structures have the lowest bounds.\n- The tail is slower for identifiable reasons. Fewer CTAs lower the achievable DRAM bandwidth, and fewer threads per CTA lower the achievable L2 bandwidth.\n\nThe roofline lies below the prediction in absolute terms because it bounds only bandwidth and compute. The cost model also captures latency and synchronization.\n\nFull details, with all sampled percentiles, are in Appendix A.5 (Tables 8–9, Figure 13).\n\n# Q4. Uncertainty of the established-kernel comparison\n\n**Experiment.** For every established-kernel comparison, we report the per-trial values and a 95% bootstrap interval of the speedup, from 20,000 resamples of each side's trials.\n\n**Results.** Latency in µs, reported as min / max / median of the trial values:\n\n| GPU | Kernel | KernelMaster | Fastest baseline | Speedup [95% CI] |\n|---|---|---|---|---|\n| RTX 5090 D | Paged GQA | 12.229 / 12.279 / 12.250 | 12.288 / 12.288 / 12.288 | 1.003 [1.001, 1.005] |\n| RTX 5090 D | RMSNorm | 4.220 / 4.254 / 4.221 | 4.448 / 6.112 / 4.640 | 1.099 [1.046, 1.448] |\n| RTX 5090 D | Dense MLA | 14.336 / 14.336 / 14.336 | 20.464 / 20.480 / 20.480 | 1.429 [1.427, 1.429] |\n| H20 | Dense MLA | 19.216 / 19.392 / 19.336 | 19.424 / 19.488 / 19.488 | 1.008 [1.002, 1.012] |\n\n**Conclusion.** KernelMaster's trial-to-trial spread stays below 0.2 µs. The intervals for the two small margins exclude 1, so 1.003× and 1.008× are small but consistent gains, not noise. The baselines are expert-written production kernels, mostly hand-written CUDA such as TensorRT-LLM's XQA and FlashInfer's kernels. KernelMaster reaches or exceeds them automatically, starting from a PyTorch reference, and that is the contribution we claim.\n\nThe statistics for all established-kernel comparisons are in Appendix A.6 (Table 10), and the timing protocol is in Appendix A.1."
+ },
+ "createdAt": "2026-11-13T08:39:44.392Z",
+ "modifiedAt": "2026-11-13T08:39:44.392Z",
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0&noteId=tl1ayXbzZg",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/ric8lsasw0/submission.json added

+++ b/reviews/openreview/ric8lsasw0/submission.json
@@ -0,0 +1,19 @@
+{
+ "schema": "submission/1",
+ "id": "rIc8lSAsw0",
+ "venue": {
+ "id": "ICLR.cc/2027/Conference",
+ "name": "ICLR 2027",
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"
+ },
+ "number": 56616,
+ "keywords": [
+ "GPU kernel optimization",
+ "LLM agents",
+ "mathematical dataflow optimization",
+ "execution graph synthesis",
+ "hardware-aware compilation"
+ ],
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0",
+ "license": "CC-BY-4.0"
+}

versions/v_5utk9yjq.json modified

+++ b/versions/v_5utk9yjq.json
@@ -1,7 +1,20 @@
{
+ "date": "2026-09-19",
"kind": "submitted",
"label": "ICLR 2027 (under review)",
+ "submissions": [
+ {
+ "venue": "ICLR 2027",
+ "status": "under_review",
+ "number": 56616,
+ "url": "https://openreview.net/forum?id=rIc8lSAsw0",
+ "reviews": "openreview/ric8lsasw0",
+ "evidence": [
+ "https://openreview.net/forum?id=rIc8lSAsw0"
+ ]
+ }
+ ],
"url": "https://openreview.net/forum?id=rIc8lSAsw0",
"pdf": {
"source": "https://openreview.net/forum?id=rIc8lSAsw0",
"license": "CC-BY-4.0"