Reproduce “On the Theoretical Limitations of Embedding-Based Retrieval” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Orion Weller, Michael Boratko, Iftekhar Naim, Jinhyuk Lee

Single-vector retrieval represents each query and document with one vector and ranks documents by similarity. The authors prove that representing every k-document relevance set with margin γ requires dimension d ≥ log binom(n,k) / log (1 + 1/γ). On LIMIT, Promptriever Llama3 8B at 4096 dimensions reaches 18.9% Recall@100, versus BM25’s 93.6%; the theorem concerns exact representation with a margin, not every task.

Key insights

  • For any fixed embedding dimension `d`, there exist fundamental retrieval tasks (binary relevance matrices) that cannot be perfectly represented by `d`-dimensional embeddings, as evidenced by the relationship to the sign-rank of the `qrel` matrix.
  • Even under ideal, best-case optimization, there is a "critical-n point" where typical embedding dimensions become insufficient to represent all combinations for a modest number of documents, highlighting inherent scalability limits.
  • The interconnectedness of the `qrel` matrix significantly affects model performance; "dense" `qrel` patterns, which maximize document combinations, are empirically far more challenging for embedding models than sparser patterns.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.