[Paper Review] V3DB: Audit-on-Demand Zero-Knowledge Proofs for Verifiable Vector Search over Committed Snapshots
V3DB provides verifiable, versioned vector-search on committed snapshots using succinct ZK proofs, enabling audit-on-demand correctness for IVF-PQ retrieval without revealing private data.
Dense retrieval services increasingly underpin semantic search, recommendation, and retrieval-augmented generation, yet clients typically receive only a top-$k$ list with no auditable evidence of how it was produced. We present V3DB, a verifiable, versioned vector-search service that enables audit-on-demand correctness checks for approximate nearest-neighbour (ANN) retrieval executed by a potentially untrusted service provider. V3DB commits to each corpus snapshot and standardises an IVF-PQ search pipeline into a fixed-shape, five-step query semantics. Given a public snapshot commitment and a query embedding, the service returns the top-$k$ payloads and, when challenged, produces a succinct zero-knowledge proof that the output is exactly the result of executing the published semantics on the committed snapshot -- without revealing the embedding corpus or private index contents. To make proving practical, V3DB avoids costly in-circuit sorting and random access by combining multiset equality/inclusion checks with lightweight boundary conditions. Our prototype implementation based on Plonky2 achieves up to $22 imes$ faster proving and up to $40\%$ lower peak memory consumption than the circuit-only baseline, with millisecond-level verification time. Github Repo at https://github.com/TabibitoQZP/zk-IVF-PQ.
Motivation & Objective
- Address accountability gap in outsourced dense retrieval by enabling verifiable proofs of top-k results on committed snapshots.
- Standardize a fixed-shape IVF-PQ five-step query semantics suitable for ZK proving.
- Reduce proving cost by avoiding in-circuit sorting and random access through multiset-based proofs.
- Provide a scalable proving backend with practical performance gains over circuit-only baselines.
- Demonstrate end-to-end feasibility with a Plonky2-based prototype and public GitHub repository.
Proposed method
- Standardize IVF-PQ into a fixed-shape five-step query semantics (centroid distances, probe selection, ADC table construction, PQ lookup scoring, final top-k extraction).
- Implement a fixed-shape index-shaping pipeline to enforce per-list capacity and padding with validity flags.
- Use a two-part public snapshot commitment (Merkle root for the IVF layout and hash digest for PQ codebooks) to bind versions while preserving privacy.
- Propose two circuit instantiations: a circuit-only baseline and an optimized multiset-based design that moves costly sorting/selection off-circuit via multiset equality/inclusion and boundary checks.
- Evaluate end-to-end proving costs with Plonky2, showing up to ~22x faster proving and up to ~40% lower peak memory over the circuit baseline, with millisecond verification time.
Experimental results
Research questions
- RQ1How can verifiable, auditable vector search be achieved on committed snapshots without exposing private data?
- RQ2Can IVF-PQ be reformulated into a fixed-shape semantics suitable for succinct ZK proofs?
- RQ3What techniques reduce the proving cost of ZK proofs for dense retrieval while preserving correctness and privacy?
- RQ4What are the practical performance gains of multiset-based proving versus circuit-only baselines in this context?
Key findings
- A verifiable, versioned vector database for dense retrieval over committed snapshots using succinct ZK proofs.
- A fixed-shape, five-step IVF-PQ semantics enables efficient proof generation.
- Multiset-based proving reduces proving time by up to about 22x and peak memory by about 40% compared to circuit-only baseline.
- Verification remains millisecond-level and does not reveal the corpus or private index contents.
- Prototype implementations (circuit-only baseline and optimized multiset design) in Plonky2 demonstrate practical audit-on-demand proofs, with a public GitHub repository for reproducibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.