arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.11726cs.LGcs.CV
收藏

利用最优传输的条件分布熵检测分布外样本

Detecting Out-of-Distribution Samples via Conditional Distribution Entropy with Optimal Transport

University of Science and Technology of China(中国科学技术大学);Suzhou Institute for Advanced Research, USTC(中国科学技术大学苏州高等研究院)

Chuanwen Feng, Wenlong Chen, Ao Ke, Yilong Ren, Xike Xie, S. Kevin Zhou

AI总结:

本文将 OOD 检测建模为离散最优传输问题,提出条件分布熵评分以融合训练与测试输入的几何信息,在基准实验中优于现有方法。

摘要:

在现实世界中部署经过训练的机器学习模型时,不可避免地会接收到来自分布外(OOD)来源的输入。例如,在持续学习场景中,由于领域的非平稳性,遇到 OOD 样本是很常见的。更一般地说,当我们能够获得一组测试输入时,现有丰富的 OOD 检测解决方案,尤其是近期基于距离的方法所展现的前景,未能有效利用来自训练样本和测试输入的分布信息。在本文中,我们认为,在测试输入可用的情况下,融合训练样本与测试输入几何信息的经验概率分布对于 OOD 检测可能极为有益。为解决这一问题,我们建议将 OOD 检测建模为一个离散最优传输问题。在最优传输框架内,我们提出了一种名为“条件分布熵”的新型评分函数,用于量化测试输入为 OOD 样本的不确定性。我们的方案继承了某些基于距离方法的优点,同时摆脱了对分布假设、先验知识和特定训练机制的依赖。在基准数据集上进行的大量实验表明,我们的方法在 OOD 检测方面优于竞争方法。

英文摘要:

When deploying a trained machine learning model in the real world, it is inevitable to receive inputs from out-of-distribution (OOD) sources. For instance, in continual learning settings, it is common to encounter OOD samples due to the non-stationarity of a domain. More generally, when we have access to a set of test inputs, the existing rich line of OOD detection solutions, especially the recent promise of distance-based methods, falls short in effectively utilizing the distribution information from training samples and test inputs. In this paper, we argue that empirical probability distributions that incorporate geometric information from both training samples and test inputs can be highly beneficial for OOD detection in the presence of test inputs available. To address this, we propose to model OOD detection as a discrete optimal transport problem. Within the framework of optimal transport, we propose a novel score function known as the \emph{conditional distribution entropy} to quantify the uncertainty of a test input being an OOD sample. Our proposal inherits the merits of certain distance-based methods while eliminating the reliance on distribution assumptions, a-prior knowledge, and specific training mechanisms. Extensive experiments conducted on benchmark datasets demonstrate that our method outperforms its competitors in OOD detection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