Abstract
Accurate segmentation and measurement of lithography scanning electron microscope (SEM) images are crucial for ensuring precise process control, optimizing device performance, and advancing semiconductor manufacturing yield. Lithography segmentation requires pixel-level delineation of groove contours and consistent performance across diverse pattern geometries and process window. However, existing methods often lack the necessary precision and robustness, limiting their practical applicability. To overcome this challenge, we propose LithoSeg, a coarse-to-fine network tailored for lithography segmentation. In the coarse stage, we introduce a Human-in-the-Loop Bootstrapping scheme for the Segment Anything Model (SAM) to attain robustness with minimal supervision. In the subsequent fine stage, we recast 2D segmentation as 1D regression problem by sampling groove-normal profiles using the coarse mask and performing point-wise refinement with a lightweight MLP. LithoSeg outperforms previous approaches in both segmentation accuracy and metrology precision while requiring less supervision, offering promising prospects for real-world applications.
Introduction
In semiconductor manufacturing, the lithography process prints intricate circuit patterns onto silicon wafers. Engineers utilize Scanning Electron Microscopes (SEM) to inspect these patterns, where accurate segmentation—the precise identification of "groove" boundaries—is essential for calculating critical quality metrics like Line Edge Roughness (LER).
Current deep learning approaches face two primary challenges:
- The Annotation Bottleneck: High-quality segmentation models typically require thousands of pixel-perfect manual annotations, which are labor-intensive and costly to produce.
- The Precision Gap: Standard 2D architectures, such as U-Nets, often produce smoothed edges. In nanometer-scale metrology, this smoothing obscures the fine-grained roughness details necessary for predicting chip performance.
Methodology: The LithoSeg Framework
LithoSeg addresses these hurdles through a two-stage coarse-to-fine approach.
Stage 1: Coarse Segmentation via Bootstrapping
Rather than training from scratch, LithoSeg leverages the pre-trained Segment Anything Model (SAM). A "Human-in-the-Loop Bootstrapping" scheme is employed to adapt SAM to the specific domain of SEM images:
- Prompting: Bounding boxes derived from circuit layout designs serve as initial prompts for SAM.
- Curation: Instead of manual labeling, human operators simply filter out "bad" masks generated by the model. This selection process is significantly faster than manual mask creation.
- Iterative Fine-tuning: The model is iteratively fine-tuned on curated "good" masks, progressively improving its ability to handle noisy SEM data without extensive manual supervision.
Stage 2: Fine Segmentation via Point-Wise Refinement
To overcome the smoothing limitations of 2D grids, LithoSeg treats boundary refinement as a series of 1D regression tasks.
- Profile Extraction: 1D profiles (cross-sections) are sampled along the normal direction of the coarse boundary.
- MLP Refinement: A lightweight Multi-Layer Perceptron (MLP) analyzes these 1D slices to predict the precise displacement required to align the coarse boundary with the true edge.
- Metrology-Grade Precision: This physics-informed approach captures high-frequency roughness details that are typically lost in standard 2D segmentation.
Experimental Results
The framework was evaluated using a real-world production dataset consisting of 1024 × 1024 resolution SEM scans paired with circuit layouts. The test set was categorized into four difficulty levels: Easy, Medium, Hard, and Extreme.
Performance and Efficiency
- Accuracy: LithoSeg achieved a high Intersection over Union (IoU) of 98.13% on the Easy set and maintained a robust 89.63% on the Extreme set (which includes sub-optimal lithography parameters). It consistently outperformed supervised baselines like U-Net and SegViT.
- Metrology Precision: In measuring Line Edge Roughness (LER), LithoSeg demonstrated significantly lower error rates than competing models, confirming its utility for industrial-grade inspection.
- Training Speed: The total training time for LithoSeg was approximately 13 minutes and 18 seconds, whereas SegViT required over 1.5 hours. This efficiency makes it highly suitable for high-throughput manufacturing environments.
Conclusion
LithoSeg demonstrates that combining large-scale pre-trained models with domain-specific 1D refinement can achieve state-of-the-art precision in semiconductor metrology. By replacing manual mask creation with a curation-based bootstrapping strategy and recasting 2D segmentation as 1D regression, the framework offers a scalable and robust solution for high-precision lithography inspection.
Reference: He, X., et al. (2025). LithoSeg: A Coarse-to-Fine Framework for High-Precision Lithography Segmentation. arXiv:2511.12005v1.
Summary updated