TL;DR
SCALE introduces a self-supervised layout generation pipeline that intentionally synthesizes diverse design-rule violations (DRVs) at advanced sub-2nm nodes to train a domain-adapted Vision-Language Model (DRC-VLM). By acting as an expert diagnostic front-end, this DRC-VLM provides precise geometric reasoning to AI coding agents, boosting local place-and-route (P&R) repair success rates by up to 25% (reaching up to 97% overall).
What Problem Does This Paper Address?
As semiconductor manufacturing pushes into sub-2nm territory, Design Rule Checking (DRC) has become a massive headache. Advanced nodes introduce hundreds of highly conditional, multi-layer geometric constraints (like color-dependent spacing and discrete width quantization). Traditional automated routing engines rely on rigid, hand-tuned geometric templates that simply cannot keep pace with these shifting rules.
While Large Language Models (LLMs) excel at writing EDA scripts, applying Vision-Language Models (VLMs) to visually diagnose layout violations remains an open challenge. Off-the-shelf VLMs suffer from a severe domain gap: they lack proprietary foundry knowledge and frequently hallucinate basic geometric features—such as miscounting layout vias. Furthermore, training data is incredibly scarce because production layouts are predominantly clean, and real violations are rarely shared due to confidentiality.
Methods
The authors propose SCALE, a two-phase framework designed to generate synthetic violation data and use it to guide automated layout repairs.
Phase I: Self-Supervised Generation & VLM Training
- Text-Formulated Layout Representation: SCALE serializes multi-layer layout geometry into structured text tokens containing layer headers, absolute coordinates, and directional edge deltas. Crucially, it introduces a
[BPoly](Boundary Polygon) token to distinguish clipped context shapes from actual generation targets. - Controllable Sampling: An autoregressive model is trained to fill in randomly masked polygons from the surrounding context. At inference, the authors use high-temperature sampling and natural-language constraints (e.g., "target VIA spacing violations") to deliberately steer the model into generating diverse, violation-prone layouts.
- Data Curation: These generated layouts are validated by an industrial signoff DRC checker. A teacher model (Gemini-3-Pro) then creates step-by-step reasoning traces for the failures. Finally, an open-source VLM (Qwen3-VL-8B) is fine-tuned on this rich dataset to create a domain-adapted DRC-VLM.
Phase II: VLM-Guided Local P&R DRV Fixing
During layout repair, the DRC-VLM acts as an expert diagnostic front-end. It analyzes a rendered image of the faulty layout region and provides a structured root-cause analysis alongside a ranked list of potential fixes. A state-of-the-art AI coding agent (such as Claude Code or Codex) receives this guidance and directly edits the local GDS layout file within an iterative, checker-in-the-loop verification cycle.
Datasets
- Training Corpus: Generated from 1,000 real routed layout crops. The final filtered dataset consists of 16,861 VIA samples and 17,254 metal samples spanning DRC analysis and layout description tasks.
- Evaluation Benchmark: A newly curated dataset of 100 local P&R DRV cases extracted from an unseen block-level IP design. It spans five critical error categories: Enclosure (39), Width (27), Spacing (21), Color Spacing (10), and Area (3).
Key Insights and Ideas
- Harnessing Hallucination: Instead of fighting LLM generation variability, SCALE exploits high-temperature sampling to intentionally "hallucinate" realistic, complex violations that rarely appear in clean production data.
- The Modality Split: The authors discovered that text LLMs are excellent at generating valid layout topologies, but vision models (VLMs) are absolutely irreplaceable for spatial grounding and polygon-level localization. Text-only models fail to accurately isolate specific violating polygons from identical neighbors.
- Moving Beyond Templates: Rather than narrowing the search space with static, pre-encoded repair templates, the framework provides dynamic, rule-conditioned guidance, allowing the coding agent to adapt its fixes to the unique topological context of each error.
Key Results
- Higher Diversity: SCALE achieved a layout pattern entropy of 5.07, significantly outperforming discrete diffusion (4.61) and script-based baselines (3.94), while triggering 29 VIA and 34 metal rule types.
- Superior Localization: The fine-tuned DRC-VLM achieved a
pass@5Combined F1 score of 44.2, a massive 24.8-point gain over the base model, comfortably beating Gemini-3-Pro (32.8). - Fixing Efficiency: When integrated with SOTA coding agents on the 100-case sub-2nm benchmark:
- Claude Code’s solve rate jumped from 63.0% to 88.0%.
- Codex’s solve rate increased from 85.0% to 97.0%.
- Average token costs were reduced by up to 24.5%, proving that upfront expert guidance prevents agents from wasting compute on blind trial-and-error loops.
Limitations and Future Work
The remaining unsolved layout errors are heavily concentrated in the Color Spacing category. These tight spacing interactions often trigger cascading violations that require net-level rerouting, which falls outside the scope of SCALE's localized repair window.
The authors note that future work will focus on extending the framework to handle cascading multi-step DRV fixes and net-level global rerouting, as well as adapting this self-supervised paradigm to other geometry-heavy EDA tasks.
Summary updated