Virtual Augmentation Supported Contrastive Learning of Sentence Representations

Dejiao Zhang, Wei Xiao, Henghui Zhu, Xiaofei Ma, Andrew O. Arnold
10/16/2021
38 citations
cs.CLcs.LG
contrastive-ssl

Official code: amazon-science/sentence-representations (79 stars, Python, Apache-2.0, last commit 2022-07-11).

Abstract

Despite profound successes, contrastive representation learning relies on carefully designed data augmentations using domain specific knowledge. This challenge is magnified in natural language processing where no general rules exist for data augmentation due to the discrete nature of natural language.

Show full abstract

We tackle this challenge by presenting a Virtual augmentation Supported Contrastive Learning of sentence representations (VaSCL). Originating from the interpretation that data augmentation essentially constructs the neighborhoods of each training instance, we in turn utilize the neighborhood to generate effective data augmentations. Leveraging the large training batch size of contrastive learning, we approximate the neighborhood of an instance via its K-nearest in-batch neighbors in the representation space. We then define an instance discrimination task regarding this neighborhood and generate the virtual augmentation in an adversarial training manner. We access the performance of VaSCL on a wide range of downstream tasks, and set a new state-of-the-art for unsupervised sentence representation learning.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
7913Python, ShellDec 14, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2021virtual,
  title  = {Virtual Augmentation Supported Contrastive Learning of Sentence Representations},
  author = {Dejiao Zhang and Wei Xiao and Henghui Zhu and Xiaofei Ma and Andrew O. Arnold},
  year   = {2021},
  eprint = {2110.08552},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08552}
}

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

Discussion