arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.14832cs.CVcs.LG
收藏

H2ST:面向持续分布外检测的分层双样本检验

H2ST: Hierarchical Two-Sample Tests for Continual Out-of-Distribution Detection

University of Electronic Science and Technology of China(电子科技大学);University of Texas at Dallas(德克萨斯大学达拉斯分校)

Yuhang Liu, Wenjie Zhao, Yunhui Guo

AI总结:

针对开放世界任务增量学习中现有持续OOD检测依赖模型性能、阈值难选、无法任务级识别的问题,提出分层双样本检验方法H2ST,通过假设检验免阈值、利用特征图并采用分层架构,实现高性能低开销的任务级OOD检测。

摘要:

任务增量学习(Task Incremental Learning, TIL)是持续学习(Continual Learning, CL)的一种特殊形式,模型在该场景下从非平稳数据流中增量学习。现有TIL方法均在封闭世界假设下运行,假定输入数据都属于分布内(in-distribution, ID)。但在开放世界场景中,输入样本可能来自分布外(out-of-distribution, OOD)来源,其任务身份本质上是未知的。持续检测OOD样本给当前OOD检测方法带来了若干挑战:依赖模型输出导致对模型性能的过度依赖,合适阈值的选取存在难度,阻碍了实际部署,且二分类的ID/OOD分类无法提供任务层面的识别。为解决这些问题,我们提出了一种名为分层双样本检验(Hierarchical Two-sample Tests, H2ST)的新型持续OOD检测方法。H2ST通过假设检验消除了阈值选择的需求,并利用特征图更好地发挥模型能力,不会过度依赖模型性能。所提出的分层架构能够实现任务级检测,与非分层分类器双样本检验相比,性能更优且开销更低。大量实验与分析验证了H2ST在开放世界TIL场景下的有效性,以及其相较于现有方法的优越性。代码可在https://github.com/YuhangLiuu/H2ST获取。

英文摘要:

Task Incremental Learning (TIL) is a specialized form of Continual Learning (CL) in which a model incrementally learns from non-stationary data streams. Existing TIL methodologies operate under the closed-world assumption, presuming that incoming data remains in-distribution (ID). However, in an open-world setting, incoming samples may originate from out-of-distribution (OOD) sources, with their task identities inherently unknown. Continually detecting OOD samples presents several challenges for current OOD detection methods: reliance on model outputs leads to excessive dependence on model performance, selecting suitable thresholds is difficult, hindering real-world deployment, and binary ID/OOD classification fails to provide task-level identification. To address these issues, we propose a novel continual OOD detection method called the Hierarchical Two-sample Tests (H2ST). H2ST eliminates the need for threshold selection through hypothesis testing and utilizes feature maps to better exploit model capabilities without excessive dependence on model performance. The proposed hierarchical architecture enables task-level detection with superior performance and lower overhead compared to non-hierarchical classifier two-sample tests. Extensive experiments and analysis validate the effectiveness of H2ST in open-world TIL scenarios and its superiority to the existing methods. Code is available at \href{https://github.com/YuhangLiuu/H2ST}{https://github.com/YuhangLiuu/H2ST}.

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

↑