Abstract
Object detection in real-world scenarios often faces the challenge of long-tail data distributions, where a few "head" classes dominate the dataset while numerous "tail" classes have very few samples. Standard loss functions like Sigmoid Cross-Entropy tend to suppress rare classes due to an overwhelming number of negative gradients from frequent classes. This paper introduces Adaptive Class Suppression Loss (ACSL), a statistic-free and dynamic approach that adaptively suppresses negative gradients based on the model's own confidence. ACSL effectively protects rare classes from being "drowned out" without sacrificing performance on frequent classes, achieving state-of-the-art results on challenging benchmarks like LVIS and Open Images.
Introduction: The Long-Tail Challenge
In large-scale object detection datasets, the distribution of object categories is highly imbalanced. A model frequently encounters "head" classes (e.g., "Sunglasses") but rarely sees "tail" classes (e.g., "Eye Mask"). During training, every instance of a head class acts as a negative sample for all other classes. This results in a massive accumulation of negative gradients for rare classes, effectively preventing their classifiers from ever reaching a high activation state.
Existing solutions typically rely on manual grouping of classes into "frequent," "common," and "rare" buckets based on pre-calculated image counts. However, this static grouping creates artificial "border lines" and fails to address semantic similarities between classes that may fall into different buckets.
Methodology: Adaptive Class Suppression Loss
ACSL moves away from fixed statistics and manual grouping. Instead, it uses the model's own output confidence to decide whether to apply a negative gradient. The core intuition is to only suppress a class if the model is actually confused by it.
For an image belonging to class $A$, the model calculates probabilities $p_i$ for all other classes $i$. ACSL introduces a binary weight $w_i$ for the negative gradient of class $i$:
- Low Confidence ($p_i < \xi$): If the model's confidence for a non-target class is low, it assumes the model already knows the object is not class $i$. In this case, $w_i = 0$, and the negative gradient is ignored to prevent unnecessary suppression of potentially rare classes.
- High Confidence ($p_i \ge \xi$): If the model is confused (high confidence for the wrong class), $w_i = 1$, and the negative gradient is applied to improve the model's discriminative power.
This dynamic mechanism ensures that rare classes are not constantly suppressed by "easy" negatives from head classes, while still maintaining the ability to distinguish between semantically similar objects through targeted suppression.
Experimental Results
The researchers evaluated ACSL on two major benchmarks: LVIS v0.5 (1,230 categories) and Open Images V5 (600 categories).
- LVIS Performance: ACSL achieved a significant improvement in mean Average Precision (mAP), gaining 5.18% over the baseline with a ResNet50-FPN backbone. The most dramatic improvement was seen in rare classes ($AP_r$), which rose from 4.3% to 18.64%.
- Open Images Performance: ACSL outperformed the baseline by 5.2% AP, demonstrating robustness across different backbones including ResNet50, 101, and 152.
- Consistency: Unlike grouping-based methods, ACSL provides a smooth performance curve across the class distribution, avoiding the "staircase" effect or performance drops at manual group boundaries.
Conclusion
ACSL provides a simple yet effective solution for long-tail object detection by leveraging the model's internal confidence as a dynamic signal for gradient balancing. By eliminating the need for manual class grouping and frequency priors, it offers a more flexible and semantically aware approach. The framework's success on large-scale datasets suggests it could be broadly applicable to other long-tail learning tasks in the future.
Summary updated