From Words to Wires: Generating Functioning Electronic Devices from Natural Language Descriptions

Peter Jansen


Abstract
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.
Anthology ID:
2023.findings-emnlp.864
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2023
Month:
December
Year:
2023
Address:
Singapore
Editors:
Houda Bouamor, Juan Pino, Kalika Bali
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
12972–12990
Language:
URL:
https://aclanthology.org/2023.findings-emnlp.864
DOI:
10.18653/v1/2023.findings-emnlp.864
Bibkey:
Cite (ACL):
Peter Jansen. 2023. From Words to Wires: Generating Functioning Electronic Devices from Natural Language Descriptions. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 12972–12990, Singapore. Association for Computational Linguistics.
Cite (Informal):
From Words to Wires: Generating Functioning Electronic Devices from Natural Language Descriptions (Jansen, Findings 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.findings-emnlp.864.pdf