[Paper Review] Are Adversarial Perturbations a Showstopper for ML-Based CAD? A Case Study on CNN-Based Lithographic Hotspot Detection
This paper demonstrates that CNN-based lithographic hotspot detectors in electronic CAD are vulnerable to semantically meaningful adversarial perturbations via strategically inserted sub-resolution assist features (SRAFs), achieving up to 99.7% attack success in misclassifying hotspot layouts as safe. It proposes adversarial retraining, which improves robustness by a factor of ~3 without sacrificing accuracy or inference overhead.
There is substantial interest in the use of machine learning (ML) based techniques throughout the electronic computer-aided design (CAD) flow, particularly those based on deep learning. However, while deep learning methods have surpassed state-of-the-art performance in several applications, they have exhibited intrinsic susceptibility to adversarial perturbations --- small but deliberate alterations to the input of a neural network, precipitating incorrect predictions. In this paper, we seek to investigate whether adversarial perturbations pose risks to ML-based CAD tools, and if so, how these risks can be mitigated. To this end, we use a motivating case study of lithographic hotspot detection, for which convolutional neural networks (CNN) have shown great promise. In this context, we show the first adversarial perturbation attacks on state-of-the-art CNN-based hotspot detectors; specifically, we show that small (on average 0.5% modified area), functionality preserving and design-constraint satisfying changes to a layout can nonetheless trick a CNN-based hotspot detector into predicting the modified layout as hotspot free (with up to 99.7% success). We propose an adversarial retraining strategy to improve the robustness of CNN-based hotspot detection and show that this strategy significantly improves robustness (by a factor of ~3) against adversarial attacks without compromising classification accuracy.
Motivation & Objective
- To investigate whether adversarial perturbations pose a security threat to machine learning-based electronic CAD tools, particularly in lithographic hotspot detection.
- To evaluate the feasibility and impact of adversarial attacks on state-of-the-art CNN-based hotspot detectors in real-world IC design contexts.
- To develop and validate a defense mechanism—adversarial retraining—that enhances robustness without degrading detection accuracy or increasing inference cost.
- To assess the effectiveness of adversarial retraining in mitigating evasion attacks under both white-box and black-box settings.
Proposed method
- The authors generate adversarial perturbations by inserting semantically meaningful sub-resolution assist features (SRAFs) into IC layout patterns to evade detection by CNN-based hotspot detectors.
- They implement both white-box and black-box evasion attacks, using gradient-based optimization to craft SRAFs that minimize perturbation while maximizing misclassification.
- The proposed defense employs adversarial retraining, where the model is fine-tuned on adversarial examples generated during training to improve robustness.
- The retraining process is applied iteratively—only two rounds are needed to reduce white-box attack success rate from 99.7% to 37.2%.
- The robustness improvement is quantified using attack success rate and natural accuracy metrics on test layouts.
- The method preserves the original model's classification accuracy while significantly reducing susceptibility to adversarial SRAF insertions.
Experimental results
Research questions
- RQ1Can semantically meaningful adversarial perturbations, such as SRAFs, successfully deceive CNN-based lithographic hotspot detectors?
- RQ2What is the maximum success rate of evasion attacks on state-of-the-art CNN-based hotspot detectors in a realistic CAD setting?
- RQ3How does adversarial retraining affect the robustness of CNN-based hotspot detectors against evasion attacks?
- RQ4Does adversarial retraining compromise the original detection accuracy or introduce computational overhead during inference?
Key findings
- Adversarial attacks using SRAFs achieved a maximum success rate of 99.7% in tricking well-trained CNN-based hotspot detectors into classifying hotspot layouts as non-hotspot.
- The deeper, more complex CNN model exhibited better natural robustness compared to a shallower architecture, despite both being vulnerable to adversarial SRAFs.
- After only two rounds of adversarial retraining, the white-box attack success rate dropped from 99.7% to 37.2%, demonstrating a significant improvement in robustness.
- Adversarial retraining improved robustness by a factor of approximately three without degrading the model's original classification accuracy.
- The defense mechanism adds no computational overhead during inference and maintains the model’s performance on clean inputs.
- The study confirms that adversarial perturbations are a viable threat to ML-based CAD tools, but not a showstopper if proactive defenses like adversarial retraining are adopted.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.