DELTA: Diagnosing Exploration Lineages via Twin-path Alignment - What Can Contrasting Design Paths Reveal About Microarchitectural Behavior?

Kaushal Mhapsekar, Darsh Asher, Bita Aslrousta, Amna Hassan, Debayan Sengupta, Azam Ghanbari, Samira Mirbagher AjorpazarXiv 2026

TL;DR

When optimizing processor designs, automated search tools find fast configurations by discarding failures, throwing away the very clues needed to understand why a design hits a performance wall. DELTA flips this script: by saving every simulated tweak—especially the flops—into a queryable "Design Memory," it aligns parallel design paths like controlled experiments to pinpoint hidden hardware interactions. Using a frozen LLM with zero fine-tuning, it speeds up processor search, predicts simulation outcomes within 3.3%, and diagnoses subtle hardware bottlenecks across both x86 and RISC-V architectures.

What Problem Does This Paper Address?

Imagine tuning a complex engine where every part interacts: enlarging the fuel injector does nothing until you widen the air intake, and changing the spark timing suddenly makes a bigger cylinder slower. Computer architects face this daily when trying to boost IPC (Instructions Per Cycle—the speedometer of a CPU).

Architects rely on two standard tools, and both have blind spots:

  1. Top-Down Analysis counts where pipeline execution slots are lost (e.g., waiting on memory vs. bad branch predictions). However, because slot fractions must sum to 100%, fixing a memory stall can make "Bad Speculation" look worse even as the chip gets 32% faster! Counters show where time goes, not what change will fix it.
  2. Design-Space Exploration (DSE) treats the CPU as a black box, searching for the highest-scoring configuration (like evolutionary LLM searches do). At ~120 CPU core-hours per simulation, throwing away "failed" trials wastes massive compute and leaves architects with a fast chip they can't explain.

Methods

Enter DELTA (Diagnosing Exploration Lineages via Twin-path Alignment). Instead of treating search as a survival-of-the-fittest tournament, DELTA treats every step from a parent configuration to a child configuration (changing one hardware knob while holding the rest fixed) as a scientific intervention.

