[Paper Review] Characterizing the Decision Boundary of Deep Neural Networks
The paper introduces DeepDIG, a framework that generates borderline instances near DNN decision boundaries using autoencoder-based targeted adversarial examples and binary refinement, to characterize boundary complexity in input and embedding spaces.
Deep neural networks and in particular, deep neural classifiers have become an integral part of many modern applications. Despite their practical success, we still have limited knowledge of how they work and the demand for such an understanding is evergrowing. In this regard, one crucial aspect of deep neural network classifiers that can help us deepen our knowledge about their decision-making behavior is to investigate their decision boundaries. Nevertheless, this is contingent upon having access to samples populating the areas near the decision boundary. To achieve this, we propose a novel approach we call Deep Decision boundary Instance Generation (DeepDIG). DeepDIG utilizes a method based on adversarial example generation as an effective way of generating samples near the decision boundary of any deep neural network model. Then, we introduce a set of important principled characteristics that take advantage of the generated instances near the decision boundary to provide multifaceted understandings of deep neural networks. We have performed extensive experiments on multiple representative datasets across various deep neural network models and characterized their decision boundaries. The code is publicly available at https://github.com/hamidkarimi/DeepDIG/.
Motivation & Objective
- Motivate the study of deep neural network decision boundaries for safety and security applications.
- Develop a method to generate samples near decision boundaries that resemble real data.
- Characterize the geometry and complexity of decision boundaries in both input and embedding spaces.
- Provide metrics and experimental evidence across multiple datasets and models.
Proposed method
- Propose DeepDIG to generate borderline instances between two classes using a three-component pipeline.
- Component I: generate targeted adversarial examples from class s to class t via an autoencoder-based loss combining reconstruction and cross-entropy.
- Component II: generate reverse targeted adversarial examples from the first component’s outputs to push samples back toward class s.
- Component III: refine borderline samples with a binary search between the two adversarial samples to locate points where class probabilities are nearly equal (be near the decision boundary).
- Define and compute boundary-related metrics: (a) input-space boundary complexity via oscillation along trajectories between borderline samples, and (b) embedding-space boundary complexity via linear separability of embeddings using a trained linear SVM.
Experimental results
Research questions
- RQ1How can we generate samples that are near the decision boundary between two classes in a pre-trained DNN?
- RQ2What are effective metrics to quantify the complexity of decision boundaries in input and embedding spaces?
- RQ3Do borderline samples in input space correspond to similarly informative structure in the embedding space?
- RQ4Can the proposed border-focused samples reveal geometrical properties of DNN decision regions across datasets and architectures?
Key findings
- DeepDIG can generate borderline instances close to the decision boundary for pairs of classes across MNIST, FashionMNIST, and CIFAR-10.
- Borderline samples are produced on both sides of a boundary, enabling analysis of the boundary’s geometry.
- Embedding-space analysis shows that linear separability of embeddings persists for borderline instances, enabling embedding-space complexity metrics.
- Two embedding-space metrics (EDC1 and EDC2) provide insight into how close borderline samples lie to a separating hyperplane and how well a linear classifier can separate them.
- Experiments demonstrate consistency between input-space and embedding-space boundary complexity measures across several networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.