Imagine searching a public database of medical papers with a text describing your own symptoms. Even if anyone can view the database itself, a record of "what you searched for" kept by the search service could give clues about your chronic conditions or concerns. In vector search, widely used in recommender systems and RAG (retrieval-augmented generation), the query text is converted into a sequence of numbers (an embedding vector) and sent to the server. It has been pointed out that the original content can leak even from this vector.

A research team from the University of Warwick and the University of Oxford in the UK has proposed SPRINT, a method for finding similar vectors without the server learning either the content of the query or "which data were fetched during the search"[1]. In experiments on three public datasets, SPRINT cut the server-side compute time needed for nearly the same accuracy to about 1/7 to 1/18 of that of Pacmann, an existing method that uses the same cryptographic building block. The paper was posted to arXiv in December 2026, and it does not state that it has been peer reviewed or accepted.

What this study confirmed: hiding even the "path" while staying fast and accurate

The researchers assume a setting with one server hosting a public database and a user (client) who searches while keeping the query hidden. The server follows the prescribed protocol but tries to infer the query from the exchanged messages (Section 4.1 of the paper).

The cryptographic technique that hides "which item was retrieved" when fetching data is called private information retrieval (PIR). However, fast vector search normally fetches candidates many times while traversing an index. If the number of items fetched along the way differs from path to path, that difference could reveal the path, and therefore the content of the query (Section 4.2).

The authors summarize three problems with existing methods (Chapter 1).

  • Tiptoe, which computes distances to the encrypted query on the server, requires heavy server computation.
  • Pacmann, which traverses a graph-shaped index, needs many round trips, and server computation grows in proportion to the number of round trips.
  • Neither method may reach sufficient accuracy in some cases.

Method: a "perfectly balanced tree" that fetches the same number of items at every level

SPRINT rearranges the database into a tree. Upper levels contain fewer vectors, and each vector has similar vectors in the level below attached to it as its "children." The core idea is that every parent in the same level has the same number of children (Definition 4.2).

The search proceeds as follows (Algorithm 1).

  1. The client stores the top-level vectors (100 in the experiments) locally in advance and computes their similarity to the query.
  2. For the top w candidates by similarity (the beam width), the children are fetched together via PIR.
  3. The client computes similarity with the fetched vectors locally and selects candidates for the next level.
  4. This repeats down to the bottom level.

Whichever path is taken, the number of items fetched at each level is constant at "number of children × w." The authors show that, as long as the PIR is secure, the server learns neither the query nor the path (Theorem 4.3). Because all similarity computations are performed locally, they also note the advantage that a scoring method suited to the application can be used.

In terms of computational cost, it helps that the PIR at each level only has to cover the vectors of that level. Unlike graph indexes, it does not have to work over the entire database each time. In the authors' analysis, even when the number of round trips increases, total server computation does not grow in proportion, and it grows more slowly than linearly with the database size (Section 4.4). Sibling child vectors are stored together as one unit so that they can be fetched with a single PIR (packing, Figure 3).

To make the tree uniform, some vectors are duplicated in multiple places. The proportion of nodes added by duplication was 6.5–12.3% across the three datasets used in the experiments (Table 4).

In addition, for processing multiple queries at the same time, the authors provide batch processing that shares the fetching of candidates (Section 4.5).

Findings: compute time drops substantially and round trips are fewer, but communication volume depends on conditions

The experiments used Cifar60K (image features, 512 dimensions, 60,000 items), Yahoomusic (music recommendation, 300 dimensions, about 137,000 items), and UKBench (image retrieval, 128 dimensions, about 1 million items) (Table 5).

The comparison target is Pacmann. For fairness, the cryptographic building block is the same PianoPIR (single-threaded) as in Pacmann, and the parameters are also matched (Section 5.4). Tiptoe was not included in the experimental comparison, because the Pacmann paper had already reported its computational cost to be very high.

The accuracy metric is 10-Recall@10. It indicates the proportion of the true 10 nearest items that appear in the top 10 search results. The table below compares settings where this value is almost exactly 0.9.

Dataset Method Round trips Server compute time Communication volume
Cifar60K Pacmann 12 11.75 ms 2.54 MB
Cifar60K SPRINT 4 0.64 ms 1.52 MB
Yahoomusic Pacmann 20 17.27 ms 2.71 MB
Yahoomusic SPRINT 5 2.56 ms 5.72 MB
UKBench Pacmann 15 9.11 ms 1.25 MB
UKBench SPRINT 6 0.84 ms 2.33 MB

Online-phase values per query at a 10-Recall@10 of about 0.9. Created by ScienSeeds based on Table 6 of the original paper.

Source: Created by ScienSeeds

On all three datasets, SPRINT reduced both the number of round trips and the server compute time. Compute time was about 1/18 of Pacmann's on Cifar60K, about 1/7 on Yahoomusic, and about 1/11 on UKBench.

