AgentDSE: Reasoning-Augmented Architectural Design Space Exploration

Chenyu Wang, Jiahe Caroline Shi, David Kong, Duane S. Boning, Zishen Wan, Yilun Du, Vijay Janapa ReddiarXiv 2026

TL;DR

AgentDSE transforms architectural Design Space Exploration (DSE) from a blind, black-box numerical sampling problem into an iterative, history-aware reasoning process driven by an LLM coding agent. By leveraging the architectural knowledge embedded in foundation models, it achieves competitive or superior hardware designs while slashing expensive simulator evaluations by up to two orders of magnitude without any fine-tuning.

What Problem Does This Paper Address?

Designing modern computer hardware—such as deep learning accelerators or CPU cache hierarchies—requires navigating massive, highly discontinuous combinatorial design spaces that can easily exceed $10^{20}$ configurations.

Traditional Design Space Exploration (DSE) methods (like random search, genetic algorithms, Bayesian optimization, and reinforcement learning) treat hardware simulators as black-box oracles. They blindly sample configurations, receive a scalar performance metric (like energy or latency), and guess the next candidate. This paradigm completely ignores valuable semantic context—such as physical constraints, data reuse patterns, and hardware bottlenecks—requiring tens of thousands of slow, expensive simulator runs. Furthermore, these black-box optimizers leave no audit trail, making it impossible for engineers to understand why a specific configuration was chosen.

Traditional black-box optimizers struggle with discontinuous spaces and invalid regions. AgentDSE performs constraint-aware reasoning to efficiently guide the search.

Methods

Instead of building a complex, custom optimization framework, the authors reframe DSE as a simulator-in-the-loop coding task.

AgentDSE exposes the entire optimization problem to a general-purpose LLM coding agent via a persistent, text-based workspace consisting of standard files (e.g., README.md for the task brief, action_space.md for constraints, and notes.md for tracking hypotheses).

The agent operates in an autonomous hypothesis-test-refine loop:

  1. Form Mental Model: It reads the current workspace state and history to understand the hardware constraints.
  2. Propose: It writes a new design configuration to a candidate.yaml file along with a clear text rationale.
  3. Simulate & Evaluate: It triggers an evaluation harness that runs the actual simulator stack.
  4. Observe & Refine: It parses the simulator's feedback, logs its observations in notes.md, and updates its hypotheses for the next iteration.

Crucially, AgentDSE requires zero model fine-tuning or precomputed databases. It can be ported to entirely new hardware domains simply by changing the evaluation harness and candidate schema.

Overview of the AgentDSE history-aware agentic search workflow across multiple domains.

Datasets

The framework was evaluated across three distinct architectural domains using standard workloads:

  • Hardware/Software Co-Design (Timeloop/Accelergy): Evaluated on 24 representative layers of ResNet50, optimizing for Energy-Delay Product (EDP).
  • DNN Accelerator Mapping (MAESTRO): Evaluated on 10 distinct General Matrix Multiply (GEMM) shapes derived from modern large models, specifically LLaMA-3.1-8B and OpenVLA.
  • CPU Cache-Hierarchy Optimization (ChampSim): Evaluated using three distinct SPEC CPU2017 benchmark traces to maximize Instructions Per Cycle (IPC).

Key Insights and Ideas

  • Reasoning vs. Optimization: An ablation study where the workspace was completely "anonymized" (hiding variable names and physical units) revealed that the LLM is a surprisingly competent black-box numerical optimizer on its own. However, restoring the physical semantics and architectural context gave the agent a 2.4× boost in sample efficiency, proving that semantic reasoning directly accelerates combinatorial search.
  • White-Box, Auditable Search: Because the agent writes down its reasoning before every simulator call, it creates a fully traceable "Thinking-Action-Observation" log. In one instance, the agent voluntarily spent a simulator call performing a causal ablation (toggling a prefetcher setting) just to verify why performance improved, mimicking the exact workflow of a human architect.
  • Zero-Shot Domain Transfer: The exact same agentic loop successfully navigated three completely different simulator stacks (analytical models, cycle-accurate execution, and trace-driven CPU simulation) without any domain-specific tuning.

Key Results

  • Massive Sample Efficiency: Across all tasks, AgentDSE matched or outperformed state-of-the-art baselines while using 100× to 500× fewer simulator evaluations.
  • vs. Differentiable DSE (DOSA): In a head-to-head comparison against DOSA on ResNet50 co-design, AgentDSE matched the optimal per-layer EDP but completely bypassed DOSA's need for a massive 72,701-sample precomputed training dataset, reducing real simulator calls by 37× per layer. At the network level, AgentDSE found a 1.15× better EDP with 165× fewer simulator calls.
  • MAESTRO & ChampSim: On LLaMA and OpenVLA workloads, AgentDSE achieved the lowest overall EDP in just 100 calls per shape, compared to Genetic Algorithms (20,000 calls) and PPO (50,000 calls). On ChampSim, it reached optimal CPU cache configurations in roughly 50 calls, yielding a 7–15× convergence speedup over traditional Bayesian Optimization and Reinforcement Learning.

Limitations and Future Work

  • LLM Overhead and Cost: Relying on high-capacity commercial LLMs introduces significant API costs and latency per iteration. While this is offset by saving thousands of expensive simulator runs, future work needs to explore smaller, open-source, or distilled domain-specific models.
  • Expanding the Ablation Scope: The semantic reasoning ablation study was limited to a single ResNet50 layer; broader validation across more diverse workloads is required to fully map out the agent's cognitive priors.
  • Moving to True Discovery: The current benchmarks focus on spaces where human intuition already holds strong heuristics. The ultimate frontier for AgentDSE will be "zero-shot" exploration of highly non-intuitive, emerging architectures (like non-von Neumann or complex heterogeneous interconnects) where human priors do not yet exist.

Summary updated

BibTeX
@misc{wang2026agentdse,
  author = {Chenyu Wang and Jiahe Caroline Shi and David Kong and Duane S. Boning and Zishen Wan and Yilun Du and Vijay Janapa Reddi},
  title = {{AgentDSE: Reasoning-Augmented Architectural Design Space Exploration}},
  year = {2026},
  eprint = {2606.21836},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.21836},
}
Figure