Understanding the Role of Self-Supervised Learning in Out-of-Distribution Detection Task
arXiv:2110.13435
Abstract
Self-supervised learning (SSL) has achieved great success in a variety of computer vision tasks. However, the mechanism of how SSL works in these tasks remains a mystery. In this paper, we study how SSL can enhance the performance of the out-of-distribution (OOD) detection task. We first point out two general properties that a good OOD detector should have: 1) the overall feature space should be large and 2) the inlier feature space should be small. Then we demonstrate that SSL can indeed increase the intrinsic dimension of the overall feature space. In the meantime, SSL even has the potential to shrink the inlier feature space. As a result, there will be more space spared for the outliers, making OOD detection much easier. The conditions when SSL can shrink the inlier feature space is also discussed and validated. By understanding the role of SSL in the OOD detection task, our study can provide a guideline for designing better OOD detection algorithms. Moreover, this work can also shed light to other tasks where SSL can improve the performance.
References in corpus (12)
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- A Simple Framework for Contrastive Learning of Visual Representations
- Improved Baselines with Momentum Contrastive Learning
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Wide Residual Networks
- A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks
- Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networks
- Anomaly Detection using One-Class Neural Networks
- Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere
- SSD: A Unified Framework for Self-Supervised Outlier Detection
- Understanding Self-supervised Learning with Dual Deep Networks
- Exploring Self-Supervised Regularization for Supervised and Semi-Supervised Learning