What a Secret Rotation Buys: Exact Retrieval and Measured Leakage in Vector Databases
Ionut Cernica, Nirvana Popescu
Key points
From the paper's conclusion- These results characterize exact similarity preservation and measured leakage, not encryption or general semantic confidentiality.
Abstract
Vector databases require embedding geometry for similarity search, but that geometry can also support inference. We evaluate keyed orthogonal obfuscation against a snapshot adversary. The practical Walsh–Hadamard construction has no established confidentiality guarantee; its empirical evaluation covers only the tested attacks. For Haar-uniform maps, the Gram matrix exactly characterizes a reused-key corpus view, whereas it is only a leakage lower bound for the structured implementation. Across three BEIR datasets, three encoders and 2029 queries, exhaustive clear/transformed top-10 sets agree in all nine configurations. Five of six containerized engines also return identical sets; the sixth exhibits comparable re-indexing variability. Median client transform latency is 0.032–0.042 ms. Known rank-sufficient pairs recover the map. Without matched records, same-distribution auxiliary embeddings support median four-way topic accuracies of 0.833, 0.808 and 0.869 in the primary experiment. A paired evaluation over five shared-label mixtures and 30 trials per encoder shows that public-distribution shift reduces assigned-label accuracy, while evaluator-only label reassignment and normalized mutual information reveal residual topic structure. Noise-padding findings are restricted to four estimators on SciFact/MiniLM at one corpus size. These results characterize exact similarity preservation and measured leakage, not encryption or general semantic confidentiality.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- "More Than You Expect!": Leakage-Abuse Attacks on Encrypted Vector SearcharXiv · 2026
- Isolation Is Not Confidentiality: Security Boundaries of Geometric Access Control in RAGarXiv · 2026
- Authenticated Approximate Nearest Neighbor Search in Outsourced Vector DatabasesarXiv · 2026
- Efficient Privacy-Preserving High-Dimensional Approximate Nearest Neighbor SearcharXiv · 2026
- Failure-Resilient and Verifiable Distributed Approximate Nearest-Neighbor RetrievalarXiv · 2026
- Per-Query Recall Guarantees for Approximate Nearest Neighbor Search in Dynamic Vector DatabasesarXiv · 2026