Efficient verification boosts secure vector search in cloud databases
Authenticated Approximate Nearest Neighbor Search in Outsourced Vector Databases
DatabasesCryptography and Security
Summary
Finding the closest points to a given query in huge collections of data is important but often done by untrusted cloud services, which may cheat or make mistakes. The authors propose a new method that makes checking these results much faster and lighter to communicate by using clever math tricks and better data structures. This helps make sure the answers are correct without needing to send large amounts of data back and forth. Their approach speeds things up and cuts the data needed by a big margin compared to older methods.
What this means in practice
- •For cloud service teams: Ensure efficient and trustworthy approximate nearest neighbor queries in outsourced vector search services.
- •For recommendation system engineers: Use fast authentication methods to verify nearest neighbor search results in large-scale recommendation engines.
Authors
Yuanhang Zhou, Xinyi Zhang, Cheng Xu, Jianliang Xu
Abstract
Approximate Nearest Neighbor (ANN) search has become a fundamental query primitive in modern vector databases for managing large-scale embedding data. To support growing vector collections, organizations increasingly outsource database management and query processing to third-party clouds. However, untrusted service providers may return suboptimal or fabricated results, posing a serious threat to ANN search integrity. Existing authenticated ANN approaches face substantial scalability challenges. They typically require transmitting high-dimensional vectors for distance verification and rely on topology-agnostic authentication structures, resulting in excessive communication and verification overhead. In this paper, we propose VIDA, a novel and efficient scheme for authenticated graph-based ANN search. VIDA replaces raw vector transmission with compact vector commitments and employs an aggregated Inner Product Argument to efficiently verify multiple distance computations. Furthermore, we introduce MeST, a topology-aware authenticated data structure that aligns authentication paths with graph traversal, significantly reducing structural proof overhead. Additionally, we design a quantization-aware authentication strategy that exploits distance bounds for pruning, reducing the number of exact distances requiring cryptographic authentication. Extensive experiments demonstrate that the proposed schemes substantially improve the efficiency of authenticated ANN search, achieving up to a $6.6\times$ speedup in end-to-end latency and reducing data transfer time by up to 99.2% compared with state-of-the-art methods.