ProGIP: Protecting Gradient-based Input Perturbation Approaches for OOD Detection From Soft Errors
Undetected out-of-distribution (OOD) inputs pose a significant threat to the reliability of deep learning models, as they may lead to unexpected behaviors during inference. Several studies have proposed effective OOD input detection methods. However, soft errors—another significant threat to reliability—can impact both the classification results of neural network models and the ID/OOD detections of OOD detection methods. To provide a resilient OOD detection solution against soft errors, we analyze the effect of soft errors on neural network models with gradient-based input perturbation (GIP) approaches, which are representative methods for OOD detection. Building on our analysis, we propose ProGIP, which incorporates two software-level range-based fault detectors to protect all execution phases of GIP approaches, including two forward passes and one backward pass. Because it is purely software‑based and adds just two scalar comparisons, ProGIP is readily deployable even on resource‑constrained embedded platforms. Our ProGIP solution enables GIP approaches to distinguish between ID, OOD, and fault-affected inferences, detecting 97.7% of critical faults with a negligible runtime overhead of only 0.84%. Experimental results with 2.4 million fault injections across various neural networks and OOD detection methods demonstrate ProGIP’s effectiveness in ensuring comprehensive reliability against non-malicious threats.
Authors
- Kyoungwoo Lee (ORCID: https://orcid.org/0000-0001-5082-3775)
- Aviral Shrivastava (ORCID: https://orcid.org/0000-0002-1075-897X)
- Sumedh Shridhar Joshi (ORCID: https://orcid.org/0009-0001-8864-7575)
- Uiwon Hwang (ORCID: https://orcid.org/0000-0001-5054-2236)
- Jinhyo Jung (ORCID: https://orcid.org/0000-0003-0741-1438)
- S C Park
- Yohan Ko (ORCID: https://orcid.org/0000-0002-9456-0927)
- Hwisoo So (ORCID: https://orcid.org/0000-0002-3496-6079)
- W. Ko (ORCID: https://orcid.org/0009-0001-8637-1333)
Institutions
- Ewha Womans University (KR)
- Yonsei University (KR)
- Kyungpook National University (KR)
- Kyungpook National University Medical Center (KR)
- Arizona State University (US)
Publication Details
- Journal
- ACM Transactions on Embedded Computing Systems
- Published
- 2025-08-27
- DOI
- https://doi.org/10.1145/3761796
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- Semiconductor Research Corporation
- National Research Foundation
- Yonsei University
- Ewha Womans University
- National Research Foundation of Korea
- Ministry of Science and ICT, South Korea
- Institute for Information and Communications Technology Promotion