arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.06595cs.CVcs.LG
收藏

OAMixer:面向视觉Transformer的对象感知混合层

OAMixer: Object-aware Mixing Layer for Vision Transformers

KAIST(韩国科学技术院)

Hyunwoo Kang, Sangwoo Mo, Jinwoo Shin

摘要:

基于补丁的模型,例如,视觉Transformer(ViTs)和混合器在各种视觉识别任务上显示出令人印象深刻的结果,替代了经典的卷积网络。虽然最初的基于补丁的模型(ViTs)平等对待所有补丁,最近的研究表明,纳入归纳偏差,如空间性的代表。然而,大多数先前的工作只集中在补丁的位置,忽略了场景结构的图像。因此,我们的目标是进一步指导使用对象信息的补丁的相互作用。具体来说,我们提出了OAMixer(对象感知混合层),它校准基于对象标签的补丁模型的补丁混合层。在这里,我们以无监督或弱监督的方式获得对象标签,即,不需要额外的人工注释成本。使用对象标签,OAMixer使用可学习的缩放参数计算重新加权遮罩,该参数增强包含类似对象的补丁的交互,并将遮罩应用于补丁混合层。通过学习以对象为中心的表示,我们证明了OAMixer提高了各种基于补丁的模型(包括ViTs,MLP Mixers和ConvMixers)的分类准确性和背景鲁棒性。此外,我们展示了OAMixer增强了各种下游任务,包括大规模分类,自监督学习和多对象识别,验证了OAMixer的通用适用性

英文摘要:

Patch-based models, e.g., Vision Transformers (ViTs) and Mixers, have shown impressive results on various visual recognition tasks, alternating classic convolutional networks. While the initial patch-based models (ViTs) treated all patches equally, recent studies reveal that incorporating inductive bias like spatiality benefits the representations. However, most prior works solely focused on the location of patches, overlooking the scene structure of images. Thus, we aim to further guide the interaction of patches using the object information. Specifically, we propose OAMixer (object-aware mixing layer), which calibrates the patch mixing layers of patch-based models based on the object labels. Here, we obtain the object labels in unsupervised or weakly-supervised manners, i.e., no additional human-annotating cost is necessary. Using the object labels, OAMixer computes a reweighting mask with a learnable scale parameter that intensifies the interaction of patches containing similar objects and applies the mask to the patch mixing layers. By learning an object-centric representation, we demonstrate that OAMixer improves the classification accuracy and background robustness of various patch-based models, including ViTs, MLP-Mixers, and ConvMixers. Moreover, we show that OAMixer enhances various downstream tasks, including large-scale classification, self-supervised learning, and multi-object recognition, verifying the generic applicability of OAMixer

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

↑