CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thought

Bowen Zhang, Kehua Chang, Chunping Li
9/20/2023
11 citations
cs.CLcs.AI
contrastive-ssl

Official code: ZBWpro/CoT-BERT (13 stars, Python, last commit 2025-05-11).

Abstract

Unsupervised sentence representation learning aims to transform input sentences into fixed-length vectors enriched with intricate semantic information while obviating the reliance on labeled data. Recent strides within this domain have been significantly propelled by breakthroughs in contrastive learning and prompt engineering.

Show full abstract

Despite these advancements, the field has reached a plateau, leading some researchers to incorporate external components to enhance the quality of sentence embeddings. Such integration, though beneficial, complicates solutions and inflates demands for computational resources. In response to these challenges, this paper presents CoT-BERT, an innovative method that harnesses the progressive thinking of Chain-of-Thought reasoning to tap into the latent potential of pre-trained models like BERT. Additionally, we develop an advanced contrastive learning loss function and propose a novel template denoising strategy. Rigorous experimentation demonstrates that CoT-BERT surpasses a range of well-established baselines by relying exclusively on the intrinsic strengths of pre-trained models.

View on arXivView PDF

Code Implementations(1)

ZBWpro/CoT-BERTOfficial100%
131Python, ShellSep 15, 20231 years ago

Similar Papers

Cite this paper

@article{zhang2023cotbert,
  title  = {CoT-BERT: Enhancing Unsupervised Sentence Representation through Chain-of-Thought},
  author = {Bowen Zhang and Kehua Chang and Chunping Li},
  year   = {2023},
  eprint = {2309.11143},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.11143v4}
}

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

Discussion