Skip to main content
QUICK REVIEW

[Paper Review] ATOM: Robustifying Out-of-distribution Detection Using Outlier Mining

Jiefeng Chen, Yixuan Li|arXiv (Cornell University)|Jun 26, 2020
Adversarial Robustness in Machine LearningComputer Science59 references10 citations
TL;DR

ATOM proposes a novel training framework that enhances out-of-distribution (OOD) detection robustness by combining adversarial training with informative outlier mining. By selectively using low-OOD-score auxiliary data, ATOM significantly improves decision boundary generalization, reducing FPR by up to 57.99% on CIFAR-10 under adversarial OOD attacks and achieving state-of-the-art performance across diverse OOD evaluation tasks.

ABSTRACT

Detecting out-of-distribution (OOD) inputs is critical for safely deploying deep learning models in an open-world setting. However, existing OOD detection solutions can be brittle in the open world, facing various types of adversarial OOD inputs. While methods leveraging auxiliary OOD data have emerged, our analysis on illuminative examples reveals a key insight that the majority of auxiliary OOD examples may not meaningfully improve or even hurt the decision boundary of the OOD detector, which is also observed in empirical results on real data. In this paper, we provide a theoretically motivated method, Adversarial Training with informative Outlier Mining (ATOM), which improves the robustness of OOD detection. We show that, by mining informative auxiliary OOD data, one can significantly improve OOD detection performance, and somewhat surprisingly, generalize to unseen adversarial attacks. ATOM achieves state-of-the-art performance under a broad family of classic and adversarial OOD evaluation tasks. For example, on the CIFAR-10 in-distribution dataset, ATOM reduces the FPR (at TPR 95%) by up to 57.99% under adversarial OOD inputs, surpassing the previous best baseline by a large margin.

Motivation & Objective

  • To address the brittleness of existing OOD detection methods under adversarial OOD inputs, which can misclassify perturbed OOD examples as in-distribution.
  • To investigate whether and how auxiliary OOD data can be used more effectively to improve OOD detector robustness.
  • To develop a method that generalizes to unseen adversarial attacks by mining informative outliers rather than using random or heuristic sampling.
  • To provide theoretical justification for the effectiveness of outlier mining in shaping a tighter, more robust OOD decision boundary.

Proposed method

  • ATOM introduces a two-stage training process: first, it identifies and selects informative outlier samples based on low OOD detection scores from a large pool of auxiliary OOD data.
  • It applies adversarial training on the selected informative outliers to harden the OOD detector against perturbations, improving generalization under adversarial OOD inputs.
  • The method uses a confidence-based criterion to prioritize outliers that are close to the decision boundary, ensuring they contribute meaningfully to boundary refinement.
  • It integrates adversarial examples crafted specifically for the OOD detector (not the classifier), targeting the detector’s decision boundary to improve robustness.
  • The framework combines outlier mining with adversarial training to jointly regularize the OOD detector, avoiding the degradation caused by uninformative or noisy outlier samples.
  • Theoretical analysis shows that mining informative outliers leads to better decision boundary shaping, formalizing the intuition behind hard negative mining in OOD detection.

Experimental results

Research questions

  • RQ1Can mining informative outliers from auxiliary OOD data significantly improve the robustness of OOD detection under adversarial perturbations?
  • RQ2Does the use of adversarial training on mined outliers generalize to unseen adversarial attack types beyond the training distribution?
  • RQ3Why do random or heuristic sampling of auxiliary OOD data often fail to improve or even degrade OOD detection performance?
  • RQ4How does outlier mining contribute to forming a tighter and more robust decision boundary between in-distribution and out-of-distribution data?
  • RQ5What theoretical guarantees can be provided for the effectiveness of outlier mining in OOD detection?

Key findings

  • On CIFAR-10, ATOM reduces the false positive rate (FPR) at 95% true positive rate by up to 57.99% under adversarial $L_∞$ OOD attacks, significantly outperforming the previous best baseline.
  • For the $L_∞$ OOD task, ATOM reduces FPR by 53.9% compared to the best prior method, ACET, on CIFAR-10.
  • On the CIFAR-100 dataset with DenseNet, ATOM achieves state-of-the-art performance across all four OOD evaluation types: natural, corrupted, $L_∞$-perturbed, and compositional OOD inputs.
  • ATOM achieves a 6.30% FPR (at 95% TPR) on CIFAR-10 natural OOD, outperforming OE (11.08%) and ACET (18.63%) under the same setting.
  • Ablation studies confirm that both adversarial training and outlier mining are essential: removing either component leads to significant performance drops.
  • Theoretical analysis demonstrates that mining informative outliers leads to better decision boundary regularization, providing formal justification for the method’s success.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.