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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Long, Zijun, Meng, Zaiqiao, Camarasa, Gerardo Aragon, McCreadie, Richard
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910318849949696
author Long, Zijun
Meng, Zaiqiao
Camarasa, Gerardo Aragon
McCreadie, Richard
author_facet Long, Zijun
Meng, Zaiqiao
Camarasa, Gerardo Aragon
McCreadie, Richard
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2303_18013
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle LaCViT: A Label-aware Contrastive Fine-tuning Framework for Vision Transformers
Long, Zijun
Meng, Zaiqiao
Camarasa, Gerardo Aragon
McCreadie, Richard
Computer Vision and Pattern Recognition
Artificial Intelligence
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.
title LaCViT: A Label-aware Contrastive Fine-tuning Framework for Vision Transformers
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2303.18013