Leveraging Perturbation Robustness to Enhance Out-of-Distribution Detection

Abstract

Out-of-distribution (OOD) detection is the task of identifying inputs that deviate from the training data distribution. This capability is essential for the safe deployment of 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 IND inputs. From this observation, we proposed a meta-score function that searches for local minimum scores near original inputs by applying gradient descent. This procedure enhances the separability between in-distribution (IND) and OOD samples. Importantly, the approach improves OOD detection performance without complex modifications to the underlying model architectures or training protocol. To validate our approach, we conduct extensive experiments using the OpenOOD benchmark. 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.

Cite

Text

Chen et al. "Leveraging Perturbation Robustness to Enhance Out-of-Distribution Detection." Conference on Computer Vision and Pattern Recognition, 2025. doi:10.1109/CVPR52734.2025.00445

Markdown

[Chen et al. "Leveraging Perturbation Robustness to Enhance Out-of-Distribution Detection." Conference on Computer Vision and Pattern Recognition, 2025.](https://mlanthology.org/cvpr/2025/chen2025cvpr-leveraging/) doi:10.1109/CVPR52734.2025.00445

BibTeX

@inproceedings{chen2025cvpr-leveraging,
  title     = {{Leveraging Perturbation Robustness to Enhance Out-of-Distribution Detection}},
  author    = {Chen, Wenxi and Yeh, Raymond A. and Mou, Shaoshuai and Gu, Yan},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2025},
  pages     = {4724-4733},
  doi       = {10.1109/CVPR52734.2025.00445},
  url       = {https://mlanthology.org/cvpr/2025/chen2025cvpr-leveraging/}
}