EMNLP Findings2023
On the Dimensionality of Sentence Embeddings
Hongwei Wang, Hongming Zhang, Dong Yu
Abstract
Learning sentence embeddings is a fundamental problem in natural language processing. While existing research primarily focuses on enhancing the quality of sentence embeddings, the exploration of sentence embedding dimensions is limited. Here we present a comprehensive and empirical analysis of the dimensionality of sentence embeddings. First, we demonstrate that the optimal dimension of sentence embeddings is usually smaller than the default value. Subsequently, to compress the dimension of sentence embeddings with minimum performance degradation, we identify two components contributing to the overall performance loss: the encoder's performance loss and the pooler's performance loss. Therefore, we propose a two-step training method for sentence representation learning models, wherein the encoder and the pooler are optimized separately to mitigate the overall performance loss in lowdimension scenarios. Experimental results on seven STS tasks and seven sentence classification tasks demonstrate that our method significantly improves the performance of lowdimensional sentence embeddings.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- One Embedder, Any Task: Instruction-Finetuned Text Embeddings cites Dense Passage Retrieval for Open-Domain Question Answering
- One Embedder, Any Task: Instruction-Finetuned Text Embeddings cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence Encoders cites SimCSE: Simple Contrastive Learning of Sentence Embeddings
- SimCSE: Simple Contrastive Learning of Sentence Embeddings cites Dense Passage Retrieval for Open-Domain Question Answering
Builds on4
- SimCSE: Simple Contrastive Learning of Sentence EmbeddingsTianyu Gao, Xingcheng Yao, Danqi ChenEMNLP 2021 · 2,496 citations
- Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis et al.EMNLP 2020 · 142 citations
- One Embedder, Any Task: Instruction-Finetuned Text EmbeddingsHongjin Su, Weijia Shi, Jungo Kasai, Yizhong Wang et al.ACL Findings 2023 · 134 citations
- Fast, Effective, and Self-Supervised: Transforming Masked Language Models into Universal Lexical and Sentence EncodersFangyu Liu, Ivan Vulic, Anna Korhonen, Nigel CollierEMNLP 2021 · 85 citations
Related papers
- ESE: Espresso Sentence EmbeddingsXianming Li, Zongxi Li, Jing Li, Haoran Xie et al.ICLR 2025
- 3R: Enhancing Sentence Representation Learning via Redundant Representation ReductionLongxuan Ma, Xiao Wu, Yuxin Huang, Shengxiang Gao et al.EMNLP 2025
- Static Word Embeddings for Sentence Semantic RepresentationTakashi Wada, Yuki Hirakawa, Ryotaro Shimizu, Takahiro Kawashima et al.EMNLP 2025 · 1 citation
- Effective post-training embedding compression via temperature control in contrastive trainingGeorgiana Dinu, Corey D. Barrett, Yi Xiang, Miguel Romero Calvo et al.ICLR 2025
- Randomly Removing 50% of Dimensions in Text Embeddings has Minimal Impact on Retrieval and Classification TasksSotaro Takeshita, Yurina Takeshita, Daniel Ruffinelli, Simone Paolo PonzettoEMNLP 2025
