# ReLay: Bidirectional Layout-Code Translation and Library Evolution for Reusable and Process-Portable Analog Design

arXiv: https://arxiv.org/abs/2611.25328 · HTML: https://mlsanity.com/paper/2611.25328/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 14 of its 35 references that are in the map.
- Submitted 19 Nov 2026, announced 20 Nov 2026.

## Builds on (most cited first, 14 of 14)

- [Evaluating Large Language Models Trained on Code](https://mlsanity.com/paper/2107.03374/) (2021)
- [AnalogCoder: Analog Circuit Design via Training-Free Code Generation](https://mlsanity.com/paper/2405.14918/) (2024)
- [Top-Down Synthesis for Library Learning](https://mlsanity.com/paper/2211.16605/) (2022)
- [LayoutCopilot: An LLM-powered Multi-agent Collaborative Framework for Interactive Analog Layout Design](https://mlsanity.com/paper/2406.18873/) (2024)
- [AnalogGym: An Open and Practical Testing Suite for Analog Circuit Synthesis](https://mlsanity.com/paper/2409.08534/) (2024)
- [FALCON: An ML Framework for Fully Automated Layout-Constrained Analog Circuit Design](https://mlsanity.com/paper/2505.21923/) (2025)
- [OSIRIS: Bridging Analog Circuit Design and Machine Learning with Scalable Dataset Generation](https://mlsanity.com/paper/2601.19439/) (2026)
- [LOADBench: A Large Open Analog Dataset and Benchmark for Machine Learning in IC Design](https://mlsanity.com/paper/2610.21591/) (2026)
- [Analog-DB: An Agent-First Analog Integrated Circuit Database, From Blocks to Systems](https://mlsanity.com/paper/2609.01286/) (2026)
- [SGAnalog: An End-to-End Circuit Benchmark from Open-Source Silicon Tapeouts](https://mlsanity.com/paper/2610.03934/) (2026)
- [The Code Behind the Layout: AI Agents for Analog Layout Generators](https://mlsanity.com/paper/2610.38426/) (2026)
- [A CNN-Based Technique to Assist Layout-to-Generator Conversion for Analog Circuits](https://mlsanity.com/paper/2512.00070/) (2025)
- [THEIA: A Multimodal Dataset and Benchmark for Vision-Language Analysis of Layout](https://mlsanity.com/paper/2609.35035/) (2026)
- [ICLayout-Bench: Benchmarking LLM Agents for Custom Circuit Layout Design](https://mlsanity.com/paper/2611.12982/) (2026)

## Abstract (arXiv)

Analog layout generators provide a programmable interface for design reuse and process migration, but their coverage is limited by handcrafted libraries. The designer knowledge embedded in complete layouts remains implicit in their geometry, making it difficult to capture in reusable generator libraries. We present ReLay, a bidirectional layout-code framework that recovers generator programs from existing layouts, enabling cross-PDK portability and parametric resizing of existing designs. Constructions that recur across recovered programs are promoted to library functions, so the library evolves as layouts accumulate. We also introduce the first layout-code benchmark: 1,050 hand-drawn layouts from 27 circuit families across three open-source PDKs, ranging from primitive cells to full chips. Learned functions account for 53-66% of layout-building calls in held-out layouts, demonstrating reuse beyond the learning corpus. Frontier LLM agents use ReLay to produce new layouts at 64-77% lower API cost per completed task than direct geometry generation, with comparable completion rates and electrical quality.
