Abstract
Multi-Label Few-Shot Image Classification (ML-FSIC) poses a significant challenge to traditional few-shot learning methods that rely on global image averages. In multi-label scenarios, global features often contain noise from co-occurring objects and background elements, leading to "polluted" class prototypes. This paper introduces a novel framework that leverages word embeddings as semantic anchors to guide local feature selection. Through a Loss Change Measurement (LCM) strategy and a multi-modal cross-interaction module, the proposed method identifies label-specific regions and constructs accurate prototypes from limited examples, achieving state-of-the-art performance across multiple benchmarks including MS-COCO and PASCAL VOC.
The Problem: From Single-Label to Multi-Label FSIC
Standard Few-Shot Image Classification (FSIC) typically operates under the assumption that each image belongs to a single category. In this single-label setting, a representative vector (prototype) for a class is created by averaging the features of support images. This approach is effective when the entire image context is relevant to one label.
However, real-world images are frequently multi-label. For instance, a single photograph might contain a "person," a "car," and a "bus." Averaging global features in such cases results in prototypes contaminated by irrelevant features from other objects or the background. The core challenge of ML-FSIC is to disentangle these features and identify specific local regions corresponding to each label, especially when only one or five examples are available for training.
Methodology
The proposed framework employs a three-stage strategy to gradually refine label prototypes:
- Joint Embedding & Cross-Modality (CM) Loss: Word embeddings (e.g., GloVe, BERT) and visual features are projected into a shared semantic space. A CM-loss ensures alignment between linguistic concepts and visual representations, providing an initial, albeit noisy, prototype based on prior linguistic knowledge.
- Loss Change Measurement (LCM): To filter out background noise and irrelevant objects, the model employs a "hard selection" mechanism. It calculates the impact of removing specific local features on the classification loss. By using a first-order Taylor approximation (gradients), the model achieves a fast, saliency-style selection that discards features with minimal impact on the loss.
- Multi-modal Cross-interaction: A "soft selection" process further refines features using two sub-modules:
- Channel-wise Cross-attention: Uses word embeddings as queries to attend to relevant visual patterns in the local features.
- Word Embedding-based Dynamic Convolution: Generates custom convolutional kernels directly from label embeddings to filter and enhance specific visual features.
Key Results and Insights
The model was evaluated on MS-COCO, PASCAL VOC, NUS-WIDE, and iMaterialist. Key findings include:
- Superior Performance: On the MS-COCO 1-shot task, the model achieved a 64.2% mAP (using a GoogleNet-v3 backbone), a substantial improvement over the previous 45.3% baseline (LaSO).
- Local Feature Importance: The research demonstrates that global pooling is detrimental to multi-label accuracy. Treating images as grids of local descriptors allows for successful object disentanglement.
- Semantic Guidance: Word embeddings serve as powerful spatial guides. In the absence of dense visual data, language provides a prior that allows the model to "ask" the image where specific objects are located.
- Zero-Shot Capability: The aligned joint space enables respectable zero-shot performance (up to 23.65% mAP on COCO), demonstrating the effectiveness of the cross-modal alignment even without visual training examples.
Conclusion
By shifting the focus from global averages to label-specific local features guided by semantic embeddings, this research provides a robust solution for the complexities of multi-label few-shot learning. While the model excels at identifying discrete objects, future work may explore extending the framework to handle abstract image-wide concepts like "sunset" or "underwater" and utilizing Large Language Models for more context-aware label embeddings.
Summary updated