Is Dimensionality a Barrier for Retrieval Models?
Abstract
Why does the low dimensionality of representations, typically , 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 be a matrix indicating whether each of queries is relevant to each of documents. We are interested in the largest margin denoted by for which there exist unit norm embeddings of the queries and documents with the following property. whenever and 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, can be nearly achieved in dimension which improves a theorem of [BDES02]. Together with a matching lower bound in Theorem 1.5, we conclude that when is the matrix containing all possible -sparse rows once, dimension is necessary and sufficient for the maximal possible margin in this setting. This fully resolves the setup of [WBNL26]. We also give several constructions for large margins when Finally, we empirically test the InfoNCE and sigmoid losses for producing large margin embeddings and demonstrate a clear advantage of the sigmoid loss.
Cite
@article{arxiv.2605.23556,
title = {Is Dimensionality a Barrier for Retrieval Models?},
author = {Kiril Bangachev and Guy Bresler and Jonathan Kogan and Yury Polyanskiy},
journal= {arXiv preprint arXiv:2605.23556},
year = {2026}
}