SPRINT: Scalable Private Retrieval Based on an Indexed Neighbor TreeSPRINT: Scalable Private Retrieval with Indexed Neighbor Trees
The authors propose a private vector retrieval framework, Sprint, which uses a balanced hierarchical tree and PIR to separate candidate retrieval from client-side scoring; on UKBench, at a 10-Recall@10 of about 0.9, server computation is 0.84 ms, versus 9.11 ms for Pacmann.
- Private retrieval over public vector databases must hide both the query and the data-dependent search path. The authors argue that existing methods struggle to balance server computation, number of interaction rounds, and retrieval quality, and also do not adequately support reuse across queries.
- Sprint uses a balanced hierarchical tree to retrieve a fixed number of candidates layer by layer via PIR, with the client scoring and selecting subsequent nodes; sibling vector packing reduces PIR queries, and batched queries share candidate retrieval.
- On three real datasets, the authors report that Sprint's recall–server computation trade-off is better than Pacmann's; at a 10-Recall@10 of about 0.9, Sprint uses 0.64, 2.56 and 0.84 ms on the three datasets respectively, while Pacmann uses 11.75, 17.27 and 9.11 ms.
- The authors note that balanced trees are difficult to support dynamic updates, and most PIR schemes also assume a static database; quantization, multi-vector, filtering, and range query extensions were not evaluated. The experiments compare only Sprint and Pacmann, did not re-test Tiptoe, and did not model network latency.
- Threat model
- The database is public and the query is private; a single semi-honest server hosts the database, and multiple independent clients retrieve via PIR. The goal is to hide the query vector and search path; no trusted server hardware, multiple non-colluding servers, or shared mutable state among clients is assumed.
- Benchmarks
- Cifar60KYahoomusicUKBench
- Metrics
- 10-Recall@10Total Server Time Per QueryCommunicationRetrieve (%)
SPRINT is a private vector search framework that separates server-side candidate retrieval from client-side scoring, hiding the search path associated with the query. It organizes the database into a balanced hierarchy that can be independently retrieved using PIR, packs sibling vectors at the same level to reduce PIR work, supports an adjustable logarithmic number of rounds, and keeps total server-side computation sublinear in database size. Experiments on real datasets show that its accuracy-efficiency trade-off is significantly better than existing methods, and that batch query processing also yields substantial gains.
Related events and news
1 events · 0 news mentions
- This event's paper
SPRINT:基于索引邻居树的可扩展私有检索
Paper analysis
What problem does this paper attempt to solve?
Sprint targets private vector retrieval over a public database, balancing query and path privacy, server computation and retrieval quality.
Core problem: how to hide the query and search path on a public vector database while reducing server computation and interaction rounds and maintaining retrieval quality.
- Application background: The authors take recommender systems and retrieval-augmented generation (RAG) as examples, noting that query vectors may contain sensitive user information; database scale and vector dimensionality make the computational overhead of private retrieval a problem.
- Trade-offs of existing methods: The authors state that Tiptoe's server computation is O(N) and its 10-Recall@10 is often below 0.4; Pacmann typically requires multiple rounds of interaction, and total server computation grows linearly with the number of rounds. Amora focuses on communication overhead, but the authors state that its server computation is still O(N).
- Core design observation: Separate private candidate retrieval from client-side scoring, so that the server returns only a fixed-size set of candidates and the client decides subsequent exploration itself; after organizing the index by layer, each layer's PIR processes only that layer's data rather than scanning the entire database each round.
- Proposed approach: Sprint uses a balanced hierarchical tree, sibling vector packing, top-level vector caching and progressive results, and allows a batch of queries to share candidate retrieval. The authors give a total server computation upper bound of Õ(√(bN)) (under preprocessing PIR and batching), without an extra multiplication by the number of rounds.
- Threat model:
- Goal: Obtain cryptographic query privacy, so that the server cannot learn the query vector or search path.
- Adversary: A single semi-honest server that executes the protocol correctly but may infer query information from the interaction.
- System and capabilities: The database is public; multiple independent clients hold private queries and retrieve candidates via PIR; the client caches a small number of upper-layer vectors and computes similarity locally.
- Explicitly not relied upon: Trusted server hardware, multiple non-colluding servers, shared mutable state among clients.
What related research exists?
Related work is organized by privacy setting, PIR foundations and private vector retrieval systems, and the experimental baseline is Pacmann.
Private vector retrieval systems
- Tiptoe (Henzinger et al., 2023a): Based on SimplePIR and an IVF index; the client caches cluster centers, and the server computes distances on the encrypted query. The paper criticizes its server computation as O(N), its retrieval quality as often low, and the fact that the client must wait for the server to finish computing.
- Pacmann (Zhou et al., 2025): Based on PianoPIR and the NGT proximity graph; the client caches the actual vectors and retrieves neighbors hop by hop, computing similarity locally. The paper notes that it requires many interaction rounds and that total server computation grows linearly with the number of rounds.
- Amora (Wang et al., 2026): Also based on SimplePIR, focusing on reducing communication cost; the authors state that its server computation is still O(N).
PIR and cryptographic foundations
- SimplePIR (Henzinger et al., 2023b): Uses linear homomorphic encryption to reduce server computation and communication to the order of O(√N).
- PianoPIR (Zhou et al., 2024): Further uses one-way functions so that both server computation and communication are Õ(√N); the comparative experiments between Sprint and Pacmann uniformly adopt it.
- Other privacy approaches: The paper also discusses TEE, homomorphic encryption, searchable encryption, ORAM, MPC and differential privacy, and states that this paper studies only the PIR setting of "public database, private query"; MPC's additional parties and trust assumptions, and DP's different privacy goals, are out of scope.
Approximate nearest neighbor indexes and batched workloads
- ANN indexes: The paper introduces IVF, SPANN, NGT, HNSW and FAISS as backgrounds for clustering, hierarchical or graph indexes respectively; Sprint's tree index does not store links between nodes.
- Batching and multi-vector retrieval: Milvus is used as an example of a system that exploits commonality across queries; ColBERT is cited as a multi-vector retrieval paradigm, and the authors consider that Sprint's batching mechanism can share multi-vector candidates of the same query.
Baselines and positioning
- Experimental baselines: The main comparison is Pacmann, with datasets Cifar60K, Yahoomusic and UKBench; Tiptoe was not re-tested, with the authors' reason being that Pacmann has already reported its computational cost to be very high. The authors position Sprint as trading a balanced hierarchical tree for adjustable rounds, asymptotic results, and total server computation that does not grow additionally with the number of rounds.
How does the paper address this problem?
Sprint performs fixed-size PIR layer by layer with a balanced hierarchical tree, lets the client score and choose the path, and reduces cost through packing and cross-query sharing.
The overall idea is to split search into fixed-size layer-by-layer retrieval: the server returns candidates via PIR, and the client computes inner products and decides which objects to explore at the next layer. Sprint's privacy comes from PIR and the consistent retrieval size at each layer, rather than having the server compute encrypted similarity.
System setup and privacy definitions
- Role division: The server builds the hierarchical index and hosts the public database; the client caches layer-0 vectors, holds the private query, and maintains two priority queues for candidate vectors and node indices.
- Query privacy: Definition 4.1 follows Tiptoe's definition, requiring that the client message distributions corresponding to any two queries be computationally indistinguishable.
- Fixed access pattern: Definition 4.2 requires that every node in the same non-leaf layer have the same number of children. Theorem 4.3 argues that if PIR provides query privacy, then retrieving bl·w vectors per layer prevents the server from distinguishing queries or paths by request size.
Offline indexing and online search
- Balanced clustering: Algorithm 2 uses constrained K-means to partition n vectors into K clusters with target size S=⌈n/K⌉; the vector with the largest inner product with the centroid becomes the parent node, and clusters short of S are filled from other clusters with the vectors having the largest inner products with the parent vector.
- Recursive tree construction: Algorithm 3 builds layer by layer with n0 top-level nodes and branching factor b; it stops when the current number of sub-indices is below 3b, and the leaf-layer branching number may be less than b or reach 3b−1, but remains consistent within the same leaf layer.
- Online process: The client first scores the cached vectors; each round it selects the w parent nodes with the highest similarity, encodes their child node indices and performs PIR, then after decoding scores locally and updates the queues, finally outputting the top-k. The number of rounds equals the tree height h, approximately ⌈log_b(N/n0)⌉.
- Sibling packing: Figure 3 packs b d-dimensional child vectors into one bd-dimensional record, so that each parent node requires only one PIR retrieval; the authors claim the number of PIR queries is reduced by a factor of b, but the actual server computation benefit depends on how PIR charges for record length.
Cost analysis and parameter selection
- Layered cost: With PIR without preprocessing, the sum of costs across layers is Θ(bwN), independent of h; with preprocessing PIR and batch PIR, the authors give a total cost of Õ(√(bwN)). Because Pacmann processes the entire graph round by round, its corresponding cost includes a factor of the number of rounds h.
- Dimension-aware cost: Packed records are longer; after accounting for d, the total cost with preprocessing and without batch PIR is Õ(dw√(bN)); with batch PIR it is Õ(d√(bwN)). The authors therefore do not equate the reduction in record count directly with a proportional reduction in computation.
- Branching factor: The asymptotic model with fixed n0 gives a continuous optimum of about 2.618, tending toward b=3 over integers; the authors suggest starting from b=3 and tuning nearby values.
- Cost-reduction means: One can pre-agree on a fixed number of rounds fewer than h and output early, or cache more upper layers; neither makes the number of rounds depend on the specific query. Duplicate vectors are used to fill out the tree structure; Table 4 reports duplication rates of 6.5%, 12.3%, and 11.9% on three datasets with n0=100 and b=2.
Batch queries and evaluation definitions
- Shared retrieval: Algorithm 4 keeps an independent result queue for each query while maintaining a shared candidate queue using each query's maximum similarity; the number of PIR retrievals per round does not increase with batch size, and the retrieved candidates are reused for the whole batch.
- Similarity and metrics: The experiments focus on inner product; Euclidean distance is adapted via a standard transformation. 10-Recall@10 is defined as the size of the intersection between the returned top-10 and the true top-10 divided by 10; the proportion of the database retrieved, server computation time, and communication volume are also reported.
What experiments did the paper conduct?
The experiments cover three real vector datasets, and the main comparison shows that Sprint uses fewer rounds and less server computation at about 0.9 recall.
Experimental Setup
- Datasets: Table 5 lists Cifar60K (512 dimensions, 60K vectors, 1K queries), Yahoomusic (300 dimensions, 137K vectors, 1K queries), UKBench (128 dimensions, 1M vectors, 200 queries).
- Comparison targets: Sprint and Pacmann; both uniformly use single-threaded PianoPIR, with the PIR failure probability set to 2^-8. Tiptoe was not re-tested; the authors state that Pacmann has reported its computational cost to be very high.
- Parameter sweep: Pacmann fixes the number of graph neighbors b=32 and the number of parallel searches p=3, with graph hops from 2 to 30 in steps of 2; Sprint fixes n0=100 and b=4, with beam width w from 2 to 30 in steps of 2.
- Metrics: 10-Recall@10, total server computation time per query, communication volume, number of interaction rounds; client computation and serialization/deserialization time are also broken out separately.
- Runtime environment and repetitions: Rocky Linux 9.8, Intel Xeon W-2245 3.90GHz, 512GB RAM; for each dataset, all queries are reported as the average of 3 runs. Network latency was not modeled.
- Parameter experiments: Figures 4, 11, 15 sweep n0∈{10,30,100,300}, b∈{2,4,8,16}, w∈{3,10,30}; Figure 6 adjusts b from 2 to 16 at n0=100, w=4.
Main Results
The table below shows online results at 10-Recall@10≈0.9, according to Table 6; Sprint uses packing, and Pacmann is the paper's baseline.
Swipe horizontally to read the table
Dataset Method Rounds Server computation Communication 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 - Curve results: The legend of Figure 8 distinguishes Sprint with packing, without packing, and Pacmann; the authors state that packing reduces server computation while maintaining recall, and that Sprint without packing also outperforms Pacmann. The converted text does not provide the exact coordinates of each curve point.
- Communication exception: Sprint does not have lower communication on all datasets; it is higher than Pacmann on Yahoomusic and UKBench, and lower on Cifar60K.
- Authors' explanation: The authors attribute the computation difference to Sprint processing only that layer's data at each layer, whereas Pacmann processes the entire graph each round; this is the authors' explanation of the mechanism.
Time Breakdown and Progressive Search
- Time composition: In Table 7 at about 0.9 recall, Cifar60K's server/client/serialization-deserialization/total times are 0.64/0.43/1.65/2.71 ms; Yahoomusic is 2.56/0.85/6.66/10.07 ms; UKBench is 0.84/0.43/2.69/3.96 ms.
- Authors' interpretation: Serialization/deserialization is the largest component, which the authors attribute to PianoPIR's communication cost; client computation is the smallest.
- Early stopping and caching: Figures 7, 14, 18 compare the number of search rounds and cache=1/2/3. The authors report that early stopping reduces the number of rounds but decreases recall considerably, and that additional caching of upper layers better maintains recall; the exact values of the curves are not given in the text.
Parameters, Packing and Batching
- Measured branching factor: Figure 6 finds that the minimum server time on both Cifar60K and Yahoomusic is at b=5, higher than the b=3 suggested by the asymptotic model; the authors recommend starting from b=3 and trying b∈{2,4,5}.
- Parameter effects: The authors state that w has the greatest effect on recall, that increasing b generally improves recall, and that a larger n0 does not necessarily improve recall. In Figure 4 for UKBench at n0=100, b=16, the recall at w=3/10/30 is 0.62/0.97/1.00 respectively, with retrieval volume of 0.03%/0.08%/0.21%.
- Batch settings: The batch sizes in Figure 9 are Cifar60K=10, Yahoomusic=50, UKBench=10, comparing the average recall and amortized server time of shared retrieval versus per-query processing.
- Batch results: The main text states that when UKBench reaches 0.9 recall, batching takes about 3 ms and a single query takes about 15 ms; the introduction separately states that the server time to reach 0.9 recall drops from about 0.84 ms to about 0.17 ms. The two figures use different bases, and the paper does not explain the difference in the corresponding paragraphs.
- Cross-dataset differences: The authors state that Cifar60K and UKBench already benefit at batch size 10, while Yahoomusic benefits more from batch size 50; Figure 9 does not provide curve point coordinates that can be copied item by item.
Other Ablations and Analysis
- Duplication rate: In Table 4 at n0=100, b=2, Cifar60K is 6.5%, Yahoomusic is 12.3%, and UKBench is 11.9%.
- Retrieval volume ranges: The UKBench heatmap in Figure 4 covers 0.01%–0.21%; Cifar60K in Figure 11 is 0.13%–2.78%; Yahoomusic in Figure 15 is 0.05%–1.16%.
- Non-private reference: Section 4.1 states that on Cifar60K, Pacmann takes about 12 ms to reach 0.9 recall, while NGT reaches near-complete recall in a similar time; this observation is used to illustrate the cost of private retrieval and is not a same-protocol comparison with the main table.
What are some points that can be further explored?
The authors explicitly leave the limitations of dynamic updates and static PIR, and list quantization and more query types as unevaluated extensions.
Limitations noted by the authors and future directions
- Difficulty of dynamic updates: Section 6 "Limitations" notes that balanced tree indices are difficult to support dynamic updates, because maintaining balance may require restructuring; an effective dynamic balancing mechanism remains to be studied.
- Static assumption of PIR: The same subsection notes that dynamic updates also pose challenges for PIR, and most existing schemes assume a static database; supporting efficient updates while preserving query privacy remains an open problem.
- Temporary update workaround: The same subsection mentions filling deleted items with dummy vectors and replacing duplicate vectors with newly inserted vectors, but the authors do not present this as a solved dynamic indexing scheme.
- Quantization integration: Section 6 "Integrating Quantization" proposes the idea of passing codebooks offline, transmitting compressed vectors, and using PIR to retrieve original vectors for reranking; this is a future design direction.
- More query types: Section 6 "Extensions to Other Query Types" discusses multi-vector, application-specific scoring, attribute filtering, range and threshold queries; it explicitly states that these extensions were not evaluated and are left for future research.
- Completeness limitation: The same subsection notes that range and threshold queries can be approximated by imposing predicates on candidates, but guaranteeing complete results requires additional mechanisms.
Scope of experimental coverage
- Datasets and workloads: The experiments use three single-vector datasets: Cifar60K, Yahoomusic, and UKBench; the numbers of queries are 1K, 1K, and 200, respectively (Table 5).
- System comparison: The main experiments compare Sprint and Pacmann, both using single-threaded PianoPIR; Tiptoe was not re-tested, for the reason given in Section 5.4.
- Measurement boundaries: Server, client, and serialization/deserialization times are reported, without modeling network latency; all queries for each dataset are averaged over 3 runs (Section 5.4).
- Batch sizes: The batch experiments report only Cifar60K=10, Yahoomusic=50, and UKBench=10, and compare with single-query processing (Section 5.5).
- Extension evaluation: Section 6 explicitly states that quantization, multi-vector, filtering, range, and threshold query extensions were not evaluated; the paper does not report statistical significance tests.
Summarize the main content of the paper
Sprint implements private vector search with a balanced hierarchical tree and client-side path selection, and reduces server overhead through layered PIR, packing and batch sharing.
Sprint is a vector retrieval framework for "public database, private query", targeting a semi-honest single server, with the goal of improving the trade-off among recall, server computation and number of interaction rounds while hiding the query vector and search path.
- Core method: The server builds a perfectly balanced hierarchical tree offline, and the client caches the top-level vectors; online, it retrieves a fixed number of candidates layer by layer via PIR, computes inner products locally and selects the next-layer nodes. Sibling vector packing reduces PIR queries, and batched queries amortize cost through shared candidate retrieval.
- Privacy and cost: The authors argue query privacy based on PIR security and a fixed per-layer retrieval volume; under preprocessing PIR and batch PIR, the total server computation is written as Õ(√(bwN)), without an additional round-count multiplier. After accounting for vector dimensionality, the computational benefit of packing depends on the specific PIR cost model.
- Main results: In Table 6, at 10-Recall@10≈0.9, Sprint's server computation on Cifar60K, Yahoomusic and UKBench is 0.64, 2.56 and 0.84 ms respectively, with 4, 5 and 6 rounds; Pacmann's is 11.75, 17.27 and 9.11 ms respectively, with 12, 20 and 15 rounds.
- Costs and exceptions: Sprint's communication is not always lower: Yahoomusic is 5.72 MB and UKBench is 2.33 MB, both higher than the corresponding Pacmann; Table 7 also shows that serialization/deserialization is the largest part of Sprint's total time.
- Parameters and batching: The measured minimum server time in Figure 6 is at b=5 for both datasets, whereas the asymptotic model suggests b=3. The batching experiments use 10 for Cifar60K/UKBench and 50 for Yahoomusic, and the authors report that its recall–amortized server time trade-off is better than per-query processing.
- Authors' conclusions and boundaries: The authors consider the hierarchical index and the separation of retrieval/scoring as providing a foundation for asymptotic results and more complex query workloads; they also explicitly acknowledge that dynamic updates are difficult, that most PIR assumes a static database, and that quantization and extensions such as multi-vector, filtering and range have not yet been evaluated.