从文字到电路:根据自然语言描述生成可运行的电子设备
From Words to Wires: Generating Functioning Electronic Devices from Natural Language Descriptions
AI总结:
本文发现语言模型具备从自然语言描述设计电子电路的能力,提出Pins100和Micro25基准,验证GPT-4等模型在生成完整设备上的高成功率,并通过案例研究推动NLP与电子设计交叉研究。
摘要:
在这项工作中,我们展示了当代语言模型具备一项此前未知的技能——从高层级文本描述进行电子电路设计的能力,类似于代码生成。我们引入了两个基准测试:Pins100,用于评估模型对电子元件的知识;以及Micro25,用于评估模型在Arduino生态系统中设计常见微控制器电路及代码的能力,这些电路涉及输入、输出、传感器、电机、协议和逻辑——其中GPT-4和Claude-V1等模型在生成完整设备上的Pass@1达到60%至96%。我们包含了六个案例研究,将语言模型用作中等复杂度设备的设计助手,例如辐射驱动的随机数生成器、表情符号键盘、可见光光谱仪以及若干辅助设备,同时提供了定性性能分析,概述了评估挑战,并提出了改进复杂电路设计和实际效用的发展领域。通过这项工作,我们旨在推动自然语言处理与电子设计交叉领域的研究。
英文摘要:
In this work, we show that contemporary language models have a previously unknown skill -- the capacity for electronic circuit design from high-level textual descriptions, akin to code generation. We introduce two benchmarks: Pins100, assessing model knowledge of electrical components, and Micro25, evaluating a model's capability to design common microcontroller circuits and code in the Arduino ecosystem that involve input, output, sensors, motors, protocols, and logic -- with models such as GPT-4 and Claude-V1 achieving between 60% to 96% Pass@1 on generating full devices. We include six case studies of using language models as a design assistant for moderately complex devices, such as a radiation-powered random number generator, an emoji keyboard, a visible spectrometer, and several assistive devices, while offering a qualitative analysis performance, outlining evaluation challenges, and suggesting areas of development to improve complex circuit design and practical utility. With this work, we aim to spur research at the juncture of natural language processing and electronic design.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。