Automatic Error Detection in Integrated Circuits Image Segmentation: A Data-Driven Approach

Zhikang Zhang, Bruno Machado Trindade, Michael Green, Zifan Yu, Christopher Pawlowicz, Fengbo Ren

TL;DR

This paper introduces the first data-driven approach to automatically detect errors in segmented images of integrated circuits (ICs). By adapting existing image classification and translation techniques, the authors achieve high accuracy in identifying wire and via segmentation errors, significantly speeding up a critical bottleneck in IC reverse engineering.

What Problem Does This Paper Address?

Modern integrated circuits (ICs) are incredibly complex, with nanoscale structures that demand high precision. When performing reverse engineering on these ICs, a crucial step is segmenting images (often from Scanning Electron Microscopes, SEMs) to identify components like wires and vias. However, the quality of SEM images can be compromised by various factors (contamination, improper exposure, etc.), leading to segmentation errors. Traditionally, human experts meticulously review these segmentations, which is a time-consuming and laborious process, especially given the thousands of images generated per IC. This manual inspection is a major bottleneck for large-scale industrial applications. This paper aims to automate this error detection process.

Methods

The authors tackle two types of segmentation errors: wire errors ("open" or "short") and via errors ("miss" or "extra").

  • Wire Error Detection: This is framed as an image classification problem. They use a Convolutional Neural Network (CNN), specifically ResNet, to classify image patches as either containing an error or not. To improve performance, they introduce a pre-processing step that extracts "horizontal and vertical extension values" for each pixel, creating additional feature maps. The original wire segmentation image is then stacked with these feature maps to form an RGB input for the CNN. Post-processing involves analyzing overlapping patch predictions to localize errors more precisely.
  • Via Error Detection: This is treated as an image translation problem, using the Pix2pix framework. The goal is to translate the original SEM image (oSEM) and its wire segmentation (W) into a reconstructed SEM image (rSEM) that should represent the correct via and wire structure. Errors are then detected by comparing the rSEM with the oSEM. A key pre-processing step involves dynamically encoding via and wire segmentation information based on percentile pixel values from the oSEM, accounting for variations across different SEM images. Errors are identified by analyzing the differences between the oSEM and rSEM, distinguishing between "extra" and "miss" vias.

Datasets

The authors collected a dataset of 39 SEM images from various hardware components (microprocessors, RF transceivers, etc.). These images were processed at a patch level (256x256) for CNN input. They used existing wire segmentation sets (W0, W1, W2, W3) and via segmentation sets (V0, V1) for training and evaluation. W0 was manually corrected, while W1, W2, W3, and V1 were generated using different settings from existing methods [4, 12].

Key Insights and Ideas

  • Adapting Existing ML for a Niche Problem: The core idea is that powerful, general-purpose machine learning techniques like image classification (ResNet) and image translation (Pix2pix) can be effectively adapted for the specific, challenging domain of IC SEM image error detection with appropriate pre- and post-processing.
  • Feature Engineering Matters: For wire error detection, creating explicit "extension" features for pixels significantly boosted performance, suggesting that domain-specific feature engineering can complement deep learning architectures.
  • Data Imbalance is a Challenge: The wire error detection dataset was highly imbalanced (only 3% positive samples), requiring the use of weighted cross-entropy loss during training.
  • Low-Level Features are Key: For wire error detection, deeper network structures didn't necessarily improve performance, indicating that the task relies more on local, low-level image features rather than high-level semantic understanding.
  • Pre-training Not Always Necessary: Pre-training a wire error detection model on ImageNet did not yield better results than training from scratch, further supporting the idea that the task is heavily reliant on low-level features specific to SEM images.

Key Results

  • Wire Error Detection: Achieved a recall/precision of 0.92/0.93 using ResNet-18 trained on a large dataset with wire segmentation, V, and H features.
  • Via Error Detection: Achieved a recall/precision of 0.96/0.90.
  • These results demonstrate that the proposed approach can effectively detect segmentation errors without human intervention.

Limitations and Future Work

  • Low Contrast Issues: The paper acknowledges a limitation where low contrast between vias and wires can lead to false positives in via error detection. This was observed in one specific image where estimates of via and wire pixel values became too close.
  • Future Work: The authors suggest tackling the problem of low-contrast scenarios in future work.

Summary updated

BibTeX
@inproceedings{zhang2022automatic,
  author = {Zhikang Zhang and Bruno Machado Trindade and Michael Green and Zifan Yu and Christopher Pawlowicz and Fengbo Ren},
  title = {{Automatic Error Detection in Integrated Circuits Image Segmentation: A Data-Driven Approach}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
}
Figure