Modeling Label Correlations with Latent Context for Multi-label Recognition

Zhaomin Chen, Quan Cui, Ruoxi Deng, Jie Hu, Guodao ZhangECCV 2024

Abstract

Traditional multi-label recognition often relies on simple label co-occurrence, which can be noisy and insufficient in complex scenes. This paper proposes a novel framework that embeds latent context information (e.g., "sea" or "tennis court") into label features. By capturing context-dependent correlations, the model significantly improves performance in both full and partial-label scenarios.

Introduction

Identifying all objects within a single image—multi-label recognition—is a cornerstone of computer vision. While existing methods leverage label correlations (e.g., "tennis racket" and "tennis ball"), they often fail to account for the underlying context that drives these relationships. This work introduces a context-aware approach to model deeper structural dependencies between labels.

The Challenge: Noisy Co-occurrence and the "Person" Problem

A major flaw in current methods is the reliance on statistical co-occurrence. For instance, a "person" appears in a vast variety of scenes, making it a poor predictor for other objects without additional information. The missing link is latent context.

Conceptual comparison between conventional methods and the proposed context-aware approach.

As shown in the figure above, while conventional methods struggle to link a "person" to a "surfboard" or "tennis racket" due to high variance, identifying the latent context (like "Sea" or "Tennis Court") provides the necessary bridge to establish strong, meaningful correlations.

Proposed Methodology

The authors introduce a three-part architecture to integrate latent context:

  1. Multi-Level Context Feature Fusion (MLFF): This module fuses features from multiple backbone layers (e.g., ResNet-101) to create a "feature pyramid" capturing both low-level textures and high-level semantics.
  2. Latent Context Information Embedding (LCIE): Utilizing a Transformer-style cross-attention mechanism, learnable label embeddings act as "queries" to extract relevant context from the fused image features, making the categorical features "context-aware."
  3. Label Correlation Capturing (LCC): A Transformer encoder models relationships between these context-aware features. For partial-label scenarios, a "Masked Modeling" approach is used, forcing the model to infer missing labels from available ones and the learned context.

Experimental Results

The model was evaluated on MS-COCO 2014 and NUS-WIDE benchmarks.

  • State-of-the-Art Performance: On MS-COCO, the method achieved 86.8% mAP, outperforming previous leaders like Q2L and TDRG. On the noisy NUS-WIDE dataset, it reached 67.1% mAP.
  • Robustness to Partial Labels: The model's strength is most evident in partial-label settings. When 90% of labels were missing in MS-COCO, it outperformed the baseline by +15.4% mAP, demonstrating the power of context-driven inference.
  • Feature Clustering: Qualitative analysis via t-SNE showed that context-aware features for related objects (e.g., "Skis" and "Snowboard") naturally cluster together due to shared latent contexts like "Snow."

Conclusion

By explicitly modeling latent context, this framework moves beyond simple statistical co-occurrence to a more semantic understanding of object relationships. While the model faces challenges with contextual bias (e.g., recognizing objects in rare settings), it represents a significant step forward in robust multi-label recognition. Future work may explore causal inference to further decouple objects from their typical backgrounds.

Summary updated

BibTeX
@inproceedings{chen2024modeling,
  author = {Zhaomin Chen and Quan Cui and Ruoxi Deng and Jie Hu and Guodao Zhang},
  title = {{Modeling Label Correlations with Latent Context for Multi-label Recognition}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73414-4\_13},
}
Figure