A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyond

Abhinav Ramesh Kashyap, Thanh-Tung Nguyen, Viktor Schlegel, Stefan Winkler, See-Kiong Ng, Soujanya Poria

TL;DR

This paper provides the first comprehensive map of the "Sentence Representation Learning" (SRL) landscape, tracing the evolution from early word vectors to the current era of Large Language Models (LLMs). It breaks down the field into a clear taxonomy of supervised and unsupervised methods, highlighting how clever data augmentation and contrastive learning have become the primary drivers for teaching machines to "understand" the semantic meaning of a sentence.

What Problem Does This Paper Address?

While Large Language Models like GPT-4 are incredibly capable, they are fundamentally designed for next-token prediction, not for creating a single, compact "summary" vector of a sentence. If you take a raw, out-of-the-box representation from a model like BERT (e.g., the [CLS] token), it often suffers from anisotropy—a phenomenon where all sentence vectors occupy a narrow cone in the vector space, making them all look deceptively similar to one another.

For practical applications like semantic search, document retrieval, and clustering, we need sentence embeddings that are "well-behaved": similar sentences should be close together, and different ones should be far apart. This paper surveys the diverse techniques researchers have developed to fix these geometric flaws and create high-quality representations.

Methods

The authors organize the research into a modular framework consisting of four components: Data, Model, Transform, and Loss.

Figure 3: The components of an architecture to learn sentence representations. There are four main compo- nents: 1) Data - Obtaining positive and negative exam- ples either using supervised data or some transformation 2) Model - Generally a pretrained model that has been trained on large quantities of gneeral text. 3) Trans- form - Some transformation applied to the representa- tions from the model to obtain sentence representations, and 4) Loss - Losses that bring semantically similar sentences closer together and others apart.

Key methodological shifts include:

  • Supervised Learning: Traditionally using Natural Language Inference (NLI) datasets (deciding if sentence A entails sentence B). More recently, researchers use LLMs to generate "silver data"—synthetic training pairs that provide high-quality supervision at scale.
  • Unsupervised Contrastive Learning: This has become the dominant paradigm. The goal is to bring a sentence and its "positive" counterpart (a slightly modified version) closer while pushing away "negatives" (other random sentences).
  • Innovative Augmentation: Techniques range from "Surface Level" (flipping word order, masking tokens) to "Model Level" (using different dropout masks on the same sentence, as seen in the influential SimCSE paper) and "Representation Level" (using different layers of the model as positive pairs).
  • Post-Processing: Methods like "whitening" or normalizing flows that mathematically transform the vector space after training to fix the anisotropy problem.

Datasets

The paper highlights several pillars of SRL evaluation and training:

  • Training Sets: Supervised models rely heavily on SNLI (Stanford Natural Language Inference) and MultiNLI. Unsupervised models often use large-scale unlabeled corpora like Wikipedia or BookCorpus.
  • Evaluation Benchmarks: The gold standard for years has been SentEval and the STS (Semantic Textual Similarity) tasks. However, the authors note a shift toward more massive, diverse benchmarks like MTEB (Massive Text Embedding Benchmark) to test how "universal" these representations truly are.

Key Insights and Ideas

  • The Power of Dropout: One of the most surprising "aha" moments in recent years was SimCSE. It showed that simply passing the same sentence through a model twice with different random dropout masks creates a better "positive pair" for contrastive learning than complex word-level deletions or swaps.
  • Data Trumps Scale: While scaling up models (e.g., using T5-XXL) helps, the most significant gains often come from data-centric innovations—finding better ways to sample "hard negatives" (sentences that look similar but have different meanings) or using LLMs to generate high-quality synthetic training data.
  • The Anisotropy Trap: The paper reinforces that "bigger" does not mean "better" for embeddings. Without specific training objectives (like contrastive loss), even the most powerful LLMs produce clustered, low-quality sentence vectors out-of-the-box.

Key Results

The survey provides a detailed comparison of dozens of methods (see Figure 5).

Comparison of various SRL methods across supervision types and base models.

A few standout results:

  • Top Performance: Semi-supervised methods using T5 backbones (like Chen et al., 2022b) currently lead the pack, achieving average STS scores above 85.
  • Unsupervised Efficiency: Unsupervised SimCSE (RoBERTa-large) remains incredibly competitive with an 83.76 score, proving that you don't always need expensive human-labeled data to achieve state-of-the-art results.
  • Generative vs. Discriminative: While BERT-style (discriminative) models were the standard, generative models like T5 and GPT-based embeddings (e.g., OpenAI's ada) are rapidly closing the gap when fine-tuned with contrastive objectives.

Limitations and Future Work

The authors identify several "frontiers" that remain challenging:

  • Domain Adaptation: A model trained on Wikipedia often fails when moved to a specialized domain like legal or medical text.
  • Cross-Lingual Gap: Creating representations that work across languages without requiring perfectly aligned translated datasets is still a major hurdle.
  • Long Contexts: Most current SRL research focuses on short sentences. Representing entire documents or long-form context remains an active and difficult area of research.
  • Universality: There is a growing debate about whether a single vector can truly be "universal," or if we need different embeddings for different tasks (e.g., one for retrieval, one for classification).
Figure 1: Illustration of some of the milestones in Sentence Representation Learning Research

Summary updated

Abstract

Sentence representations are a critical component in NLP applications such as retrieval, question answering, and text classification. They capture the meaning of a sentence, enabling machines to understand and reason over human language. In recent years, significant progress has been made in developing methods for learning sentence representations, including unsupervised, supervised, and transfer learning approaches. However there is no literature review on sentence representations till now. In this paper, we provide an overview of the different methods for sentence representation learning, focusing mostly on deep learning models. We provide a systematic organization of the literature, highlighting the key contributions and challenges in this area. Overall, our review highlights the importance of this area in natural language processing, the progress made in sentence representation learning, and the challenges that remain. We conclude with directions for future research, suggesting potential avenues for improving the quality and efficiency of sentence representations.
BibTeX
@inproceedings{kashyap2024comprehensive,
  author = {Abhinav Ramesh Kashyap and Thanh-Tung Nguyen and Viktor Schlegel and Stefan Winkler and See-Kiong Ng and Soujanya Poria},
  title = {{A Comprehensive Survey of Sentence Representations: From the BERT Epoch to the ChatGPT Era and Beyond}},
  booktitle = {EACL},
  year = {2024},
  url = {https://openreview.net/forum?id=D43ks9lD6x},
}
Figure