← Latest papers
💻 computer science

A Unified Benchmark for Privacy-preserving Vector Search

This paper introduces a unified benchmark that provides the first fair, side-by-side comparison of privacy-preserving vector search schemes (SAP, EMVP, BNTM, and Tiptoe) against a plaintext baseline, revealing their distinct trade-offs in privacy, performance, and recall to guide practitioners in selecting the most suitable deployment option.

Original authors: Anne-Marie Kermarrec, Rafael Pires, Mathis Randl, Martijn de Vos

Published 2026-08-04
📖 5 min read🧠 Deep dive

Original authors: Anne-Marie Kermarrec, Rafael Pires, Mathis Randl, Martijn de Vos

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to find a specific song in a massive library of billions of tracks. You hum a few notes, and a super-smart librarian instantly knows exactly which song you mean and hands it to you. This is how modern "vector search" works for computers: it turns your questions and documents into mathematical points (vectors) and finds the closest matches. It powers everything from movie recommendations to chatbots that answer questions using real documents. But here's the catch: for the librarian to do their job, they have to see both your humming and the entire library. This means the librarian could potentially figure out what you are looking for, or even reconstruct the library's secrets just by watching how you search.

To stop this, scientists have invented "privacy-preserving" tricks. Some are like putting your song request in a scrambled envelope that the librarian can still sort through without opening. Others are like putting the whole library in an unbreakable vault where the librarian can only perform math on the locked boxes without ever seeing the contents. The problem is, every scientist who invents a new trick tests it in their own lab, with their own rules, their own library size, and their own stopwatch. It's like comparing a Formula 1 car's speed to a bicycle's speed, but one test was done on a downhill track and the other on a muddy field. You can't tell which vehicle is actually better.

This paper acts as the ultimate referee. The researchers built a single, fair testing ground where they pitted four different privacy tricks against each other and a standard, unencrypted search. They used the exact same library, the exact same questions, and the exact same computer hardware for every single test. Their goal was to answer a simple question: "If I want to keep my data private, how much slower will my search become, and is it worth it?"

The results were a mix of "surprisingly cheap" and "expensive but necessary." The researchers found that the idea that "privacy is too slow to use" is mostly a myth, but it depends entirely on how much privacy you need.

First, there is the "lightweight" trick called SAP. Imagine you put a tiny bit of static noise on your song request so the librarian can't hear the exact notes, but they can still tell if two songs sound similar. This method is incredibly fast; it runs at almost the exact same speed as the unencrypted search. The catch? The librarian can still see the general shape of your library. They can tell which songs are similar to each other, even if they can't hear your specific request perfectly. It's a great deal if you just want to hide your specific query, but not if you want to hide the library's layout.

Then, there are the "heavy armor" methods like EMVP and BNTM. These are like putting the entire library in a magical vault where the librarian can only do math on the locked boxes. The librarian learns absolutely nothing about the songs or your request. This is much stronger privacy, but it comes with a price tag. On a standard computer, these methods are about 4 times slower than the unencrypted search. If you add a feature to verify the librarian's operations (BNTM), it gets even slower, about 22 times slower.

Finally, there is the "ultimate privacy" method called Tiptoe. This one hides not just the songs and the request, but even which section of the library you are looking at. The librarian has to check the entire library for every single question to make sure they don't reveal your target. This is the strongest protection, but it is also the most expensive. It is roughly 190 times slower than the unencrypted search.

The paper also tested these methods on powerful graphics cards (GPUs), which are usually great at speeding things up. Surprisingly, the GPUs only helped the fast methods (the unencrypted one and the lightweight SAP). For the heavy armor methods, the GPUs actually made things slower or didn't help at all. This is because these methods are limited by how fast they can read data from memory, not by how fast they can do math.

In short, the paper proves that you don't have to choose between privacy and speed, but you do have to choose your level of privacy. If you need to hide just your query, a fast, lightweight trick works almost as well as no privacy at all. If you need to hide the entire library's structure, you have to pay a significant speed penalty, but it is still possible to run the system. The old belief that "encrypted search is too slow to be useful" is debunked; it's just a matter of picking the right tool for the job and understanding the trade-off.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →