Accurate Hardware Trojan Detection for SGIN Device: A Prompt-Tuning and LangChain Approach
Space-Ground Integrated Networks (SGIN) devices are at risk of hardware Trojan attacks. Currently, existing detection schemes (e.g., deep learning) require a large amount of labeled samples. However, obtaining a high-quality labeled hardware Trojan dataset for SGIN devices is challenging due to the structural complexity of hardware, resulting in poor detection performance. To address this challenge, this paper combines prompt-tuning with LangChain to propose a hardware Trojan detection scheme for SGIN devices without requiring extensive training samples. In our scheme, we transform hardware Trojan detection into a mask prediction problem and design a two-phase prompt-based detection framework. In the first phase, we design 5 prompt patterns with masks and utilize Roberta-large as a large language model (LLM) to predict masks and their confidence. If their confidence is below a given threshold value, the second phase is initiated, where the corresponding original samples are fed into LangChain to optimize detection. To enhance the detection accuracy, we develop a Positional State Tree (PST) to extract the logical parallel structure of SGIN Trojan. Experiments show that our scheme achieves an accuracy of 91.3% in detecting the presence of Trojans and 96.3% in identifying the types of Trojans, respectively.
Authors
- Daiyong Quan
- Ming Mao (ORCID: https://orcid.org/0000-0001-7969-9296)
- Fenghua Li (ORCID: https://orcid.org/0000-0002-3211-012X)
- Yunchuan Guo (ORCID: https://orcid.org/0000-0002-9611-5368)
- Duo Zhang (ORCID: https://orcid.org/0009-0009-7272-5928)
Institutions
- University of Science and Technology of China (CN)
- Chinese Academy of Sciences (CN)
- Beijing Electronic Science and Technology Institute (CN)
- China Automotive Engineering Research Institute (CN)
- Institute of Information Engineering (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10888068
- Primary Topic
- Physical Unclonable Functions (PUFs) and Hardware Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Fundamental Research Funds for the Central Universities