Abstract
Multi-label classification in real-world scenarios often encounters long-tailed class distributions, where a few "head" classes dominate while many "tail" classes have sparse representation. This paper identifies two primary challenges unique to this setting: label co-occurrence, which complicates traditional re-sampling strategies, and negative dominance, where the abundance of negative labels suppresses the learning of rare classes. We propose the Distribution-Balanced (DB) Loss, which integrates re-balanced weighting to account for label coupling and negative-tolerant regularization to mitigate over-suppression. Experimental results on VOC-MLT and COCO-MLT demonstrate significant improvements over existing methods, particularly for tail classes.
Introduction
Most research on long-tailed data focuses on single-label classification. However, real-world images are inherently multi-label; a single scene might contain a "dog," "grass," and a "frisbee." When these labels follow a long-tailed distribution, standard training objectives like Binary Cross-Entropy (BCE) fail to capture the nuances of rare categories. This paper, presented at ECCV 2020, introduces a novel loss function designed to handle the specific complexities of multi-label imbalanced learning.
The Challenges of Multi-label Long-tailed Learning
Traditional approaches for single-label long-tailed learning, such as class-aware re-sampling, do not translate directly to multi-label tasks due to two major hurdles:
- Label Co-occurrence: In multi-label datasets, labels are often coupled. If a rare class (e.g., "leopard") frequently appears with a common class (e.g., "tree"), over-sampling the rare class inadvertently increases the frequency of the common class. This can inadvertently exacerbate the imbalance rather than solving it.
- Negative Dominance: In a large-scale dataset, any given image typically contains only a tiny fraction of the possible labels. Consequently, the vast majority of training signals for any specific class are negative. In standard BCE, these negative signals can overwhelm the positive ones, leading the model to become overly conservative and fail to predict rare classes.
Proposed Method: Distribution-Balanced Loss
To address these issues, the authors propose the Distribution-Balanced (DB) Loss, which consists of two main components: Re-balanced Weighting and Negative-Tolerant Regularization.
Re-balanced Weighting
Instead of simple class-frequency weights, the DB Loss employs a weighting scheme that accounts for the expected sampling frequency of each class under a re-sampling strategy. By estimating the probability of a class being sampled in a multi-label context, the authors derive weights that effectively decouple the influence of co-occurring labels. A smoothing function is then applied to these weights to ensure stability and prevent over-fitting to extreme tail classes.
Negative-Tolerant Regularization (NTR)
To combat negative dominance, NTR introduces an asymmetric approach to the loss function. It utilizes a margin-based strategy to reduce the gradient contribution of negative labels once the model's prediction for that label falls below a certain threshold. This "tolerance" prevents the model from being over-suppressed by the sheer volume of negative samples, allowing it to preserve the fragile signal of rare positive instances.
Experimental Results
The authors evaluated the DB Loss on two long-tailed benchmarks: VOC-MLT (20 classes) and COCO-MLT (80 classes). The results show a substantial performance leap over standard Empirical Risk Minimization (ERM) and other popular loss functions like Focal Loss.
- VOC-MLT: The method achieved 78.94% mAP, compared to 70.86% for ERM.
- COCO-MLT: The method reached 53.55% mAP, a significant improvement over the 41.27% achieved by ERM.
- Tail Performance: The most notable gains were observed in the rarest classes. On VOC-MLT, the mAP for tail classes increased from 65.31% to 79.30%, demonstrating the effectiveness of the negative-tolerant approach.
Conclusion
The Distribution-Balanced Loss provides a robust framework for multi-label classification in the presence of extreme class imbalance. By acknowledging the coupling of labels and the asymmetric nature of positive and negative signals, the DB Loss allows models to learn effectively from the "tail" without being drowned out by the "head." While the method introduces new hyperparameters for smoothing and tolerance, its superior performance on standard benchmarks suggests it is a vital tool for real-world computer vision applications.
Summary updated