Self-Adaptive Reconstruction with Contrastive Learning for Unsupervised Sentence Embeddings

Junlong Liu, Xichen Shang, Huawen Feng, Junhao Zheng, Qianli Ma
2/23/2024
cs.CLcs.LG

No official code found. Best implementation: tutuDoki/SARCSE (0 stars, last commit 2025-02-18).

Abstract

Unsupervised sentence embeddings task aims to convert sentences to semantic vector representations. Most previous works directly use the sentence representations derived from pretrained language models. However, due to the token bias in pretrained language models, the models can not capture the fine-grained semantics in sentences, which leads to poor predictions. To address this issue, we propose a novel Self-Adaptive Reconstruction Contrastive Sentence Embeddings (SARCSE) framework, which reconstructs all tokens in sentences with an AutoEncoder to help the model to preserve more fine-grained semantics during tokens aggregating. In addition, we proposed a self-adaptive reconstruction loss to alleviate the token bias towards frequency. Experimental results show that SARCSE gains significant improvements compared with the strong baseline SimCSE on the 7 STS tasks.

View on arXivView PDF

Code Implementations(1)

tutuDoki/SARCSECommunity69%

Arxiv 2024.2: Self-Adaptive Reconstruction with Contrastive Learning for Unsupervised Sentence Embeddings

00Shell, PythonFeb 18, 20251 years ago

Cite this paper

@article{liu2024selfadaptive,
  title  = {Self-Adaptive Reconstruction with Contrastive Learning for Unsupervised Sentence Embeddings},
  author = {Junlong Liu and Xichen Shang and Huawen Feng and Junhao Zheng and Qianli Ma},
  year   = {2024},
  eprint = {2402.15153},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15153v1}
}

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

Discussion