Multi-Label Image Classification with Weak Correlation Prior

Xiao Ouyang, Ruidong Fan, Hong Tao, Chenping HouCAAI 2022

Abstract

Image classification is a fundamental task in data analysis. Real-world images often contain multiple semantic labels, making multi-label classification a standard requirement. However, traditional methods rely on costly, large-scale annotated datasets. This paper introduces a novel model that performs multi-label classification using only "weak correlation priors"—label relationship data derived from historical sources—without requiring specific ground-truth labels for the target task. By leveraging label correlations to represent sample similarity and employing matrix decomposition with $\ell_{2,1}$ norm regularization, the proposed model achieves state-of-the-art performance across several benchmark datasets.

The Challenge of Label Scarcity

Multi-label image classification (MLIC) involves assigning multiple tags, such as "sun," "boat," and "water," to a single image. While supervised and weakly supervised methods have advanced this field, they typically depend on at least some ground-truth annotations. In many practical scenarios, obtaining these labels is prohibitively expensive.

The authors identify a more challenging but common scenario: classifying a new set of images for which zero labels exist, but for which a general understanding of label co-occurrence (e.g., "boats" often appear with "water") is available from prior data. This "weak correlation prior" serves as the bridge for unsupervised classification.

Overview of the weak correlation prior approach: using label correlations from historical data (Scenario 1) to classify new, unlabeled images (Scenario 2).

Methodology: Bridging Features and Labels

The proposed model treats label correlation as a structural guide. It operates on two primary assumptions: visual similarity implies label similarity, and shared feature patterns suggest overlapping labels.

Key Technical Components

  • Similarity Matching: The model minimizes the discrepancy between feature-based similarity (visual appearance) and label-based similarity (predicted tags).
  • Matrix Decomposition: To ensure predicted labels respect known category relationships, the projection matrix is decomposed into a coefficient matrix and the prior label correlation matrix. This forces the model to favor co-occurrences like "sun" and "cloud" over unlikely pairings.
  • Feature Selection via $\ell_{2,1}$ Norm: The model employs the $\ell_{2,1}$ norm for regularization, promoting row sparsity. This ensures that only the most discriminative visual features are selected for classification, effectively filtering out noise.
  • Iterative Optimization: An alternate iterative algorithm is used to solve the complex optimization problem, updating label assignments and projection weights until convergence.
A sample label correlation matrix used as a weak prior, showing co-occurrence probabilities between categories.

Experimental Evaluation

The model was tested on six diverse datasets, ranging from small geopolitical data (Flags) to large-scale scene datasets (Mirflickr):

  • Flags: 194 samples, 7 labels.
  • Image: 2,000 samples, 5 labels.
  • Pascal07 (PGist & PDH): 9,963 samples, 20 labels.
  • Mirflickr (MV3H1 & MHH): 25,000 samples, 38 labels.

Performance Insights

The model was compared against supervised (MLKNN, BiLAS), semi-supervised (CNMF), and weak-supervision (PARTICLE) benchmarks.

  • Accuracy Gains: On the "Image" dataset, the proposed method achieved a "One-error" of ~0.31, significantly outperforming MLKNN (0.48) when training data was limited.
  • MacroF1 Consistency: The model consistently delivered higher MacroF1 scores across datasets, demonstrating a robust balance between precision and recall, particularly as label complexity increased.
  • Robustness: The approach proved resilient to noise in the correlation matrix; performance remained stable even when the prior was calculated from a small, random subset (30%) of historical data.

Limitations and Future Work

While highly effective, the method faces challenges as the label space grows exponentially (the "curse of dimensionality"). Additionally, converting "soft" label probabilities into hard assignments requires setting a threshold ($z$). The authors utilized $1/4C$ (where $C$ is the number of labels), but optimal thresholding remains a manual task. Future work may focus on dynamic priors that adapt as the model learns more about the specific target dataset, further closing the gap between unsupervised and fully supervised systems.

Summary updated

BibTeX
@inproceedings{ouyang2022multi,
  author = {Xiao Ouyang and Ruidong Fan and Hong Tao and Chenping Hou},
  title = {{Multi-Label Image Classification with Weak Correlation Prior}},
  booktitle = {CAAI},
  year = {2022},
  doi = {10.26599/air.2022.9150006},
}
Figure