In-sample Contrastive Learning and Consistent Attention for Weakly Supervised Object Localization
Weakly supervised object localization (WSOL) aims to localize the target object using only the image-level supervision. Recent methods encourage the model to activate feature maps over the entire object by dropping the most discriminative parts. However, they are likely to induce excessive extension to the backgrounds which leads to over-estimated localization. In this paper, we consider the background as an important cue that guides the feature activation to cover the sophisticated object region and propose contrastive attention loss. The loss promotes similarity between foreground and its dropped version, and, dissimilarity between the dropped version and background. Furthermore, we propose foreground consistency loss that penalizes earlier layers producing noisy attention regarding the later layer as a reference to provide them with a sense of backgroundness. It guides the early layers to activate on objects rather than locally distinctive backgrounds so that their attentions to be similar to the later layer. For better optimizing the above losses, we use the non-local attention blocks to replace channel-pooled attention leading to enhanced attention maps considering the spatial similarity. Last but not least, we propose to drop background regions in addition to the most discriminative region. Our method achieves state-of-theart performance on CUB-200-2011 and ImageNet benchmark datasets regarding top-1 localization accuracy and MaxBoxAccV2, and we provide detailed analysis on our individual components. The code will be publicly available online for reproducibility.
Code (1)
Tasks
Contrastive LearningObjectObject LocalizationWeakly-Supervised Object LocalizationSimilar Papers 제목 키워드 기반
Weakly Supervised Contrastive Learning
Unsupervised visual representation learning has gained much attention from the computer vision community because of the recent achievement of contrastive learning. Most of the existing contrastive learning frameworks ado…
Contrastive LearningRepresentation LearningSelf-Supervised Image ClassificationSemi-Supervised Image ClassificationActionness Inconsistency-guided Contrastive Learning for Weakly-supervised Temporal Action Localization
Weakly-supervised temporal action localization (WTAL) aims to detect action instances given only video-level labels. To address the challenge, recent methods commonly employ a two-branch framework, consisting of a class-…
Action LocalizationContrastive LearningRepresentation LearningTemporal Action Localization+2Object Discovery via Contrastive Learning for Weakly Supervised Object Detection
Weakly Supervised Object Detection (WSOD) is a task that detects objects in an image using a model trained only on image-level annotations. Current state-of-the-art models benefit from self-supervised instance-level supe…
Contrastive LearningObjectObject DetectionObject Discovery+1Contrastive Learning for Weakly Supervised Phrase Grounding
Phrase grounding, the problem of associating image regions to caption words, is a crucial component of vision-language tasks. We show that phrase grounding can be learned by optimizing word-region attention to maximize a…
Contrastive LearningLanguage ModelingLanguage ModellingPhrase GroundingContrastive Multiple Instance Learning for Weakly Supervised Person ReID
The acquisition of large-scale, precisely labeled datasets for person re-identification (ReID) poses a significant challenge. Weakly supervised ReID has begun to address this issue, although its performance lags behind f…
Multiple Instance LearningPerson Re-Identification