Skip to main content
QUICK REVIEW

[Paper Review] Weakly-supervised Object Localization for Few-shot Learning and Fine-grained Few-shot Learning

Xiaojian He, Jinfu Lin|arXiv (Cornell University)|Mar 2, 2020
Domain Adaptation and Few-Shot LearningComputer Science28 references6 citations
TL;DR

This paper proposes a weakly-supervised object localization method for few-shot and fine-grained few-shot learning using a Self-Attention Based Complementary Module (SAC) to localize discriminative regions and a Semantic Alignment Module (SAM) to compute robust similarity distances via nearest neighbor alignment. The approach achieves state-of-the-art performance, especially on fine-grained benchmarks, with significant improvements in localization accuracy and generalization across datasets.

ABSTRACT

Few-shot learning (FSL) aims to learn novel visual categories from very few samples, which is a challenging problem in real-world applications. Many methods of few-shot classification work well on general images to learn global representation. However, they can not deal with fine-grained categories well at the same time due to a lack of subtle and local information. We argue that localization is an efficient approach because it directly provides the discriminative regions, which is critical for both general classification and fine-grained classification in a low data regime. In this paper, we propose a Self-Attention Based Complementary Module (SAC Module) to fulfill the weakly-supervised object localization, and more importantly produce the activated masks for selecting discriminative deep descriptors for few-shot classification. Based on each selected deep descriptor, Semantic Alignment Module (SAM) calculates the semantic alignment distance between the query and support images to boost classification performance. Extensive experiments show our method outperforms the state-of-the-art methods on benchmark datasets under various settings, especially on the fine-grained few-shot tasks. Besides, our method achieves superior performance over previous methods when training the model on miniImageNet and evaluating it on the different datasets, demonstrating its superior generalization capacity. Extra visualization shows the proposed method can localize the key objects more interval.

Motivation & Objective

  • To address the challenge of few-shot learning in low-data regimes where global representations fail to capture fine-grained details.
  • To improve few-shot classification by localizing discriminative object regions without requiring bounding box annotations.
  • To enhance feature representation stability by replacing prototype averaging with nearest neighbor-based semantic alignment.
  • To develop a lightweight, end-to-end trainable module that generalizes across diverse few-shot and fine-grained datasets.

Proposed method

  • The Self-Attention Based Complementary Module (SAC) uses a Channel-Based Attention Module (CBAM) to generate importance masks and complementary erased masks from feature maps.
  • The classifier performs dual classification on the original features and the masked features to produce two class activation maps (CAMs), which are fused to generate a more complete and integral object localization.
  • The method selects deep descriptors from the most activated regions using interpolation based on the fused CAM, focusing on discriminative local features.
  • The Semantic Alignment Module (SAM) computes semantic alignment distances by matching each query descriptor to its nearest neighbor among support descriptors, improving robustness to noise.
  • The framework is end-to-end trainable and compatible with various backbones like VGG-16 and ResNet.
  • The approach avoids reliance on extra data augmentation or annotated hallucination networks, focusing instead on attention-driven localization and relative similarity learning.

Experimental results

Research questions

  • RQ1Can weakly-supervised object localization improve few-shot classification performance by focusing on discriminative local regions?
  • RQ2How does attention-based complementary feature learning enhance localization accuracy compared to standard CAM methods?
  • RQ3Does nearest neighbor-based semantic alignment outperform prototype averaging in few-shot learning under low-data regimes?
  • RQ4To what extent does the proposed method generalize across different few-shot and fine-grained few-shot datasets?
  • RQ5Can the SAC and SAM modules be effectively combined to improve both localization and classification performance?

Key findings

  • The proposed method achieves 82.24% accuracy on Stanford Cars in 1-shot and 95.43% in 5-shot, significantly outperforming prior methods on fine-grained few-shot tasks.
  • On CUB-200-2011, the method reaches 83.72% accuracy in 5-shot, demonstrating strong performance on fine-grained classification.
  • The ablation study shows a 25.11% improvement with ResNet backbone when using SAM over Euclidean distance in 5-shot settings.
  • The SAC module alone improves performance by 4.47% in 1-shot and 4.19% in 5-shot compared to the baseline without SAC.
  • Visualization confirms that the SAC module localizes more complete and integral object regions than standard CAM, especially on fine-grained datasets.
  • The model generalizes well to unseen datasets when trained on miniImageNet, achieving 58.11% accuracy in 1-shot and 77.83% in 5-shot on Stanford Cars.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.