←Substrate
    Dispatch · AI chip design · 3 min

    A roofline check lets an AI agent design LLM chips with fewer simulator runs

    A 2026 preprint pairs a language-model designer with a calibrated roofline model that skips unpromising chip designs, nearly matching classic search with about half the simulations.

    30 November 2026 · arXiv preprint, not yet peer reviewed
    microscope workstation in an electronics lab
    Photo: Florian Olivo

    Designing a neural processing unit (NPU), a chip specialised for running neural networks, means settling many interlocking choices at once: how many systolic arrays (grids of multiply-accumulate units for matrix maths) to include and how large, the clock frequency, on-chip memory, the bandwidth of high-bandwidth memory (HBM) and the links between chips. Searching that space, known as design-space exploration, usually leans on an expensive simulator that reports little more than latency and power. A 2026 preprint on arXiv, not yet peer reviewed, describes CriticNPU, a framework that adds a cheap, physics-based check deciding which candidate designs deserve a simulator run at all.

    The difficulty is sharpest for language-model inference, which has two phases. Prefill processes the whole prompt and is scored by time-to-first-token; decode generates one token at a time and is scored by time-per-output-token. Following disaggregated serving, the authors optimise a separate chip for each, and the two phases can be held back by different resources. A single latency number says a design is slow but not why.

    CriticNPU has three parts. A language model first reads the model specification and deployment setting and lists every operation, annotating each with its arithmetic and the bytes it moves; dividing one by the other gives arithmetic intensity. A roofline model, a classic picture in which performance is capped either by compute speed or by memory bandwidth, then calculates both caps from the chip parameters and labels each operation compute-bound or memory-bound. Before simulating a new candidate, it takes measured runtimes from a recently simulated design, rescales them by the change in compute or bandwidth, and sends the candidate to the simulator only during a warm-up phase or if its predicted latency is no worse than the best so far. After each simulation it writes a summary of which share of latency is compute-bound and which memory-bound, plus predicted effects of possible changes, into the prompt of a design agent built on GPT-5.4-mini, which proposes the next configuration. The roofline itself contains no language model. It is calibrated as it runs: for each type of operation it learns what fraction of peak performance is actually reached. On Llama3-8B prefill, the authors report, the feed-forward layers settled at 0.54 of peak and attention at 0.15.

    Tests covered six models from Llama3-8B to DeepSeek's DSv3-671B, dense and mixture-of-experts alike, each under 16 hardware and deployment settings, giving 96 cases per phase, all in the NeuSIM analytical simulator. Baselines were Bayesian optimisation, the evolutionary method CMA-ES, greedy local search, grid search and three language-model-assisted methods: ChatDSE, LLM-DSE and LLM-Box. CriticNPU found the best or tied-best latency in 71 of 96 prefill and 84 of 96 decode cases, averaging 54 simulator calls. Greedy search and Bayesian optimisation reached comparable or higher win rates, but at about 129–130 and 117 calls respectively. Mean latency relative to the best design any method found was 1.012 for prefill and 1.008 for decode for CriticNPU, against 1.006 for Bayesian optimisation and 1.009 for greedy, while LLM-DSE reached 1.528 and ChatDSE 3.500. The authors acknowledge that the gain over the strongest classical methods lies in sample efficiency rather than better chips.

    The ablations point to the gate as the source of that saving. Without the roofline, decode simulator calls rose from 15 to 48 on the 8B model. With gating alone, the system matched the full version's latencies at similar call counts on all three tested models, so the main text shows no measurable added benefit from the diagnostic summaries. As a latency predictor the roofline beat GPT-5.4-mini given the same inputs, with a mean absolute percentage error of 47% against 96%. Its ranking of proposals, however, was only moderately reliable, with Kendall's τ, a rank-agreement score, of 0.36 and 0.41 on two models, and the authors say it systematically underestimates latency.

    The limits are substantial. Everything runs in one simulator, NeuSIM, which the paper cites to Xue and Huang, names that match two of its authors. No physical chip was built, and calibration cannot correct the simulator's own errors. The roofline does not explicitly model mixture-of-experts routing imbalance; on DSv3-671B decode CriticNPU won 8 of 16 cases against 15 for Bayesian optimisation. The main text reports no repeated runs or variance, though the language-model agents are stochastic, and several further analyses sit in an appendix.

    The design echoes Shanghai AI Laboratory's Sage-Taiyi, which also steers a language model's search by keeping a structured record of what is known before choosing the next attempt (earlier story). Here, though, the paper's ablation suggests the hard physical filter, not the written explanation handed to the model, does most of the work.

    Paper
    Mechanistic Critics for Sample-Efficient NPU Design-Space Exploration
    Authors
    Yicheng He, Yuqi Xue, Tianyang Wu, Jian Huang, Bin Hu
    Venue
    arXiv preprint — not yet peer reviewed · 18 November 2026
    Link
    arxiv.org/abs/2611.24733
    Index
    stacks.braintank.ai
    Code
    github.com/bruno686/CriticNPU
    Cite

    Keep reading

    Photo: Brian Kostiuk

    Substrate · Electromagnetic shielding

    3D-printed MXene–nanotube aerogels absorb most microwaves rather than reflecting them

    Varying nanotube content layer by layer so conductivity rises through a 3D-printed lattice cut reflected radiation sharply while keeping shielding strong in radar-band tests.

    Nano-Micro Letters · 8 February 2023

    Photo: Albert Stoynov

    Substrate · X-ray interferometry

    A nanoscale double-slit experiment reads how iron nuclei shift the phase of X-rays

    Two stacked waveguides 50 nanometres apart act as Young's slits for X-rays; the phase shift they reveal corrects a coupling estimate from absorption data alone.

    Nature Photonics · 14 April 2026
    cleanroom under yellow lithography light: a technician in a bunny suit at an inspection microscope
    cleanroom under yellow lithography light: a technician in a bunny suit at an inspection microscope

    Cleanroom under yellow lithography light: a technician in a bunny suit at an inspection microscope · Photo: L N

    Substrate · Edge AI memory

    A filament-free memory cell aims to make edge AI chips steadier and less power-hungry

    Engineers built resistive memory that switches through its whole oxide layer, then used it to hold the weights of a brain-like network steering a simulated race car.

    Nature Communications · 25 April 2024