Figure 2: A recorded tree (Full): one ROB edit under two predictors forms a twin comparison.
  • Design Memory: DELTA logs every parent-child edge—helpful, neutral, or regressive—alongside hardware counters and Top-Down slot breakdowns generated by StallLens (the authors' custom gem5 simulator extension).
  • Twin-Path Alignment: When the exact same hardware edit helps under Parent A but flops under Parent B, DELTA aligns the two parents. If they differ by only one setting (say, the branch predictor), DELTA isolates a true causal interaction—much like testing a single gene mutation across two genetic backgrounds.
  • In-Context LLM Guidance: A pretrained LLM with fixed weights (no offline training corpora, backpropagation, or fine-tuning) retrieves past lineages from Design Memory to predict the IPC of new ideas, propose the next hardware tweak, and run a systematic root-cause elimination algorithm.

Datasets

Because DELTA learns on the fly via in-context retrieval, it requires no offline training dataset. For evaluation in the cycle-level gem5 simulator, the authors use:

  • SPEC CPU2017: Four core workloads (gcc, mcf, xalancbmk, deepsjeng across 40 weighted SimPoint slices), plus a broader 25-workload suite.
  • Custom Microbenchmarks & Real-World Workloads: 8 targeted microbenchmarks (testing branch randomness and memory pointer chasing), the TinyStories 15M parameter Transformer forward pass (llama2.c), and Hierarchical Navigable Small World (HNSW) graph-based vector search.
  • New Dataset Released: A checked 100-intervention lineage store with StallLens counter deltas and prompts.

Key Insights and Ideas

  • Capacity is safe; prediction is high-stakes roulette: Increasing buffer or cache sizes rarely hurts IPC, though returns eventually flatten. Conversely, swapping branch predictors or memory prefetchers—which overwrite all prior decisions, good and bad—accounts for 18 of the 19 retained performance regressions, while also delivering the single biggest speedups (+20% to +33%).
  • Hardware knobs are deeply coupled: Enabling an L2 prefetcher does literally nothing (−0.01% IPC) behind a 32 KB instruction cache, because the starved frontend can't feed the chip enough work to matter. Double that instruction cache to 64 KB, and the exact same prefetcher unlocks a +20.21% speedup.
  • "Higher accuracy" can make a Transformer slower: On a Transformer workload, an adaptive prefetcher raised prefetch accuracy from 3.6% to 98.4% and cut L1 misses nearly in half—yet execution took 61.7% longer! DELTA's counter elimination revealed why: aiming only for distant memory targets skipped intermediate cache lines across memory page boundaries, starving immediate demand requests.

Key Results

  • Faster, Smarter Search: On SPEC CPU2017, DELTA-Full boosts IPC by 55.5% in 22 simulations for just $1.56 in LLM API costs. At 10 iterations, DELTA achieves a 46% mean IPC gain, easily beating Genetic Algorithms (36%), Top-Down Greedy search (33%), and Random search (19%).
Figure 1: Planning sustains gains over 25 edits: Full plans alternatives; Guide uses one proposal with Top-Down feed- back.
  • Zero-Training Prediction & Transfer: DELTA-Guide predicts the IPC of its next proposed edit with 3.30% mean error (1.33% median). When transferring predictions from a 4-wide CPU core to an 8-wide core using just 16 target examples, DELTA hits 0.87% error without weight updates (outperforming retrained neural nets at 6.04% and random forests at 4.56%).
  • Real Hardware Repairs:
  • Adaptive BOP: Diagnosing how larger L1 caches blind the L2 Best-Offset Prefetcher led to a usefulness-throttled reset mechanism, gaining +1.37% mean IPC.
  • Transformer Prefetching: Fixing page-boundary resets and filling skipped intervals sped up Transformer inference by 60.8% over stride prefetching while cutting modeled core/cache energy by 16.9%.
  • Zero-Shot RISC-V Portability: Applied unchanged to RISC-V SonicBOOM cores running HNSW vector search, DELTA diagnosed a non-power-of-two memory scale (396 * id) that broke standard bit-shift prefetchers; replacing bit-shifts with division yielded a 7.32% speedup (vs. 0.66%).

Limitations and Future Work

  • Strict Comparison Checks: Not every exploration step produces a clean experiment. Out of 100 recorded edits, 43 had to be "held" back from cross-context causal claims due to simulator baseline/parent instabilities or edits targeting inactive queues, requiring follow-up matched simulations to resolve.
  • Human-in-the-Loop Implementation: While DELTA organizes counter evidence and proposes mechanisms, a human architect still specifies and writes the actual C++/hardware code for custom microarchitectural repairs.
  • Modeling Boundaries: In the Transformer energy study, power estimates only cover the core and caches; DRAM, interconnect, and the new prefetcher's own hardware overhead remain unmodeled.

Summary updated

Abstract

Architects have two mature instruments for performance work. Top-Down analysis tells them where a design loses its pipeline slots, and design-space exploration (DSE) tells them which configuration scores best. Neither explains why a search stops improving: why a backend-bound design rejects a prefetcher that the bottleneck label recommends, or why a capacity increase that helped in one configuration hurts in the next. This paper argues that the evidence needed to answer such questions is already produced during exploration and then discarded. Every parent-child edge in an exploration tree is a controlled intervention: one knob changes, the rest of the design is held fixed, and a cycle-level simulator measures the outcome. When the same edit helps under one parent and hurts under another, aligning the two parents localizes the interaction that decides its sign. We present DELTA, a simulator-grounded root-cause analysis tool that builds a Design Memory of such interventions during exploration and lets an architect query it afterwards. Each record stores the full parent configuration, the single applied edit, the measured and predicted IPC, a Top-Down breakdown from StallLens, our gem5 implementation of Top-Down, and its lineage. Unlike evolutionary LLM search, which keeps only high-scoring programs, DELTA keeps failed edges as evidence. The same memory also makes exploration efficient: on four SPEC CPU2017 workloads, the full system raises IPC by 55.5% in 22 simulated designs for $1.56 of model cost, predicts the IPC of its own proposals to within 3.3%, and keeps improving after a bottleneck-guided search stalls. A root-cause query over the recorded history led us to a usefulness-throttled variant of the Best-Offset prefetcher that improves IPC by 1.37% over the original in matched configurations.
BibTeX
@misc{mhapsekar2026delta,
  author = {Kaushal Mhapsekar and Darsh Asher and Bita Aslrousta and Amna Hassan and Debayan Sengupta and Azam Ghanbari and Samira Mirbagher Ajorpaz},
  title = {{DELTA: Diagnosing Exploration Lineages via Twin-path Alignment - What Can Contrasting Design Paths Reveal About Microarchitectural Behavior?}},
  year = {2026},
  eprint = {2611.31767},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31767},
}
Figure