Paper Reading AI Learner

Leveraging Perturbation Robustness to Enhance Out-of-Distribution Detection

2025-03-24 15:32:33
Wenxi Chen, Raymond A. Yeh, Shaoshuai Mou, Yan Gu

Abstract

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.

Abstract (translated)

异常分布(OOD,Out-of-Distribution)检测的任务是识别那些与训练数据分布不同的输入。这一能力对于在开放世界环境中安全部署深度计算机视觉模型至关重要。在这项工作中,我们提出了一种事后方法——扰动矫正异常检测(PRO),基于这样的见解:对于异常分布的输入,其预测置信度更易受到扰动的影响而降低,相比之下,在分布内(IND)的输入则不然。根据这一观察结果,我们提出了一个对抗性评分函数,通过应用梯度下降来寻找原始输入附近的局部最低分数。这种方法增强了在分布内和异常分布样本之间的可分离性。重要的是,此方法能够在不进行复杂的模型架构修改的情况下提升OOD检测性能。 我们在OpenOOD基准测试~\cite{yang2022openood}上进行了广泛的实验。我们的方法进一步推动了基于softmax的OOD检测的极限,并且是小规模模型中领先的事后方法之一。在经过对抗性训练的CIFAR-10模型上,PRO能够有效地检测近似异常分布的数据输入,在FPR@95指标上的表现比当前最佳的方法减少了超过10%。 这种方法不仅增强了深度学习模型处理未见过数据的能力,还为实际应用中的安全性提供了重要的保障。

URL

https://arxiv.org/abs/2503.18784

PDF

https://arxiv.org/pdf/2503.18784.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot