English

Self-Guided Contrastive Learning for BERT Sentence Representations

Computation and Language 2021-06-15 v1 Artificial Intelligence

Abstract

Although BERT and its variants have reshaped the NLP landscape, it still remains unclear how best to derive sentence embeddings from such pre-trained Transformers. In this work, we propose a contrastive learning method that utilizes self-guidance for improving the quality of BERT sentence representations. Our method fine-tunes BERT in a self-supervised fashion, does not rely on data augmentation, and enables the usual [CLS] token embeddings to function as sentence vectors. Moreover, we redesign the contrastive learning objective (NT-Xent) and apply it to sentence representation learning. We demonstrate with extensive experiments that our approach is more effective than competitive baselines on diverse sentence-related tasks. We also show it is efficient at inference and robust to domain shifts.

Keywords

Cite

@article{arxiv.2106.07345,
  title  = {Self-Guided Contrastive Learning for BERT Sentence Representations},
  author = {Taeuk Kim and Kang Min Yoo and Sang-goo Lee},
  journal= {arXiv preprint arXiv:2106.07345},
  year   = {2021}
}

Comments

ACL 2021

R2 v1 2026-06-24T03:10:14.602Z