arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2203.12719cs.CV
收藏

对学生隐藏什么:注意力引导的掩码图像建模

What to Hide from Your Students: Attention-Guided Masked Image Modeling

National Technical University of Athens(雅典国立技术大学);Institute of Advanced Research in Artificial Intelligence (IARAI)(人工智能高级研究院(IARAI));Athena RC(雅典娜研究中心);University of Crete(克里特大学);IACM-Forth(希腊计算机科学研究所-基础研究与技术基金会)

Ioannis Kakogeorgiou, Spyros Gidaris, Bill Psomas, Yannis Avrithis, Andrei Bursuc, Konstantinos Karantzalos, Nikos Komodakis

摘要:

Transformers和掩蔽语言建模作为视觉Transformer和掩码图像建模(MIM)在计算机视觉中被迅速采用和探索。在这项工作中,我们认为,图像令牌掩蔽不同于文本中的令牌掩蔽,由于在图像中的令牌的数量和相关性。特别是,要生成一个具有挑战性的借口任务MIM,我们主张从随机掩蔽知情掩蔽。我们开发和展示这种想法的背景下,蒸馏为基础的MIM,教师Transformer编码器生成的注意力地图,我们用它来指导掩蔽的学生。因此,我们引入了一种新的掩蔽策略,称为注意力引导掩蔽(AttMask),我们证明了其有效性超过随机掩蔽的密集蒸馏为基础的MIM以及平原蒸馏为基础的自监督学习分类令牌。我们确认AttMask加速了学习过程,并提高了各种下游任务的性能。我们在https://github.com/gkakogeorgiou/attmask上提供了实现代码。

英文摘要:

Transformers and masked language modeling are quickly being adopted and explored in computer vision as vision transformers and masked image modeling (MIM). In this work, we argue that image token masking differs from token masking in text, due to the amount and correlation of tokens in an image. In particular, to generate a challenging pretext task for MIM, we advocate a shift from random masking to informed masking. We develop and exhibit this idea in the context of distillation-based MIM, where a teacher transformer encoder generates an attention map, which we use to guide masking for the student. We thus introduce a novel masking strategy, called attention-guided masking (AttMask), and we demonstrate its effectiveness over random masking for dense distillation-based MIM as well as plain distillation-based self-supervised learning on classification tokens. We confirm that AttMask accelerates the learning process and improves the performance on a variety of downstream tasks. We provide the implementation code at https://github.com/gkakogeorgiou/attmask.

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

↑