LMLitho: A Large Forward Model for Source–Mask Relationships
- Paper Information
- Executive Summary
- Background & Motivation
- Physics & Mathematical Foundations
- Proposed Method / Model Architecture
- Figures & Visual Explanation
- Experiments & Results
- Critical Analysis & Limitations
- Practical Applications to GeoSignal / OPC
- Key Takeaways & References
Paper Information
| Item | Verified information |
|---|---|
| Title | LMLitho: A Large Vision Model-Driven Lithography Simulation Framework |
| Authors | Zhen Wang, Hongquan He, Tao Wu, Xuming He, Qi Sun, Cheng Zhuo, Bei Yu, Jingyi Yu, Hao Geng |
| Affiliations | ShanghaiTech University; Qi Sun/Cheng Zhuo: Zhejiang University; Bei Yu: The Chinese University of Hong Kong |
| Publication | ICCAD 2025 |
| Sources | DOI · Author PDF |
| Official repository | LMLitho/LMLitho: README and some data archives checked; model implementation/checkpoints not verified |
| Task | Source-conditioned forward resist simulation; mask-generator training with a frozen simulator |
Executive Summary
One sentence: separate mask and illumination encoders are joined by cross-attention to predict resist images with a large vision model.
Unlike fixed-source mask-to-resist models, it explicitly represents how changing illumination changes the print from the same mask. Large simulated datasets train source–mask–resist relationships, followed by fine-tuning for new nodes. Useful ideas are preserving full source maps instead of one sigma value and using a frozen surrogate for inverse training. Cross-attention is not an exact interference equation.
Background & Motivation
In Abbe imaging, source positions and weights change the mask-spectrum combinations admitted by the pupil. Annular, quasar and multipole illumination can give different responses to one layout. Mask-only models learn mappings tied to their training source.
Small convolutional receptive fields limit distant context. ViT attention directly connects patches across an image, but global receptive field is not identical to optical support and raises computation/data requirements.
Physics & Mathematical Foundations
Cross-attention through coordinates and shapes
For \(N\) mask patches, \(N_s\) source tokens and head dimension \(d\),
\[\begin{aligned} Q&\in\mathbb R^{N\times d},\\ K&\in\mathbb R^{N_s\times d},\quad V\in\mathbb R^{N_s\times d_v},\\ A&=\operatorname{softmax}\left(\frac{QK^T}{\sqrt d}\right),\\ Y&=AV. \end{aligned}\]\(A\) has shape \(N\times N_s\) and \(Y\) is \(N\times d_v\). Each mask query learns source-token relevance. Scaling by \(\sqrt d\) limits growth of dot-product variance with dimension. Latent weights/embeddings are dimensionless, not directly optical quantities. Equation (5) uses mask queries and source keys/values; standard per-head projections make dimensions compatible without requiring equal raw embedding dimensions.
Attention and optics: connection and distinction — independent analysis
Abbe source weights are incident intensities independent of the mask. Learned attention weights depend on mask queries and source keys, are positive and row-normalized, and do not explicitly carry complex interference phase. Attention is an architectural analogy, not an identical Abbe source sum.
Resist supervision and inverse gradients
For predictions \(P_p\in[0,1]\) and labels \(G_p\in\{0,1\}\), BCE measures foreground/background mismatch, Dice overlap and SSIM local structure. Equation (6) combines \(\alpha L_{dice}+\beta L_{BCE}+\gamma L_{SSIM}\), not an optical PDE residual. Overlap loss helps sparse targets but cannot replace EPE for missing small vias or shifted edges.
Proposed Method / Model Architecture
Section III/Figure 5 follows Mask Encoder → Exposure Attention with Source Encoder → Resist Decoder. The mask path uses nonoverlapping patches, positional embeddings, ViT and local residual refinement. The source path uses residual blocks, self-attention and downsampling; the decoder combines edge refinement with global attention.
Dividing \(M\in\mathbb R^{H\times W}\) into \(P\times P\) patches gives \(N=(H/P)(W/P)\) and embeddings \(N\times D_m\). Source and mask images occupy different coordinate spaces; their pixel spacings and patch indices are not necessarily aligned.
Algorithm 1/Figure 7 freezes the Source Encoder after pretraining and fine-tunes the remaining modules. Section IV specifies four heads, mask depth four, source/decoder depth two, approximately 0.3B parameters and four H100 GPUs. Exact patch size, batch schedule and peak memory were not verified.
Physics-informed/guided assessment: source-preserving architecture and commercial-simulator supervision. Figure 11 trains a mask generator through a frozen LMLitho gradient. It does not impose Maxwell or resist-reaction equations as exact constraints.
Figures & Visual Explanation
The inventory links 13/13 main figures, using summaries and source locations rather than redistributed images. Red/gray meanings differ between Figures 8 and 9; follow each caption/text.
Complete main-paper figure inventory checked. Original-image redistribution permission was not verified; official or author source links are provided.
| Source figure | Caption summary / Topic | Verification status | Source and caption location |
|---|---|---|---|
| Fig. 1 | Three simulation paradigms | Text/caption checked / Source link and explanation | Open source · p. 1 |
| Fig. 2 | Inside a Transformer encoder | Text/caption checked / Source link and explanation | Open source · p. 2 |
| Fig. 3 | Different references for OPC and forward EPE | Text/caption checked / Source link and explanation | Open source · p. 2 |
| Fig. 4 | Source families and layout examples | Text/caption checked / Source link and explanation | Open source · p. 3 |
| Fig. 5 | Mask/source encoders and resist decoder | Text/caption checked / Source link and explanation | Open source · p. 4 |
| Fig. 6 | ViT versus CNN receptive fields | Text/caption checked / Source link and explanation | Open source · p. 4 |
| Fig. 7 | Pretraining and fine-tuning | Text/caption checked / Source link and explanation | Open source · p. 5 |
| Fig. 8 | Resist prediction across sources | Text/caption checked / Source link and explanation | Open source · p. 6 |
| Fig. 9 | 20 nm fine-tuning across epochs | Text/caption checked / Source link and explanation | Open source · p. 8 |
| Fig. 10 | Forward mean EPE at two nodes | Text/caption checked / Source link and explanation | Open source · p. 8 |
| Fig. 11 | Training a mask generator through a frozen simulator | Text/caption checked / Source link and explanation | Open source · p. 8 |
| Fig. 12 | OPC L2, PVB and EPE comparisons | Text/caption checked / Source link and explanation | Open source · p. 8 |
| Fig. 13 | Commercial and LMLitho mask/resist details | Text/caption checked / Source link and explanation | Open source · p. 8 |
Fig. 1 — Three simulation paradigms
- Reading the image, subfigures and axes
- (a) Commercial optical+resist, (b) ML with small datasets, (c) source-aware LMLitho. Check marks express author assessments, not numerical axes.
- Reading order and supported claims
- Track supported source inputs and data scale; distinguish qualitative strengths from benchmark evidence.
- Independent OPC interpretation
- Account for training costs shifted ahead of inference.
Fig. 2 — Inside a Transformer encoder
- Reading the image, subfigures and axes
- Multihead attention, residual Add & Norm, feedforward and head concatenation. Q/K/V are unitless feature matrices.
- Reading order and supported claims
- Follow QK-transpose scores and weighted V sums. Feature normalization is distinct from optical energy conservation.
- Independent OPC interpretation
- Attention is not an interference equation.
Fig. 3 — Different references for OPC and forward EPE
- Reading the image, subfigures and axes
- (a) Target versus printed resist, (b) predicted versus ground-truth resist. Image-coordinate arrows mark edge distances.
- Reading order and supported claims
- Identify the reference contour first; identical units do not make the two errors equivalent.
- Independent OPC interpretation
- Forward contour accuracy differs from final mask-to-target fidelity.
Fig. 4 — Source families and layout examples
- Reading the image, subfigures and axes
- (a) Circular, annular, bull’s-eye, dipole, quasar and multipole; (b) seven typical layouts and CPU M1. Panel grids are not performance axes.
- Reading order and supported claims
- Separate angular illumination from wafer geometry; CPU clips provide more complex context than synthetic patterns.
- Independent OPC interpretation
- Consider source-family/layout-level holdouts to reduce repeated-pattern leakage.
Fig. 5 — Mask/source encoders and resist decoder
- Reading the image, subfigures and axes
- Mask supplies Q, source supplies K/V, then exposure attention and resist decoding. N1/N2/N3 label block depths.
- Reading order and supported claims
- Follow encoder and fusion paths; distinguish feature normalization and sampling from optical transfer.
- Independent OPC interpretation
- Source-aware representation is useful but does not exactly enforce physical source summation.
Fig. 6 — ViT versus CNN receptive fields
- Reading the image, subfigures and axes
- Global ViT and local CNN context, generated resist and ground truth on one mask. Receptive-field overlays describe network context.
- Reading order and supported claims
- Inspect erroneous connections and geometry beyond local context; read alongside Table III ablations.
- Independent OPC interpretation
- Quantitatively compare optical interaction diameter and effective receptive field.
Fig. 7 — Pretraining and fine-tuning
- Reading the image, subfigures and axes
- Training flow across mask/source/attention/resist modules. The source encoder is frozen during fine-tuning; the snowflake marks fixed parameters.
- Reading order and supported claims
- Separate frozen parameters from gradients passing to inputs, and identify modules that update.
- Independent OPC interpretation
- Recheck source freezing when optical conditions change.
Fig. 8 — Resist prediction across sources
- Reading the image, subfigures and axes
- Rows: (a) vias, (b) metal, (c) CPU M1. Columns: mask, annular, multipole, quasar. Gray predicted resist is overlaid with red commercial contours.
- Reading order and supported claims
- Hold the row’s mask fixed and inspect source-dependent shapes. Read contour gaps rather than only gray-region area.
- Independent OPC interpretation
- This changes illumination on one mask; it does not compare separately source-optimized masks.
Fig. 9 — 20 nm fine-tuning across epochs
- Reading the image, subfigures and axes
- (a) Epoch 1, (b) 9, (c) 17, (d) 25. Gray is commercial resist and red the model contour, unlike Figure 8.
- Reading order and supported claims
- Inspect shrinking reference gaps as training proceeds. Epochs are training passes, not inference iterations.
- Independent OPC interpretation
- The 20 nm transfer uses fine-tuning data; it is not zero-shot.
Fig. 10 — Forward mean EPE at two nodes
- Reading the image, subfigures and axes
- Horizontal EPE/nm axis, 28nm/20nm categories and LMLitho/DLS/DOINN legend. Lower mean contour distance is better.
- Reading order and supported claims
- Compare baselines within a node, not one combined ranking. The 28 nm 0.42/0.84/0.67 nm values also appear in the text.
- Independent OPC interpretation
- Subpixel means require interpolation/measurement conventions and are not worst-error bounds.
Fig. 11 — Training a mask generator through a frozen simulator
- Reading the image, subfigures and axes
- Target→generator→mask→frozen engine→resist→loss, with distinct forward/backward arrows.
- Reading order and supported claims
- Fixed engine parameters can still transmit mask-input derivatives.
- Independent OPC interpretation
- Reevaluate surrogate-designed masks with an independent reference.
Fig. 12 — OPC L2, PVB and EPE comparisons
- Reading the image, subfigures and axes
- DLS/DOINN/commercial tool/LMLitho categories; left axis L2/PVB [nm²], right EPE [nm], with different scales.
- Reading order and supported claims
- Do not compare heights across units directly. Final masks are evaluated commercially at dose ±3% and focus ±40 nm.
- Independent OPC interpretation
- Independent evaluation matters; do not invent digitized numbers from uncertain plot details.
Fig. 13 — Commercial and LMLitho mask/resist details
- Reading the image, subfigures and axes
- Four columns: commercial mask/resist and LMLitho mask/resist. Insets emphasize straight edges and corners.
- Reading order and supported claims
- Compare mask morphology separately from contours; attractive masks need not improve target fidelity.
- Independent OPC interpretation
- Selected-corner qualitative gains do not establish full-chip or wafer-CD superiority.
Supplementary coverage: Separate supplementary availability and total figure count were not verified.
Caption summaries and source locations are provided instead of reproducing full captions. The independently drawn diagrams on this page do not count toward original-figure coverage.
Experiments & Results
Table I lists 101,650 flexible-source pretraining samples, with CPU/metal/via test counts 150/750/300. Fixed-source training uses 3,435 samples and tests 25/90/50. Source maps are padded from 201×201 to 256×256. Mask/resist sampling is 1 nm²/pixel over 4 µm²/image, equivalent to 1 nm square-pixel pitch. Partial repository data differ from the paper’s full dataset.
| Matched evaluation | Baseline mIoU [%] | LMLitho mIoU [%] | Source |
|---|---|---|---|
| 28nm-S-CPU · Flexible source | Abbe 86.17 / Torch Litho 84.18 | 97.78 | Table II(a) |
| 28nm-CPU · Fixed annular source | DOINN 97.14 / DLS 96.46 | 98.12 | Table II(b) |
| 20nm-CPU · New-node training/fine-tuning | DOINN 96.10 / DLS 92.51 | 97.62 | Table IV |
Table III’s five-epoch ablation reports mIoU 94.62% for CNN+attention, 94.74% for ViT without source/decoder attention, 92.73% with both removed, and 96.32% for the full model. Check modified modules and training budgets rather than inferring contributions from one receptive-field visualization.
The baseline optical/resist models differ in scope from commercial labels; Table II(a) does not prove AI universally more accurate than physics. Table IV includes 20 nm fine-tuning after source-encoder freezing, so it is not zero-shot transfer.
Section IV-A compares approximately 0.12 s GPU inference with 15 s CPU commercial simulation after optical-model setup. A roughly 40-minute source setup is separate. Do not reinterpret the 120× claim as same-hardware algorithmic speedup or training-amortized end-to-end acceleration.
BenchOPC uses 3,000 training layouts and 25 tests, with final masks reevaluated commercially. Figure 12 PVB uses dose ±3% and defocus ±40 nm. Figure 10’s 28 nm mean forward EPE is 0.42 nm for LMLitho, 0.67 for DOINN and 0.84 for DLS. This compares predicted and golden forward contours, not optimized masks against inverse targets. Complete calibrated NA/wavelength settings and split leakage could not be fully reproduced from public evidence.
Critical Analysis & Limitations
Facts: separate source input, large simulated data, cross-node fine-tuning and frozen-engine inverse tests. Author claim: source-aware large vision models can lead toward lithography foundation models. Independent interpretation: source interpolation within training and extrapolation to a new optical process are different problems.
Independent calculation: 0.3B float32 weights alone need about 1.2 GB; this is not measured GPU memory. Optimizer states, activations and attention add training memory. Whether small ROIs beat cached Abbe depends on batching, source reuse and GPU access.
Freezing the source encoder may depend on limited optical changes. Similar source shape does not guarantee the same encoding remains appropriate after NA, aberration or resist changes. Matching commercial-simulator labels is distinct from wafer-metrology validation. Independent reevaluation of inverse masks is valuable, but average fidelity does not guarantee gradient accuracy, worst EPE or complete MRC.
Practical Applications to GeoSignal / OPC
- Source-conditioned prediction is a research direction beyond fixed-illumination examples.
- Source interpolation, process transfer and calibrated resist prediction are distinct goals.
See GeoSignal scope for public capabilities. These are research connections, not claims of implemented features.
Key Takeaways & References
- Explicit source input is a defining feature.
- Attention weights differ from physical source intensities.
- Forward and inverse EPE use different references.
- The 20 nm results follow fine-tuning.
- Separate CPU/GPU, setup and training costs in runtime claims.
- Frozen parameters can still pass input gradients.