$\mathbb{R}^{2k}$ is Theoretically Large Enough for Embedding-based Top-$k$ Retrieval
Wang, Zihao, Yin, Hang, Liu, Lihui, Tong, Hanghang, Song, Yangqiu, Wong, Ginny, See, Simon
–arXiv.org Artificial Intelligence
Given a universe X with m objects and a This paper studies the Minimal Embeddable Di-scoring function s, what is the minimal dimension d of Rd such that every query with at most k answersmension (MED): the least dimension in which is perfectly retrievable?there Our result shows MED is Θ(k), independent of m, for inner prodWe call this dimension the Minimal Embeddable Dimension (MED). Informally, a configuration is embeddable if the uct, Euclidean distance, and cosine similarity. Weobject and query vectors can, via score comparison, realize then consider Robust MED (RMED), where allevery desired answer set. Formally, Section 2 defines this as vectors are unit normed and an ϵ gap of scoresk-shattering by the functional class induced by the scoring is required. We derive the m-dependent feasibility ceiling ϵ (m,k) = m/ p k(m 1)(m k), function. The question is closely related to VC dimension in statisticalwhich approaches 1/ k when m k, and a Gaussian centroid construction gives a robust wit-learning theory (Mohri et al., 2018), the k-set problem in ness upper bound in the feasible margin regime. Empirically, retrieval also show that simple embedding-based retrievalquality often depends on the embedding dimension when baselines can overfit and outperform the reportedthe universe size m is large (Yin & Shen, 2018; Reimers & Gurevych, 2021). Recent work has argued that the dimen-single-vector LLM embedding baseline. Both thesion of vector space can constrain retrieval under positive-oretical and empirical findings rule out the lack of exact geometric capacity as the obstruction. We convey a significantly different message from (Weller 1. Introductionet al., 2026): The geometric approximability is not the obstruction. The real hardness lies in optimization protocols, Embedding-based retrieval systems answer queries by vec-generalization of neural models, etc. We show this by maktor comparison. A system stores each object xi X as aing three points: vector x Rd, embeds a query q as a vector w Rd,iq Exact MED is Θ(k). For inner product, Euclidean distance,scores each object by s(xi,wq), and returns the desired anand cosine similarity, we prove matching-order exact MEDswer set by thresholding scores, or equivalently by top-|S| retrieval when the answer-set size is known.
arXiv.org Artificial Intelligence
Jun-3-2026
- Country:
- North America > United States > Illinois (0.28)
- Genre:
- Research Report > New Finding (0.54)
- Technology: