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/Long-Tailed Classification by Keeping the Good and Removin...

Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effect

Kaihua Tang, Jianqiang Huang, Hanwang Zhang

2020-09-28NeurIPS 2020 12Image ClassificationRepresentation LearningLong-tail LearningCounterfactual ReasoningSemantic SegmentationCausal InferenceInstance SegmentationGeneral Classification
PaperPDFCode(official)Code

Abstract

As the class size grows, maintaining a balanced dataset across many classes is challenging because the data are long-tailed in nature; it is even impossible when the sample-of-interest co-exists with each other in one collectable unit, e.g., multiple visual instances in one image. Therefore, long-tailed classification is the key to deep learning at scale. However, existing methods are mainly based on re-weighting/re-sampling heuristics that lack a fundamental theory. In this paper, we establish a causal inference framework, which not only unravels the whys of previous methods, but also derives a new principled solution. Specifically, our theory shows that the SGD momentum is essentially a confounder in long-tailed classification. On one hand, it has a harmful causal effect that misleads the tail prediction biased towards the head. On the other hand, its induced mediation also benefits the representation learning and head prediction. Our framework elegantly disentangles the paradoxical effects of the momentum, by pursuing the direct causal effect caused by an input sample. In particular, we use causal intervention in training, and counterfactual reasoning in inference, to remove the "bad" while keep the "good". We achieve new state-of-the-arts on three long-tailed visual recognition benchmarks: Long-tailed CIFAR-10/-100, ImageNet-LT for image classification and LVIS for instance segmentation.

Results

TaskDatasetMetricValueModel
Image ClassificationCIFAR-10-LT (ρ=10)Error Rate11.5Causal Norm
Image ClassificationCIFAR-10-LT (ρ=10)Error Rate12.63DecTDE
Image ClassificationImageNet-LTTop-1 Accuracy51.8De-confound-TDE
Few-Shot Image ClassificationCIFAR-10-LT (ρ=10)Error Rate11.5Causal Norm
Few-Shot Image ClassificationCIFAR-10-LT (ρ=10)Error Rate12.63DecTDE
Few-Shot Image ClassificationImageNet-LTTop-1 Accuracy51.8De-confound-TDE
Generalized Few-Shot ClassificationCIFAR-10-LT (ρ=10)Error Rate11.5Causal Norm
Generalized Few-Shot ClassificationCIFAR-10-LT (ρ=10)Error Rate12.63DecTDE
Generalized Few-Shot ClassificationImageNet-LTTop-1 Accuracy51.8De-confound-TDE
Long-tail LearningCIFAR-10-LT (ρ=10)Error Rate11.5Causal Norm
Long-tail LearningCIFAR-10-LT (ρ=10)Error Rate12.63DecTDE
Long-tail LearningImageNet-LTTop-1 Accuracy51.8De-confound-TDE
Generalized Few-Shot LearningCIFAR-10-LT (ρ=10)Error Rate11.5Causal Norm
Generalized Few-Shot LearningCIFAR-10-LT (ρ=10)Error Rate12.63DecTDE
Generalized Few-Shot LearningImageNet-LTTop-1 Accuracy51.8De-confound-TDE

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Touch in the Wild: Learning Fine-Grained Manipulation with a Portable Visuo-Tactile Gripper2025-07-20Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Spectral Bellman Method: Unifying Representation and Exploration in RL2025-07-17