Local LLMs for Analog Circuit Reasoning: Diagnosing and Mitigating a Composition Failure
Abstract
Small local LLMs are attractive for EDA because SPICE netlists are textual and proprietary designs often need to remain local. Our results show a specific composition failure: a local model can retrieve a device fact and apply a circuit rule when that fact is stated, yet fail when it must combine the two. In controlled DC reachability, Qwen3-8B reaches accuracy on component-type retrieval and on rule application, but only when both are required. The same type-stated versus lookup gap appears on human-written passive LTspice circuits across ten local models from six families. We further find that ordinary SPICE names remove most of the gap, while one level of hierarchy brings it back. Intermediate reasoning closes the gap for Qwen3-8B and largely for other thinking-mode models, while a lightweight LoRA trained in about one GPU-hour nearly closes it on human-written circuits. Together, these results show that reliable local netlist reasoning depends on how circuit facts are represented and carried into downstream reasoning.
Create a lesson
Metadata
- Comments
- 7 pages, 2 figures, 5 tables
Related papers
TSUMIKI: Local Open-Weight LLMs for Analog IC Layout Behind the Foundry Firewall
Shared title terminologycs.ARKentaro Yoshioka
CRAFT: Analog Circuit Design by Reasoning LLM Agents from Pre-Computed Lookup Tables
Shared title terminologycs.ARHyunjun Park, Seungyub Han, Jason Jaesung Lee et al.
A Repeating Analog Finite-Element Circuit Block for 3D Continuous and Discontinuous Galerkin Methods
Shared title terminologycs.ARArash Ghasemi
When LLMs Meet SBFL: Combining Semantics and Spectra for RTL Bug Localization
Shared title terminologycs.ARJianan Mu, Yuxuan Zou, Jiaping Tang et al.
Gossamer: A Utility-Driven Architecture for Constant-Budget KV Cache Compression in Reasoning LLMs
Shared title terminologycs.ARFeng Cheng, Cong Guo, Junyao Zhang et al.
VeriSegue: Local RL and Cloud LLM Collaborative Verification Across RISC-V Processors and AI Accelerators
Shared title terminologycs.ARYiran He, Haihua Shen, Pei Chen et al.