Introduction
In computer vision research, datasets are often curated to be perfectly balanced. However, real-world data typically follows a "long-tail" distribution, where a few categories (the "head") possess the vast majority of examples, while many others (the "tail") are represented by only a few samples. While supervised learning has established techniques for handling such imbalances, self-supervised learning (SSL) remains a challenge. Standard SSL algorithms often assume a balanced distribution, leading to representations biased toward frequent classes and neglecting rare ones.
This paper introduces Frequency-Aware Self-Supervised Long-Tailed Learning (FASSL), a framework designed to mitigate this bias without requiring manual labels. FASSL implicitly senses the data distribution and prioritizes underrepresented samples during training.
The Challenge of Unlabeled Long-Tailed Data
Deep learning models are inherently majority-biased. In an unlabeled dataset where 90% of samples are common objects, a standard SSL model will optimize for those frequent features, potentially failing to learn discriminative features for rare categories. In supervised settings, we address this via loss re-weighting or over-sampling. In SSL, the lack of labels makes it impossible to know which samples are rare. FASSL addresses this by using the relationship between data samples and learned prototypes as a proxy for frequency.
The FASSL Framework
The FASSL approach consists of two primary components that work together to achieve class-balancing in a self-supervised manner:
1. Frequency-Aware Prototype Learning
The model learns a set of representative vectors, or "prototypes," in the feature space. Because frequent classes appear more often, a larger proportion of these prototypes naturally align with them. This creates a density map where the distribution of prototypes reflects the underlying frequency of the data classes.
2. Prototypical Re-balanced SSL
FASSL utilizes a teacher-student architecture. When an image is processed, its representation is compared against the learned prototypes. The core insight is that images highly dissimilar to most prototypes are likely "tail" (rare) samples. The model calculates a weighting factor, $\phi$, which is inversely proportional to an image's similarity to the prototypes. Rare samples are assigned higher weights, forcing the student network to focus more on these underrepresented features during the consistency loss phase.
Experimental Setup
The researchers evaluated FASSL on several long-tailed benchmarks:
- CIFAR-10-LT & CIFAR-100-LT: Datasets with an imbalance factor of 100.
- ImageNet-100-LT: A long-tailed subset of ImageNet.
- Tiny-ImageNet: Used for standard and few-shot evaluation.
- Places-LT: A naturally long-tailed dataset of scene categories.
Results and Analysis
FASSL consistently outperformed state-of-the-art SSL methods such as SimCLR, SwAV, and SDCLR. On the Tiny-ImageNet benchmark, FASSL achieved an overall accuracy of 45.85%, significantly higher than SimCLR's 32.11%. Most notably, FASSL maintained high performance on rare classes (43.15%), whereas SimCLR's performance dropped to 32.12%.
Qualitative analysis via t-SNE visualizations confirms these findings. As shown in the comparison below, FASSL produces tighter and better-separated clusters for rare categories, whereas previous methods often grouped rare samples into poorly defined clusters.
In few-shot learning scenarios (using only 1% of labels for fine-tuning on CIFAR-100-LT), FASSL maintained a lead of nearly 5% over the next best method, SDCLR, demonstrating the robustness of its learned representations.
Conclusion
FASSL provides a novel solution to the long-tail problem in self-supervised learning by leveraging prototype competition to sense data density. While the method requires tuning the number of prototypes ($K$) and may face challenges when rare and frequent classes share high visual similarity, it represents a significant step toward more equitable and effective representation learning in real-world, imbalanced environments.
Summary updated