LaCViT: A Label-aware Contrastive Fine-tuning Framework for Vision Transformers

Zijun Long, Zaiqiao Meng, Gerardo Aragon Camarasa, Richard McCreadie
3/31/2023
cs.CVcs.AI

No official code found. Best implementation: longkukuhi/LaCViT (9 stars, last commit 2023-09-01).

Abstract

Vision Transformers (ViTs) have emerged as popular models in computer vision, demonstrating state-of-the-art performance across various tasks. This success typically follows a two-stage strategy involving pre-training on large-scale datasets using self-supervised signals, such as masked random patches, followed by fine-tuning on task-specific labeled datasets with cross-entropy loss. However, this reliance on cross-entropy loss has been identified as a limiting factor in ViTs, affecting their generalization and transferability to downstream tasks. Addressing this critical challenge, we introduce a novel Label-aware Contrastive Training framework, LaCViT, which significantly enhances the quality of embeddings in ViTs. LaCViT not only addresses the limitations of cross-entropy loss but also facilitates more effective transfer learning across diverse image classification tasks. Our comprehensive experiments on eight standard image classification datasets reveal that LaCViT statistically significantly enhances the performance of three evaluated ViTs by up-to 10.78% under Top-1 Accuracy.

View on arXivView PDF

Code Implementations(1)

longkukuhi/LaCViTCommunity100%
90PythonSep 1, 20233 years ago

Similar Papers

Cite this paper

@article{long2023lacvit,
  title  = {LaCViT: A Label-aware Contrastive Fine-tuning Framework for Vision Transformers},
  author = {Zijun Long and Zaiqiao Meng and Gerardo Aragon Camarasa and Richard McCreadie},
  year   = {2023},
  eprint = {2303.18013},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.18013v3}
}

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/2303.18013.svg)](https://codeofpaper.com/paper/2303.18013)

Discussion