Inverse Design of Electromagnetic Structures via Local Geometry Parameterization and Latent Space Optimization

Erez Zolkov, Vinay Chenna, Hossein HashemiarXiv 2026

TL;DR

Designing microscopic electromagnetic components on silicon chips usually forces a frustrating choice: stick to rigid textbook shapes that limit performance, or optimize pixel-by-pixel at the cost of thousands of agonizingly slow physics simulations. This paper bridges that gap by teaching a neural network the "rules of valid chip geometry" without running a single physics simulation offline. By searching this smooth, learned geometric space online, the authors design broadband millimeter-wave circuits up to 45 times faster than pixel-based methods—and prove they work on real silicon.

What Problem Does This Paper Address?

Every wireless chip relies on passive electromagnetic (EM) structures—tiny metal windings like transformers and couplers—to route and shape high-frequency signals. Traditionally, engineers design these by picking a classic shape (like an octagon) and tweaking a few global knobs: overall diameter, wire width, and spacing. It is fast and always produces a valid circuit, but you are stuck inside a tiny, conventional design box.

At the other extreme is "inverse design," which treats the chip layers like a pixelated grid, flipping metal pixels on and off to discover wild, high-performance geometries. However, in multilayer chips, the math explodes—an $M \times N$ grid with three metal and two via (vertical connector) layers yields $13^{MN}$ combinations. Worse, random pixel flips constantly break electrical connections or violate manufacturing rules, and multilayer full-wave EM simulations take 10–20 times longer than single-layer ones. Machine learning "surrogates" try to bypass the simulator by predicting physics, but generating enough 3D EM training data is prohibitively expensive, and optimizers love to exploit surrogate blind spots.

Comparison of conventional parametric, surrogate, binary pixel, and proposed local parameterization workflows.

Methods

The authors introduce a two-step middle path that separates learning valid geometry from optimizing physics:

  1. Local Constrained Parameterization: Instead of three global knobs or thousands of independent pixels, a rule-based generator breaks a reference layout into dozens of local sub-segments. Local knobs vary wire widths, shift trace positions, add surrounding ground patches, and hop wires between metal layers (mixing side-by-side and stacked coupling along a single winding) while enforcing strict electrical connectivity.
Examples of local geometric variations: moving traces, varying section widths, switching metal layers, and adding ground patches.
  1. Physics-Free Autoencoder & Guided Reconstruction: Optimizing ~250 mixed discrete/continuous knobs directly is still bumpy. So, offline, the authors use a randomized routing generator ($A^*$ search) to cheaply mint thousands of valid pixelated layouts—zero EM simulations required—and train a convolutional Autoencoder (AE) to compress them into a continuous latent grid. Because raw neural outputs might still accidentally break a wire, the AE decoder doesn't draw the final chip directly; instead, its pixel probabilities act as "routing costs" (alongside a small structural control predictor) that guide the rule-based generator to rebuild a 100% valid multilayer layout every time.
  2. Hybrid Latent Space Optimization (LSO): Online, an evolutionary optimizer (CMA-ES) searches the smooth latent space. Each candidate is evaluated with a real full-wave EM simulator, while a fast inner loop (Nelder–Mead) tunes external lumped capacitors/resistors so every geometry is judged at its best. Crucially, whereas standard CMA-ES only sees a single pass/fail score, the authors inject Ensemble-Kalman proposals that read the exact per-frequency specification errors to nudge candidates directly toward fixing their worst bottlenecks.

Datasets

No external or pre-existing benchmarks were used. Because the neural network only learns geometry rather than electromagnetic responses, the authors procedurally generated synthetic datasets of validated categorical layout masks offline (using $47 \times 47$ and $63 \times 63$ grids across 5 metal/via planes) entirely free of EM simulation costs.

Key Insights and Ideas

  • Use ML for geometry, not physics: Training surrogates to predict Maxwell's equations is data-hungry and brittle. Using an autoencoder purely to turn discrete, rule-bound layouts into a smooth coordinate system costs zero EM simulations, cannot be "cheated" by an optimizer, and doesn't need retraining if frequency bands or circuit specs change.
  • It’s about spatial smoothness, not compression: Surprisingly, the latent space (256 variables) wasn't smaller than the explicit local-knob space (247 variables), yet it converged nearly 4x faster. Why? Explicit knobs mix discrete jumps (like layer changes) with uncoupled parameters. In the convolutional latent space, nudging a single variable smoothly and coordinately shifts an entire side of a winding or grows a ground region.
  • Decoder-as-guide guarantees validity: Neural networks are notoriously bad at hard topological rules (like "don't leave a wire floating"). Feeding decoded probabilities into a deterministic generator gives you smooth neural exploration with ironclad fabrication validity.

Key Results

The authors designed and fabricated three broadband transformer-based quadrature couplers (circuits that split a signal into two equal outputs $90^\circ$ out of phase) in 65-nm CMOS:

  • Optimization Speedup: On a 10–20 GHz design benchmark, LSO hit the target loss (1.2) in a median of 220 EM simulations (~55 minutes)—3.9x fewer than direct local-knob optimization (860 sims) and 45x fewer than pixel-based Direct Binary Search (9,960 sims, ~62 hours). Classic 3-knob optimization stalled out completely, failing the design specs.
  • Hardware Performance: Fabricated chips for 10–20, 25–50, and 30–60 GHz (each optimized in under 2 hours on a 64-core workstation) all covered a wide 67% fractional bandwidth. Measured insertion losses stayed below 1.5 dB, amplitude imbalances below 1 dB, and phase imbalances below $2^\circ$, in compact active areas of 0.16, 0.067, and 0.044 $\text{mm}^2$.

Limitations and Future Work

  • Unoptimized metrics: Output port isolation (>11–13 dB) trailed some prior-art designs (15–20 dB) simply because isolation wasn't included in the optimization loss function; the authors note it can easily be added as another objective term.
  • Device-specific scaffolding: While the trained AE generalizes across bands and specs for a given structural class, applying this framework to entirely different passive devices (like filters or antennas) still requires hand-crafting a new reference contract, generator rules, and validator.
  • Piecewise-constant landscape: Because latent points ultimately pass through rounded structural controls and discrete $A^*$ routing, the mapping has tiny flat plateaus and jumps, keeping gradient-free black-box optimizers necessary over pure gradient descent.

Summary updated

BibTeX
@misc{zolkov2026inverse,
  author = {Erez Zolkov and Vinay Chenna and Hossein Hashemi},
  title = {{Inverse Design of Electromagnetic Structures via Local Geometry Parameterization and Latent Space Optimization}},
  year = {2026},
  eprint = {2611.39965},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39965},
}
Figure