From Search Trace to Textbook Rule: Distilling Exhaustive Accelerator-Design Optima into Sparse Closed-Form Sizing Rules with Validity Boxes and Held-Out Regret Cards

AI agents that design AI accelerators produce optimal designs, but each optimum answers one question for one context, and the reasons are hidden in the search. Human architects work with sizing rules: how much of the area should go to compute, how big the buffer should be, how both move with model width, context length and memory bandwidth. This paper proposes that the agent should write those rules itself and attach the evidence a reader needs to trust them. The agent solves many contexts exactly in its cost model, fits sparse log-polynomial rules for the optimal compute share, buffer size and array aspect ratio along a lasso path, and publishes each rule with a card. The card lists the terms, the box of contexts in which the rule was fitted, and the regret of the rule's design, snapped to the nearest feasible design, on held-out contexts. In a simplified model with 250 training and 150 held-out contexts, a rule with 3 terms for the compute share, 5 for the buffer and 1 for the aspect ratio loses a median 6.7 percent and at the 90th percentile 22 percent against the exhaustive optimum. A rule with 17 terms loses 3.3 and 17 percent, and the full 42-term quadratic 2.0 and 16 percent. A constant rule, the median optimum, loses 14 percent in the median and 165 percent at the 90th percentile. The study also finds what a rule cannot capture: the optimal aspect ratio is nearly unpredictable from the context, because many aspects are near-ties. All numbers come from CPU runs of the simplified model. Concept and methods paper. Numerical illustrations were produced by the author on a CPU with numpy, using a simplified model with illustrative parameters; they illustrate the method and are not hardware measurements; no GPU was used. Any other numerical values quoted come from the cited sources. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-02
DOI
https://doi.org/10.5281/zenodo.24762600
Primary Topic
Parallel Computing and Optimization Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

From Search Trace to Textbook Rule: Distilling Exhaustive Accelerator-Design Optima into Sparse Closed-Form Sizing Rules with Validity Boxes and Held-Out Regret Cards

I-Wei Tseng
Zenodo (CERN European Organization for Nuclear Research)
Parallel Computing and Optimization Techniques
preprint

From Search Trace to Textbook Rule: Distilling Exhaustive Accelerator-Design Optima into Sparse Closed-Form Sizing Rules with Validity Boxes and Held-Out Regret Cards

I-Wei Tseng
preprint en

Abstract

AI agents that design AI accelerators produce optimal designs, but each optimum answers one question for one context, and the reasons are hidden in the search. Human architects work with sizing rules: how much of the area should go to compute, how big the buffer should be, how both move with model width, context length and memory bandwidth. This paper proposes that the agent should write those rules itself and attach the evidence a reader needs to trust them. The agent solves many contexts exactly in its cost model, fits sparse log-polynomial rules for the optimal compute share, buffer size and array aspect ratio along a lasso path, and publishes each rule with a card. The card lists the terms, the box of contexts in which the rule was fitted, and the regret of the rule's design, snapped to the nearest feasible design, on held-out contexts. In a simplified model with 250 training and 150 held-out contexts, a rule with 3 terms for the compute share, 5 for the buffer and 1 for the aspect ratio loses a median 6.7 percent and at the 90th percentile 22 percent against the exhaustive optimum. A rule with 17 terms loses 3.3 and 17 percent, and the full 42-term quadratic 2.0 and 16 percent. A constant rule, the median optimum, loses 14 percent in the median and 165 percent at the 90th percentile. The study also finds what a rule cannot capture: the optimal aspect ratio is nearly unpredictable from the context, because many aspects are near-ties. All numbers come from CPU runs of the simplified model. Concept and methods paper. Numerical illustrations were produced by the author on a CPU with numpy, using a simplified model with illustrative parameters; they illustrate the method and are not hardware measurements; no GPU was used. Any other numerical values quoted come from the cited sources. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.

Zenodo (CERN European Organization for Nuclear Research)
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon