Abstract
In the Reverse Engineering and Hardware Assurance domain, a majority of the data acquisition is done through electron microscopy techniques such as Scanning Electron Microscopy (SEM). However, unlike its counterparts in optical imaging, only a limited number of techniques are available to enhance and extract information from the raw SEM images. In this paper, we introduce an algorithm to segment out Integrated Circuit (IC) structures from the SEM image. Unlike existing algorithms discussed in this paper, this algorithm is unsupervised, parameter-free and does not require prior information on the noise model or features in the target image making it effective in low quality image acquisition scenarios as well. Furthermore, the results from the application of the algorithm on various structures and layers in the IC are reported and discussed.
Introduction
Reverse Engineering (RE) of Integrated Circuits (ICs) is a critical process for hardware assurance, Trojan detection, and intellectual property litigation. Scanning Electron Microscopy (SEM) serves as the primary tool for this task, but it presents a significant operational bottleneck. High-quality, low-noise SEM scans can take over 30 days to process for modern chips. To accelerate this workflow, engineers often utilize lower-quality scans, which are unfortunately plagued by noise from topography, manufacturing defects, and electron transmigration.
Existing segmentation methods struggle in these low-quality scenarios. Standard filters often require precise noise models, while modern deep learning approaches necessitate massive amounts of manually labeled data—a resource-intensive luxury in the hardware domain. This paper introduces an automated approach designed to function effectively on "bad" images without human intervention.
Methodology
The proposed Histogram-based Auto Segmentation (HAS) approach operates in three main stages:
- Filtering & Optimization: Instead of standard smoothing, the algorithm uses a median filter convolved in a row-raster fashion. It employs a "simple merge" optimization to calculate a threshold for merging kernel blocks, effectively extracting a "corrected" histogram that represents underlying material properties rather than acquisition noise.
- Peak Finding: The core innovation is an accumulator-based algorithm that identifies significant peaks in the intensity histogram. These peaks correspond to the distinct materials—such as the silicon substrate, metal interconnects, or polysilicon—present in the IC.
- Decision Boundaries: Once peaks are identified, the algorithm automatically determines the intensity thresholds required to separate materials. It offers two modes: a distance-based approach using Euclidean distance or a histogram-based approach that identifies the point of minimum frequency between adjacent peaks.
Experimental Evaluation
The method was evaluated using SEM images of a SmartCard IC, focusing on three distinct layers common in IC architecture:
- Doped Region: Prone to intensity variations but generally the most straightforward to segment.
- Polysilicon Region: The most challenging due to high noise and complex feature shapes.
- Metal Interconnect Layer: Typically high-contrast and easier to resolve.
Discussion
The algorithm leverages the physics-based fact that different materials interact with electrons in predictable ways, naturally creating distinct "peaks" in an intensity histogram. Raw SEM histograms often appear as a single, inseparable mass; HAS uses row-by-row optimization to suppress noise before peak detection, "unmasking" hidden material distributions. Unlike Anisotropic Diffusion (AD) filters, which require noise level estimates, this method is largely parameter-free. The only optional parameter is the size of the smallest feature (like a via), which can be easily calculated from the raw image.
Results
The HAS method was compared against standard techniques, including Anisotropic Diffusion, Curvature, Gaussian, and Median filters. Quantitative performance was measured using Manhattan distance to evaluate the separation between foreground and background distributions. HAS consistently outperformed all other filters across all three IC layers.
Qualitatively, the algorithm successfully extracts structure shapes even when the raw image exhibits significant intensity variations across the frame. In the challenging polysilicon layer, the authors found that slight over-segmentation is actually preferable to under-segmentation in RE workflows to preserve functional details.
Conclusion
While the polysilicon layer remains difficult to segment perfectly due to extreme noise levels, HAS performs significantly better than existing filters. Future work will involve refining the optimization step to handle even lower-quality images and extending the method's application to Back Scattered Electron (BSE) images, potentially reducing the time required for SEM data acquisition even further.
Summary updated