Fine-Tuning for Few-Shot Image Classification by Multimodal Prototype Regularization

被引:2
作者
Wu, Qianhao [1 ]
Qi, Jiaxin [2 ]
Zhang, Dong [1 ]
Zhang, Hanwang
Tang, Jinhui [1 ]
机构
[1] Nanjing Univ Sci & Technol, Sch Comp Sci & Engn, Nanjing 210094, Peoples R China
[2] Nanyang Technol Univ, Sch Comp Sci & Engn, Singapore 639798, Singapore
基金
新加坡国家研究基金会;
关键词
Training; Visualization; Testing; Task analysis; Prototypes; Feature extraction; Tuning; Few-shot classification; large pre-trained vision-language models; model fine-tuning; prototype regularization; NETWORK; MODELS;
D O I
10.1109/TMM.2024.3379896
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Large pre-trained vision-language models, such as CLIP [Radford et al. 2021], have demonstrated remarkable performance in few-shot image classification. To facilitate the rapid adaptation of CLIP in downstream tasks with limited visual samples, two primary frameworks have been proposed. The first framework centers on the image encoder and introduces a trainable visual classifier after the backbone to generate logits for each object class. Nevertheless, this framework heavily depends on limited visual features extracted by the pre-trained visual encoder, which can result in over-fitting issues. The second framework aims to optimize the text encoder by using trainable soft language prompts and computing logits for each class based on the similarity between image features and optimized prompt features. However, this framework encounters the issue of imperfect alignment between the representations extracted by the image and text encoders, making it difficult to fine-tune the language prompts using visual samples. This paper proposes a Multi-Modal Prototype Regularization (MMPR) method for CLIP-based few-shot fine-tuning for image classification. MMPR can address the challenges of effectively utilizing both image and text features. MMPR fine-tunes a classifier and regularizes its weights using both image-based (ImgPR) and text-based (TexPR) prototypes. ImgPR represents the mean of image representations within the same class, derived from the image encoder, to distill specific visual distribution knowledge for classifier adaptation. TexPR represents the hand-crafted prompt associated with the class, derived from the text encoder, to incorporate general encyclopedic knowledge and mitigate visual over-fitting. MMPR significantly leverages both image and text information without increasing computational complexity during the inference stage compared to existing methods. Experimental results on various challenging public benchmarks demonstrate the superiority of the proposed MMPR method over state-of-the-art methods.
引用
收藏
页码:8543 / 8556
页数:14
相关论文
共 84 条
[71]   Task Residual for Tuning Vision-Language Models [J].
Yu, Tao ;
Lu, Zhihe ;
Jin, Xin ;
Chen, Zhibo ;
Wang, Xinchao .
2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, :10899-10909
[72]   MetaDT: Meta Decision Tree With Class Hierarchy for Interpretable Few-Shot Learning [J].
Zhang, Baoquan ;
Jiang, Hao ;
Li, Xutao ;
Feng, Shanshan ;
Ye, Yunming ;
Luo, Chen ;
Ye, Rui .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2023, 33 (06) :2826-2838
[73]  
Zhang D, 2024, Arxiv, DOI arXiv:2401.13174
[74]   CAE-GReaT: Convolutional-Auxiliary Efficient Graph Reasoning Transformer for Dense Image Predictions [J].
Zhang, Dong ;
Lin, Yi ;
Tang, Jinhui ;
Cheng, Kwang-Ting .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2024, 132 (05) :1502-1520
[75]   Graph Reasoning Transformer for Image Parsing [J].
Zhang, Dong ;
Tang, Jinhui ;
Cheng, Kwang-Ting .
PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA, MM 2022, 2022, :2380-2389
[76]   Augmented FCN: rethinking context modeling for semantic segmentation [J].
Zhang, Dong ;
Zhang, Liyan ;
Tang, Jinhui .
SCIENCE CHINA-INFORMATION SCIENCES, 2023, 66 (04)
[77]   Unabridged adjacent modulation for clothing parsing [J].
Zhang, Dong ;
Zuo, Chengting ;
Wu, Qianhao ;
Fu, Liyong ;
Xiang, Xinguang .
PATTERN RECOGNITION, 2022, 127
[78]   Tip-Adapter: Training-Free Adaption of CLIP for Few-Shot Classification [J].
Zhang, Renrui ;
Zhang, Wei ;
Fang, Rongyao ;
Gao, Peng ;
Li, Kunchang ;
Dai, Jifeng ;
Qiao, Yu ;
Li, Hongsheng .
COMPUTER VISION - ECCV 2022, PT XXXV, 2022, 13695 :493-510
[79]   Meta-Generating Deep Attentive Metric for Few-Shot Classification [J].
Zhou, Fei ;
Zhang, Lei ;
Wei, Wei .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2022, 32 (10) :6863-6873
[80]   Conditional Prompt Learning for Vision-Language Models [J].
Zhou, Kaiyang ;
Yang, Jingkang ;
Loy, Chen Change ;
Liu, Ziwei .
2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, :16795-16804