Simple and Robust Loss Design for Multi-Label Learning with Missing Labels

Youcai Zhang, Yuhao Cheng, Xinyu Huang, Fei Wen, Rui Feng, Yaqian Li, Yandong GuoarXiv 2021

TL;DR

This paper tackles the challenging problem of multi-label image recognition where some labels are missing during training. The authors propose two novel, simple, and effective loss functions, "Hill loss" and "Self-Paced Loss Correction (SPLC)," that significantly improve performance without adding architectural complexity. These methods leverage an observation that models can identify potentially missing labels early in training, leading to more robust and accurate multi-label classification.

What Problem Does This Paper Address?

Multi-label image recognition, where an image can belong to multiple categories (e.g., a photo containing a "dog," "person," and "park"), is a crucial computer vision task. However, collecting complete and accurate labels for all categories is often impractical and expensive, especially for large datasets. This leads to "missing labels," where a positive label for an object present in an image is simply not annotated. This scenario, known as Multi-Label Learning with Missing Labels (MLML), makes training models difficult because the model might incorrectly learn that an object is absent when it's just unlabelled. Existing MLML methods often resort to complex network architectures or training schemes. This paper aims to address MLML by focusing on improving the loss function itself, making it more robust to these missing labels without increasing computational overhead.

Methods

The core of this work lies in designing new loss functions to handle missing labels. The authors introduce two primary methods:

  • Hill Loss: This is a novel robust loss specifically designed for negative labels. It re-weights the contribution of negative samples in a "hill-like" shape. The idea is to down-weight easy negatives and potential false negatives (which are actually positive but unlabelled) that have high predicted probabilities, while giving more weight to "semi-hard" negatives. This makes the model less sensitive to these mislabeled samples.
  • Self-Paced Loss Correction (SPLC): This method leverages an observation that models can identify potential missing labels (false negatives) with high precision early in training. SPLC uses a loss derived from a maximum likelihood criterion under an approximate distribution of missing labels. It gradually corrects these identified missing labels in a "self-paced" manner, meaning the model learns to correct itself over time. Unlike traditional pseudo-labeling, SPLC integrates this correction directly into the training loop, making it more efficient and potentially more accurate.

Additionally, the paper proposes a modification to the Focal loss called "Focal margin loss" for handling positive labels, aiming to better highlight "semi-hard" positive samples.

Datasets

The authors evaluate their methods on several standard multi-label image classification benchmarks:

  • MS-COCO (COCO): A widely used dataset for object detection and segmentation.
  • PASCAL VOC 2012 (VOC): Another popular dataset for object recognition.
  • NUS-WIDE (NUS): A large-scale dataset for multi-label image classification.
  • Open Images: A very large-scale dataset with a vast number of classes.

They also create training sets with varying percentages of missing labels (e.g., 75% and 40% labels left) to simulate real-world scenarios and test the robustness of their methods.

Key Insights and Ideas

  • Early Identification of Missing Labels: A crucial observation is that models, even early in training, can identify potential missing labels with surprisingly high precision. This is attributed to the inherent positive-negative imbalance in multi-label classification, where the model becomes conservative about predicting positives.
  • Loss Function as a Key Lever: The paper demonstrates that significant improvements in MLML can be achieved by focusing on robust loss function design, rather than solely on complex network architectures.
  • "Hill" for Negative Robustness: The Hill loss effectively re-weights negative samples to mitigate the impact of false negatives, outperforming existing methods like Focal and ASL in this regard.
  • Self-Paced Correction for Efficiency: SPLC offers an efficient and effective way to correct missing labels by integrating the correction process directly into training, avoiding the need for separate training stages.
  • Semi-Hard Mining for Positives: The "Focal margin" loss suggests that focusing on semi-hard positive samples is more beneficial for multi-label learning than aggressively hard mining.

Key Results

The proposed methods, Hill loss and SPLC, consistently achieve state-of-the-art performance on various MLML benchmarks.

  • On the COCO dataset with 40% missing labels, the combination of Focal margin and SPLC achieved a remarkable mAP gain of up to 3.43% over existing methods.
  • Hill loss alone demonstrated superiority over Focal and ASL by over 2% mAP.
  • SPLC showed significant improvements in both accuracy and training efficiency compared to traditional pseudo-labeling methods.
  • The methods proved robust across different datasets and even different backbone architectures (MobilenetV3, Resnet101, Swin-transformer).
  • Qualitative results (example images) show that models trained with Hill and SPLC are more robust to missing labels, predicting higher probabilities for them compared to models trained with standard BCE loss.

Limitations and Future Work

  • Hyper-parameter Sensitivity: While the authors claim their methods are robust, they acknowledge that parameters like the threshold for SPLC can be sensitive and suggest that adaptive thresholding for different classes and training stages could be a direction for future work.
  • Further Exploration of Semi-Hard Mining: The paper highlights the benefit of semi-hard mining for positives and suggests further research in this area.
  • Integration with Existing Methods: The authors note that their proposed loss functions are complementary to existing MLML techniques and can be combined to further boost performance.

Summary updated

BibTeX
@misc{zhang2021simple,
  author = {Youcai Zhang and Yuhao Cheng and Xinyu Huang and Fei Wen and Rui Feng and Yaqian Li and Yandong Guo},
  title = {{Simple and Robust Loss Design for Multi-Label Learning with Missing Labels}},
  year = {2021},
  eprint = {2112.07368},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.07368},
}
Figure