arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.12205cs.LGcs.AIcs.AR
收藏

用于布尔电路最小化的检索引导强化学习

Retrieval-Guided Reinforcement Learning for Boolean Circuit Minimization

Qualcomm Incorporated(高通公司);University of Calgary(卡尔加里大学);New York University(纽约大学)

Animesh Basak Chowdhury, Marco Romanelli, Benjamin Tan, Ramesh Karri, Siddharth Garg

AI总结:

针对逻辑综合中预训练智能体面对全新硬件设计易偏离搜索轨迹的问题,提出 ABC-RL,利用最近邻检索相似度调节 α 参数,显著提升 QoR 并降低运行时间。

摘要:

逻辑综合是芯片设计中的关键阶段,它涉及将以 Verilog 等硬件描述语言编码的芯片规格优化为使用布尔逻辑门的高效实现。该过程包含顺序应用逻辑最小化启发式方法(即“综合配方”),而这些方法的排列会显著影响面积和延迟等关键指标。为应对广泛设计复杂性所带来的挑战——从以往设计的变体(例如加法器和乘法器)到全新配置(例如创新的处理器指令)——需要由人类专业知识和直觉引导的精细“综合配方”。本研究对用于逻辑综合的学习与搜索技术进行了全面考察,揭示了一个令人惊讶的发现:预训练智能体在面对全新设计时可能偏离方向,从而对搜索轨迹产生不利影响。我们提出 ABC-RL,这是一个经过精细调节的 α 参数,能够在搜索过程中巧妙调整来自预训练智能体的推荐。ABC-RL 基于相似度分数,通过从训练数据集中进行最近邻检索来计算,可生成适用于大量硬件设计的更优综合配方。研究结果表明,综合电路的结果质量(QoR)得到显著提升,与最先进技术相比改进最高达 24.8%。此外,与当前最先进方法相比,ABC-RL 在同等 QoR 下实现了高达 9 倍的运行时间缩减。

英文摘要:

Logic synthesis, a pivotal stage in chip design, entails optimizing chip specifications encoded in hardware description languages like Verilog into highly efficient implementations using Boolean logic gates. The process involves a sequential application of logic minimization heuristics (``synthesis recipe"), with their arrangement significantly impacting crucial metrics such as area and delay. Addressing the challenge posed by the broad spectrum of design complexities - from variations of past designs (e.g., adders and multipliers) to entirely novel configurations (e.g., innovative processor instructions) - requires a nuanced `synthesis recipe` guided by human expertise and intuition. This study conducts a thorough examination of learning and search techniques for logic synthesis, unearthing a surprising revelation: pre-trained agents, when confronted with entirely novel designs, may veer off course, detrimentally affecting the search trajectory. We present ABC-RL, a meticulously tuned $α$ parameter that adeptly adjusts recommendations from pre-trained agents during the search process. Computed based on similarity scores through nearest neighbor retrieval from the training dataset, ABC-RL yields superior synthesis recipes tailored for a wide array of hardware designs. Our findings showcase substantial enhancements in the Quality-of-result (QoR) of synthesized circuits, boasting improvements of up to 24.8% compared to state-of-the-art techniques. Furthermore, ABC-RL achieves an impressive up to 9x reduction in runtime (iso-QoR) when compared to current state-of-the-art methodologies.

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

↑