Spicing up Genetic Netlist Generation with LLMs
The paper introduces LLM-SPICEMixer, a hybrid framework that integrates an LLM-based proposal operator (IGEL) into genetic netlist generation to enhance analog circuit topology synthesis, achieving significantly higher accuracy and robustness in a benchmark Iris classification task compared to traditional methods.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Designing analog circuits is a bit like trying to find a needle in a haystack, where the haystack is made of billions of possible arrangements and the needle is a working device. In the world of electronics, analog circuits are the components that handle continuous signals, such as the voltage from a microphone or the current from a solar panel. Unlike digital chips that simply switch on and off, these circuits must be tuned with extreme precision; a tiny change in how a transistor is connected can cause the entire device to fail or behave unpredictably. For decades, engineers have relied on complex computer algorithms to search for these working designs, but the process is often slow and prone to getting stuck in dead ends. The challenge is finding a way to explore the vast space of possibilities without wasting time on designs that will never work.
A team of researchers from Sony AI and several universities has introduced a new approach that blends traditional computer search methods with the creative capabilities of large language models. These models, which are the same technology behind advanced chatbots, are typically trained to write code or answer questions. The researchers wondered if they could use them not to design a circuit from scratch, but to act as a creative assistant that suggests small, smart improvements to existing designs. They built a system called LLM-SPICEMixer, which runs a continuous loop of trial and error. In this loop, a computer simulation tests thousands of circuit designs, keeping the best ones and discarding the rest. The new twist is that when the system needs a fresh idea, it asks the language model to look at the best designs found so far and propose a new variation.
The researchers tested this system on a specific task: creating a transistor-level circuit that could sort data about iris flowers into three categories. This is a classic problem in machine learning, but here the goal was not to write software code, but to build a physical electronic circuit that could perform the same classification using voltage levels. The circuit had to take four input signals representing flower measurements and produce three output signals indicating the flower type. Because there is no standard blueprint for such a circuit, the system had to discover a working structure from scratch. The language model was given the top-performing circuits from the search and asked to imagine a better version, much like a human engineer might sketch a modification on a blueprint.
The results showed that adding the language model significantly improved the search process. Without the model, the traditional search method often converged too quickly, settling on a mediocre design and failing to find better options. With the model's suggestions, the system found circuits that were more accurate and robust. The best circuit discovered by the hybrid system achieved a test accuracy of 93.3 percent under ideal conditions and maintained an average accuracy of 85.9 percent across a wide range of temperatures and voltages. This performance was notably higher than what the traditional method achieved on its own. The researchers found that the language model did not simply copy existing designs; it learned to combine useful patterns from the best circuits to create new topologies that the traditional algorithm had missed.
However, the study also clarified what the language model cannot do. When the researchers asked the model to design a complete circuit from scratch without any examples, it tended to produce repetitive or non-functional designs. The model worked best when it was guided by the high-quality examples provided by the search loop. This suggests that for complex engineering tasks, artificial intelligence is most effective when used as a partner that refines and evolves human or machine-generated ideas, rather than as a standalone designer. The system also discovered that the best circuits often relied on only two of the four available flower measurements, a finding that aligns with known statistical properties of the data. This implies that the system was not just guessing, but was actually learning to identify the most important features for the task.
The researchers evaluated their findings by running the search process nine times independently to ensure the results were consistent and not just a lucky fluke. They compared their method against other advanced algorithms and found that their hybrid approach consistently produced superior results. They also tested how well the circuits held up when the input signals were slightly noisy, simulating real-world imperfections. The circuits designed with the help of the language model remained stable and accurate even when the input data was distorted, showing that the search process had found solutions that were not just mathematically correct but physically robust.
This work demonstrates a promising path forward for automated circuit design. By treating the language model as a proposal generator within a rigorous simulation loop, the researchers were able to overcome some of the limitations of traditional search methods. The system did not replace the need for precise physical simulation; instead, it used the simulation as a source of truth to validate the model's creative suggestions. The success of this approach suggests that for tasks where no standard solution exists, combining the pattern recognition of large language models with the reliability of physical simulation can lead to the discovery of novel and efficient electronic designs. The findings indicate that while artificial intelligence may not yet be ready to replace human engineers entirely, it can serve as a powerful tool to accelerate the discovery of new circuit architectures that would be difficult to find through conventional means alone.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.