Manuscript Offprint
arXiv:2610.06464A Physics-Guided Transformer Framework for Electromigration Analysis in Multi-Segment Interconnects
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Pavlos Stoikos
Dept. of Electrical and Computer Engineering
University of Thessaly, Greece
Email: pastoikos@e-ce.uth.gr
Anuj Pathania
University of Amsterdam
Amsterdam, The Netherlands
Email: a.pathania@uva.nl
George Floros
Dept. of Electronic and Electrical Engineering,
Trinity College Dublin, Ireland
Email: florosg@tcd.ie
Abstract—As technology scales to smaller nodes, increasing current densities make electromigration (EM) one of the dominant reliability challenges in on-chip interconnects. Accurate transient stress analysis is needed to identify wires susceptible to EM degradation, but applying physics-based solvers across many interconnects remains computationally expensive. This paper proposes a physics-guided transformer framework for fast EM stress prediction in multi-segment interconnect lines. The framework converts each line into geometry- and DC-aware segment tokens and uses transformer attention to capture line-level context. A lightweight query decoder then predicts stress at selected locations and time instants. The model is trained with an objective that combines normalized supervised regression, linewise relative- loss, and physics-guided continuity and terminal-flux terms. Experiments on IBM power grid benchmarks show that the proposed model achieves relative- error below 8% and reaches up to speedup compared with the matrix exponential solver.
Index Terms—Electromigration, transformers, hydrostatic stress assessment, multi-segment interconnects.
I. INTRODUCTION
Electromigration (EM) has become one of the greatest concerns for the semiconductor industry in recent years. EM failures constitute an inevitable consequence of the rising current demands and the smaller process geometries, and may lead to a number of open- or short-circuits in on-chip interconnects [1]. Classical criteria such as Black's equation and the Blech criterion [2], [3] provide useful lifetime guidelines, while physics-based solvers based on Korhonen-type stress diffusion models provide more accurate transient stress solutions [4]–[7]. However, repeatedly solving the transient problem over many interconnect lines and reliability time instants remains computationally expensive.
Learning-based EM predictors address this cost by learning the mapping from interconnect features to stress response. Graph-based models and hierarchical physics-informed neural networks have shown promising speedups [8], [9]. However, EM stress prediction remains challenging because the stress response is influenced by both local segment properties and the broader context of the interconnect line.
In this work, we propose a physics-guided transformer framework for fast EM stress prediction in multi-segment interconnect lines. The main contributions are: (i) a transformer-based predictor for variable-length line sequences; (ii) DC-aware segment representations and a query-based decoder for stress prediction at multiple time instants; (iii) a physics-guided objective with continuity and terminal-flux regularization; and (iv) evaluation on IBM power grid benchmarks, demonstrating low stress-prediction error and large speedups over the matrix EM exponential solver [7].
where is the hydrostatic stress, is the position along the segment, is time, and is the segment current density. The coefficients are given by and , with denoting the atomic diffusion coefficient. Here, is the elementary charge, is the metal resistivity, is the effective charge number, is the atomic volume, is the bulk modulus, is Boltzmann's constant, is the absolute temperature, is the pre-exponential diffusivity constant, and is the activation energy. term represents the EM driving contribution, while represents the opposing back-stress contribution. Their balance determines the net atomic flux and the resulting stress buildup along the interconnect.
In Cu dual-damascene (Cu DD) technology, diffusion barriers confine atomic transport within individual metallization layers, effectively suppressing mass exchange across adjacent layers [10]. As a result, large interconnect networks such as power grids can be analyzed layer by layer. Within each layer, the routing topology can be decomposed into multi-segment interconnect lines composed of wire segments and vias [11]. Each segment carries a locally defined current density, making
This work was funded under the COIN-3D project, which has received funding from the European Union’s Horizon Europe research and innovation program under grant agreement No. 101159667.

