[Paper Review] Understanding the Decision Boundary of Deep Neural Networks: An Empirical Study
This empirical study investigates how the decision boundary of deep neural networks evolves during training, revealing that the minimal distance (margin) from natural images to the decision boundary decreases over time—even in late training epochs when accuracy plateaus. Adversarial training mitigates this trend, stabilizing margins and improving robustness, suggesting that poor robustness stems from training dynamics rather than architecture or initialization.
Despite achieving remarkable performance on many image classification tasks, state-of-the-art machine learning (ML) classifiers remain vulnerable to small input perturbations. Especially, the existence of adversarial examples raises concerns about the deployment of ML models in safety- and security-critical environments, like autonomous driving and disease detection. Over the last few years, numerous defense methods have been published with the goal of improving adversarial as well as corruption robustness. However, the proposed measures succeeded only to a very limited extent. This limited progress is partly due to the lack of understanding of the decision boundary and decision regions of deep neural networks. Therefore, we study the minimum distance of data points to the decision boundary and how this margin evolves over the training of a deep neural network. By conducting experiments on MNIST, FASHION-MNIST, and CIFAR-10, we observe that the decision boundary moves closer to natural images over training. This phenomenon even remains intact in the late epochs of training, where the classifier already obtains low training and test error rates. On the other hand, adversarial training appears to have the potential to prevent this undesired convergence of the decision boundary.
Motivation & Objective
- To understand why state-of-the-art deep neural networks remain vulnerable to adversarial examples and input corruptions despite high accuracy.
- To investigate how the distance from data points to the decision boundary changes during the training process of deep neural networks.
- To evaluate whether adversarial training alters the evolution of decision boundary proximity and improves robustness.
- To explore the relationship between model calibration, prediction confidence, and distance to the decision boundary.
- To assess whether the observed margin dynamics generalize across different architectures and datasets.
Proposed method
- Empirically track the minimal distance (margin) from each data point to the decision boundary using the DeepFool algorithm as an approximation.
- Train standard and adversarially trained models on MNIST, Fashion-MNIST, and CIFAR-10 to compare margin evolution across training regimes.
- Compute ℓ₂ and ℓ∞-norm margins for both correctly and incorrectly classified images at multiple training epochs.
- Analyze the trend of average margins over time to detect convergence or divergence of the decision boundary toward natural data.
- Use adversarial training with PGD attacks to evaluate its impact on margin stability and robustness.
- Compare margin distributions between standard and adversarially trained models to assess transferability of robustness across ℓ₂ and ℓ∞ norms.
Experimental results
Research questions
- RQ1How does the distance from natural images to the decision boundary change during the training of deep neural networks?
- RQ2Does the decrease in margin distance persist even after accuracy converges in late training epochs?
- RQ3Can adversarial training prevent the convergence of the decision boundary toward natural images?
- RQ4Is there a significant difference in margin distance between correctly and incorrectly classified images?
- RQ5To what extent does improved margin stability correlate with better adversarial and corruption robustness?
Key findings
- The decision boundary moves progressively closer to both training and test images during training, even in late epochs where accuracy has plateaued.
- This convergence of the decision boundary toward natural data persists despite low training and test error, indicating that high accuracy does not imply robustness.
- Adversarial training stabilizes or increases the average margin for correctly classified images while preventing the decline seen in standard training.
- Incorrectly classified images consistently show decreasing margins over time, indicating they are more vulnerable to perturbations.
- Adversarial training leads to a transfer of robustness between ℓ₂ and ℓ∞ norms on MNIST and Fashion-MNIST, suggesting improved generalization of margin stability.
- There is a strong discrepancy between prediction confidence and actual margin distance, indicating poor model calibration, especially for misclassified samples.
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.