Discriminative Region-based Multi-Label Zero-Shot Learning

Sanath Narayan, Akshita Gupta, Salman H. Khan, Fahad Shahbaz Khan, Ling Shao, Mubarak ShahICCV 2021 · DOI

TL;DR

This paper tackles the challenging problem of multi-label zero-shot learning (ZSL), where models must identify multiple unseen object categories in images. They introduce a novel "Bi-level Attention Module" (BiAM) that preserves spatial resolution and enriches features with both local region and global scene context, significantly outperforming previous methods on large-scale benchmarks.

What Problem Does This Paper Address?

Standard image classification often assumes a single label per image. However, real-world images frequently contain multiple objects, making multi-label classification more realistic. The even more challenging scenario is multi-label zero-shot learning (ZSL), where the model must identify objects it has never seen during training. This is particularly difficult in large-scale datasets with hundreds or thousands of potential labels. Existing state-of-the-art methods often struggle because they:

  1. Use shared attention maps: These maps tend to diffuse attention across the image, failing to precisely pinpoint relevant regions for each specific class, especially when many classes are present.
  2. Spatially pool features too early: Aggregating region features into a single image-level vector before classification can entangle features from different classes, making it hard to distinguish between them.

This paper aims to overcome these limitations by proposing a method that maintains spatial information and discriminatively focuses attention.

Methods

The core of the proposed solution is a Bi-level Attention Module (BiAM) designed to enrich region-based features. BiAM operates in two stages:

  • Region Contextualized Block (RCB): This block uses a self-attention mechanism (inspired by Transformers) to allow different regions within an image to interact. This helps features from one region inform and enrich features from others, improving their discriminability.
  • Scene Contextualized Block (SCB): This block incorporates global scene context. It aligns region-based features with a global image feature, allowing the model to understand abstract scene concepts (like "nighttime" or "protest") that might be hard to infer from local regions alone.

Crucially, BiAM preserves the spatial resolution of features throughout this enrichment process. After enrichment, the features are used for region-level classification. Instead of pooling features globally, the model predicts class scores for each region individually. These per-region scores are then spatially pooled (using a top-k operation) to generate final image-level predictions. This approach aims to disentangle class features and prevent the "entanglement" problem.

Datasets

The proposed method was evaluated on two large-scale multi-label zero-shot learning benchmarks:

  • NUS-WIDE [6]: A widely used dataset with 81 human-annotated categories and additional labels from Flickr tags.
  • Open Images [17]: A much larger dataset with millions of images and thousands of labels.

The paper also briefly discusses experiments on standard multi-label classification tasks on these datasets.

Key Insights and Ideas

  • Spatial Resolution is Key: Preserving spatial information until the very end of the classification pipeline is crucial for multi-label ZSL, especially with many co-occurring classes. Early spatial pooling leads to feature entanglement.
  • Context is Multi-faceted: Both local region context (what's in a specific patch) and global scene context (the overall environment) are vital for accurate classification, particularly for abstract or scene-level labels.
  • Self-Attention for Region Interaction: Applying self-attention at the region level allows for richer feature representations by enabling regions to "talk" to each other.
  • Region-Level Classification for Disentanglement: Classifying features at the region level before global aggregation helps maintain class-specific discriminability, preventing confusion between similar or co-occurring classes.

Key Results

The proposed approach achieves state-of-the-art results on both NUS-WIDE and Open Images datasets for multi-label ZSL and GZSL (Generalized ZSL).

  • NUS-WIDE: Achieved an absolute gain of 6.9% mAP for ZSL compared to the previous best.
  • Open Images: Achieved an impressive 31.9% mAP gain for ZSL over the previous best.
  • The method also demonstrates significant improvements in F1 scores across various top-K settings.
  • Qualitative results (attention maps and predicted labels) show that the BiAM effectively focuses on relevant regions and correctly identifies classes, even abstract ones, outperforming standard feature extraction methods.
  • The paper also shows that their approach is robust to the choice of backbone, performing well even with self-supervised pre-trained models.

Limitations and Future Work

  • Computational Cost: While the paper claims comparable FLOPs and memory costs to LESA, attention mechanisms can still be computationally intensive, especially with very high-resolution images or a massive number of regions.
  • Abstract/Fine-grained Classes: While the method shows improvement, distinguishing between visually similar or fine-grained classes (e.g., "sunset vs. sunrise," "Caridean shrimp vs. Fried prawn") remains a challenge, as noted in the qualitative results.
  • Future Work: The authors suggest exploring more sophisticated attention mechanisms and potentially incorporating external knowledge graphs for even better reasoning. Further investigation into handling extremely fine-grained distinctions and improving robustness to noisy labels could also be future directions.

Summary updated

BibTeX
@inproceedings{narayan2021discriminative,
  author = {Sanath Narayan and Akshita Gupta and Salman H. Khan and Fahad Shahbaz Khan and Ling Shao and Mubarak Shah},
  title = {{Discriminative Region-based Multi-Label Zero-Shot Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00861},
}
Figure