[Paper Review] On-manifold Adversarial Data Augmentation Improves Uncertainty Calibration
This paper proposes On-Manifold Adversarial Data Augmentation (OMADA), a method that generates challenging, uncertainty-rich training samples by performing adversarial attacks in the latent space of an autoencoder-based generative model, constrained to the data manifold. OMADA improves uncertainty calibration and classification accuracy across diverse datasets and architectures, outperforming Mixup and matching or exceeding post-processing methods like temperature scaling.
Uncertainty estimates help to identify ambiguous, novel, or anomalous inputs, but the reliable quantification of uncertainty has proven to be challenging for modern deep networks. In order to improve uncertainty estimation, we propose On-Manifold Adversarial Data Augmentation or OMADA, which specifically attempts to generate the most challenging examples by following an on-manifold adversarial attack path in the latent space of an autoencoder-based generative model that closely approximates decision boundaries between two or more classes. On a variety of datasets as well as on multiple diverse network architectures, OMADA consistently yields more accurate and better calibrated classifiers than baseline models, and outperforms competing approaches such as Mixup, as well as achieving similar performance to (at times better than) post-processing calibration methods such as temperature scaling. Variants of OMADA can employ different sampling schemes for ambiguous on-manifold examples based on the entropy of their estimated soft labels, which exhibit specific strengths for generalization, calibration of predicted uncertainty, or detection of out-of-distribution inputs.
Motivation & Objective
- Address the challenge of unreliable uncertainty estimates in deep neural networks, especially for safety-critical applications.
- Improve uncertainty calibration by generating realistic, ambiguous training samples near decision boundaries.
- Develop a data augmentation strategy that maintains data manifold consistency while generating hard-to-classify examples.
- Enable better generalization and outlier detection by focusing on regions of high prediction ambiguity.
- Provide a method that is robust across diverse architectures and datasets, with stable performance improvements.
Proposed method
- Train an autoencoder to learn a disentangled, low-dimensional latent representation of the training data, approximating the true data manifold.
- Use a latent space classifier to predict soft labels for latent codes, enabling gradient-based adversarial attacks in the latent space.
- Perform on-manifold adversarial attacks by perturbing latent codes along the data manifold to generate samples near decision boundaries.
- Project the adversarially perturbed latent codes back into image space using the decoder to generate realistic augmented training samples.
- Assign soft labels from the latent space classifier to the generated images, ensuring uncertainty-aware supervision.
- Train the final image-space classifier on the original data augmented with OMADA-generated samples, using soft labels for improved calibration.
Experimental results
Research questions
- RQ1Can on-manifold adversarial data augmentation improve uncertainty calibration in deep neural networks compared to standard data augmentation?
- RQ2How does OMADA compare to Mixup and post-processing calibration methods like temperature scaling in terms of calibration and accuracy?
- RQ3What is the impact of different sampling strategies (e.g., entropy-based or uniform soft labels) on generalization and outlier detection?
- RQ4Can OMADA improve performance on out-of-distribution detection while maintaining in-distribution accuracy?
- RQ5How does OMADA perform across diverse network architectures and datasets in terms of stability and calibration?
Key findings
- OMADA consistently improves uncertainty calibration (ACE) and classification accuracy across multiple datasets and architectures, outperforming Mixup and matching temperature scaling.
- OMADA-SE, which samples based on high-entropy soft labels, achieves state-of-the-art performance in outlier detection, outperforming CEDA on WRN and DenseNet.
- Soft labels derived from the latent space classifier are essential for competitive performance on in-distribution tasks, while uniform labels improve OOD detection.
- OMADA enhances model robustness by generating samples that lie on the data manifold and are close to decision boundaries, improving generalization.
- The method is stable across diverse architectures, with no significant drop in performance on any network, unlike competing methods.
- Combining OMADA with post-processing methods like temperature scaling yields further improvements, indicating orthogonality and synergy.
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.