TL;DR
TorchResist is an open-source, differentiable photoresist simulator that bridges the gap between overoversimplified threshold models and uninterpretable deep learning "black boxes" in computational lithography. By implementing classical analytical physics equations within a fully differentiable PyTorch framework, it achieves sub-nanometer edge placement accuracy with fewer than twenty interpretable parameters, enabling seamless GPU-accelerated co-optimization for semiconductor manufacturing.
What Problem Does This Paper Address?
In semiconductor manufacturing, optical lithography is a foundational but highly expensive process used to print microscopic circuit patterns onto silicon wafers. To minimize costs and optimize designs before physical fabrication, engineers rely heavily on lithography simulators.
However, accurately modeling the behavior of the photoresist—the light-sensitive material deposited on the wafer—remains a major bottleneck. Traditional threshold-based simulators are computationally fast but lack the capacity to model complex, nanoscale physical-chemical interactions accurately. On the other end of the spectrum, recent deep-learning-based models achieve high accuracy but act as uninterpretable black boxes, require massive training datasets, and generalize poorly to unseen circuit layouts.
TorchResist addresses this dilemma by providing a "white-box" simulator that is both physically rigorous and fully differentiable.
Methods
TorchResist uses an analytical approach grounded in the actual physics and chemistry of the photoresist process, which typically includes exposure, post-exposure bake (PEB), and development.
- Exposition Model: It applies the Lambert-Beer law and Dill’s classical equations to model how light intensity degrades the chemical inhibitor within the resist layer over time.
- Development Model: It utilizes a bulk development model to determine the rate at which the exposed resist dissolves when exposed to a chemical developer. The final development path over time is solved using fast-marching level-set methods.
- Differentiable Parameter Optimization: Crucially, every step of this analytical formulation is implemented using PyTorch, making the entire simulator differentiable. To calibrate the model's parameters against ground-truth data, the authors bypass non-differentiable threshold functions by employing a smooth Sigmoid approximation and optimizing via Binary Cross-Entropy (BCE) loss using the Adam optimizer.
Because the physics equations act as a strong regularizer, the system requires fewer than 20 trainable, highly interpretable parameters.
Datasets
The authors evaluated TorchResist using LithoBench, a well-known layout pattern benchmark for computational lithography. Specifically, they focused on the MetalSet subset, which is generated from the ICCAD-13 benchmark.
- The dataset contains 16,472 tiles, each measuring $2048 \times 2048 \text{ nm}^2$.
- For the experiments, the central region of each tile ($812 \times 756 \text{ nm}^2$) was cropped.
- Commercial tools were used to generate the input grayscale aerial images and the target binary wafer resist images at a resolution of 7nm per pixel.
- The dataset was split into 20% for calibration (training) and 80% for testing.
Key Insights and Ideas
- Physics as a Regularizer: Instead of forcing a neural network to learn the laws of physics from scratch using millions of parameters, TorchResist embeds the physics directly into the architecture. This drastically reduces the parameter space (to $<20$ parameters), preventing overfitting and ensuring robust generalization on unseen data.
- Scale Robustness: The model parameters remain stable across different spatial resolutions. Simulating at a coarser resolution ($7\text{ nm/pixel}$) yields nearly identical results to a fine resolution ($1\text{ nm/pixel}$), allowing researchers to trade minimal precision ($0.17\%$ pixel difference) for massive speedups during early design phases.
- Downstream Co-Optimization: Because TorchResist is fully differentiable, it can be natively integrated into larger gradient-based optimization loops, such as Source Mask Optimization (SMO) and Inverse Lithography Technology (ILT).
Key Results
TorchResist was compared against two standard baselines: Fixed Threshold and Variable (Adaptive) Threshold methods.
- Accuracy: TorchResist significantly reduced errors across all metrics:
- Pixel Difference: Reduced to 0.22% (compared to 0.59% for Fixed and 0.49% for Variable thresholds).
- Mean Edge Placement Error (EPE): Dropped to 0.73 nm (compared to 1.52 nm and 1.21 nm for the baselines).
- Maximum EPE: Improved to 2.87 nm (down from 4.45 nm and 3.95 nm).
- Efficiency: Thanks to GPU acceleration, calibrating the parameters on the training set takes approximately 1 hour on a single NVIDIA A100 GPU. At inference time, processing a $2\mu\text{m} \times 2\mu\text{m}$ patch takes just 0.04 seconds at 7nm resolution.
Limitations and Future Work
While the authors demonstrate excellent performance, a few limitations and directions are apparent:
- Dependence on Lithography Simulators: TorchResist simulates the photoresist behavior given an input aerial image. Its accuracy is inherently bounded by the quality of the upstream optical lithography model providing that image.
- Advanced Node Physics: As semiconductor manufacturing pushes deeper into sub-2nm regimes, stochastic effects (like photon shot noise and acid line-edge roughness) become dominant. Future iterations may need to incorporate stochastic modeling alongside the deterministic analytical equations presented here.
Summary updated