[Paper Review] A Simple Long-Tailed Recognition Baseline via Vision-Language Model
This paper proposes BALLAD, a simple yet effective long-tailed recognition baseline that leverages contrastive vision-language models by first continuing pretraining on long-tailed data and then fine-tuning with a linear adapter on balanced samples. It achieves state-of-the-art performance, reaching 76.5% top-1 accuracy on ImageNet-LT with ResNet-50 ×16, outperforming prior methods by up to 7.2%.
The visual world naturally exhibits a long-tailed distribution of open classes, which poses great challenges to modern visual systems. Existing approaches either perform class re-balancing strategies or directly improve network modules to address the problem. However, they still train models with a finite set of predefined labels, limiting their supervision information and restricting their transferability to novel instances. Recent advances in large-scale contrastive visual-language pretraining shed light on a new pathway for visual recognition. With open-vocabulary supervisions, pretrained contrastive vision-language models learn powerful multimodal representations that are promising to handle data deficiency and unseen concepts. By calculating the semantic similarity between visual and text inputs, visual recognition is converted to a vision-language matching problem. Inspired by this, we propose BALLAD to leverage contrastive vision-language models for long-tailed recognition. We first continue pretraining the vision-language backbone through contrastive learning on a specific long-tailed target dataset. Afterward, we freeze the backbone and further employ an additional adapter layer to enhance the representations of tail classes on balanced training samples built with re-sampling strategies. Extensive experiments have been conducted on three popular long-tailed recognition benchmarks. As a result, our simple and effective approach sets the new state-of-the-art performances and outperforms competitive baselines with a large margin. Code is released at https://github.com/gaopengcuhk/BALLAD.
Motivation & Objective
- Address the challenge of long-tailed data distribution in visual recognition, where head classes dominate and tail classes suffer from data scarcity.
- Explore whether language modality can provide complementary supervision to improve representation learning for underrepresented classes.
- Overcome limitations of prior methods that rely solely on visual modality and fixed label sets, which restrict generalization to novel or rare categories.
- Develop a simple, effective baseline that leverages open-vocabulary capabilities of vision-language models for improved few-shot and zero-shot generalization.
- Improve performance on long-tailed benchmarks without requiring complex architectures or extensive hyperparameter tuning.
Proposed method
- Continue pretraining a vision-language backbone (e.g., CLIP) on a long-tailed target dataset using contrastive learning to adapt multimodal representations to the new domain.
- Freeze the vision-language backbone after pretraining to preserve learned representations while introducing a learnable linear adapter for fine-tuning.
- Apply class-balanced sampling in Phase B to construct balanced training data, ensuring equal representation of all classes during adapter training.
- Use a residual factor λ to control the trade-off between original CLIP features and adapter-learned features, optimizing for tail class performance.
- Train the adapter with a cross-entropy loss on balanced samples, allowing the model to refine visual features specifically for low-resource classes.
- Decouple training into two phases: Phase A for domain adaptation via contrastive pretraining, and Phase B for class-specific refinement via adapter finetuning.
Experimental results
Research questions
- RQ1Can vision-language models provide effective open-vocabulary supervision to improve recognition performance on long-tailed datasets?
- RQ2Does continued pretraining on long-tailed data improve representation learning compared to standard fine-tuning?
- RQ3How does the integration of a learnable adapter layer affect performance on tail classes without degrading head class accuracy?
- RQ4What is the optimal strategy for balancing training data—when and where should re-sampling be applied in the training pipeline?
- RQ5Which sampling strategy (class-balanced, square-root, mix-balanced) yields the best trade-off between generalization and convergence in the context of long-tailed recognition?
Key findings
- BALLAD achieves a new state-of-the-art top-1 accuracy of 76.5% on the ImageNet-LT benchmark using a ResNet-50 ×16 backbone, outperforming prior methods by up to 7.2%.
- The model improves few-shot performance significantly, achieving 59.5% accuracy on the few-shot subset of ImageNet-LT, demonstrating strong generalization to low-resource classes.
- Using a linear adapter with a residual factor λ ≈ 0.2 yields optimal performance, indicating that only a small, balanced adaptation is needed after pretraining.
- Applying balancing strategies only in Phase B (adapter training) yields better results than balancing in Phase A, preserving strong head class representations.
- Class-balanced sampling in Phase B leads to the best overall performance, outperforming square-root and mix-balanced sampling strategies on ImageNet-LT.
- The method achieves strong zero-shot generalization, with CLIP’s zero-shot performance on ImageNet-LT (58.2%) already competitive with SOTA, and BALLAD further improves it significantly.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.