Learning in Imperfect Environment: Multi-Label Classification with Long-Tailed Distribution and Partial Labels

Wenqiao Zhang, Changshuo Liu, Lingze Zeng, Beng Chin Ooi, Siliang Tang, Yueting Zhuang

Abstract

Multi-label classification (MLC) in real-world scenarios often faces two significant hurdles: long-tailed (LT) class distributions and partial labels (PL). While previous works address these issues in isolation, this paper introduces the COMIC framework to tackle them jointly as a unified challenge (PLT-MLC). COMIC employs a Reflective Label Corrector, a Multi-Focal Modifier loss, and a Head-Tail Balancer to achieve state-of-the-art performance on newly established benchmarks, significantly improving accuracy for rare tail classes while maintaining robustness across the distribution.

Introduction

In ideal machine learning environments, datasets are perfectly annotated and classes are balanced. However, real-world large-scale datasets typically follow Zipf’s Law, where a few "head" categories appear frequently while a "long tail" of categories appear rarely. Furthermore, human annotators often exhibit bias, labeling only the most prominent objects and leaving others untagged, resulting in Partial Labels (PL).

Overview of the PLT-MLC problem and the proposed COMIC solution.

When Long-Tailed distributions and Partial Labels co-occur, standard models suffer. Missing labels are often incorrectly treated as negative samples, a mistake that is particularly devastating for rare tail classes that already lack sufficient positive data. This paper argues that LT and PL are inextricably linked and requires a joint approach termed PLT-MLC (Partial labeling and Long-Tailed Multi-Label Classification).

The COMIC Framework

The authors propose COMIC (COrrection → ModificatIon → balanCe), an end-to-end framework designed to mitigate the vicious cycle of data imperfection through three specialized modules.

The three-module architecture of the COMIC framework: Reflective Label Corrector, Multi-Focal Modifier, and Head-Tail Balancer.

1. Reflective Label Corrector (RLC)

To address the issue of missing labels being treated as negatives, the RLC module "recalls" missing labels during training. If the model predicts a class with confidence exceeding a dynamic, class-aware threshold, it treats that class as a "pseudo-label." By adjusting thresholds based on estimated class distributions, RLC ensures that label correction does not unfairly favor frequent head classes.

2. Multi-Focal Modifier (MFM) Loss

Standard Focal Loss, while useful for positive-negative imbalances, can suppress gradients for rare tail classes. MFM decouples focal factors into two granularities: an intra-sample factor (balancing positives vs. negatives) and an inter-sample factor (balancing head vs. tail classes). This dual-focus approach ensures the model maintains high sensitivity to rare positive samples.

3. Head-Tail Balancer (HTB)

Models typically overfit head classes and underfit tail classes. HTB maintains three parallel streams: Head, Tail, and Balanced. It utilizes the moving average of gradients to distill knowledge from the specialized head and tail models into a single balanced classifier, preventing the final model from developing a bias toward any specific segment of the distribution.

Experimental Setup and Results

To evaluate COMIC, the authors established two new benchmarks: PLT-COCO (based on MS-COCO) and PLT-VOC (based on PASCAL VOC). These datasets simulate real-world conditions with a 40% missing label rate and categorize classes into Many-shot (>100 samples), Medium-shot (20-100 samples), and Low-shot (<20 samples).

COMIC demonstrated superior performance across all metrics:

  • Total mAP: On PLT-COCO, COMIC achieved a total mAP of 55.08%, outperforming the next best baseline by 1.78%.
  • Tail Class Performance: The most dramatic gains occurred in "Low-shot" classes. COMIC reached 55.36% mAP for tail classes, compared to just 46.40% for standard Binary Cross Entropy (BCE).
  • Distributional Robustness: COMIC maintained a significantly smaller performance gap between head and tail classes, proving its effectiveness in creating a balanced learning environment.

Conclusion

COMIC effectively addresses the joint challenges of long-tailed distributions and partial labeling in multi-label classification. By moving beyond fixed thresholds and employing gradient-based balancing, it provides a robust solution for learning in imperfect environments. While the use of parallel backbones increases training overhead, the significant performance gains—especially for rare categories—mark a substantial advancement for real-world computer vision applications.

Summary updated

BibTeX
@inproceedings{zhang2023learning,
  author = {Wenqiao Zhang and Changshuo Liu and Lingze Zeng and Beng Chin Ooi and Siliang Tang and Yueting Zhuang},
  title = {{Learning in Imperfect Environment: Multi-Label Classification with Long-Tailed Distribution and Partial Labels}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure