Skip to main content
QUICK REVIEW

[Paper Review] Long-Tailed Classification with Gradual Balanced Loss and Adaptive Feature Generation

Zihan Zhang, Xiang Xiang|arXiv (Cornell University)|Feb 28, 2022
Domain Adaptation and Few-Shot LearningComputer Science5 citations
TL;DR

This paper proposes GLAG, a two-stage framework for long-tailed image classification that first trains a robust feature model using Gradual Balanced Loss (GraLoss), then generates adaptive, class-specific features for under-represented tail classes via an Adaptive Feature Generator (AFG). GLAG achieves state-of-the-art performance on CIFAR100-LT, ImageNetLT, and iNaturalist by improving feature representation and balancing class distribution through dynamic confidence calibration and knowledge distillation.

ABSTRACT

The real-world data distribution is essentially long-tailed, which poses great challenge to the deep model. In this work, we propose a new method, Gradual Balanced Loss and Adaptive Feature Generator (GLAG) to alleviate imbalance. GLAG first learns a balanced and robust feature model with Gradual Balanced Loss, then fixes the feature model and augments the under-represented tail classes on the feature level with the knowledge from well-represented head classes. And the generated samples are mixed up with real training samples during training epochs. Gradual Balanced Loss is a general loss and it can combine with different decoupled training methods to improve the original performance. State-of-the-art results have been achieved on long-tail datasets such as CIFAR100-LT, ImageNetLT, and iNaturalist, which demonstrates the effectiveness of GLAG for long-tailed visual recognition.

Motivation & Objective

  • To address the challenge of long-tailed data distributions in deep learning, where head classes dominate and tail classes suffer from insufficient samples.
  • To improve feature model robustness in decoupled training by replacing standard cross-entropy with a more balanced loss function.
  • To generate high-quality, class-specific synthetic samples for tail classes using knowledge from head classes, thereby restoring class distribution balance.
  • To develop an adaptive mechanism that dynamically adjusts confidence scores during feature generation to avoid manual hyperparameter tuning.
  • To demonstrate the generalizability of the proposed method across diverse long-tailed datasets and existing decoupled training frameworks.

Proposed method

  • Introduces Gradual Balanced Loss (GraLoss), a re-weighting strategy that dynamically adjusts classifier logits using a trade-off parameter α to improve feature learning in both head and tail classes.
  • Employs a two-stage training pipeline: first, train a feature backbone using GraLoss; second, fix the feature model and fine-tune the classifier using real and generated samples.
  • Proposes an Adaptive Feature Generator (AFG) that generates synthetic features for tail classes using class-wise confidence scores β, which are adaptively updated based on validation accuracy.
  • Applies knowledge distillation loss on head classes during the second stage to stabilize training and balance performance across all classes.
  • Uses a confidence-aware, adaptive strategy for β that avoids manual tuning and enables flexible distribution calibration per class.
  • Combines GraLoss with existing decoupled training methods (e.g., cRT, LWS, MiSLAS), demonstrating its generalizability and compatibility.

Experimental results

Research questions

  • RQ1Can a modified cross-entropy loss that dynamically adjusts logits improve feature model performance in decoupled training for long-tailed classification?
  • RQ2Does generating synthetic features for tail classes using knowledge from head classes lead to better generalization than standard data augmentation?
  • RQ3Can adaptive confidence calibration of generated samples outperform fixed or heuristic confidence settings in long-tailed learning?
  • RQ4How does the proposed method compare to existing re-weighting and data augmentation techniques in terms of accuracy and robustness across head, medium, and tail classes?
  • RQ5To what extent is the proposed method generalizable across different long-tailed datasets and decoupled training frameworks?

Key findings

  • GraLoss outperforms standard cross-entropy and logit-adjusted loss in feature model training, improving accuracy by 0.2%–0.8% across multiple decoupled training methods on CIFAR100-LT.
  • On CIFAR100-LT with a long-tailed setting (100, 50, 20, 10 samples per class), GLAG achieves an average accuracy of 51.7% when using GraLoss and adaptive confidence, surpassing baseline methods.
  • The Adaptive Feature Generator with adaptive β achieves 33.9% few-shot class accuracy on CIFAR100-LT, outperforming fixed-confidence and non-adaptive methods.
  • Knowledge distillation loss helps balance performance across classes, reducing performance drop on tail classes while increasing overall accuracy.
  • GLAG achieves state-of-the-art performance on ImageNetLT and iNaturalist, demonstrating strong generalization across diverse, real-world long-tailed datasets.
  • Ablation studies confirm that combining GraLoss with AFG and knowledge distillation yields the best results, with the adaptive confidence mechanism significantly improving performance over static settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.