用少量人工标注提升模型对分布外数据的适应与识别能力
AHA: Human-Assisted Out-of-Distribution Generalization and Detection
- 在最大消歧区域主动标注数据,高效区分语义与协变量分布外样本
- 仅需几百次人工标注,即可显著超越无需人工的先进方法
- 适合需要低成本标注但高鲁棒性的实际部署场景
现代机器学习模型在实际应用中常遭遇分布偏移,表现为协变量或语义上的分布外(OOD)变化。本文提出一种新型集成方法AHA(自适应人机协同分布外学习),通过在真实环境中人工标注数据,同时解决分布外泛化与检测问题。该方法在新提出的最大消歧区域进行标注,使语义与协变量分布外数据数量大致相等。在此区域内标注可最大程度区分两类分布外数据,从而最大化有限标注预算的效用。算法首先采用噪声二分搜索定位最大消歧区域,再在该区域执行标注,充分获取人类反馈价值。大量实验验证了该框架的有效性:仅需数百次人工标注,本方法在分布外泛化与检测任务上均显著优于不依赖人工标注的现有最先进方法。代码已公开于\url{https://github.com/HaoyueBaiZJU/aha}。
原文摘要 · Abstract (English)
Modern machine learning models deployed often encounter distribution shifts in real-world applications, manifesting as covariate or semantic out-of-distribution (OOD) shifts. These shifts give rise to challenges in OOD generalization and OOD detection. This paper introduces a novel, integrated approach AHA (Adaptive Human-Assisted OOD learning) to simultaneously address both OOD generalization and detection through a human-assisted framework by labeling data in the wild. Our approach strategically labels examples within a novel maximum disambiguation region, where the number of semantic and covariate OOD data roughly equalizes. By labeling within this region, we can maximally disambiguate the two types of OOD data, thereby maximizing the utility of the fixed labeling budget. Our algorithm first utilizes a noisy binary search algorithm that identifies the maximal disambiguation region with high probability. The algorithm then continues with annotating inside the identified labeling region, reaping the full benefit of human feedback. Extensive experiments validate the efficacy of our framework. We observed that with only a few hundred human annotations, our method significantly outperforms existing state-of-the-art methods that do not involve human assistance, in both OOD generalization and OOD detection. Code is publicly available at \url{https://github.com/HaoyueBaiZJU/aha}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。