Context-Based Semantic-Aware Alignment for Semi-Supervised Multi-Label Learning

Heng-Bo Fan, Ming-Kun Xie, Jiahao Xiao, Sheng-Jun HuangarXiv 2024 · DOI

Abstract

Semi-supervised multi-label learning (SSMLL) aims to leverage limited labeled data alongside a larger pool of unlabeled images. Current approaches using Vision-Language Models (VLMs) like CLIP often struggle with "many-to-one" alignment noise and ignore semantic context. This paper proposes a framework that introduces Semantic-Aware Alignment (SAA) for "one-to-one" label-specific feature extraction and a Context Identification (CI) auxiliary task to capture label correlations. Experimental results on MS-COCO, VOC-2012, and NUS-WIDE demonstrate that this approach consistently outperforms state-of-the-art methods.

Introduction

In real-world scenarios, images typically contain multiple objects, making multi-label learning (MLL) essential. However, the high cost of precise multi-label annotation necessitates effective semi-supervised strategies. While pre-trained VLMs provide a strong foundation, their standard application to MLL is often suboptimal. Existing methods align multiple text labels with a single global image embedding, leading to "noisy" signals that fail to capture local spatial information. Furthermore, these models often overlook the inherent correlations between labels—the "context" in which objects appear.

Methodology

Semantic-Aware Alignment (SAA)

To address the noise in many-to-one alignment, the proposed framework utilizes a Transformer Decoder to perform cross-attention between label text prompts and the image's local feature map. This process extracts label-specific image features, transforming the problem into a cleaner "one-to-one" alignment task. By matching specific labels to their corresponding image regions, the model achieves more precise localization and classification.

Context Identification (CI)

The authors introduce Context Identification as a semi-supervised auxiliary task to model label dependencies. By applying spectral clustering to label co-occurrence data, the label space is partitioned into $K$ distinct "contexts" (e.g., Kitchen, Traffic, Animals).

Figure 1: Illustration of the Context Identification (CI) module, which partitions the label space into semantic contexts to capture label correlations.

The model learns to predict the global context of an image, which serves as a semantic prior to narrow down likely label candidates and refine feature representations.

Pseudo-Labeling with CAT

For unlabeled data, the framework employs Class-distribution-aware Thresholding (CAT). This strategy generates pseudo-labels by ensuring that the predicted label distributions remain consistent with the statistics observed in the labeled dataset, mitigating the risk of confirmation bias.

Experimental Results

The method was evaluated on three major benchmarks: MS-COCO 2014, VOC-2012, and NUS-WIDE, across various labeled data ratios ($p$).

  • MS-COCO: With only 5% labeled data, the model achieved 69.09% mAP, surpassing the previous state-of-the-art (DualCoOp++) by nearly 2%.
  • NUS-WIDE: The performance lead was even more pronounced, with a ~3% mAP improvement over competitive baselines.
  • Ablation Studies: Removing either the SAA or CI modules resulted in significant performance degradation, confirming that both local object focus and global context awareness are critical.

Discussion and Limitations

The study highlights that simplifying the alignment task and incorporating semantic priors significantly boosts SSMLL performance. However, some limitations remain. The quality of context clusters depends on the initial co-occurrence matrix, which may be biased if the labeled set is too small. Additionally, the inclusion of a Transformer Decoder introduces some computational overhead during training.

Conclusion

By shifting to label-specific alignment and explicitly modeling semantic context, this framework provides a robust solution for multi-label learning with limited supervision. Future work will explore extending these concepts to open-vocabulary settings and improving the efficiency of the alignment process.

Summary updated

BibTeX
@misc{fan2024context,
  author = {Heng-Bo Fan and Ming-Kun Xie and Jiahao Xiao and Sheng-Jun Huang},
  title = {{Context-Based Semantic-Aware Alignment for Semi-Supervised Multi-Label Learning}},
  year = {2024},
  eprint = {2412.18842},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.18842},
}
Figure