用混合检索增强生成,让AI高效辅助电路设计查询与推理。
MuaLLM: A Multimodal Large Language Model Agent for Circuit Design Assistance with Hybrid Contextual Retrieval-Augmented Generation
- 结合检索增强与自适应向量库,实现多步迭代推理。
- 在250篇论文数据集上召回率达90.1%,100个推理任务准确率86.8%。
- 支持图文输入,可无人工快速构建电路设计数据库。
电路设计方法的演进依赖全面的文献调研,但前沿研究爆发、数据格式不统一及优化目标复杂,使该过程极具挑战。本文提出MuaLLM,一个开源的多模态大语言模型代理,用于电路设计辅助。它采用混合检索增强生成(RAG)框架,并配备自适应电路研究论文向量数据库。不同于传统LLM,MuaLLM通过ReAct工作流进行迭代推理、目标设定与多步信息检索,能理解复杂查询并基于电路文献提供有依据的回答。其多模态能力可处理文本与图像,提升分析效率。系统通过智能搜索工具、自动文档获取与实时数据库更新实现动态适应。区别于受上下文长度限制的传统方法,MuaLLM将检索与推理解耦,支持任意规模语料的可扩展推理。在标准LLM最大上下文长度下,其成本降低至1/10,速度提升1.6倍,且保持相同准确率。这实现了无需人工干预的快速数据库生成,突破了仿真驱动数据集创建的瓶颈。为评估效果,我们构建两个定制数据集:RAG-250(聚焦检索与引用性能)和Reasoning-100(Reas-100,关注多步推理)。MuaLLM在RAG-250上取得90.1%召回率,在Reas-100上达86.8%准确率。
原文摘要 · Abstract (English)
Conducting a comprehensive literature review is crucial for advancing circuit design methodologies. However, the rapid influx of state-of-the-art research, inconsistent data representation, and the complexity of optimizing circuit design objectives make this task significantly challenging. In this paper, we propose MuaLLM, an open-source multimodal Large Language Model (LLM) agent for circuit design assistance that integrates a hybrid Retrieval-Augmented Generation (RAG) framework with an adaptive vector database of circuit design research papers. Unlike conventional LLMs, the MuaLLM agent employs a Reason + Act (ReAct) workflow for iterative reasoning, goal-setting, and multi-step information retrieval. It functions as a question-answering design assistant, capable of interpreting complex queries and providing reasoned responses grounded in circuit literature. Its multimodal capabilities enable processing of both textual and visual data, facilitating more efficient and comprehensive analysis. The system dynamically adapts using intelligent search tools, automated document retrieval from the internet, and real-time database updates. Unlike conventional approaches constrained by model context limits, MuaLLM decouples retrieval from inference, enabling scalable reasoning over arbitrarily large corpora. At the maximum context length supported by standard LLMs, MuaLLM remains up to 10x less costly and 1.6x faster while maintaining the same accuracy. This allows rapid, no-human-in-the-loop database generation, overcoming the bottleneck of simulation-based dataset creation for circuits. To evaluate MuaLLM, we introduce two custom datasets: RAG-250, targeting retrieval and citation performance, and Reasoning-100 (Reas-100), focused on multistep reasoning in circuit design. MuaLLM achieves 90.1% recall on RAG-250, and 86.8% accuracy on Reas-100.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。