[Paper Review] Igeood: An Information Geometry Approach to Out-of-Distribution Detection
Igeood proposes a novel information geometry-based method for out-of-distribution (OOD) detection using the Fisher-Rao distance to measure dissimilarity between in-distribution and OOD samples in the feature space of pre-trained deep neural networks. By leveraging logits and learned features across network layers, it achieves state-of-the-art performance across multiple architectures and datasets without requiring OOD data during training, while remaining effective under black-box, grey-box, and white-box settings.
Reliable out-of-distribution (OOD) detection is fundamental to implementing safer modern machine learning (ML) systems. In this paper, we introduce Igeood, an effective method for detecting OOD samples. Igeood applies to any pre-trained neural network, works under various degrees of access to the ML model, does not require OOD samples or assumptions on the OOD data but can also benefit (if available) from OOD samples. By building on the geodesic (Fisher-Rao) distance between the underlying data distributions, our discriminator can combine confidence scores from the logits outputs and the learned features of a deep neural network. Empirically, we show that Igeood outperforms competing state-of-the-art methods on a variety of network architectures and datasets.
Motivation & Objective
- Address the critical need for reliable out-of-distribution (OOD) detection in real-world machine learning systems where data distributions shift unpredictably.
- Overcome limitations of existing methods that rely on confidence scores or latent representations alone, which can fail under distribution shift or model perturbations.
- Develop a unified, model-agnostic framework for OOD detection that works across varying levels of model access (black-box, grey-box, white-box).
- Leverage information geometry—specifically the Fisher-Rao distance between probability distributions—to create a robust, geometrically grounded OOD metric.
- Enable effective OOD detection using only in-distribution data during training, while still benefiting from OOD data if available.
Proposed method
- Define the Fisher-Rao distance as a Riemannian metric on the manifold of multivariate Gaussian distributions modeling the softmax outputs and feature representations of a DNN.
- Compute the geodesic distance between the probability density functions of in-distribution and test samples in the feature space, capturing intrinsic geometric mismatch.
- Combine logits and intermediate layer features via a unified Fisher-Rao distance metric to improve discrimination between in- and out-of-distribution samples.
- Support multiple access levels: in black-box mode, only logits are used; in grey-box mode, gradients are used to perturb inputs for enhanced feature discrimination; in white-box mode, both logits and low-level features are fused.
- Use a pre-processing step in grey- and white-box settings that adds small noise in the direction of the input gradient to amplify OOD sample sensitivity.
- Train the OOD detector using only in-distribution data, with optional fine-tuning if OOD samples are available.
Experimental results
Research questions
- RQ1Can information geometry, specifically the Fisher-Rao distance, provide a more robust and generalizable metric for OOD detection than traditional uncertainty-based methods?
- RQ2How effective is the proposed Igeood framework under varying levels of model access (black-box, grey-box, white-box) without requiring OOD data during training?
- RQ3To what extent does combining logits and learned features through a geometric distance improve OOD detection performance across diverse architectures and datasets?
- RQ4Does the use of Fisher-Rao distance lead to better generalization and robustness against small model parameter changes compared to existing methods?
- RQ5Can the method maintain high performance even when OOD data is not available during training, while still benefiting from it if provided?
Key findings
- Igeood achieves state-of-the-art performance on multiple benchmark datasets, including CIFAR-10, CIFAR-100, SVHN, and TinyImageNet, across various network architectures (DenseNet, ResNet).
- In the black-box setting, Igeood achieves an average AUC of 77.0 ± 15 on the benchmark, outperforming prior methods, with 92.3 ± 5.9 AUC in the white-box setting using both logits and features.
- On the SVHN dataset with ResNet, Igeood reaches 99.6 ± 0.5 AUC in the white-box setting, demonstrating near-perfect OOD detection capability.
- The method shows strong robustness: in the grey-box setting with gradient-based pre-processing, AUC increases significantly (e.g., from 91.7 ± 12 to 94.0 ± 9.0 on CIFAR-10 with DenseNet).
- Histograms in Figures 7–10 show clear separation between in-distribution and OOD scores across all settings, confirming the method’s discriminative power.
- Even without OOD data during training, Igeood achieves competitive results (e.g., 77.0 ± 15 AUC on CIFAR-10 with DenseNet), and performance improves when OOD data is used for validation or fine-tuning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.