Reconstruction Regularized Deep Metric Learning for Multi-Label Image Classification

Changsheng Li, Chong Liu, Lixin Duan, Peng Gao, Kai Zheng · DOI

TL;DR

This paper introduces RETDM, a novel deep metric learning framework for multi-label image classification. It learns a shared latent space for images and labels using two-way distance metric learning and a reconstruction regularization to better capture inter-label correlations and improve classification accuracy.

What Problem Does This Paper Address?

Multi-label image classification, where an image can belong to multiple categories simultaneously, is a challenging task. Traditional approaches often treat labels independently, ignoring the inherent correlations between them (e.g., "sky" and "clouds" often co-occur). While deep learning has shown promise, effectively capturing these label dependencies and the complex relationships between image features and labels within a unified framework remains an open problem. Existing methods struggle to simultaneously learn discriminative embeddings for both images and labels while accounting for these inter-label relationships.

Methods

The proposed method, RETDM (Reconstruction Regularized Two-way Deep Metric Learning), tackles this by:

  • Embedding Net (EN): This module uses a Convolutional Neural Network (CNN, specifically VGG-16) to generate image embeddings and a Deep Neural Network (DNN) to generate label embeddings. These embeddings are mapped into a shared latent space.
  • Deep Metric Net (DMN): This is the core of the innovation and comprises three sub-modules:
  • Two-Way Distance Metric Module: This module learns a distance metric in the latent space from two perspectives. First, it ensures an image's embedding is closer to its correct label's embedding than to other labels' embeddings. Second, it ensures a label's embedding is closer to its corresponding image's embedding than to embeddings of images associated with other labels. This "two-way" approach aims to capture both image-label and label-image relationships more effectively.
  • Reconstruction Module: A regularization term is introduced via a reconstruction module. This module aims to reconstruct the original label vector from the label embedding, forcing the label embedding space to be more representative and robust.
  • Classification Module: A standard classification module (fully connected layer with sigmoid activation) is used for making final predictions on unseen images.

The entire framework is trained end-to-end, optimizing a combined loss function that includes classification loss, the proposed metric learning loss, and the reconstruction loss.

Datasets

The proposed RETDM framework was evaluated on three publicly available multi-label image datasets:

  • Scene: A dataset of 2,000 natural scene images with 5 class labels.
  • Mirflickr: A dataset of 25,000 images with 24 class labels, representing a generic domain.
  • Microsoft COCO (MS-COCO): A large-scale dataset with 80 classes, commonly used for image recognition tasks.

The authors used standard splits for training and testing, with 80% of images for training on Scene and Mirflickr, and the standard split for MS-COCO as per previous work.

Key Insights and Ideas

  • Two-Way Distance Metric: The core idea of learning distances from both image-to-label and label-to-image perspectives is a novel way to enforce stronger correlations in the latent space, going beyond traditional one-way metric learning.
  • Reconstruction Regularization for Label Embeddings: Using a reconstruction loss on the label embeddings helps to make them more meaningful and representative, which in turn benefits the overall classification task.
  • End-to-End Training: Integrating metric learning, reconstruction, and classification into a single end-to-end trainable network simplifies the pipeline and allows for joint optimization of all components.
  • Deep Metric Learning for Multi-Label is Tricky: The paper highlights that direct application of deep metric learning methods designed for other tasks (like face verification) to multi-label classification can be unstable, suggesting the need for specialized approaches.

Key Results

RETDM consistently outperformed state-of-the-art methods across various evaluation metrics (Hamming loss, ranking loss, coverage, one error, average precision, precision, and recall) on all three tested datasets. For instance, on the Scene dataset, RETDM achieved an average precision of 0.9285, surpassing other methods. On MS-COCO, it achieved a micro F1-score of 0.700, outperforming previous deep learning approaches. The study also showed that the two-way distance metric learning strategy was superior to a one-way approach.

Limitations and Future Work

  • Computational Burden: The paper acknowledges that finding nearest neighbors during training can increase computational cost.
  • Future Work: The authors suggest exploring the use of input images' nearest neighbors in addition to label nearest neighbors. They also propose a symmetric approach where input image's k nearest neighbors and their corresponding target labels could be involved, though this might further increase computation.

Summary updated

BibTeX
@article{li2020reconstruction,
  author = {Changsheng Li and Chong Liu and Lixin Duan and Peng Gao and Kai Zheng},
  title = {{Reconstruction Regularized Deep Metric Learning for Multi-Label Image Classification}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2020},
  doi = {10.1109/tnnls.2019.2924023},
}
Figure