Data-driven Verification of DNNs for Object Recognition

Clemens Otte,Yinchong Yang,Danny Benlin Oswan
2024-07-17
Abstract:The paper proposes a new testing approach for Deep Neural Networks (DNN) using gradient-free optimization to find perturbation chains that successfully falsify the tested DNN, going beyond existing grid-based or combinatorial testing. Applying it to an image segmentation task of detecting railway tracks in images, we demonstrate that the approach can successfully identify weaknesses of the tested DNN regarding particular combinations of common perturbations (e.g., rain, fog, blur, noise) on specific clusters of test images.
Computer Vision and Pattern Recognition
What problem does this paper attempt to address?
The problem that this paper attempts to solve is to verify the robustness and reliability of deep neural networks (DNN) in practical applications, especially in safety - critical areas such as self - driving vehicles. Specifically, the paper proposes a new testing method, using gradient - free optimization techniques to find perturbation chains that can successfully make the tested DNN fail. This method goes beyond existing methods based on grid or combinatorial testing and focuses specifically on identifying the weaknesses of specific types of images under common natural perturbations (such as rain, fog, blur, and noise). ### Specific Background of the Problem 1. **Challenges in Safety - Critical Areas**: - When deploying DNN in safety - critical areas such as self - driving, it is crucial to ensure its robustness and reliability. - Formal verification methods are usually not applicable to large - scale practical application models, so systematic empirical testing is mainly relied on to verify the robustness of DNN. 2. **Limitations of Existing Methods**: - Combinatorial testing (such as pairwise testing) can cover some configurations, but a large number of configurations remain untested. - Adversarial robustness research mainly focuses on maliciously constructed imperceptible input perturbations, while in real - world applications, more attention is paid to the robustness against common natural perturbations (such as rain, fog, snow, noise, etc.). 3. **Challenges of Natural Perturbations**: - Natural perturbations are usually non - differentiable, so gradient - based optimization methods cannot be used. - A new method is needed to effectively find combinations of these natural perturbations to reveal the potential weaknesses of DNN. ### The Method Proposed in the Paper The paper proposes a new testing method based on gradient - free optimization. The specific steps are as follows: 1. **Perturbation Chain Generation**: - Use a gradient - free optimization algorithm to select and adjust a series of perturbation parameters to maximize the model error. - A perturbation chain consists of multiple perturbations, and each perturbation has specific parameters (such as the mean and standard deviation of Gaussian noise). 2. **Optimization Objective**: - The objective is to find a perturbation sequence and its parameters so as to maximize the model error on a set of images. - The model error is measured by the degree of deterioration of the average Intersection - over - Union (IoU). 3. **Application Examples**: - This method is applied to the railway image segmentation task, especially the task of detecting railway tracks. - The experimental results show that this method can successfully identify the weaknesses of specific image clusters under common natural perturbations. ### Main Contributions - Propose a new gradient - free optimization method for generating perturbation chains that can make DNN fail. - Verify the effectiveness of this method through experiments, especially in the railway image segmentation task. - Provide new ideas and tools for DNN robustness verification, which helps to improve the reliability and safety of the model in practical applications. In summary, this paper aims to identify the weaknesses of DNN under common natural perturbations through an innovative gradient - free optimization method, thereby enhancing its robustness and reliability in safety - critical areas.