CIRCUIT: A Benchmark for Circuit Interpretation and Reasoning Capabilities of LLMs
Lejla Skelic, Yan Xu, Matthew Cox, Wenjie Lu, Tao Yu, Ruonan Han
TL;DR
The paper introduces CIRCUIT, a benchmark designed to probe Large Language Models for analog circuit interpretation and multi-level reasoning across circuit topologies. It assembles 510 questions from 102 templates with five numerical setups each, including diagrams and adapted netlists to test topology understanding, and evaluates models with unit-test–like pass@k/n metrics alongside global accuracy. The findings show that GPT-4o is the most robust among tested models, particularly when netlists and limited-one-shot exemplars are provided, yet performance remains limited in generalizing across varied numerical setups and complex topologies, underscoring substantial challenges in circuit reasoning. The work demonstrates the value of unit-test–style evaluation for diagnosing reasoning gaps and suggests directions like integrating simulators or interpreters, expanding topologies, and applying the framework to broader reasoning domains. Overall, CIRCUIT offers a cost-effective, scalable, and transparent pathway to advance LLM-assisted analog circuit design by highlighting current capabilities and concrete avenues for improvement.
Abstract
The role of Large Language Models (LLMs) has not been extensively explored in analog circuit design, which could benefit from a reasoning-based approach that transcends traditional optimization techniques. In particular, despite their growing relevance, there are no benchmarks to assess LLMs' reasoning capability about circuits. Therefore, we created the CIRCUIT dataset consisting of 510 question-answer pairs spanning various levels of analog-circuit-related subjects. The best-performing model on our dataset, GPT-4o, achieves 48.04% accuracy when evaluated on the final numerical answer. To evaluate the robustness of LLMs on our dataset, we introduced a unique feature that enables unit-test-like evaluation by grouping questions into unit tests. In this case, GPT-4o can only pass 27.45% of the unit tests, highlighting that the most advanced LLMs still struggle with understanding circuits, which requires multi-level reasoning, particularly when involving circuit topologies. This circuit-specific benchmark highlights LLMs' limitations, offering valuable insights for advancing their application in analog integrated circuit design.
