English

LLM-DSE: Searching Accelerator Parameters with LLM Agents

Hardware Architecture 2025-11-24 v3 Artificial Intelligence

Abstract

Even though high-level synthesis (HLS) tools mitigate the challenges of programming domain-specific accelerators (DSAs) by raising the abstraction level, optimizing hardware directive parameters remains a significant hurdle. Existing heuristic and learning-based methods struggle with adaptability and sample efficiency. We present LLM-DSE, a multi-agent framework designed specifically for optimizing HLS directives. Combining LLM with design space exploration (DSE), our explorer coordinates four agents: Router, Specialists, Arbitrator, and Critic. These multi-agent components interact with various tools to accelerate the optimization process. LLM-DSE leverages essential domain knowledge to identify efficient parameter combinations while maintaining adaptability through verbal learning from online interactions. Evaluations on the HLSyn dataset demonstrate that LLM-DSE achieves substantial 2.55×2.55\times performance gains over state-of-the-art methods, uncovering novel designs while reducing runtime. Ablation studies validate the effectiveness and necessity of the proposed agent interactions. Our code is open-sourced here: https://github.com/Nozidoali/LLM-DSE.

Keywords

Cite

@article{arxiv.2505.12188,
  title  = {LLM-DSE: Searching Accelerator Parameters with LLM Agents},
  author = {Hanyu Wang and Xinrui Wu and Zijian Ding and Su Zheng and Chengyue Wang and Neha Prakriya and Tony Nowatzki and Yizhou Sun and Jason Cong},
  journal= {arXiv preprint arXiv:2505.12188},
  year   = {2025}
}
R2 v1 2026-07-01T02:19:04.619Z