On the other hand, communication volume decreased only on Cifar60K. On Yahoomusic and UKBench, SPRINT's volume was larger than Pacmann's.

Comparing accuracy and compute time while varying the settings, packing of sibling vectors greatly reduced compute time (Figure 8). The authors report that even without packing, SPRINT had a better balance of accuracy and compute time.

In SPRINT's processing time breakdown, data conversion (serialization/deserialization) was the largest component, followed by server computation and then client computation (Table 7). The total was 2.71–10.07 ms, which does not include network latency.

Batch processing of multiple queries was also effective. On UKBench, batching 10 queries reportedly reduced the server compute time needed for a recall of 0.9 from about 0.84 ms to 0.17 ms per query (Chapter 1).

How tuning changes the results

  • Beam width: The beam width w was the most influential parameter. A larger w raised recall, but gains slowed beyond a certain point (Figures 4 and 5).
  • Branching factor: Theory predicted that a branching factor of 3 would be optimal. In measurements, 5 was fastest on both Cifar60K and Yahoomusic (Figure 6). The authors recommend starting from 3 and tuning nearby values.
  • Early termination: Stopping before the bottom level reduced round trips but caused a large drop in recall (Figure 7).
  • Caching more levels locally: Storing one or two more upper levels locally raised recall (Figure 7).

What to consider when using it

What the experiments confirmed are the compute time, communication volume, and accuracy when searching three public datasets (up to about 1.1 million items) on a single server using single-threaded PianoPIR.

In real-world settings, the following points need to be checked separately.

  • The database must be public: SPRINT hides only the query side. Databases whose contents must be kept secret, such as internal documents, are out of scope (Chapter 2).
  • Data updates: Because the tree must be kept balanced, handling additions and deletions of data is difficult, which the authors themselves list as a limitation. Many PIR schemes also assume that the data do not change (Chapter 6).
  • Network: The times in the experiments do not include communication latency. Because communication volume increases on some datasets, perceived speed may vary depending on line conditions.
  • Scope of comparison: Pacmann is the only method directly compared in the experiments.

For researchers in other fields, a candidate application is any situation where one wants to search published data without revealing what is being investigated. One example is searching a public compound library or literature database with queries related to an unpublished research topic. However, this is an illustrative example, not a use case tested in the paper.

Implementation guide

  • Task: top-k nearest neighbor search (inner product) over a public vector database. Accuracy is evaluated by 10-Recall@10, and efficiency by server compute time per query (ms) and communication volume (MB) (Chapter 5, Table 6)
  • Baseline: Pacmann (32 neighbors, 3 parallel searches, 2–30 hops). SPRINT uses 100 top-level nodes, a branching factor of 4, and a beam width of 2–30 (Section 5.4)
  • Data: Cifar60K, Yahoomusic, UKBench (Table 5; sources are given in footnote 1 of the paper)
  • Compute environment: Intel Xeon W-2245 3.90GHz, 512GB RAM, Rocky Linux 9.8. PIR is PianoPIR (single-threaded, failure probability 2^-8) (Section 5.4)
  • Code: Chapter 5 of the paper states that it is released on GitHub (xuefeng-xu/sprint). The license has not been confirmed
  • Parameter guidelines: Try a branching factor of 3 first, then tune 2, 4, 5, and so on. Tune accuracy with the beam width (Sections 5.1–5.2)

Conditions and limitations

  • Scope checked: the main text, figure and table descriptions, and appendix headings of arXiv v1 (December 2, 2026). The paper does not state that it has been peer reviewed or accepted.
  • The largest experiment was about 1.1 million items at 128 dimensions (UKBench). Performance on larger datasets has not been tested.
  • The values in Tables 6 and 7 are for the online phase and do not include the cost of building the tree or of PIR preprocessing (the offline phase). Network latency is also not modeled.
  • Pacmann is the only existing method compared in the experiments. Tiptoe was excluded from the experiments on the basis of prior reports.
  • Communication volume is larger than Pacmann's on two of the three datasets.
  • There are two values showing the effect of batch processing. Chapter 1 gives about 0.84 ms → 0.17 ms per query on UKBench, while the description in Section 5.5 (Figure 9) gives about 15 ms → about 3 ms on the same UKBench. Both are about a fivefold reduction, but the absolute values differ, and the main text did not let us confirm any difference in measurement conditions.
  • The security assumption is that a single server follows the protocol while trying to infer information (semi-honest). Resistance to a server that deviates from the protocol is not covered in the paper's security discussion.
  • Dynamic data updates are not supported (listed as a limitation by the authors).

Sources

  1. Xu, Cormode, Ferhatosmanoglu. SPRINT: Scalable Private Retrieval with Indexed Neighbor Trees. arXiv:2612.04567 (2026)