Prototype-based Optimal Transport for Out-of-Distribution Detection
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 3018-3026.
https://doi.org/10.24963/ijcai.2025/336
Keywords
- Machine Learning: ML: Trustworthy machine learning
- Data Mining: DM: Anomaly/outlier detection
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 in-distribution (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 emphasized, thereby enhancing the distinction between ID and OOD inputs. Extensive evaluations demonstrate the superiority of our method over state-of-the-art methods.
@inproceedings{ijcai2025p336,
title = {Prototype-based Optimal Transport for Out-of-Distribution Detection},
author = {Ke, Ao and Chen, Wenlong and Feng, Chuanwen and Cao, Yukun and Xie, Xike and Zhou, S. Kevin and Feng, Lei},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {3018--3026},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/336},
url = {https://doi.org/10.24963/ijcai.2025/336},
}
TY - CPAPER TI - Prototype-based Optimal Transport for Out-of-Distribution Detection AU - Ke, Ao AU - Chen, Wenlong AU - Feng, Chuanwen AU - Cao, Yukun AU - Xie, Xike AU - Zhou, S. Kevin AU - Feng, Lei T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 3018 EP - 3026 DO - 10.24963/ijcai.2025/336 UR - https://doi.org/10.24963/ijcai.2025/336 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: