Feature Space Augmentation for Long-Tailed Data

Peng Chu, Xiao Bian, Shaopeng Liu, Haibin Ling

Abstract

Standard deep learning models often struggle with long-tailed data distributions, where a few "head" classes dominate while many "tail" classes have sparse representation. This paper proposes a novel two-phase training scheme that performs feature space augmentation. By decomposing high-level features into class-specific and class-generic components using Class Activation Maps (CAM), the method generates synthetic samples for tail classes by fusing their unique traits with generic features from well-represented head classes. This approach effectively "fills in" the missing distribution, leading to state-of-the-art performance on several long-tailed benchmarks.

Introduction: The Long-Tail Problem

In real-world scenarios, datasets are rarely balanced. Instead, they typically follow a long-tailed distribution where a small number of categories contain the vast majority of samples, while the rest have very few examples.

Long-tailed distributions in common datasets like iNaturalist and MS COCO.

Models trained on such data tend to overfit head classes and perform poorly on tail classes. Traditional solutions like re-sampling or re-weighting attempt to balance the loss, but they cannot compensate for the fundamental lack of information in tail classes. For instance, if a rare bird species is only seen in one lighting condition, the model cannot generalize to others because that information is simply missing from the training set.

Methodology: Feature Space Augmentation

The authors introduce a two-phase strategy to address this information gap by borrowing knowledge from well-represented classes:

Phase I: Initial Feature Learning

A standard backbone network (e.g., ResNet) is trained on the imbalanced dataset to establish baseline feature representations across all classes.

Phase II: Feature Decomposition and Fine-tuning

  1. Decomposition: Using Class Activation Maps (CAM), the model identifies "class-specific" features (the unique parts of the object) and "class-generic" features (background or common poses).
  2. Augmentation: To bolster a tail class, the model extracts its class-specific features and mixes them with class-generic features from "confusing" head classes—those that the model frequently misclassifies as the tail class.
  3. Linear Fusion: This mixing occurs in the high-level feature space just before the classifier. This avoids the artifacts common in pixel-level image blending and leverages the linear separability of deep features.

The "Optimal Direction" Insight

A key contribution of this work is the observation that re-weighting techniques are limited by the quality of the initial decision boundary. Re-weighting only works if there is enough data to define a rough boundary direction.

Comparison of re-weighting effectiveness. When data is sparse (right), the model lacks the information to determine the correct direction to adjust the decision boundary.

As shown in the figure above, when samples are extremely sparse, the model doesn't know which direction to shift the boundary. Augmentation solves this by "filling in the blanks," providing the necessary synthetic context to place the boundary correctly.

Experimental Results

The method was evaluated on several rigorous benchmarks, including CIFAR-10/100-LT, ImageNet-LT, and iNaturalist. It achieved state-of-the-art (SOTA) performance across the board:

  • CIFAR-10-LT: Improved accuracy by approximately 7% over baseline at high imbalance factors.
  • iNaturalist 2018: Achieved 69.08% accuracy with ResNet-152, outperforming existing class-balanced loss methods.
  • ImageNet-LT: Accuracy for "Few" classes (those with <20 samples) increased dramatically from 0.4% to 14.7%.

Conclusion and Future Work

While effective, the method currently requires a two-phase training process and is optimized for the final layers of the network, as earlier layers contain too much spatial noise for clean feature decomposition. Future research may explore end-to-end implementations and ways to reduce the computational overhead of identifying confusing classes during training.

Summary updated

BibTeX
@inproceedings{chu2020feature,
  author = {Peng Chu and Xiao Bian and Shaopeng Liu and Haibin Ling},
  title = {{Feature Space Augmentation for Long-Tailed Data}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58526-6\_41},
}
Figure