arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.02444cs.LGstat.ML

MADOD:通过G-不变元学习将OOD检测泛化到未见领域

MADOD: Generalizing OOD Detection to Unseen Domains via G-Invariance Meta-Learning

The University of Texas at Dallas(德克萨斯大学达拉斯分校);Baylor University(贝勒大学)

Haoliang Wang, Chen Zhao, Feng Chen

AI总结:

MADOD提出一种基于元学习和G-不变性的框架,通过构造伪OOD任务和能量正则化,同时应对协变量与语义偏移,在未见领域实现高效OOD检测,AUPR提升8.48%-20.81%。

摘要:

现实世界的机器学习应用常常同时面临协变量偏移和语义偏移,这对传统的领域泛化和分布外(OOD)检测方法构成了挑战。我们引入了跨领域元学习分布外检测(MADOD),这是一个旨在同时应对这两种偏移的新型框架。MADOD利用元学习和G-不变性来增强模型在未见领域中的泛化能力和OOD检测性能。我们的关键创新在于任务构建:在每个元学习任务中,我们随机指定分布内类别作为伪OOD,利用现有数据模拟OOD场景。这种方法与基于能量的正则化相结合,能够学习鲁棒的、领域不变的特征,同时校准决策边界以实现有效的OOD检测。MADOD在测试领域不可知的环境中运行,推理时无需适应,因此适用于测试数据不可用的场景。在真实世界和合成数据集上的大量实验表明,MADOD在跨未见领域的语义OOD检测中表现出优越性能,AUPR提升了8.48%至20.81%,同时保持了具有竞争力的分布内分类准确率,代表了在处理协变量和语义偏移方面的重要进展。

英文摘要:

Real-world machine learning applications often face simultaneous covariate and semantic shifts, challenging traditional domain generalization and out-of-distribution (OOD) detection methods. We introduce Meta-learned Across Domain Out-of-distribution Detection (MADOD), a novel framework designed to address both shifts concurrently. MADOD leverages meta-learning and G-invariance to enhance model generalizability and OOD detection in unseen domains. Our key innovation lies in task construction: we randomly designate in-distribution classes as pseudo-OODs within each meta-learning task, simulating OOD scenarios using existing data. This approach, combined with energy-based regularization, enables the learning of robust, domain-invariant features while calibrating decision boundaries for effective OOD detection. Operating in a test domain-agnostic setting, MADOD eliminates the need for adaptation during inference, making it suitable for scenarios where test data is unavailable. Extensive experiments on real-world and synthetic datasets demonstrate MADOD's superior performance in semantic OOD detection across unseen domains, achieving an AUPR improvement of 8.48% to 20.81%, while maintaining competitive in-distribution classification accuracy, representing a significant advancement in handling both covariate and semantic shifts.

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

↑