Figure 1: Architecture and training flow of the proposed physics-guided transformer framework.
segment-level physical and electrical features central to EM stress prediction.
Within such multi-segment interconnect lines, the stress at a queried point depends not only on local segment properties, including geometry and electrical quantities, but also on the surrounding segment sequence and terminal behavior. Consequently, effective EM prediction requires models that capture both local segment-level features and broader line-level context.
III. PHYSICS-GUIDED TRANSFORMER FRAMEWORK
In this section, we present the proposed physics-guided transformer framework for fast EM stress prediction in multi-segment interconnect lines. The overall flow is shown in Fig. 1. Our methodology consists of four main stages: (i) each extracted interconnect line is represented as a sequence of segment-level physical and electrical features, (ii) reference stress labels are generated at selected space-time query points, (iii) a transformer encoder learns contextual representations of all segments in the line, and (iv) a query-based decoder predicts the EM stress under a combined supervised and physics-guided training objective.
A. Feature construction and reference labels
Each interconnect line is represented as an ordered sequence of K segments. This representation preserves the physical ordering of the line and naturally supports different numbers of segments. For segment k, we construct an input token from normalized geometry, line position, and DC electrical quantities,
where is the normalized segment length, is the relative segment position within the line, is the signed segment current, is the clipped and normalized current, and are the segment resistance and voltage drop, and and are the total line resistance and voltage drop. These DC-derived features provide the model with the dominant current-flow information that drives EM stress buildup.
Reference stress labels are generated using the matrix exponential EM solver [7]. For each sampled location x along a segment and aging time t, the solver returns the reference stress label . This label-generation procedure supports N discrete reliability time instants sampled from the lifetime interval [0, 20] years.
B. Transformer architecture for EM stress prediction
The segment tokens are first projected to a hidden dimension and combined with positional encodings to form the input sequence to the transformer encoder. Each encoder block consists of multi-head self-attention (MHA) followed by a position-wise feed-forward network (FFN), with residual connections and layer normalization applied around both sublayers. Self-attention allows each segment to aggregate information from all other segments in the same line, which is important because EM stress at a point depends not only on the local current but also on the surrounding segment configuration and terminal behavior. After L encoder layers, the model produces contextual segment embeddings
where summarizes both the local features of segment k and the line-level context.
Stress prediction is carried out by a local query decoder. For a query point on segment k, the decoder combines the contextual embedding with a query vector . This vector encodes the normalized local coordinate within the segment and the selected aging time. The concatenated representation is then passed through a two-hidden-layer MLP with GELU activations and a final linear layer to produce the scalar stress prediction,
where denotes the learnable decoder.
This design separates line-level context extraction from pointwise stress evaluation. The transformer learns how segments interact along the line, while the decoder evaluates stress at arbitrary sampled locations and time instants.
C. Physics-guided objective
The predictor is trained with a compound objective that combines normalized supervised regression with line-level and boundary-aware physical regularization:
Let i index a line, q index a valid query point on that line, and denote the number of valid queries. The reference stress is denoted by and the predicted stress by . To improve training stability across benchmarks with different stress magnitudes, the supervised regression term is computed on normalized stresses, , , where and denote the training-set stress offset and scale, respectively. The normalized MSE term is calculated as:
In addition to pointwise fitting, we include a linewise relative- term so that full stress profiles are optimized as line-level objects:
where is the minibatch and prevents near-zero-stress lines from dominating the objective. The continuity term penalizes stress mismatch at internal segment interfaces,
where denotes the set of internal interfaces between adjacent segments, indexes the segment position within line , and and correspond to the right endpoint of segment and the left endpoint of segment , respectively. Finally, the terminal-flux term regularizes the predicted stress slope at the two blocking terminals,
where contains the left and right terminal segments, indexes a terminal segment of line , and and denote its current density and length. In implementation, the derivative is approximated with a short finite difference near each endpoint.
D. Hyperparameter search
We use Optuna [12] for hyperparameter selection, with validation relative- error as the search objective. For an evaluation set , this metric is defined as:
The tuned parameters include the transformer width, number of encoder layers, decoder hidden dimension, learning rate, batch size, and the physics-loss weights. Promising trials are trained for up to 600 epochs with periodic validation and pruning of unpromising configurations. After selection, the best configuration is evaluated on benchmark lines that were not used for supervised training.
IV. EVALUATION
A. Experimental setup
We evaluate the proposed model on interconnect lines extracted from IBM power grid benchmarks. For each line, stress labels are generated with the reference solver [7]. The evaluation is performed at three reliability time instants, years, and the reported accuracy metrics are averaged over these time points. All training, hyperparameter optimization, and inference experiments were run on a Linux PyTorch server equipped with an NVIDIA RTX 6000 Ada Generation GPU. Across the IBM benchmarks, Optuna [12] selected encoder hidden dimensions , 2-4 MHA/FFN layers, decoder hidden dimensions , batch sizes , and learning rates in .
Table I: IBM line-dataset statistics.
| Benchmark | Total lines | Train/all (%) | Max seg. | Mean seg. | Max current (Pa) |
|---|---|---|---|---|---|
| IBM1 | 4160 | 30 | 55 | 7 | |
| IBM2 | 1202 | 60 | 236 | 104 | |
| IBM3 | 17513 | 23 | 965 | 47 | |
| IBM4 | 26302 | 15 | 572 | 35 | |
| IBM5 | 6483 | 62 | 577 | 166 | |
| IBM6 | 23595 | 41 | 1010 | 69 |
For every benchmark, the generated stress labels and the train/test split are cached once and reused across all training runs. This avoids rerunning the reference solver during model selection and makes the comparisons reproducible. For supervised learning, we select a compact representative subset from each IBM benchmark. The subset is chosen to represent the benchmark's line population while reducing the amount of reference data required for supervised training. The remaining extracted lines are held out from supervised training and used only for evaluation. Table I summarizes the extracted-line statistics for each benchmark, where the Train/all column denotes the percentage of extracted lines used for supervised training.
B. Representative-subset results
We report relative- error, root-mean-square error (RMSE), and mean absolute error (MAE). Relative- measures the normalized stress-profile error, while RMSE and MAE report absolute stress deviations in pascals. Table II summarizes the accuracy of the proposed model on the representative IBM subsets. Across all six benchmarks, the test relative- remains below 8%, showing that the selected training lines capture the dominant stress behavior of the extracted line population. The train and test relative- values are also close for most benchmarks, which indicates that the proposed model does not simply memorize the supervised subset. The strongest relative accuracy is obtained on IBM5 and IBM6, while IBM2 and IBM3 remain the most challenging cases due to their larger structural variation and wider stress-scale range. This is also reflected in the absolute metrics, where IBM3 exhibits larger RMSE and MAE even though its relative error remains comparable to the other benchmarks.
Table II: Evaluation results for the IBM line datasets summarized in Table I.
| Benchmark | Train rel- | Test rel- | Test RMSE (Pa) | Test MAE (Pa) |
|---|---|---|---|---|
| IBM1 | 7.3 | 6.8 | ||
| IBM2 | 6.1 | 7.0 | ||
| IBM3 | 5.8 | 7.8 | ||
| IBM4 | 5.2 | 5.7 | ||
| IBM5 | 4.4 | 3.7 | ||
| IBM6 | 3.8 | 4.2 |

