Skip to main navigation Skip to search Skip to main content

Semantic-Guided Fine-Tuning of Foundation Model for Long-Tailed Visual Recognition

  • Yufei Peng
  • , Yonggang Zhang
  • , Yiu-ming Cheung*
  • *Corresponding author for this work

Research output: Contribution to journalJournal articlepeer-review

Abstract

The variance in class-wise sample sizes within long-tailed scenarios often results in degraded performance in less frequent classes. Fortunately, foundation models, pre-trained on vast open-world datasets, demonstrate strong potential for this task due to their generalizable representation, which promotes the development of adaptive strategies on pre-trained models in long-tailed learning. Advanced fine-tuning methods typically adjust visual encoders while neglecting the semantics derived from the frozen text encoder, overlooking the visual and textual alignment. To strengthen this alignment, we propose a novel approach, Semantic-guided fine-tuning of foundation model for long-tailed visual recognition (Sage), which incorporates semantic guidance derived from textual modality into the visual fine-tuning process. Specifically, we introduce an SG-Adapter that integrates class descriptions as semantic guidance to guide the fine-tuning of the visual encoder. The introduced guidance is passed through the attention mechanism and enables the model to focus more on semantically relevant content, strengthening the alignment between the visual and textual modalities. Due to the inconsistent class-conditional distributions neglected by the existing loss function, the resulting prediction bias causes performance improvements for the tail class to be less than for the head class, even when the multi-modal alignment is enhanced. To address this challenge, we propose a novel distribution mismatch-aware compensation factor, which is specifically designed to rectify the prediction bias caused by the ignored inconsistent distribution based on our theoretical analysis, and is seamlessly integrated into the loss function. Extensive experiments on benchmark datasets demonstrate the effectiveness of the proposed Sage in enhancing performance in long-tailed learning.
Original languageEnglish
Article number322
Number of pages26
JournalInternational Journal of Computer Vision
Volume134
Issue number7
Early online date18 Jun 2026
DOIs
Publication statusPublished - Jul 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

User-Defined Keywords

  • Fine-tuning strategy
  • Foundation model
  • Imbalanced image classification
  • Long-tailed learning

Fingerprint

Dive into the research topics of 'Semantic-Guided Fine-Tuning of Foundation Model for Long-Tailed Visual Recognition'. Together they form a unique fingerprint.

Cite this