ACF: Aligned Contrastive Finetuning For Language and Vision Tasks

Wei Zhu,Peng Wang,Xiaoling Wang,Yuan Ni,Guotong Xie
DOI: https://doi.org/10.1109/ICASSP49357.2023.10094859
2023-01-01
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.
What problem does this paper attempt to address?