Out-of-Distribution (OOD) Detection and Generalization Improved by Augmenting Adversarial Mixup Samples
Open Access
- 16 March 2023
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 12 (6) , 1421
Abstract
Deep neural network (DNN) models are usually built based on the i.i.d. (independent and identically distributed), also known as in-distribution (ID), assumption on the training samples and test data. However, when models are deployed in a real-world scenario with some distributional shifts, test data can be out-of-distribution (OOD) and both OOD detection and OOD generalization should be simultaneously addressed to ensure the reliability and safety of applied AI systems. Most existing OOD detectors pursue these two goals separately, and therefore, are sensitive to covariate shift rather than semantic shift. To alleviate this problem, this paper proposes a novel adversarial mixup (AM) training method which simply executes OOD data augmentation to synthesize differently distributed data and designs a new AM loss function to learn how to handle OOD data. The proposed AM generates OOD samples being significantly diverged from the support of training data distribution but not completely disjoint to increase the generalization capability of the OOD detector. In addition, the AM is combined with a distributional-distance-aware OOD detector at inference to detect semantic OOD samples more efficiently while being robust to covariate shift due to data tampering. Experimental evaluation validates that the designed AM is effective on both OOD detection and OOD generalization tasks compared to previous OOD detectors and data mixup methods.Keywords
Funding Information
- National Research Foundation of Korea (NRF-2020R1A2C1014768)
This publication has 13 references indexed in Scilit:
- Domain Generalization: A SurveyIEEE Transactions on Pattern Analysis and Machine Intelligence, 2022
- Ensemble-Based Out-of-Distribution DetectionElectronics, 2021
- Addressing Neural Network Robustness with Mixup and Targeted Labeling Adversarial Training2020
- On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networks2019
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features2019
- AutoAugment: Learning Augmentation Strategies From Data2019
- A Survey of Deep Learning and Its Applications: A New Paradigm to Machine LearningArchives of Computational Methods in Engineering, 2019
- Accessorize to a Crime2016
- Deep neural networks are easily fooled: High confidence predictions for unrecognizable images2015
- Data Warehousing and Knowledge Discovery2002