Ranking-Enhanced Unsupervised Sentence Representation Learning

Yeon Seonwoo, Guoyin Wang, Changmin Seo, Sajal Choudhary, Jiwei Li +4 more
9/9/2022
cs.CL

Official code: yeonsw/RankEncoder (35 stars, Python, last commit 2023-05-18).

Abstract

Unsupervised sentence representation learning has progressed through contrastive learning and data augmentation methods such as dropout masking. Despite this progress, sentence encoders are still limited to using only an input sentence when predicting its semantic vector.

Show full abstract

In this work, we show that the semantic meaning of a sentence is also determined by nearest-neighbor sentences that are similar to the input sentence. Based on this finding, we propose a novel unsupervised sentence encoder, RankEncoder. RankEncoder predicts the semantic vector of an input sentence by leveraging its relationship with other sentences in an external corpus, as well as the input sentence itself. We evaluate RankEncoder on semantic textual benchmark datasets. From the experimental results, we verify that 1) RankEncoder achieves 80.07% Spearman's correlation, a 1.1% absolute improvement compared to the previous state-of-the-art performance, 2) RankEncoder is universally applicable to existing unsupervised sentence embedding methods, and 3) RankEncoder is specifically effective for predicting the similarity scores of similar sentence pairs.

View on arXivView PDF

Code Implementations(1)

yeonsw/RankEncoderOfficial100%
353Python, ShellSep 8, 20223 years ago

Similar Papers

Cite this paper

@article{seonwoo2022rankingenhanced,
  title  = {Ranking-Enhanced Unsupervised Sentence Representation Learning},
  author = {Yeon Seonwoo and Guoyin Wang and Changmin Seo and Sajal Choudhary and Jiwei Li and Xiang Li and Puyang Xu and Sunghyun Park and Alice Oh},
  year   = {2022},
  eprint = {2209.04333},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.04333}
}

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

Discussion