ACF: Aligned Contrastive Finetuning For Language and Vision Tasks
Wei Zhu, Peng Wang, Xiaoling Wang, Yuan Ni, Guotong Xie
Abstract
Contrastive learning (CL) has achieved great success in various fields with self-supervised learning. However, CL under the supervised setting is not fully explored, especially how to utilize the class labels in CL. We propose a novel aligned contrastive finetuning (ACF) approach in this work. Specifically, we consider the label embeddings as labeled instances and put them in an InfoNCE loss objective together with the instance representations, thus aligning the label embeddings and instance representation in the same semantic space. In addition, we design a correlation-based regularization term to alleviate the anisotropy problem. Extensive experiments are conducted on language understanding and image classification tasks, demonstrating our ACF method’s competitiveness. ACF is off-the-shelf and can be plugged into any pre-trained models without additional network architectures or computation overhead.
BibTeX
@inproceedings{icassp2023_acfalignedcontra,
title = {ACF: Aligned Contrastive Finetuning For Language and Vision Tasks},
author = {Wei Zhu and Peng Wang and Xiaoling Wang and Yuan Ni and Guotong Xie},
booktitle = {ICASSP 2023},
year = {2023}
}