Zero-Server In-Browser Adjoint Sensitivity Analysis and Analog Sizing via WebGPU and Mixed-Precision Checkpointing

Traditional analog sizing and inverse design typically necessitate numerous forward SPICE simulations or rely on heavy, workstation-class adjoint and differentiable engines. While browser-native Electronic Design Automation (EDA), including prior KING TSENG AI Web EDA frameworks and WebAssembly (WASM)-based ngspice tools, has successfully brought forward simulation and Physics-Informed Neural Network (PINN) surrogates to the client, it has fundamentally lacked a native reverse-mode sensitivity path. This paper presents a zero-server adjoint sensitivity architecture for implicit transient and DC simulations. Executed entirely within the browser utilizing the WebGPU sparse solver ecosystem, the proposed method leverages a checkpointed backward recurrence tailored to accommodate browser memory constraints and the absence of ubiquitous 64-bit floating-point (fp64) arithmetic. This methodology yields parameter gradients of user-defined figures of merit at a computational cost scaling by only a small constant factor relative to a single forward transient solve. Consequently, projected-gradient and Adam-based device sizing can be performed entirely client-side. We establish a validation protocol against closed-form RC sensitivities, ngspice finite-difference gradients, and a two-stage amplifier sizing task. Positioned as a tool for exploration, pedagogy, and pre-layout "what-if" analysis rather than a foundry sign-off replacement, this framework bridges the gap between interactive web-based EDA and modern differentiable design paradigms.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-18
DOI
https://doi.org/10.5281/zenodo.24328188
Primary Topic
VLSI and FPGA Design Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Zero-Server In-Browser Adjoint Sensitivity Analysis and Analog Sizing via WebGPU and Mixed-Precision Checkpointing

I-Wei Tseng
1 links
Zenodo (CERN European Organization for Nuclear Research)
VLSI and FPGA Design Techniques
preprint

Zero-Server In-Browser Adjoint Sensitivity Analysis and Analog Sizing via WebGPU and Mixed-Precision Checkpointing

I-Wei Tseng
preprint en

Abstract

Traditional analog sizing and inverse design typically necessitate numerous forward SPICE simulations or rely on heavy, workstation-class adjoint and differentiable engines. While browser-native Electronic Design Automation (EDA), including prior KING TSENG AI Web EDA frameworks and WebAssembly (WASM)-based ngspice tools, has successfully brought forward simulation and Physics-Informed Neural Network (PINN) surrogates to the client, it has fundamentally lacked a native reverse-mode sensitivity path. This paper presents a zero-server adjoint sensitivity architecture for implicit transient and DC simulations. Executed entirely within the browser utilizing the WebGPU sparse solver ecosystem, the proposed method leverages a checkpointed backward recurrence tailored to accommodate browser memory constraints and the absence of ubiquitous 64-bit floating-point (fp64) arithmetic. This methodology yields parameter gradients of user-defined figures of merit at a computational cost scaling by only a small constant factor relative to a single forward transient solve. Consequently, projected-gradient and Adam-based device sizing can be performed entirely client-side. We establish a validation protocol against closed-form RC sensitivities, ngspice finite-difference gradients, and a two-stage amplifier sizing task. Positioned as a tool for exploration, pedagogy, and pre-layout "what-if" analysis rather than a foundry sign-off replacement, this framework bridges the gap between interactive web-based EDA and modern differentiable design paradigms.

Zenodo (CERN European Organization for Nuclear Research)
VLSI and FPGA Design Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon