arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.26153cs.ARcs.IR
收藏

基于检索增强的核启发式合成(RKHS):利用大语言模型的结构化方法用于硬件设计

RAG-Enhanced Kernel-Based Heuristic Synthesis (RKHS): A Structured Methodology Using Large Language Models for Hardware Design

Stony Brook University(石溪大学)

Shiva Ahir, Alex Doboli

AI总结:

本文提出RKHS方法,结合检索增强生成、紧凑核启发式模板和LLM驱动的反馈循环,用于硬件设计中的启发式优化,实验证明其在降低延迟的列表调度中有效。

摘要:

启发式设计是现代电子设计自动化(EDA)工具的核心,但有效布局、布线和调度策略的制定需要大量专业知识。我们研究如何利用大语言模型(LLMs)系统地合成可重用的优化启发式方法,超越单次代码生成。我们提出了基于检索增强的核启发式合成(RKHS),该方法结合检索增强生成(RAG)、紧凑核启发式模板和受迭代自我反馈启发的LLM驱动反馈循环。应用于高阶综合(HLS)中的延迟最小化列表调度,原型在仅1.3倍运行时间开销的情况下,将平均调度长度减少了高达11%。该结构化的检索-合成循环可推广到其他EDA优化问题。

英文摘要:

Heuristic design upholds modern electronic design automation (EDA) tools, yet crafting effective placement, routing, and scheduling strategies entails substantial expertise. We study how large language models (LLMs) can systematically synthesize reusable optimization heuristics beyond one-shot code generation. We propose RAG-Enhanced Kernel-Based Heuristic Synthesis (RKHS), which integrates retrieval-augmented generation (RAG), compact kernel heuristic templates, and an LLM-driven refinement loop inspired by iterative self-feedback. Applied to latency-minimizing list scheduling in high-level synthesis (HLS), a prototype reduces average schedule length by up to 11 percent over a baseline scheduler with only 1.3x runtime overhead, and the structured retrieval-synthesis loop generalizes to other EDA optimization problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