Saved in:
Bibliographic Details
Main Authors: Guo, Kaiyu, Wang, Zijian, Pan, Tan, Lovell, Brian C., Baktashmotlagh, Mahsa
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.09399
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918068848951296
author Guo, Kaiyu
Wang, Zijian
Pan, Tan
Lovell, Brian C.
Baktashmotlagh, Mahsa
author_facet Guo, Kaiyu
Wang, Zijian
Pan, Tan
Lovell, Brian C.
Baktashmotlagh, Mahsa
contents Out-of-Distribution (OOD) detection is essential for the trustworthiness of AI systems. Methods using prior information (i.e., subspace-based methods) have shown effective performance by extracting information geometry to detect OOD data with a more appropriate distance metric. However, these methods fail to address the geometry distorted by ill-distributed samples, due to the limitation of statically extracting information geometry from the training distribution. In this paper, we argue that the influence of ill-distributed samples can be corrected by dynamically adjusting the prior geometry in response to new data. Based on this insight, we propose a novel approach that dynamically updates the prior covariance matrix using real-time input features, refining its information. Specifically, we reduce the covariance along the direction of real-time input features and constrain adjustments to the residual space, thus preserving essential data characteristics and avoiding effects on unintended directions in the principal space. We evaluate our method on two pre-trained models for the CIFAR dataset and five pre-trained models for ImageNet-1k, including the self-supervised DINO model. Extensive experiments demonstrate that our approach significantly enhances OOD detection across various models. The code is released at https://github.com/workerbcd/ooddcc.
format Preprint
id arxiv_https___arxiv_org_abs_2506_09399
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Improving Out-of-Distribution Detection via Dynamic Covariance Calibration
Guo, Kaiyu
Wang, Zijian
Pan, Tan
Lovell, Brian C.
Baktashmotlagh, Mahsa
Computer Vision and Pattern Recognition
Out-of-Distribution (OOD) detection is essential for the trustworthiness of AI systems. Methods using prior information (i.e., subspace-based methods) have shown effective performance by extracting information geometry to detect OOD data with a more appropriate distance metric. However, these methods fail to address the geometry distorted by ill-distributed samples, due to the limitation of statically extracting information geometry from the training distribution. In this paper, we argue that the influence of ill-distributed samples can be corrected by dynamically adjusting the prior geometry in response to new data. Based on this insight, we propose a novel approach that dynamically updates the prior covariance matrix using real-time input features, refining its information. Specifically, we reduce the covariance along the direction of real-time input features and constrain adjustments to the residual space, thus preserving essential data characteristics and avoiding effects on unintended directions in the principal space. We evaluate our method on two pre-trained models for the CIFAR dataset and five pre-trained models for ImageNet-1k, including the self-supervised DINO model. Extensive experiments demonstrate that our approach significantly enhances OOD detection across various models. The code is released at https://github.com/workerbcd/ooddcc.
title Improving Out-of-Distribution Detection via Dynamic Covariance Calibration
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2506.09399