arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.04206cs.CV
收藏

面向领域泛化的注意力分散

Attention Diversification for Domain Generalization

Hikvision Research Institute(海康威视研究院);Zhejiang University(浙江大学);National University of Singapore(新加坡国立大学);Chongqing University(重庆大学)

Rang Meng, Xianfeng Li, Weijie Chen, Shicai Yang, Jie Song, Xinchao Wang, Lei Zhang, Mingli Song, Di Xie, Shiliang Pu

摘要:

卷积神经网络(CNN)在学习区分特征方面已经表现出令人满意的结果。然而,当应用于看不见的领域时,最先进的模型通常容易由于域偏移而产生错误。在从捷径学习的角度研究这个问题后,我们发现魔鬼在于这样一个事实,即在不同领域上训练的模型仅仅偏向于不同的领域特定特征,而忽略了与任务相关的各种特征。在此指导下,提出了一种新的注意分散框架,该框架通过模型内和模型间注意分散正则化的协同作用,将适当的注意力重新分配给不同的任务相关特征。简而言之,在高级特征图上配备模型内注意力分散正则化,以通过迫使不同的通道将其最显著的注意力集中到不同的空间位置来实现通道内区分和跨通道分散。此外,提出了模型间注意力分散正则化(Inter-Model Attention Diversification Regularization),进一步提供任务相关的注意力分散和领域相关的注意力抑制,这是一种“模拟、划分和组装”的范式:通过利用多个领域特定模型模拟领域转移,将注意力图划分为任务相关组和领域相关组,并在每组内分别组装它们以执行正则化。在各种基准上进行了大量的实验和分析,以证明我们的方法与其他竞争方法相比具有最先进的性能。代码可在https://github.com/hikvision-research/DomainGeneralization上获得。

英文摘要:

Convolutional neural networks (CNNs) have demonstrated gratifying results at learning discriminative features. However, when applied to unseen domains, state-of-the-art models are usually prone to errors due to domain shift. After investigating this issue from the perspective of shortcut learning, we find the devils lie in the fact that models trained on different domains merely bias to different domain-specific features yet overlook diverse task-related features. Under this guidance, a novel Attention Diversification framework is proposed, in which Intra-Model and Inter-Model Attention Diversification Regularization are collaborated to reassign appropriate attention to diverse task-related features. Briefly, Intra-Model Attention Diversification Regularization is equipped on the high-level feature maps to achieve in-channel discrimination and cross-channel diversification via forcing different channels to pay their most salient attention to different spatial locations. Besides, Inter-Model Attention Diversification Regularization is proposed to further provide task-related attention diversification and domain-related attention suppression, which is a paradigm of "simulate, divide and assemble": simulate domain shift via exploiting multiple domain-specific models, divide attention maps into task-related and domain-related groups, and assemble them within each group respectively to execute regularization. Extensive experiments and analyses are conducted on various benchmarks to demonstrate that our method achieves state-of-the-art performance over other competing methods. Code is available at https://github.com/hikvision-research/DomainGeneralization.

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

↑