Saved in:
Bibliographic Details
Main Authors: Chen, Wenxi, Yeh, Raymond A., Mou, Shaoshuai, Gu, Yan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.18784
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915211659706368
author Chen, Wenxi
Yeh, Raymond A.
Mou, Shaoshuai
Gu, Yan
author_facet Chen, Wenxi
Yeh, Raymond A.
Mou, Shaoshuai
Gu, Yan
contents Out-of-distribution (OOD) detection is the task of identifying inputs that deviate from the training data distribution. This capability is essential for safely deploying deep computer vision models in open-world environments. In this work, we propose a post-hoc method, Perturbation-Rectified OOD detection (PRO), based on the insight that prediction confidence for OOD inputs is more susceptible to reduction under perturbation than in-distribution (IND) inputs. Based on the observation, we propose an adversarial score function that searches for the local minimum scores near the original inputs by applying gradient descent. This procedure enhances the separability between IND and OOD samples. Importantly, the approach improves OOD detection performance without complex modifications to the underlying model architectures. We conduct extensive experiments using the OpenOOD benchmark~\cite{yang2022openood}. Our approach further pushes the limit of softmax-based OOD detection and is the leading post-hoc method for small-scale models. On a CIFAR-10 model with adversarial training, PRO effectively detects near-OOD inputs, achieving a reduction of more than 10\% on FPR@95 compared to state-of-the-art methods.
format Preprint
id arxiv_https___arxiv_org_abs_2503_18784
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Leveraging Perturbation Robustness to Enhance Out-of-Distribution Detection
Chen, Wenxi
Yeh, Raymond A.
Mou, Shaoshuai
Gu, Yan
Computer Vision and Pattern Recognition
Out-of-distribution (OOD) detection is the task of identifying inputs that deviate from the training data distribution. This capability is essential for safely deploying deep computer vision models in open-world environments. In this work, we propose a post-hoc method, Perturbation-Rectified OOD detection (PRO), based on the insight that prediction confidence for OOD inputs is more susceptible to reduction under perturbation than in-distribution (IND) inputs. Based on the observation, we propose an adversarial score function that searches for the local minimum scores near the original inputs by applying gradient descent. This procedure enhances the separability between IND and OOD samples. Importantly, the approach improves OOD detection performance without complex modifications to the underlying model architectures. We conduct extensive experiments using the OpenOOD benchmark~\cite{yang2022openood}. Our approach further pushes the limit of softmax-based OOD detection and is the leading post-hoc method for small-scale models. On a CIFAR-10 model with adversarial training, PRO effectively detects near-OOD inputs, achieving a reduction of more than 10\% on FPR@95 compared to state-of-the-art methods.
title Leveraging Perturbation Robustness to Enhance Out-of-Distribution Detection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.18784