激活与拒绝:面向类别偏移下的安全域泛化
Activate and Reject: Towards Safe Domain Generalization under Category Shift
AI总结:
本文针对类别偏移下的域泛化问题,提出ART框架,通过训练时优化未知概率与输出平滑、测试时基于跨域最近邻和原型的无参数在线自适应,在多个视觉任务上提升了模型泛化性能。
摘要:
尽管深度神经网络在域内测试样本上表现出色,但当部署到经常出现新域和新物体类别的开放世界中时,要获得令人满意的准确率并非易事。本文研究了一个实际问题:类别偏移下的域泛化(Domain Generalization under Category Shift, DGCS),该问题旨在在目标域中同时检测未知类别样本并分类已知类别样本。与以往的域泛化(DG)工作相比,我们面临两个新挑战:1)如何在仅使用源域已知类别样本训练的过程中学习“未知”的概念;2)如何使源域训练的模型适应未见过的环境,以实现安全的模型部署。为此,我们提出了一种新颖的激活与拒绝(Activate and Reject, ART)框架,该框架重塑模型的决策边界以适配未知类别,并利用无标注测试数据进行事后修正,以进一步区分已知和未知类别。具体而言,在训练阶段,我们通过优化未知概率来提升对未知类别的响应,随后对整体输出进行平滑处理以缓解过置信问题。在测试阶段,我们提出了一种逐步式在线自适应方法,该方法借助跨域最近邻和类别原型信息来预测标签,无需更新网络参数,也不使用基于阈值的机制。实验表明,ART在不同的视觉任务上持续提升了深度网络的泛化能力。在图像分类任务中,与此前的最优方法相比,ART的H-score平均提升了6.1%。在目标检测和语义分割任务中,我们构建了新的基准,并取得了具有竞争力的性能。
英文摘要:
Albeit the notable performance on in-domain test points, it is non-trivial for deep neural networks to attain satisfactory accuracy when deploying in the open world, where novel domains and object classes often occur. In this paper, we study a practical problem of Domain Generalization under Category Shift (DGCS), which aims to simultaneously detect unknown-class samples and classify known-class samples in the target domains. Compared to prior DG works, we face two new challenges: 1) how to learn the concept of ``unknown'' during training with only source known-class samples, and 2) how to adapt the source-trained model to unseen environments for safe model deployment. To this end, we propose a novel Activate and Reject (ART) framework to reshape the model's decision boundary to accommodate unknown classes and conduct post hoc modification to further discriminate known and unknown classes using unlabeled test data. Specifically, during training, we promote the response to the unknown by optimizing the unknown probability and then smoothing the overall output to mitigate the overconfidence issue. At test time, we introduce a step-wise online adaptation method that predicts the label by virtue of the cross-domain nearest neighbor and class prototype information without updating the network's parameters or using threshold-based mechanisms. Experiments reveal that ART consistently improves the generalization capability of deep networks on different vision tasks. For image classification, ART improves the H-score by 6.1% on average compared to the previous best method. For object detection and semantic segmentation, we establish new benchmarks and achieve competitive performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。