arXiv:2504.14625cs.ARcs.AI2025-04被引 1

用多智能体协作让AI设计电路效率逼近人类专家。

Towards Optimal Circuit Generation: Multi-Agent Collaboration Meets Collective Intelligence

  • 通过语法锁定、知识检索和双奖励机制协同优化电路生成。
  • 55.6%的生成电路达到或超过顶尖人类设计的综合效率。
  • 140亿参数模型无需训练即可超越GPT-4o mini和Gemini 2.0 Flash。

大型语言模型在代码生成方面已取得显著进展,但在硬件设计中生成的门电路数量比人类设计高出38%至1075%。本文提出CircuitMind多智能体框架,通过三项关键创新实现接近人类水平的效率:语法锁定(限制生成仅使用基本逻辑门)、检索增强生成(实现知识驱动设计)以及双奖励优化(平衡正确性与效率)。为评估该方法,我们引入TC-Bench,首个基于图灵完备生态系统的门级基准,该平台汇聚了数十万玩家的集体智慧。实验表明,CircuitMind使55.6%的模型实现达到或超越顶级人类专家的综合效率指标。尤为突出的是,140亿参数的Phi-4模型在无需专门训练的情况下,效率优于GPT-4o mini和Gemini 2.0 Flash,达到人类前25%水平。这些创新建立了新的硬件优化范式——协作式AI系统通过融合集体人类经验实现最优电路设计。模型、数据与代码均已开源,地址:https://github.com/BUAA-CLab/CircuitMind。

原文摘要 · Abstract (English)

Large language models (LLMs) have transformed code generation, yet their application in hardware design produces gate counts 38\%--1075\% higher than human designs. We present CircuitMind, a multi-agent framework that achieves human-competitive efficiency through three key innovations: syntax locking (constraining generation to basic logic gates), retrieval-augmented generation (enabling knowledge-driven design), and dual-reward optimization (balancing correctness with efficiency). To evaluate our approach, we introduce TC-Bench, the first gate-level benchmark harnessing collective intelligence from the TuringComplete ecosystem -- a competitive circuit design platform with hundreds of thousands of players. Experiments show CircuitMind enables 55.6\% of model implementations to match or exceed top-tier human experts in composite efficiency metrics. Most remarkably, our framework elevates the 14B Phi-4 model to outperform both GPT-4o mini and Gemini 2.0 Flash, achieving efficiency comparable to the top 25\% of human experts without requiring specialized training. These innovations establish a new paradigm for hardware optimization where collaborative AI systems leverage collective human expertise to achieve optimal circuit designs. Our model, data, and code are open-source at https://github.com/BUAA-CLab/CircuitMind.

电路设计多智能体LLM优化开源

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。