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

用于弱监督目标定位的空间感知令牌

Spatial-Aware Token for Weakly Supervised Object Localization

University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院);University of Rochester(罗切斯特大学)

Pingyu Wu, Wei Zhai, Yang Cao, Jiebo Luo, Zheng-Jun Zha

AI总结:

本文提出空间感知令牌SAT,通过任务特定空间令牌和空间感知注意力模块缓解分类与定位的优化冲突,并设计批量面积损失与归一化损失增强弱监督,在CUB-200和ImageNet上取得领先的弱监督目标定位性能。

摘要:

弱监督目标定位(WSOL)是一项具有挑战性的任务,旨在仅利用图像级监督来定位目标。近期工作将视觉Transformer应用于WSOL,并通过利用自注意力机制中的长程特征依赖取得了显著成功。然而,现有的基于Transformer的方法将分类特征图合成为定位图,这导致分类任务与定位任务之间产生优化冲突。为解决该问题,我们提出学习一个任务特定的空间感知令牌(SAT),以弱监督方式对定位进行条件化。具体而言,首先在输入空间中引入一个空间令牌,用于为定位任务聚合表示。然后构建一个空间感知注意力模块,使空间令牌能够通过查询生成不同图像块的前景概率,并从分类任务中提取定位知识。此外,针对从图像级标签获得的稀疏且不平衡的像素级监督问题,设计了两个空间约束,包括批量面积损失和归一化损失,以补偿并增强该监督。实验表明,所提出的SAT在CUB-200和ImageNet上均取得了最先进的性能,GT-known Loc分别达到98.45%和73.13%。即使在ImageNet每类仅使用1张图像进行训练的极端设置下,SAT的GT-known Loc已超过SOTA方法2.1%。代码和模型可在https://github.com/wpy1999/SAT获取。

英文摘要:

Weakly supervised object localization (WSOL) is a challenging task aiming to localize objects with only image-level supervision. Recent works apply visual transformer to WSOL and achieve significant success by exploiting the long-range feature dependency in self-attention mechanism. However, existing transformer-based methods synthesize the classification feature maps as the localization map, which leads to optimization conflicts between classification and localization tasks. To address this problem, we propose to learn a task-specific spatial-aware token (SAT) to condition localization in a weakly supervised manner. Specifically, a spatial token is first introduced in the input space to aggregate representations for localization task. Then a spatial aware attention module is constructed, which allows spatial token to generate foreground probabilities of different patches by querying and to extract localization knowledge from the classification task. Besides, for the problem of sparse and unbalanced pixel-level supervision obtained from the image-level label, two spatial constraints, including batch area loss and normalization loss, are designed to compensate and enhance this supervision. Experiments show that the proposed SAT achieves state-of-the-art performance on both CUB-200 and ImageNet, with 98.45% and 73.13% GT-known Loc, respectively. Even under the extreme setting of using only 1 image per class from ImageNet for training, SAT already exceeds the SOTA method by 2.1% GT-known Loc. Code and models are available at https://github.com/wpy1999/SAT.

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

↑