mlsanityData to 7 Oct 2026

2D Matryoshka Sentence Embeddings

arXiv 2402.14776 ↗First posted 22 Feb 2024cs.CL cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Common approaches rely on fixed-length embedding vectors from language models as sentence embeddings for downstream tasks such as semantic textual similarity (STS). Such methods are limited in their flexibility due to unknown computational constraints and budgets across various applications. Matryoshka Representation Learning (MRL) citeaditya2022matryoshka encodes information at finer granularities, i.e., with lower embedding dimensions, to adaptively accommodate ad hoc tasks. Similar accuracy can be achieved with a smaller embedding size, leading to speedups in downstream tasks. Despite its improved efficiency, MRL still requires traversing all Transformer layers before obtaining the embedding, which remains the dominant factor in time and memory consumption. This prompts consideration of whether the fixed number of Transformer layers affects representation quality and whether using intermediate layers for sentence representation is feasible. In this paper, we introduce a novel sentence embedding model called textitTwo-dimensional Matryoshka Sentence Embedding (2DMSE)footnoteOur code is available at urlhttps://github.com/SeanLee97/AnglE/blob/main/README2DMSE.md.. It supports elastic settings for both embedding sizes and Transformer layers, offering greater flexibility and efficiency than MRL. We conduct extensive experiments on STS tasks and downstream applications. The experimental results demonstrate the effectiveness of our proposed model in dynamically supporting different embedding sizes and Transformer layers, allowing it to be highly adaptable to various scenarios.

Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 20 of its 34 references that are in the map. First posted on arXiv 22 Feb 2024.

Builds on

20 of 34 references.

References · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  6. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  7. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
  8. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  9. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  10. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  11. 2017Supervised Learning of Universal Sentence Representations from Natural Language Inference Datacited by 428
  12. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
8 more
  1. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
  2. 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
  3. 2022DiffCSE: Difference-based Contrastive Learning for Sentence Embeddingscited by 131
  4. 2020An Unsupervised Sentence Embedding Method by Mutual Information Maximizationcited by 91
  5. 2022Improved Universal Sentence Embeddings with Prompt-based Contrastive Learning and Energy-based Learningcited by 30
  6. 2023Whitening-based Contrastive Learning of Sentence Embeddingscited by 21
  7. 2023DistillCSE: Distilled Contrastive Learning for Sentence Embeddingscited by 4
  8. 2024Generative Deduplication For Socia Media Data Selectioncited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 4.

8 papers.