← Latest papers
🤖 machine learning

Weave: Verified Netlist-to-Schematic Conversion via Layered Graph Layout

Weave is a deterministic, client-side tool that converts SPICE netlists into LTspice schematics using layered graph layout and guarantees 100% connectivity accuracy through a rigorous round-trip verification process, significantly outperforming probabilistic learning-based approaches on both standard and large-scale circuit benchmarks.

Original authors: Senol Gulgonul

Published 2026-07-07
📖 4 min read☕ Coffee break read

Original authors: Senol Gulgonul

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

Imagine you have a secret code written in a language only computers understand (a netlist). It tells a computer exactly how to build a circuit, listing every wire and component in a long, boring list. But if you want a human engineer to look at it, understand it, or fix a problem, they need a schematic—a visual map with pictures of resistors, capacitors, and lines connecting them, looking like a real circuit diagram.

For a long time, turning that boring computer list into a pretty, readable map has been a headache. Newer methods use Artificial Intelligence (AI) to guess what the map should look like. But the authors of this paper, Weave, say: "Guessing is risky. If the AI gets the wiring wrong, the circuit won't work, even if the picture looks nice."

Here is how Weave solves this problem, explained simply:

1. The Problem with AI Guessing

Think of the AI approach like a student trying to draw a map of a city they've never visited, based only on a list of street names.

  • The AI tries to be artistic: It learns from examples to make the map look good.
  • The problem: If the city gets too big (more than 5 streets), the student gets confused and draws the wrong connections. They might connect Street A to Street B when they should have gone to Street C.
  • The result: The map looks okay, but if you try to drive on it, you get lost. The paper notes that the best AI tool (Schemato) only gets the connections right about 76% of the time and struggles with anything bigger than a tiny neighborhood.

2. The Weave Solution: The "Architect's Blueprint"

Instead of guessing, Weave acts like a strict, rule-following architect. It doesn't try to be "creative"; it tries to be perfectly accurate.

  • Step 1: The Layered Layout (The Subway Map):
    Imagine organizing a messy room. You don't just throw things anywhere. You decide: "All the books go on the left shelf, the clothes in the middle, and the shoes on the right."
    Weave does this with circuits. It uses a proven mathematical method (called a "layered layout") to sort every component into columns, flowing from left to right, just like a subway map. It uses a pre-built library of 5,000+ standard parts. If it doesn't know a specific part, it just draws a generic box with the right number of pins, ensuring the connections are still correct even if the picture isn't fancy.

  • Step 2: The "Round-Trip" Test (The Double-Check):
    This is the most important part. After Weave draws the map, it doesn't just say, "Looks good!"
    Instead, it immediately takes its own drawing and translates it back into the computer code (the netlist). Then, it compares this new code with the original code you gave it.

    • If they match perfectly: It says, "Success! The map is 100% correct."
    • If they don't match: It knows it made a mistake. It doesn't guess; it tries a simpler, more conservative way of drawing the map until it gets a result that passes the test.

3. The Results: Perfect Accuracy vs. Pretty Guesses

The authors tested Weave against the best AI tools on a set of 117 circuits.

  • The AI (Schemato): Got the map to compile (open in the software) 76% of the time. When it did, the connections were only about 35% similar to the original (a low score). It failed completely on circuits with more than 5 parts.
  • Weave: Got the map to compile 100% of the time. It got the connections 100% correct every single time, even on the complex circuits where the AI failed.

They also tested it on a massive collection of 3,460 circuits (like a whole city of circuits). Weave got the connections right for 88.4% of them. The few times it failed, it was only because the circuits were incredibly dense "power modules" that were too crowded for the current layout rules—a specific, known limitation.

The Big Takeaway

The paper argues that in engineering, being right is more important than being pretty.

  • AI tries to draw a beautiful picture but might get the wiring wrong.
  • Weave draws a functional, verified blueprint. It might not look as "artistic" as the AI's guess, but it guarantees that if you build the circuit based on the drawing, it will work exactly as the computer code intended.

In short: Weave is a tool that refuses to guess. It builds a map, checks its own work, and only hands you the result if it is mathematically proven to be correct.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →