cs.IROct 2, 2026

Learning Query Encoders Can Be Hard Even When Vector Retrieval Is Geometrically Easy

Authors: Anders Wikum, Nina Mishra, Amin Saberi, Tal Wagner

Organizations: Stanford University · Amazon AWS · Tel Aviv University

Abstract

Efficient vector retrieval requires both a corpus geometry that supports retrieving the right documents through vector similarity, and a query encoder that can embed queries near their desired documents in the embedding space. Recent work has studied geometric capacity through the lens of the minimum embedding dimension needed to realize all top-kk answer sets of nn documents. We study a different notion of geometric capacity--the maximum recall achievable for a frozen document index--and explore whether learned query encoders can reach this ceiling. On several real-world retrieval benchmarks, we show that retrieval quality of single-vector query encoders often lies far below what the document indices can support. Motivated by this observation, we give theoretical evidence that learning query encoders can be computationally hard. In particular, we construct a retrieval task that (1) admits a query encoder with perfect recall which is representable by a small one-hidden-layer ReLU network, but (2) any statistical-query learner (a class capturing learners that access training data through aggregate statistics) provably requires exponentially many statistical queries to achieve non-trivial recall advantage over the random baseline k/nk/n. Taken together, our results suggest substantial unrealized geometric capacity in retrieval benchmarks and establish query encoder learnability as a possible barrier in embedding-based retrieval.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Retrieval Needs Multivectors: An Exponential Separation

    Aug 21, 2026Mihir Agarwal, Viraj Agrawal, Sabyasachi Basu +2Multi-Vector RetrievalDense Retrieval

  2. Latent Terms: Dense Retrievers Contain Trivially Extractable BM25-ready Zipfian Vocabularies

    May 28, 2026Benjamin Clavié, Sean Lee, Aamir Shakir +1Learned Sparse RetrievalInformation Retrieval

  3. The Voronoi Bottleneck: Capacity-Aware Dense Retrieval for Product Search

    Jun 9, 2026Charith Chandra Sai Balne, Rithwik Maramraju, Siddharth Pratap Singh +4Contrastive LearningInformation Retrieval