Alleviating Over-smoothing for Unsupervised Sentence Representation

Nuo Chen, Linjun Shou, Ming Gong, Jian Pei, Bowen Cao +3 more
5/9/2023
26 citations
cs.CL
contrastive-ssl

Official code: nuochenpku/SSCL (36 stars, Python, Apache-2.0, last commit 2023-11-27).

Abstract

Currently, learning better unsupervised sentence representations is the pursuit of many natural language processing communities. Lots of approaches based on pre-trained language models (PLMs) and contrastive learning have achieved promising results on this task.

Show full abstract

Experimentally, we observe that the over-smoothing problem reduces the capacity of these powerful PLMs, leading to sub-optimal sentence representations. In this paper, we present a Simple method named Self-Contrastive Learning (SSCL) to alleviate this issue, which samples negatives from PLMs intermediate layers, improving the quality of the sentence representation. Our proposed method is quite simple and can be easily extended to various state-of-the-art models for performance boosting, which can be seen as a plug-and-play contrastive framework for learning unsupervised sentence representation. Extensive results prove that SSCL brings the superior performance improvements of different strong baselines (e.g., BERT and SimCSE) on Semantic Textual Similarity and Transfer datasets. Our codes are available at https://github.com/nuochenpku/SSCL.

View on arXivView PDF

Code Implementations(1)

nuochenpku/SSCLOfficial100%
Apache-2.0

[ACL 2023]This is the project of the paper: Alleviating Over-smoothing for Unsupervised Sentence Representation

361Python, ShellOct 16, 20223 years agoApache-2.0

Similar Papers

Cite this paper

@article{chen2023alleviating,
  title  = {Alleviating Over-smoothing for Unsupervised Sentence Representation},
  author = {Nuo Chen and Linjun Shou and Ming Gong and Jian Pei and Bowen Cao and Jianhui Chang and Daxin Jiang and Jia Li},
  year   = {2023},
  eprint = {2305.06154},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.06154v1}
}

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

Discussion