Improving CLIP Fine-tuning Performance

Yixuan Wei, Han Hu, Zhenda Xie, Ze Liu, Zheng Zhang +4 more
1/1/2023

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

CLIP models have demonstrated impressively high zero-shot recognition accuracy, however, their fine-tuning performance on downstream vision tasks is sub-optimal. Contrarily, masked image modeling (MIM) performs exceptionally for fine-tuning on downstream tasks, despite the absence of semantic labels during training. We note that the two tasks have different ingredients: image-level targets versus token-level targets, a cross-entropy loss versus a regression loss, and full-image inputs versus partial-image inputs. To mitigate the differences, we introduce a classical feature map distillation framework, which can simultaneously inherit the semantic capability of CLIP models while constructing a task incorporated key ingredients of MIM. Experiments suggest that the feature map distillation approach significantly boosts the fine-tuning performance of CLIP models on several typical down-stream vision tasks. We also observe that the approach yields new CLIP representations which share some diagnostic properties with those of MIM. Furthermore, the feature map distillation approach generalizes to other pre-training models, such as DINO, DeiT and SwinV2-G, reaching a new record of 64.2 mAP on COCO object detection with +1.1 improvement. The code and models are publicly available at https://github.com/SwinTransformer/Feature-Distillation.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wei2023improving,
  title  = {Improving CLIP Fine-tuning Performance},
  author = {Yixuan Wei and Han Hu and Zhenda Xie and Ze Liu and Zheng Zhang and Yue Cao and Jianmin Bao and Dongdong Chen and Baining Guo},
  year   = {2023},
  doi    = {10.1109/ICCV51070.2023.00501},
  url    = {https://doi.org/10.1109/ICCV51070.2023.00501},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1ffc85ebcd8d0fffa27a80d76fde4e4f1a0f7768.svg)](https://codeofpaper.com/paper/1ffc85ebcd8d0fffa27a80d76fde4e4f1a0f7768)

Discussion