Abstract
Machine Learning (ML) is revolutionizing Electronic Design Automation (EDA) by accelerating complex design tasks. However, the security implications of integrating ML into highly confidential chip design workflows are often overlooked. This paper presents a comprehensive taxonomy of security threats in ML-for-EDA, including data privacy breaches, model theft, adversarial attacks, and inherent unreliability. Through experimental evaluation, we demonstrate how these vulnerabilities can compromise intellectual property and lead to unpredictable performance in real-world EDA applications.
Introduction
As integrated circuit (IC) complexity continues to grow, the EDA industry has embraced ML to predict critical design metrics such as power, timing, and congestion. While these tools offer significant speedups, they introduce new attack vectors in an industry where confidentiality is paramount. A single leak of a proprietary circuit layout or the theft of a specialized ML model can result in massive financial losses. Despite this, current research predominantly focuses on accuracy and speed, leaving a critical gap in our understanding of ML security within the EDA ecosystem.
A Taxonomy of Security Threats
The authors identify four primary security concerns that span the ML-for-EDA lifecycle, from data ownership to end-user application.
- Data Privacy Attacks: Adversaries may use techniques like model inversion to reconstruct sensitive input features (e.g., macro placements) from a trained model.
- Competitive Advantage Attacks: Competitors can steal proprietary models through model extraction, using "pseudo-labels" from a victim's API to train a substitute model at a fraction of the original cost.
- Performance Attacks: Adversarial perturbations—small, intentional modifications to circuit layouts—can trick models into producing incorrect predictions, such as hiding lithography hotspots.
- Inherent Unreliability: The extreme heterogeneity of EDA data (e.g., differences between 45nm and 7nm nodes) makes models brittle and prone to failure when applied to designs outside their training distribution.
Experimental Evaluation and Results
The study evaluated these threats using datasets for routability/congestion and lithography hotspots.
Privacy and Model Theft
The researchers demonstrated that model inversion could successfully reveal the general layout of a design. By performing gradient descent on the input space guided by Batch Normalization statistics, they reconstructed macro positions from a trained model.
Furthermore, model theft proved highly effective. An attack model trained solely on pseudo-labels from a victim model (0.806 AUC) achieved a comparable 0.796 AUC. Remarkably, adding just 10% of the attacker's own labeled data allowed the stolen model to outperform the original victim (0.811 AUC).
Adversarial Robustness and Unreliability
Adversarial attacks using Projected Gradient Descent (PGD) rendered routability predictions virtually meaningless. In the EDA context, these "noise" perturbations can resemble legitimate design tweaks, making them difficult to detect. The study also highlighted that "one-size-fits-all" models often underperform specialized ones; for instance, a model trained on various design sizes was less accurate on mid-sized designs than a dedicated model.
Key Insights for Defense
A critical takeaway is that in EDA, the labels (generated via expensive commercial tool runs) are the primary intellectual property. Protecting these labels and the models derived from them is essential. The authors suggest that Curvature Regularization (CURE) can enhance adversarial robustness without significantly compromising standard accuracy.
Conclusion and Future Work
The "gold rush" to implement ML in EDA must be tempered with robust security measures. Future research should explore decentralized security in Federated Learning environments and develop EDA-specific defenses that account for physical circuit constraints. As ML becomes more deeply integrated into the chip design flow, addressing these "dark side" concerns will be vital for protecting the industry's most valuable intellectual property.
Summary updated