Is Dimensionality a Barrier for Retrieval Models?
Not on the map. Why?
Abstract (arXiv)
Why does the low dimensionality of representations, typically d≈ 1000, not prevent modern embedding-based retrieval models from scaling to billions, or even trillions, of data points? To answer this question, we study maximal-margin embeddings in the following retrieval model, classically studied in communication complexity [PS86] and more recently in embedding-based retrieval [WBNL26]. Let A∈ 0,1N× n be a matrix indicating whether each of N queries is relevant to each of n documents. We are interested in the largest margin m>0, denoted by mathsfm^mathsfrd(d, A), for which there exist unit norm embeddings of the queries and documents Ujj = 1N, Vii = 1n with the following property. langle Uj, Virangle ≥ m whenever Aji = 1 and langle Uj, Virangle ≤ -m otherwise. A large margin is a key proxy for representation quality: it controls both robustness to perturbations and compositional generalization across queries. Our main theorem establishes that the best possible margin without a restriction on the dimension, mathsfm^mathsfrd(+∞, A), can be nearly achieved in dimension d = O(mathsfm^mathsfrd(+∞, A)-2log n) which improves a theorem of [BDES02]. Together with a matching lower bound in Theorem 1.5, we conclude that when A∈ 0,1^binomnk× n is the matrix containing all possible k-sparse rows once, dimension d = O(klog (n/k)) is necessary and sufficient for the maximal possible margin mathsfm^mathsfrd(+∞, A) = Theta(k-1/2) in this setting. This fully resolves the setup of [WBNL26]. We also give several constructions for large margins when d = o(klog (n/k)). Finally, we empirically test the InfoNCE and sigmoid losses for producing large margin embeddings and demonstrate a clear advantage of the sigmoid loss.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 30 of its 72 references that are in the map. First posted on arXiv 22 May 2026.
Builds on
30 of 72 references.
References · 30
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2017Billion-scale similarity search with GPUscited by 2,477
18 more
- 2025DINOv3cited by 1,297
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2017Spectrally-normalized margin bounds for neural networkscited by 681
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
- 2020Contrastive Learning with Hard Negative Samplescited by 619
- 2021With a Little Help from My Friends: Nearest-Neighbor Contrastive Learning of Visual Representationscited by 324
- 2025Perception Encoder: The best visual embeddings are not at the output of the networkcited by 315
- 2025EmbeddingGemma: Powerful and Lightweight Text Representationscited by 128
- 2016Robust Large Margin Deep Neural Networkscited by 117
- 2018Large Margin Deep Networks for Classificationcited by 110
- 2025On the Theoretical Limitations of Embedding-Based Retrievalcited by 98
- 2014Testing for high-dimensional geometry in random graphscited by 25
- 2020Approximate is Good Enough: Probabilistic Variants of Dimensional and Margin Complexitycited by 25
- 2025Global Minimizers of Sigmoid Contrastive Losscited by 4
- 2022Local and global expansion in random geometric graphscited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Non-negative Elastic Net Decoding for Information Retrievalcited by 1
- 2026The Limits of Binding in Dual Encoderscited by 0
- 2026The Limits of Binding in Dual Encoders16 Aug 2026
- 2026Non-negative Elastic Net Decoding for Information Retrieval16 Jun 2026