SAND: A Self-supervised and Adaptive NAS-Driven Framework for Hardware Trojan Detection
Zhixin Pan, Ziyu Shu, Linh Nguyen, Amberbir Alemayoh
TL;DR
This paper tackles hardware Trojan detection in the global semiconductor supply chain by introducing SAND, a framework that combines self-supervised learning (SSL) for automated feature embedding with neural architecture search (NAS) to adapt the downstream classifier to new benchmarks with minimal retraining. The upstream encoder operates on graph representations of circuits using a Graph Convolutional Network, optimized with a hybrid contrastive loss that integrates positive, negative, and global clustering objectives. A SHAP-based pruning step in the NAS phase yields a compact, task-specific classifier, enabling strong adaptability to unseen HT variants while maintaining stability across deployments. Experimental results show that SAND achieves up to a significant improvement in detection accuracy over state-of-the-art methods, demonstrates resilience against evasive Trojans, and generalizes well across diverse benchmarks. Overall, SAND offers a scalable, adaptive, and robust HT detection solution suitable for real-world SoC security challenges.
Abstract
The globalized semiconductor supply chain has made Hardware Trojans (HT) a significant security threat to embedded systems, necessitating the design of efficient and adaptable detection mechanisms. Despite promising machine learning-based HT detection techniques in the literature, they suffer from ad hoc feature selection and the lack of adaptivity, all of which hinder their effectiveness across diverse HT attacks. In this paper, we propose SAND, a selfsupervised and adaptive NAS-driven framework for efficient HT detection. Specifically, this paper makes three key contributions. (1) We leverage self-supervised learning (SSL) to enable automated feature extraction, eliminating the dependency on manually engineered features. (2) SAND integrates neural architecture search (NAS) to dynamically optimize the downstream classifier, allowing for seamless adaptation to unseen benchmarks with minimal fine-tuning. (3) Experimental results show that SAND achieves a significant improvement in detection accuracy (up to 18.3%) over state-of-the-art methods, exhibits high resilience against evasive Trojans, and demonstrates strong generalization.
