Constraint-aware HLS optimization via LLM-based multi-role agent with iterative reflexion
High-Level Synthesis (HLS) design productivity is often constrained by manual, expert-driven pragma tuning and the difficulty of balancing performance optimization with strict hardware resource limits. While automated Design Space Exploration (DSE) has been extensively studied, many existing approaches rely on open-loop estimation models or substantial training data, which can lead to physically unrealizable designs under tight resource budgets. In this work, we propose Reflex-HLS , a training-free agentic framework that formulates HLS optimization as a closed-loop, feedback-driven process grounded in physical synthesis outcomes. Reflex-HLS integrates Large Language Models (LLMs) within a Planner–Actor–Critic architecture, where optimization decisions are iteratively refined based on hardware-in-the-loop feedback from the vendor toolchain, ensuring physical realizability throughout the optimization process. Experimental results on PolyBench and MachSuite benchmarks, validated through full Vivado synthesis and implementation, demonstrate that Reflex-HLS achieves speedups of up to 48.41 × (e.g., on jacobi-2d ) while strictly adhering to device resource constraints. Further evaluations across regular, irregular, and structured workloads show that the proposed framework generalizes beyond conventional compute kernels. Comparative studies against representative open-loop DSE methods, large foundation models operating without hardware feedback, and closed-loop heuristic search highlight the trade-offs among optimization paradigms, with Reflex-HLS producing more deployable and resource-efficient designs under tight resource budgets in the evaluated cases.
Authors
- X.C. Li (ORCID: https://orcid.org/0000-0002-5981-2762)
- Zhongli Liu (ORCID: https://orcid.org/0000-0002-3234-310X)
- Jizhou Luo (ORCID: https://orcid.org/0000-0002-3302-3917)
- Jiaxi Liu (ORCID: https://orcid.org/0000-0002-7639-1285)
- Jianqun Yang (ORCID: https://orcid.org/0009-0002-4488-1949)
- Delang Chen (ORCID: https://orcid.org/0009-0006-4614-0334)
Institutions
- Harbin Institute of Technology (CN)
Publication Details
- Journal
- ACM Transactions on Design Automation of Electronic Systems
- Published
- 2026-10-19
- DOI
- https://doi.org/10.1145/3849869
- Primary Topic
- Embedded Systems Design Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00