Prototype-based Optimal Transport for Out-of-Distribution Detection
Ao Ke, Wenlong Chen, Chuanwen Feng, Yukun Cao, Xike Xie, S.Kevin Zhou,, Lei Feng

TL;DR
This paper introduces a novel OOD detection method using prototype-based optimal transport to measure distribution discrepancies, enhanced by virtual outliers, resulting in improved accuracy over existing techniques.
Contribution
The paper proposes a new OOD detection approach that combines optimal transport with virtual outliers to better distinguish ID and OOD data, especially near the ID boundary.
Findings
Outperforms state-of-the-art OOD detection methods
Effectively identifies OOD inputs close to ID data
Enhances detection accuracy through virtual outlier generation
Abstract
Detecting Out-of-Distribution (OOD) inputs is crucial for improving the reliability of deep neural networks in the real-world deployment. In this paper, inspired by the inherent distribution shift between ID and OOD data, we propose a novel method that leverages optimal transport to measure the distribution discrepancy between test inputs and ID prototypes. The resulting transport costs are used to quantify the individual contribution of each test input to the overall discrepancy, serving as a desirable measure for OOD detection. To address the issue that solely relying on the transport costs to ID prototypes is inadequate for identifying OOD inputs closer to ID data, we generate virtual outliers to approximate the OOD region via linear extrapolation. By combining the transport costs to ID prototypes with the costs to virtual outliers, the detection of OOD data near ID data is…
Peer Reviews
Decision·Submitted to ICLR 2025
- This paper provides a new perspective on the OOD detection problem by combining the concepts of prototype and optimal transmission. - The author conducted exhaustive experiments on multiple standard datasets, comparing the performance of POT with 21 existing technologies. The experiments are adequately designed and the results are clearly interpreted.
- Formulas 2 and 3 in the paper mention that the calculation of the transmission plan and cost matrix comes from the ID prototype and test samples. The simple linear extrapolation to obtain the OOD area is also based on the test samples. This solution is not realistic under the task setting of OOD detection. - The paper mentions that the OOD area is obtained by simple linear extrapolation, but based on the author's description and existing research, the difficulty of OOD samples lies in the appr
1. This paper addresses the OOD detection problem by measuring distribution discrepancy and proposes a novel approach using prototype-based optimal transport. 2. To identify OOD data with smaller distribution shifts from ID data, this paper proposes to generate virtual outliers to approximate the OOD region using representation linear representation extrapolation. 3. Comprehensive experimental results on various benchmark datasets demonstrate the effectiveness of the proposed detection method.
1. The experimental results and ablation studies require more explanation and discussion, rather than just describing the phenomena. 2. Although this paper reduces computational complexity by introducing the entropy regularization term and the Sinkhorn-Knopp algorithm, the optimal transport problem is still computationally intensive on large-scale datasets. This may limit the application of the proposed method POT in resource-constrained environments. 3. Is the constraint w<0 in Eq. (8) necessar
- The work addressed an important topic of OOD detection, and designed a pratical method. - The proposed method used two key techniques: optimal transport and virtual outliers via linear extrapolation. The work illustrate the insights behind these techniques quite clearly. - The experiments are quite extensive and the results are quite convincing, showing the strong performance and investigating important aspects of the method like robustness to hyperparameters.
- See the questions below.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSmart Grid Security and Resilience · Smart Grid Energy Management · Water Systems and Optimization
