Tight Bounds and Achievable Upper Bounds of Minimal Dimensions for Embedding-based Retrieval

Zihao Wang, Hang Yin, Lihui Liu, Hanghang Tong, Yangqiu Song, Ginny Wong, Simon SeeOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper proves that the "Minimal Embeddable Dimension" (MED) required for perfect subset retrieval depends primarily on the size of the subset being retrieved ($k$), not the total number of items in the database ($m$). By demonstrating that low-dimensional spaces can theoretically support massive datasets, the authors shift the blame for retrieval failures from geometric constraints to the challenges of learning effective representations.

What Problem Does This Paper Address?

Embedding-based retrieval (EBR) is the backbone of modern search engines and Retrieval-Augmented Generation (RAG) systems. We represent items (documents, images) as vectors and retrieve them by comparing a query vector against the database using a scoring function like inner product or cosine similarity.

A fundamental question has long haunted this field: How many dimensions ($d$) do we actually need to ensure we can perfectly retrieve any possible subset of $k$ items from a universe of $m$ items?

Previous empirical research suggested that the required dimension grows polynomially with the total number of items ($m$), implying a "geometric bottleneck" where the vector space simply runs out of room. This paper challenges that notion, investigating whether the limit is a matter of approximability (the space is too small) or learnability (our algorithms just can't find the right coordinates).

Methods

The authors define the Minimal Embeddable Dimension (MED): the smallest dimension $d$ where a configuration of $m$ points can be "k-shattered" (meaning every possible subset of size $k$ can be uniquely retrieved by some query vector).

To find the bounds for MED, they employ two primary mathematical frameworks:

  1. VC-Dimension: Used to establish lower bounds. If a functional class (like linear scorers) has a specific VC-dimension, it provides a floor for how many points can be shattered in a given dimension.
  2. Cyclic Polytopes: Used to establish upper bounds. The authors use the properties of "neighborly polytopes"—geometric shapes where any $k$ vertices form a face—to prove that a relatively small number of dimensions can separate any subset of a much larger set of points.

They also introduce the Centroid Setting (MED-C), a more restrictive and realistic scenario where the query vector must be the average (centroid) of the items in the target subset.

Datasets

The paper relies on synthetic datasets and numerical simulations rather than standard IR benchmarks.

  • Simulation Setup: They optimize $m$ embeddings in $\mathbb{R}^d$ using a hinge loss over pairwise positive and negative pairs across top-$k$ queries.
  • Optimizer: They use the Adam optimizer to find "embeddable configurations" where all queries return their perfect answers.
  • Baselines: They compare their results against the empirical cubic growth curve ($m \approx d^3$) proposed in recent literature (Weller et al., 2025a).

Key Insights and Ideas

  • The $m$-Independence Surprise: In the standard setting, the dimension $d$ required for perfect retrieval is $\Theta(k)$. Remarkably, it is independent of the total number of elements $m$. Theoretically, $2k$ dimensions are enough to retrieve any subset of size $k$ from a billion items.
  • Learnability is the Real Bottleneck: Since the geometry allows for low-dimensional embedding, the reason current models struggle with large scales isn't because the space is "full," but because it is incredibly difficult for neural networks to learn the specific, high-precision coordinates (like those in a cyclic polytope) required to achieve it.
  • Logarithmic Scaling in Practice: In the more constrained "centroid" setting (where we can't pick arbitrary query vectors), the required dimension grows as $O(k^2 \log m)$. This is still much more efficient than the polynomial growth previously feared.
  • Reframing the Debate: The paper moves the goalposts for researchers. Instead of searching for higher-dimensional spaces, the focus should be on better training objectives and architectures that can "find" these efficient geometric configurations.

Key Results

The authors established tight bounds for the Minimal Embeddable Dimension across three common scoring functions:

Scoring Function Lower Bound Upper Bound Centroid Upper Bound
Inner Product $k - 1$ $2k$ $O(k^2 \log m)$
Cosine Similarity $k - 1$ $2k + 1$ $O(k^2 \log m)$
Euclidean Distance $k - 1$ $2k$ $O(k^2 \log m)$

In simulations (for $k=2$), their "centroid" approach supported an exponentially larger number of objects for a given dimension compared to previous baselines. For example, while previous work suggested a cubic limit, the authors' simulations showed they could easily surpass those limits, confirming that the theoretical logarithmic dependency is achievable via simple optimization.

Limitations and Future Work

  • Numerical Precision: The theoretical bounds (like the cyclic polytope) require extremely high precision. In the real world, 32-bit or 16-bit floating-point numbers may limit how "tightly" we can pack these vertices before they become indistinguishable.
  • Functional Search: To achieve the $\Theta(k)$ bound, one would need to search through $\binom{m}{k}$ possible query functions, which is computationally infeasible for large $m$ and $k$.
  • Advanced Geometries: The authors suggest future work should explore if these bounds hold in non-Euclidean spaces, such as hyperbolic or Wasserstein spaces, which are gaining popularity in representation learning.
  • Distributional Assumptions: The current work assumes we might want to retrieve any subset. Future work could look at more realistic scenarios where answer sets follow a power-law distribution.

Summary updated

BibTeX
@misc{wang2026tight,
  author = {Zihao Wang and Hang Yin and Lihui Liu and Hanghang Tong and Yangqiu Song and Ginny Wong and Simon See},
  title = {{Tight Bounds and Achievable Upper Bounds of Minimal Dimensions for Embedding-based Retrieval}},
  year = {2026},
  url = {https://openreview.net/forum?id=fQIE4NJOVm},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure