Semantic feature-based test selection for deep neural networks: A frequency domain perspective

Zhouxian Jiang,Honghui Li,Xuetao Tian,Rui Wang
DOI: https://doi.org/10.2298/csis230907045j
2024-01-01
Computer Science and Information Systems
Abstract:While deep neural networks (DNNs) have great potential for applications in security and safety-critical domains, their limited robustness to adversarial samples and out-of-distribution (OOD) samples raise significant concerns. In the software engineering community, significant efforts have been devoted to devising testing techniques that verify the robustness of DNNs. This paper investigates semantic feature-based test selection for DNNs from a frequency domain perspective and propose a novel method called SaFeTS. Specifically, we leverage saliency detection techniques, such as Fourier Phase Transform to extract semantic features from test cases. These features are then clustered to select diverse test cases to evaluate the robustness of DNNs and model retraining. Experiments on CIFAR-10 and SVHN datasets demonstrate that SaFeTS exposes more varied model errors com16 pared to baseline methods. Further, retraining with SaFeTS-selected samples significantly improves adversarial and out-of-distribution robustness over state-of-the-art test selection methods.
computer science, information systems, software engineering
What problem does this paper attempt to address?