TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Invariant Feature Learning for Generalized Long-Tailed Cla...

Invariant Feature Learning for Generalized Long-Tailed Classification

Kaihua Tang, Mingyuan Tao, Jiaxin Qi, Zhenguang Liu, Hanwang Zhang

2022-07-19AttributeLong-tail LearningClassification
PaperPDFCode(official)

Abstract

Existing long-tailed classification (LT) methods only focus on tackling the class-wise imbalance that head classes have more samples than tail classes, but overlook the attribute-wise imbalance. In fact, even if the class is balanced, samples within each class may still be long-tailed due to the varying attributes. Note that the latter is fundamentally more ubiquitous and challenging than the former because attributes are not just implicit for most datasets, but also combinatorially complex, thus prohibitively expensive to be balanced. Therefore, we introduce a novel research problem: Generalized Long-Tailed classification (GLT), to jointly consider both kinds of imbalances. By "generalized", we mean that a GLT method should naturally solve the traditional LT, but not vice versa. Not surprisingly, we find that most class-wise LT methods degenerate in our proposed two benchmarks: ImageNet-GLT and MSCOCO-GLT. We argue that it is because they over-emphasize the adjustment of class distribution while neglecting to learn attribute-invariant features. To this end, we propose an Invariant Feature Learning (IFL) method as the first strong baseline for GLT. IFL first discovers environments with divergent intra-class distributions from the imperfect predictions and then learns invariant features across them. Promisingly, as an improved feature backbone, IFL boosts all the LT line-up: one/two-stage re-balance, augmentation, and ensemble. Codes and benchmarks are available on Github: https://github.com/KaihuaTang/Generalized-Long-Tailed-Benchmarks.pytorch

Results

TaskDatasetMetricValueModel
Image ClassificationImageNet-GLTAccuracy45.64RIDE + IFL
Image ClassificationImageNet-GLTAccuracy44.9RandAug + IFL
Image ClassificationImageNet-GLTAccuracy40.52Logit-Adj + IFL
Image ClassificationImageNet-GLTAccuracy40.08BLSoftmax + IFL
Image ClassificationImageNet-GLTAccuracy38.54LDAM
Image ClassificationImageNet-GLTAccuracy37.57cRT
Few-Shot Image ClassificationImageNet-GLTAccuracy45.64RIDE + IFL
Few-Shot Image ClassificationImageNet-GLTAccuracy44.9RandAug + IFL
Few-Shot Image ClassificationImageNet-GLTAccuracy40.52Logit-Adj + IFL
Few-Shot Image ClassificationImageNet-GLTAccuracy40.08BLSoftmax + IFL
Few-Shot Image ClassificationImageNet-GLTAccuracy38.54LDAM
Few-Shot Image ClassificationImageNet-GLTAccuracy37.57cRT
Generalized Few-Shot ClassificationImageNet-GLTAccuracy45.64RIDE + IFL
Generalized Few-Shot ClassificationImageNet-GLTAccuracy44.9RandAug + IFL
Generalized Few-Shot ClassificationImageNet-GLTAccuracy40.52Logit-Adj + IFL
Generalized Few-Shot ClassificationImageNet-GLTAccuracy40.08BLSoftmax + IFL
Generalized Few-Shot ClassificationImageNet-GLTAccuracy38.54LDAM
Generalized Few-Shot ClassificationImageNet-GLTAccuracy37.57cRT
Long-tail LearningImageNet-GLTAccuracy45.64RIDE + IFL
Long-tail LearningImageNet-GLTAccuracy44.9RandAug + IFL
Long-tail LearningImageNet-GLTAccuracy40.52Logit-Adj + IFL
Long-tail LearningImageNet-GLTAccuracy40.08BLSoftmax + IFL
Long-tail LearningImageNet-GLTAccuracy38.54LDAM
Long-tail LearningImageNet-GLTAccuracy37.57cRT
Generalized Few-Shot LearningImageNet-GLTAccuracy45.64RIDE + IFL
Generalized Few-Shot LearningImageNet-GLTAccuracy44.9RandAug + IFL
Generalized Few-Shot LearningImageNet-GLTAccuracy40.52Logit-Adj + IFL
Generalized Few-Shot LearningImageNet-GLTAccuracy40.08BLSoftmax + IFL
Generalized Few-Shot LearningImageNet-GLTAccuracy38.54LDAM
Generalized Few-Shot LearningImageNet-GLTAccuracy37.57cRT

Related Papers

Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17MGFFD-VLM: Multi-Granularity Prompt Learning for Face Forgery Detection with VLM2025-07-16Non-Adaptive Adversarial Face Generation2025-07-16Efficient Calisthenics Skills Classification through Foreground Instance Selection and Depth Estimation2025-07-16Safeguarding Federated Learning-based Road Condition Classification2025-07-16Attributes Shape the Embedding Space of Face Recognition Models2025-07-15COLIBRI Fuzzy Model: Color Linguistic-Based Representation and Interpretation2025-07-15Ref-Long: Benchmarking the Long-context Referencing Capability of Long-context Language Models2025-07-13