AUTO: Adaptive Outlier Optimization for Test-Time OOD Detection

Puning Yang, Jian Liang, Jie Cao, Ran He
3/22/2023
cs.LGcs.CV

No official code found. Best implementation: Puning97/AUTO-for-OOD-detection (4 stars, last commit 2024-03-22).

Abstract

Out-of-distribution (OOD) detection aims to detect test samples that do not fall into any training in-distribution (ID) classes. Prior efforts focus on regularizing models with ID data only, largely underperforming counterparts that utilize auxiliary outliers. However, data safety and privacy make it infeasible to collect task-specific outliers in advance for different scenarios. Besides, using task-irrelevant outliers leads to inferior OOD detection performance. To address the above issue, we present a new setup called test-time OOD detection, which allows the deployed model to utilize real OOD data from the unlabeled data stream during testing. We propose Adaptive Outlier Optimization (AUTO) which allows for continuous adaptation of the OOD detector. Specifically, AUTO consists of three key components: 1) an in-out-aware filter to selectively annotate test samples with pseudo-ID and pseudo-OOD and ingeniously trigger the updating process while encountering each pseudo-OOD sample; 2) a dynamic-updated memory to overcome the catastrophic forgetting led by frequent parameter updates; 3) a prediction-aligning objective to calibrate the rough OOD objective during testing. Extensive experiments show that AUTO significantly improves OOD detection performance over state-of-the-art methods. Besides, evaluations on complicated scenarios (e.g. multi-OOD, time-series OOD) also conduct the superiority of AUTO.

View on arXivView PDF

Code Implementations(1)

Code for the AUTO paper

40PythonMar 22, 20242 years ago

Similar Papers

Cite this paper

@article{yang2023auto,
  title  = {AUTO: Adaptive Outlier Optimization for Test-Time OOD Detection},
  author = {Puning Yang and Jian Liang and Jie Cao and Ran He},
  year   = {2023},
  eprint = {2303.12267},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.12267v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.12267.svg)](https://codeofpaper.com/paper/2303.12267)

Discussion