Sajad Faghfoor Maghrebi, Navid Eslami, Niv Dayan
17 pages, 10 figures
The prevailing belief that graph-based vector search (HNSW, Vamana) has poly-logarithmic query cost at fixed recall is wrong for practical scale: cost grows as a sublinear power law N^c until the dataset is large relative to its intrinsic dimensionality, after which it transitions to poly-logarithmic growth.
Experiments across eight datasets measuring distance computations per query at fixed recall targets (90-99%) across dataset sizes, recall targets, query hardness levels, and index configurations for HNSW and Vamana, backed by proofs for exact and bounded-degree graph constructions and fitted cost models.
The Sublinear Power Law appears on all eight datasets, mostly up to full size, at every recall target, query hardness, and index configuration tested; the transition to poly-logarithmic scaling appears only on the two datasets large enough relative to their intrinsic dimensionality.
Only two datasets were large enough to observe the transition to poly-logarithmic scaling empirically, so the regime boundary is mostly theory-supported rather than directly measured; the theory covers exact and bounded-degree constructions, which only approximate the heuristic indexes used in production; scaling results depend on fixed embedding models and distributions, and the paper does not report hardware wall-clock costs or memory footprint, only distance computations.
A skeptic could note the claimed 'folklore' is attributed to HNSW's original paper based on low-dimensional synthetic data, so debunking it on high-dimensional real datasets may be attacking a strawman; the power-law exponents are fitted per dataset, so the theory's predictive power outside tested datasets is unproven; distance computations are a proxy, not end-to-end latency or dollar cost; and the full text provided is truncated before the experimental section, so effect sizes beyond stated coverage claims cannot be verified.
For vector database operators the near-term implication is that infrastructure cost per query grows faster with corpus size than vendor documentation and pricing models assume, so the cost of RAG-style retrieval at fixed quality will scale worse than logarithmically until datasets are very large relative to embedding intrinsic dimensionality; this is a marginal infra-cost correction, not a macro-level AI-economics result.
Technical Capability: Corrects a foundational assumption about ANN search scalability that affects how retrieval-augmented systems should budget compute as their indexes grow.
Market & Valuation: Vector database vendors' cost and pricing story leans on logarithmic scaling folklore; if query cost is actually a power law over practical scales, gross margins on large-corpus customers are worse than advertised.