Figure 2: Predicted-versus-ground-truth stress comparison on representative IBM test cases.

Figure 3: Stress evolution along a 110-segment interconnect for multiple time points.
The prediction quality is illustrated in Fig. 2 by comparing the model outputs with the reference stresses. The close alignment of the scatter points with the ideal diagonal shows that the proposed model preserves the stress scale across different IBM benchmarks, despite their different line lengths and stress ranges. A complementary profile-level view is shown in Fig. 3 for a representative 110-segment interconnect, where the predicted curves track the reference solution across multiple time points and reproduce the dominant stress peaks, including localized variations near segment transitions.
C. Runtime comparison
Table III compares the inference runtime of the trained model and the reference solver. To approximate a worst-case runtime setting, both methods are evaluated on the 10 largest extracted lines of each IBM benchmark, and the table reports the average runtime over these cases. For the proposed method, the measured time corresponds to a forward pass of the trained model, while the reference time corresponds to computing the reference stress solution for the same line. Training and hyperparameter search are offline one-time costs and are therefore not included in this per-line comparison.
Table III: Average runtime comparison over the 10 largest extracted lines of each IBM benchmark.
| Benchmark | Golden (s/line) | Proposed (s/line) | Speedup |
|---|---|---|---|
| IBM1 | 0.019 | 367.95x | |
| IBM2 | 0.139 | 2459.68x | |
| IBM3 | 0.350 | 406.24x | |
| IBM4 | 0.222 | 712.86x | |
| IBM5 | 0.224 | 1675.76x | |
| IBM6 | 0.389 | 706.53x |
This setting reflects the intended deployment use case, where the trained model is reused to evaluate many new interconnect lines. The largest acceleration is observed on IBM2, with up to speedup. Even in the least favorable case, IBM1, the proposed model remains more than two orders of magnitude faster than the reference solver.
V. CONCLUSION
This paper presented a physics-guided transformer framework for fast EM stress prediction in multi-segment interconnect lines. The model encodes each line as geometric and DC-aware segment tokens and uses a query decoder to predict stress at selected locations and time instants. To improve the physical consistency of the predicted stress profiles, the training objective includes continuity and terminal-flux terms. Experiments on IBM power-grid benchmarks show that the model achieves test relative- error below 8%, while providing an average speedup of over the matrix exponential solver. Future work will extend the framework to interconnect-tree topologies and investigate adaptive selection of samples for label generation.
REFERENCES
[1] C.-C. Yang et al., “Microstructure modulation for resistance reduction in copper interconnects,” in In Proc. of the International Interconnect Technology Conference (IITC), 2017, pp. 1–3.
[2] J. R. Black, “Electromigration—a brief survey and some recent results,” IEEE Trans. on Electron Devices (TED), vol. 16, no. 4, pp. 338–347, 1969.
[3] I. A. Blech, “Electromigration in thin aluminum films on titanium nitride,” Journal of Applied Physics, vol. 47, no. 4, pp. 1203–1208, 1976.
[4] M. A. Korhonen, P. Borgesen, K. N. Tu, and C.-Y. Li, “Stress evolution due to electromigration in confined metal lines,” Journal of Applied Physics, vol. 73, no. 8, pp. 3790–3799, 1993.
[5] C. Cook, Z. Sun, E. Demircan, M. D. Shroff, and S. X.-D. Tan, “Fast electromigration stress evolution analysis for interconnect trees using krylov subspace method,” IEEE Trans. on Very Large Scale Integration (VLSI) Systems, vol. 26, no. 5, pp. 969–980, 2018.
[6] H.-B. Chen, S. X.-D. Tan, J. Peng, T. Kim, and J. Chen, “Analytical modeling of electromigration failure for vlsi interconnect tree considering temperature and segment length effects,” IEEE Trans. on Device and Materials Reliability (TDMR), vol. 17, no. 4, pp. 653–666, 2017.
[7] P. Stoikos, G. Floros, D. Garyfallou, N. Evmorfonoulos, and G. Stamoulis, “A fast semi-analytical approach for transient electromigration analysis of interconnect trees using matrix exponential,” in In Proc. of the Asia and South Pacific Design Automation Conference (ASP-DAC), 2023, pp. 1–6.
[8] W. Jin, L. Chen, S. Sadiqbatcha, S. Peng, and S. X.-D. Tan, “Emgraph: Fast learning-based electromigration analysis for multi-segment interconnect using graph convolution networks,” in In Proc. of the Design Automation Conference (DAC), 2021, pp. 919–924.
[9] L. Chen, H. Zhao, W. Jin, and S. X.-D. Tan, “Hierpinn-em: Fast learning-based electromigration analysis for multi-segment interconnects using hierarchical physics-informed neural network,” in In Proc. of the International Conference on Computer-Aided Design (ICCAD), 2022, pp. 1–9.
[10] L. Zhang et al., “Cap layer and grain size effects on electromigration reliability in cu/low-k interconnects,” in In Proc. of the International Interconnect Technology Conference (IITC), 2010, pp. 1–3.
[11] W.-H. Chang, M. C.-T. Chao, and S.-H. Chen, “Practical routability-driven design flow for multilayer power networks using aluminum-pad layer,” IEEE Trans. on Very Large Scale Integration (VLSI) Systems, vol. 22, no. 5, pp. 1069–1081, 2014.
[12] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama, “Optuna: A next-generation hyperparameter optimization framework,” in In Proc. of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (KDD), 2019, pp. 2623–2631.