Skip to content

Local LLMs for Analog Circuit Reasoning: Diagnosing and Mitigating a Composition Failure

Ahmet Efe

cs.AR

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 0.9240.924 accuracy on component-type retrieval and 0.9870.987 on rule application, but only 0.5850.585 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