Authenticated Approximate Nearest Neighbor Search in Outsourced Vector Databases: what it means for business leaders

VIDA lets a client verify that an outsourced vector database really ran the agreed nearest neighbor search, replacing the raw vectors earlier schemes shipped back with compact commitments and one aggregated proof.

1. What the method is

VIDA is a scheme that lets a client verify that an outsourced vector database actually ran the agreed graph-based approximate nearest neighbor search and returned its true result, without the provider sending back the raw vectors it examined. The data owner builds a signed authenticated data structure over the index; the provider answers each query with a result plus a verification object; the client checks that object and replays the search. VIDA's advance is in what the object contains: constant-size Pedersen commitments and a single aggregated Inner Product Argument proof replace the high-dimensional vectors, a Merkle structure called MeST is laid out along the graph's own topology to shrink structural proofs, and a quantization-aware variant lets pruned candidates be justified by compact lower-bound payloads instead of exact distance proofs. It covers Euclidean distance, cosine similarity and inner product.

2. Why the method was developed

Companies increasingly hand vector storage and search to third-party clouds, and a provider that wants to save compute can stop a search early or return degraded results with nothing in the response to reveal it. Authenticated query processing is well studied for relational databases but not for vector search. The existing approaches, a Merkle hash tree over the graph and the sharded variant ANNProof, make the client recompute every distance, so the provider must transmit the raw vector of every node the search touched. On a 3,072-dimension OpenAI embedding dataset the authors measured a 77.61 MB verification object for that design, 93.1 percent of it raw vectors, with data transfer taking 72.8 percent of end-to-end latency. Those trees are also built on arbitrary node identifiers, so nodes visited together share few ancestors and the proofs compress poorly.

3. Who should care

Platform and infrastructure leaders who buy managed vector databases should care first: this is a way to hold a vendor to the search quality we pay for, checked per query instead of trusted. Security and risk teams gain a cryptographic integrity control over a component that today sits outside any verification. Product teams running retrieval-augmented generation, recommendation or semantic search on hosted indexes are affected because the answers their features give depend on retrieval they cannot inspect. Anyone on our side who sells or operates retrieval as a service for customers should read it from the other direction, as a capability customers may eventually ask us to offer. Finance and procurement should note the trade: verification adds query latency and a heavier index build, so it belongs only where retrieval integrity carries real contractual or reputational weight.

4. How the method works

All three supported metrics reduce to the query norm, the data vector norm and their inner product. The client computes the first, the data owner precomputes and authenticates the second, and the provider proves the third against a Pedersen commitment whose size does not depend on dimension. Because every inner product shares the same query vector, a random linear combination under a Fiat-Shamir challenge folds thousands of proofs into one. MeST builds the Merkle tree on a spanning tree rooted at the graph's entry point, minimizing hop count and breaking ties by distance, and stores each neighbor's commitment and norm inside its parent's record, so Merkle paths are needed only for nodes the search expanded, not every node it scored. With RaBitQ quantization, pruned candidates reveal only a payload from which the client recomputes the lower bound. The client then replays the search on authenticated distances.

5. How it was evaluated

The authors implemented the schemes and baselines in Rust, with Bulletproofs on the Ristretto255 curve, and published the code. They tested six datasets: OpenAI3072 (999,000 vectors, 3,072 dimensions), WIT (6.5 million, 2,048), LAION (200 million, 512), Wikipedia (107 million, 1,024), Msmarco (114 million, 1,024) and a synthetic clustered set (10 million, 4,096). The index was HNSW with 32 links per node, with NSG on Msmarco to show generality. Baselines were the plain Merkle tree strawman and ANNProof, each with a RaBitQ quantized variant. The measure was end-to-end latency from query to completed verification, split into server, transfer and client time, across recall targets, result sizes from 25 to 400, bandwidth throttled from 40 to 1,000 Mbps (300 by default), dataset size and dimensions from 512 to 8,192. The hardware was a dual 28-core Xeon server with 2 TB of memory.

6. How it performed

On OpenAI3072 at the highest recall target, VIDA* ran 6.6 times faster end to end than ANNProof and cut transfer cost by 99.2 percent; the quantized variant ran 3.0 times faster than quantized ANNProof with 82.5 percent less transfer. On a 4G link the baselines took 16.7 and 3.6 seconds, VIDA* and VIDA*-Q 0.63 and 0.82. Latency is still hundreds of milliseconds per query. The cost moves offline: construction takes about 5.5 times longer and the authentication structure grows 116.1 percent, or 75.4 percent quantized. The guarantee is narrow: it proves the provider faithfully ran the designated deterministic search, assumes an honest data owner and client, and does not address confidentiality or whether the approximate answer is the true nearest set. The text we read was cut off before the ablation results and conclusion. Our call: watch, and pilot only where a contract or audit already requires verifiable retrieval from a third-party vector store. (Source: arXiv 2611.16516, 2026)

← Back to dossier index