Learning Category Correlations for Multi-label Image Recognition with Graph Networks

Qing Li, Xiaojiang Peng, Yu Qiao, Qiang PengarXiv 2019

Introduction

Multi-label image recognition is a fundamental task in computer vision where the goal is to identify all objects, attributes, or tags present in a single image. Unlike single-label classification, this task benefits significantly from understanding the relationships between labels. For instance, a "baseball" is highly likely to appear alongside a "bat" or a "glove."

Recent advancements have utilized Graph Convolutional Networks (GCNs) to model these global label correlations. However, early frameworks like ML-GCN relied on manually designed correlation graphs based on fixed dataset statistics. These hand-crafted graphs are inflexible, require extensive tuning, and may not represent the optimal mathematical structure for neural network learning. This paper introduces the Adaptive Graph Convolutional Network (A-GCN), which learns these label dependencies dynamically and end-to-end.

The A-GCN Framework

The A-GCN architecture consists of two primary branches that work in tandem to produce final classifications. The first is a standard Image CNN Branch (e.g., ResNet-101) that extracts visual features from the input image. The second is the Label GCN Branch, which evolves object classifiers by passing information through a learned graph.

The A-GCN architecture featuring the Image CNN and Adaptive Label Graph (LG) branches.

Adaptive Label Graph (LG) Module

The core innovation is the LG module. Instead of a static matrix, it takes semantic word embeddings of labels as input. These embeddings are processed through $1 \times 1$ convolutional layers and a dot product operation to generate a dynamic correlation matrix, $A \in R^{C \times C}$. This allows the model to adapt the graph structure based on the learned features rather than relying on pre-calculated co-occurrence statistics.

Sparse Correlation Constraint

A common issue in GCNs is "over-smoothing," where features across different nodes become indistinguishable if the graph is too densely connected. To combat this, the authors implement a Sparse Correlation Constraint using an L1-norm loss on the learned matrix. This forces the network to focus on the most meaningful, sparse connections between labels, preserving the distinctiveness of each category's classifier.

Experimental Evaluation

The A-GCN was evaluated on two major benchmarks: MS-COCO and the large-scale Fashion550K dataset.

Performance on MS-COCO

On the MS-COCO dataset, A-GCN achieved a mean Average Precision (mAP) of 83.1%. This outperforms the standard ResNet-101 baseline (80.3%) and matches or slightly exceeds the performance of the hand-tuned ML-GCN (83.0%), demonstrating that learned graphs are at least as effective as manually engineered ones while being significantly more flexible.

Per-class performance improvement of A-GCN over the ResNet-101 baseline on MS-COCO, highlighting gains in context-dependent categories.

Insights from Per-Class Analysis

Visualizing the per-class improvements reveals that A-GCN provides the largest boosts to objects that are physically or contextually dependent on others. Categories like "toaster," "hair drier," "spoon," and "backpack" saw significant gains. These objects rarely appear in isolation and benefit most from the GCN's ability to leverage the presence of surrounding context (like a kitchen or a person) to refine their detection.

Conclusion

The A-GCN demonstrates that label correlations for multi-label recognition can be learned effectively without manual intervention. By combining an adaptive graph module with a sparsity constraint, the model achieves state-of-the-art results and proves robust even on noisy, large-scale datasets like Fashion550K. This plug-and-play approach offers a scalable alternative to traditional graph-based methods in computer vision.

Summary updated

BibTeX
@misc{li2019learning,
  author = {Qing Li and Xiaojiang Peng and Yu Qiao and Qiang Peng},
  title = {{Learning Category Correlations for Multi-label Image Recognition with Graph Networks}},
  year = {2019},
  eprint = {1909.13005},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.13005},
}
Figure