End-to-End Neural Modeling of EM Response and Design Performance for Free-Form RFIC Passives
Authors: Yuhao Mao, Chenhao Chu, Martin Vechev, Hua Wang
Organizations: Department of Computer Science, ETH Zurich, Switzerland · Department of Information Technology and Electrical Engineering, ETH Zurich, Switzerland
Passive matching networks are critical components in radio-frequency integrated circuits (RFICs), but their design is bottlenecked by expensive finite-difference-based electromagnetic (EM) simulation. We propose an end-to-end neural framework for free-form RFIC passives that predicts both EM response and downstream design performance under varying frequency and circuit contexts, combining a frequency-conditioned neural simulator with a circuit-conditioned neural solver. To improve design performance prediction, the simulator outputs a neural EM response consisting of both the explicit EM response and a complementary response, together with a dependence regularizer that encourages the two responses to capture orthogonal information. To evaluate the proposed framework, we construct a large-scale dataset of free-form passive layouts, synthesized from both expert-designed contours and random paths. Our 21M-parameter model achieves high accuracy across a broad frequency range, circuit contexts and passive matching settings, with R2>0.98 for almost all targets, while providing orders-of-magnitude faster evaluation than traditional EM simulation. Code available at https://github.com/ETH-IDEAS/RFIC-NeuralSim.
Figures & tables
Figure 1: Solver stability under imperfect EM response. The ground-truth (GT) solver achieves R2=1 with noiseless input, but its design-performance R2 becomes negative even at REM2≈0.9984 . In contrast, the learned neural solver remains stable given imperfect EM responses. Appendix E details the evaluation protocol and illustrates the magnitude of the perturbations.
Figure 2: Typical RFIC PA with three passive matching networks: input matching, interstage matching, and output matching.
Figure 3: Example layouts from the two passive layout distributions.
Figure 4: Overview of the proposed model. The frequency-conditioned neural simulator maps the layout M and frequency to a neural EM response, consisting of an explicit EM response and a complementary response. The circuit-conditioned neural solver then combines this neural EM response with the circuit context to predict design performance. Frequency information is injected through modulation across four residual blocks.
Figure 5: Predictions of the 21M input matching model on a frequency grid with 0.001 GHz spacing. Wider curve means the prediction changes less smoothly.
Figure 6: Per-target R2 over frequency for the 21M and 5.4M input matching models.
Figure 7: Per-target R2 over frequency for the 5.4M input matching model across training epochs.
Figure 8: In-distribution data scaling for input matching. Both models are trained and tested on RandPath-seeded layouts with a fixed training budget of 52,450 optimizer steps. Each panel reports test R2 for one target. Panel-specific y limits differ.
Figure 9: Effect of the complementary response for the 21M input matching model.
Figure 10: Generalization to unseen mask distributions between the Contour-seeded and RandPath-seeded families. Each cell reports Rdesign2 . Models are trained for 100 epochs for this analysis.
Figure 11: Effect of dependence regularization. Corr(S^,Zcomp) is the average correlation.
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 12: Per-target R2 over frequency for the 21M and 5.4M interstage matching models on the full distribution.
Figure 13: Per-target R2 over frequency for the 21M and 5.4M output matching models on the full distribution.
Figure 14: Per-target R2 over frequency for the 5.4M interstage matching model across training epochs on the full distribution.
Figure 15: Per-target R2 over frequency for the 5.4M output matching model across training epochs on the full distribution.
Figure 16: Predictions of the 21M interstage matching model on a frequency grid with 0.001 GHz spacing, which is 100× denser than the training grid.
Figure 17: Predictions of the 21M output matching model on a frequency grid with 0.001 GHz spacing, which is 100× denser than the training grid.
Figure 18: Per-target R2 over frequency for the 21M input matching model under different dependence-regularization strengths on the full distribution.
Backbone
Parameters
REM2
Rdesign2
Plain CNN
5,347,884
0.98839
0.94128
Residual
5,383,468
0.98792
0.94386
Appendix
Table 3: Simulator-backbone comparison for input matching after 100 training epochs. Both models retain the conditional simulator–solver framework.
Matching
5.4M
21M
Input
7.118±0.036
3.925±0.027
Interstage
8.170±0.039
4.134±0.028
Output
13.874±0.049
6.890±0.036
Appendix
Table 4: Passivity-violation rates in percent. Error bars are one IID Bernoulli standard error over layout–frequency pairs, computed as 100p^(1−p^)/N for the observed violation fraction p^ . This calculation treats pairs as independent and does not account for dependence among frequencies of the same layout.
Example
Before
After
1
−0.4457+0.2717j
−0.4396+0.2774j
2
−0.1701+0.3195j
−0.1654+0.3267j
3
−0.3637+0.3805j
−0.3585+0.3726j
Appendix
Table 5: Example S-parameter values before and after adding 4% noise. Here j denotes the imaginary unit.
School of Electrical Engineering and Computer Science, Oregon State University, Corvallis, OR 97331 USA · Department of Electrical and Computer Engineering, Yale University, New Haven, CT 06511 USA