Introduction
Long-tailed (LT) distribution is a pervasive challenge in real-world visual recognition, where a few "head" classes dominate the training data while many "tail" classes have limited representation. Traditional research in this area has primarily focused on class-wise imbalance—the disparity in sample counts between categories. However, this approach overlooks a critical dimension of data bias: attribute-wise imbalance.
Within a single class, certain attributes (e.g., background, lighting, or object pose) may be over-represented. For instance, if most "tractors" in a dataset appear in "fields," a model may develop a spurious correlation, associating the "field" attribute with the "tractor" label. This leads to misclassification when the model encounters a rare attribute-class combination, such as a "harvester" in a "field." This paper introduces the Generalized Long-Tailed Classification (GLT) framework to address both class-wise and attribute-wise imbalances simultaneously and proposes Invariant Feature Learning (IFL) to learn robust, invariant representations.
The Generalized Long-Tailed Classification (GLT) Framework
The authors argue that existing LT methods, which often rely on adjusting decision boundaries (e.g., logit adjustment or re-weighting), fail to resolve the underlying feature confusion caused by biased attributes. To systematically study this, they propose three evaluation protocols:
- Class-wise Long-Tail (CLT): The standard benchmark focusing on imbalanced class distributions.
- Attribute-wise Long-Tail (ALT): A setting where class counts are balanced, but internal attributes follow a long-tailed distribution.
- Generalized Long-Tail (GLT): A unified setting where both class and attribute distributions are imbalanced, reflecting real-world complexity.
To support these protocols, the authors introduced two benchmarks: ImageNet-GLT (using KMeans clustering to identify pretext attributes) and MSCOCO-GLT (leveraging multi-label attribute annotations).
Invariant Feature Learning (IFL)
The core contribution of this work is the IFL algorithm, designed to decouple class-defining features from spurious attribute correlations without requiring explicit attribute labels.
Environment Discovery via Confidence
Since attribute labels are often unavailable, IFL utilizes model prediction confidence as a proxy for attribute rarity. High-confidence samples typically contain "head" attributes that the model has seen frequently, while low-confidence samples often represent "tail" attributes or rare configurations.
Diverse Environment Construction
IFL constructs two distinct training environments to force the model to generalize:
- Environment 1: Uses standard uniform sampling.
- Environment 2: Employs a biased sampling strategy that prioritizes low-confidence samples, effectively over-representing rare attributes.
Invariant Metric Loss
Drawing inspiration from Invariant Risk Minimization (IRM), IFL applies a modified "center loss." It constrains the feature backbone to ensure that the class centers remain consistent across both environments. By forcing the model to find a common representation that works for both common and rare attribute environments, IFL encourages the backbone to ignore shifting spurious correlations and focus on invariant, class-essential features.
Experimental Results and Insights
The effectiveness of IFL was evaluated by integrating it with various state-of-the-art LT methods, including cRT, LWS, and Logit Adjustment.
- Performance Gains: On ImageNet-GLT, IFL improved baseline accuracy from 38.24% to 44.90%. On MSCOCO-GLT, the combination of RIDE and IFL achieved a state-of-the-art accuracy of 69.09%.
- Backbone vs. Classifier: Unlike post-processing methods that shift decision boundaries, IFL improves the feature backbone itself. This makes it complementary to existing LT techniques, providing a "stronger foundation" for classification.
- Breaking the Trade-off: Traditional LT methods often suffer from a precision-accuracy trade-off, where gains in tail-class accuracy come at the expense of head-class precision. IFL demonstrates the ability to improve both by refining the underlying feature space.
- Qualitative Success: t-SNE visualizations confirmed that IFL reduces overlap in the feature space between different classes that share similar backgrounds, effectively disentangling the objects from their environments.
Conclusion
This work shifts the focus of long-tailed learning from simple sample counts to the more complex reality of attribute-wise bias. By introducing the GLT framework and the IFL algorithm, the authors provide a robust methodology for learning invariant features that generalize across diverse and imbalanced data distributions. Future work may extend these principles to more complex tasks like object detection and segmentation.
Summary updated