Skip to content

PILLAR: Private Inverted-Index Lexical Lookup for Retrieval-Augmented GenerationPILLAR: Private Inverted-Index Lexical Lookup for Augmented Retrieval

arXiv: Alignment, Deception & Oversight· arXiv:2609.36326· Truong Son Nguyen, Daniel Blackley, Ni Trieu, Evgenios M. Kornaropoulos·Indexed by this site · 2026-10-01· Originally publishedTools

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

PILLAR does private RAG with lexical prefiltering over PIR plus client-side dense reranking; on MS MARCO, PILLAR-Bin is fastest at 0.098 seconds, and PILLAR-Tree reaches Answer Relevancy of 0.75.

Threat modelA semi-honest server holds a public corpus; the client uses PIR to retrieve the k documents most similar to a private query. The server learns neither the query terms nor the access pattern. The security model is the PIR-hybrid model, with ideal functionality PPRAG(C, Q)=(⊥, Dk).

Questions
RAG sends the user's raw query to the corpus server, leaking both query terms and access patterns. Existing private RAG mostly uses dense retrieval, turning approximate nearest neighbor into multi-round, query-dependent PIR, hurting both latency and retrieval quality.
Methods
PILLAR does private hybrid retrieval in two stages: the sparse stage issues a fixed number of PIRs over a precomputed BM25 index, filtering candidates that share terms with the query while the server sees no terms; the client then PIR-fetches the document embeddings of these candidates and reranks locally by cosine. PILLAR-Bin packs inverted lists into a hash table in a single round; PILLAR-Tree turns block-max pruning into an oblivious tree traversal with a cuckoo hash table.
Experiments and results
The authors compare latency and retrieval/answer quality against PACMANN on MS MARCO and SciFact. PILLAR-Bin is fastest on MS MARCO at 0.098 seconds and on SciFact at 0.065 seconds; the fastest PACMANN is 0.293 seconds and 0.270 seconds respectively. The authors say that among configurations on the front under 1 second, PILLAR-Tree has the highest quality on both datasets and all quality metrics, with answer Relevancy 0.75, the corresponding PACMANN 0.72 but with more than 2× latency. The authors say 93% of Pareto front points across all experiments come from PILLAR.
Limitations and future work
The paper has no dedicated Limitations section. Appendix I.2 states that the cited hybrid retrieval sources are not a census of deployed systems, and many simple RAGs still use only dense retrieval. Experiments cover MS MARCO (8.8 million passages, 6980 queries) and SciFact (5183 documents, 300 queries); answer quality was generated with Qwen2.5-7B-Instruct and judged by Llama-3-70B as RAGAS reviewer, with a fixed 100 queries per dataset; WAN is 50 ms RTT, 400 Mbps.
Experimental setupMS MARCO、SciFact · MRR@10、Recall@10 et al.
Benchmarks
MS MARCOSciFact
Metrics
MRR@10Recall@10Answer RelevancyFaithfulnessWAN latencycommunication cost
AI summaryPILLAR is a privacy-preserving RAG (PPRAG) system based on private information retrieval (PIR), in which a client retrieves the k documents most similar to a query from a public corpus held by a server, while the server cannot learn the query terms or the access pattern. It uses a two-stage sparse-plus-dense hybrid retrieval: the sparse stage issues a small fixed number of PIR queries over an index of precomputed BM25 scores to filter out candidates, and the dense stage retrieves only the candidate document embedding vectors and reranks locally, avoiding the large number of PIR queries required by private dense retrieval. PILLAR-Bin bins inverted lists into a hash table, with a single-round design whose latency is lower than existing schemes; PILLAR-Tree turns block-max pruning into an oblivious tree traversal combined with a cuckoo hash table, achieving the highest retrieval quality at lower latency.

PILLAR is a privacy-preserving RAG (PPRAG) system based on private information retrieval (PIR), in which a client retrieves the k documents most similar to a query from a public corpus held by a server, while the server cannot learn the query terms or the access pattern. It uses a two-stage sparse-plus-dense hybrid retrieval: the sparse stage issues a small fixed number of PIR queries over an index of precomputed BM25 scores to filter out candidates, and the dense stage retrieves only the candidate document embedding vectors and reranks locally, avoiding the large number of PIR queries required by private dense retrieval. PILLAR-Bin bins inverted lists into a hash table, with a single-round design whose latency is lower than existing schemes; PILLAR-Tree turns block-max pruning into an oblivious tree traversal combined with a cuckoo hash table, achieving the highest retrieval quality at lower latency.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How private RAG over a public corpus can hide the query while covering both lexical and semantic retrieval.

    How can a client retrieve the k documents most similar to a private query from a server holding a public corpus, without the server seeing either the query terms or the access pattern, while avoiding the multi-round PIR and quality loss of purely dense private retrieval.

    • Scenario and risk: The authors state that RAG has become the standard way to ground large language models in knowledge beyond their parameters, and is the mechanism major search engines use for AI summaries. Client queries are sent verbatim to the server hosting the corpus. The authors cite that search logs can identify users, that users disclose sensitive details to LLMs, and that existing models can infer identifiable information from very little text, and state that exposing queries carries real risk.
    • Two shortcomings of existing PPRAG: The authors state that existing work falls into dense and sparse categories, with most doing dense. ANN traversal is adaptive, with each hop depending on the query, so hiding the access pattern requires a query-independent fixed schedule. The authors state that on MS MARCO, PACMANN requires 20 round trips per query with MRR@10 of only 0.266, while a non-private ANN baseline on the same embeddings is about 0.31. Second, existing protocols support only a single retrieval architecture, while the authors state that real RAG commonly uses lexical scoring followed by comparison of embedding similarity; the two classes fail in complementary ways, and only together can they compensate for each other.
    • Core observation: The authors point out that the literature gap is that no PPRAG uses both sparse and dense architectures, and single-architecture schemes pay a price in interaction count and answer quality. A hybrid protocol should simultaneously have the low and fixed round count of sparse retrieval, the rapid exclusion of documents via lexical overlap, and the semantic precision of dense embeddings.
    • What this paper proposes: The authors propose PILLAR, a PIR-based privacy-preserving hybrid retrieval PPRAG. The sparse stage issues a small, fixed number of PIR queries over precomputed BM25 score indexes to filter the corpus to candidates sharing terms with the query; the dense stage retrieves only the document embeddings of these candidates and reranks on the client. Two protocols: PILLAR-Bin (hash binning, single round, the authors state lower latency than SOTA) and PILLAR-Tree (turning block-max pruning into an oblivious tree traversal plus a cuckoo hash table, the authors state highest quality and lower latency than SOTA). The authors state that both hide the query against a semi-honest server in the PIR-hybrid model, and state that this is a PPRAG combining lexical and semantic scoring.
    • Threat model:
      • Goal: The ideal functionality PPRAG(C, Q) = (⊥, Dk). The server outputs nothing for the public corpus C; the client inputs the private query Q and outputs k documents Dk such that each document in Dk has score(Q, ·) no lower than that of any other document in the corpus.
      • Knowledge and adversary: The corpus is public and known to the server. Single-server PIR with preprocessing is used. The server is semi-honest: it follows the protocol but tries to recover the requested index. The authors state that both protocols are proven to hide the query in the PIR-hybrid model.
      • Capabilities: The client does not give query terms to the server, but issues PIR over the index; the number of rounds and the size of each message depend only on public parameters, not on Q. The client locally performs lexical upper-bound summation and cosine reranking.
      • Victim system: A RAG server hosting a public document corpus and providing retrieval to clients to enhance LLM answers.
  2. What related research exists?

    Related work is divided into PIR, dense private retrieval, sparse private retrieval, and engineering hybrid retrieval.

    PIR and private retrieval

    • PIR (Chor et al., 1995; Kushilevitz and Ostrovsky, 1997; Beimel et al., 2000): a client retrieves one record from an unencrypted database without revealing which record. This paper focuses on single-server PIR with preprocessing (Zhou et al., 2024a; Corrigan-Gibbs and Kogan, 2020; Beimel et al., 2000), with preprocessing and query phases.
    • Batched PIR: the authors follow Zhou et al. (2024b), packing multiple indices into one query, amortizing to sublinear cost per index.

    Dense PPRAG

    • Tiptoe (Henzinger et al., 2023): private search over clustered embeddings.
    • Compass (Zhu et al., 2025): traverses an HNSW graph with ORAM.
    • PACMANN (Zhou et al., 2024b): the authors call it the current SOTA. The client traverses an ANN graph. The authors criticize its adaptive traversal, with 20 round trips per query on MS MARCO and MRR@10 of 0.266, below the non-private ANN on the same embeddings at approximately 0.31; and it only evaluates retrieval, not end-to-end answers.

    Sparse retrieval and hybrid retrieval

    • Coeus (Ahmad et al., 2021): the authors call it representative of sparse private retrieval, scoring queries against a term-frequency matrix. Lexical scoring functions also include TF-IDF, Okapi BM25 (Robertson and Zaragoza, 2009), and SPLADE (Formal et al., 2021). Block-max / dynamic pruning comes from Turtle and Flood (1995), Broder et al. (2003), Ding and Suel (2011).
    • Dense retrieval foundations: DPR (Karpukhin et al., 2020) maps documents and queries into a vector space, commonly using cosine similarity; ANN builds the corpus into a high-similarity graph and traverses it (also see Malkov and Yashunin, 2018). The authors cite Ma et al. (2021), Thakur et al. (2021b), Bruch et al. (2023) to show embeddings and lexical methods fail in complementary ways.
    • Hybrid retrieval in engineering (Appendix I.2): Elasticsearch, OpenSearch, Weaviate, Azure AI Search fuse BM25 with vector retrieval (including RRF, Cormack et al., 2009). The authors cite a Microsoft whitepaper stating hybrid retrieval plus reranking is a basic configuration in its production RAG; Anthropic's Contextual Retrieval combines embeddings with BM25, reducing the top-20 retrieval failure rate from 3.7% to 2.9%. The authors state these sources indicate hybrid retrieval is widely supported and recommended, not a census of deployed systems.

    Baseline methods and benchmarks

    • Baseline: PACMANN, multi-round private ANN traversal. A non-private comparison appears only in the introduction as an ANN baseline on the same embeddings (MRR@10 approximately 0.31).
    • Benchmarks: MS MARCO (Bajaj et al., 2018) and SciFact (Wadden et al., 2020). Retrieval quality uses MRR@10 and Recall@10, common in BEIR (Thakur et al., 2021a); end-to-end uses RAGAS's Faithfulness and Answer Relevancy (Es et al., 2025). Configuration selection uses Kneedle (Satopaa et al., 2011).

    The authors position this paper as PPRAG using both lexical and semantic scoring: the sparse stage filters candidates in fixed rounds, and dense reranking is entirely client-side, reducing interaction count while improving quality relative to single-architecture private retrieval.

  3. How does the paper address this problem?

    First filter candidates with fixed-round private BM25, then the client PIR-fetches embeddings and reranks locally.

    PILLAR removes all adaptive components: the number of rounds and message sizes depend only on public parameters. The server side first does coarse lexical filtering; the client then fetches candidate embeddings and reranks locally by cosine similarity. Two instantiations correspond to two private lexical retrieval methods.

    Problem setting

    • Object: corpus C = {D1, …, Dn}. Analyze turns the original text into terms, with vocabulary V being all unique terms in the corpus. Emb maps the original text to a d-dimensional vector; document embedding eD, query embedding eQ. Similarity is given by score(·, ·).
    • Ideal functionality: PPRAG(C, Q) = (⊥, Dk), only the client gets the k highest-scoring documents. Standard PIR retrieves a single record by index and cannot directly serve as PPRAG, because the client input is query terms rather than an index.
    • Security: PIR security means the server cannot discover the requested index i. The authors state the full protocol is in Appendix E, security analysis in Appendix G, and claim both protocols hide the query under the PIR-hybrid model.

    PILLAR-Bin: single-round hash binning

    • Two points to address: non-private bin-based BM25 has the server fetch posting lists by query and return top-k, but in PPRAG the server does not see Q; larger hash tables reduce collisions, but PIR computation grows superlinearly with table size.
    • Design: the server returns only a fixed t documents per term, reranked locally by the client. Posting lists are sorted by term frequency for that hash term, returning the t most frequent. The table has only R ≪ |C| rows; term w maps to row H(w) (mod R), H is public, and PIR hides the row number. Posting lists of colliding terms are interleaved round-robin, with the j-th document of the i-th list placed at position (j−1)m + i (m being the number of colliding terms); reading the first t·m positions yields the first t documents of each list; duplicate documents across lists are removed by the server.
    • Record contents and batching: before building the table, the server precomputes each document's embedding and stores embeddings directly. The PIR library has R rows, each with exactly t embeddings, i.e., t·d field elements; row length is independent of the number of collisions. Multiple independent PIRs would reveal |Q|, so batched PIR is used with a fixed batch size of the padded upper bound 3, rather than |Q|. The client issues one batched query, decodes t embeddings per row, and the candidate pool Dcand is at most t times the batch size, with duplicates removed. The protocol is one round, with message size depending on R, t, d, and the batch bound. Table 1 also has parameter emb: either fetch embeddings directly, or use two rounds of PIR.

    PILLAR-Tree: beam search and sub-block refinement

    • Tree: leaves are document chunks; internal nodes are super-blocks corresponding to subtrees. Each node stores |V| entries, the i-th being the maximum lexical score of term i over that super-block. The tree is r-ary to reduce height. Beam search with beam width W (Bisiani, 1987): the next level only looks at children of the current highest-scoring W nodes, examining at most W×r candidates per level, summing the upper bounds of query terms for each candidate, and keeping the highest W at that level. The authors note beam search is a heuristic and does not guarantee finding the true top-k chunks. Descending ⌈log_r(|C|/|B|)⌉ levels, the upper-bound array reads are O(W · r · |Q| · log_r(|C|/|B|)), versus |Q|·|C|/|B| for a linear scan of chunks.
    • Threshold on the client: at each level, the client uses PIR to fetch array entries of confirmed candidates, sums locally to get upper bounds, then decides the next level's candidates. The bottom level stores identifiers of in-block embeddings rather than the embeddings themselves; one more round of PIR fetches embeddings, then the client does dense retrieval. Figure 2 has three stages: Stage 1 does one PIR per level until W leaf chunks; Stage 2 fetches sub-block upper bounds of these leaf chunks, selects the top ks sub-blocks and gets embedding identifiers; Stage 3 PIR-fetches embeddings, the client ranks by cos(eQ, eD), and outputs the top-k document identifiers.
    • Four optimizations: during preprocessing, the corpus is clustered so documents within each chunk are similar to each other. Each PIR entry stores scores of term w relative to the r children of node B, rather than relative to B itself, reducing |Q|Wr queries over a library of size |V|×r^{ℓ+1} to |Q|W queries over a library of size |V|×r^ℓ. Leaf chunks are further divided into sub-blocks of s documents each, with branching factor r⋆ = ⌈|B|/s⌉; after tree traversal filters to W×|B| documents, the refinement layer keeps only the top ks sub-blocks, reducing embedding fetching from |B|×W to ks×s. Each level's PIR library uses a cuckoo hash table storing only nonzero upper bounds, trading m PIRs for lower storage and PIR cost (Appendix H). The roles of parameters r, |B|, s, W are discussed in Appendix D.1.

    Success criteria and end-to-end

    • Retrieval: the ideal functionality requires the returned k documents to score no lower than the rest of the corpus under score. In experiments, the sparse stage uses precomputed BM25 and the dense stage uses cosine. The authors distinguish in a footnote: usually hybrid-retrieval means combining dense and sparse scores into a final score; here hybrid refers only to the retrieval method, not to final score combination.
    • Answers: retrieved documents are given to an LLM to generate answers, then scored with RAGAS's Faithfulness (whether assertions in the answer are supported by retrieved documents) and Answer Relevancy (whether the LLM answered the question, regardless of whether the correct document is included).
    • Security claim: the authors claim both protocols hide query terms and access patterns from a semi-honest server under the PIR-hybrid model; the communication pattern is fixed and does not vary with Q.
  4. What experiments did the paper conduct?

    On MS MARCO and SciFact, PILLAR accounts for about 93% of the Pareto frontier, with Bin faster and Tree higher quality.

    Experimental setup

    • Protocol and implementation: Go implementation of PILLAR-Bin and PILLAR-Tree, compared against PACMANN (multi-round private ANN). All three undergo hyperparameter grids (Table 1). Bin: R (number of hash table rows), t (documents per bin), emb (direct embedding or two-round PIR). Tree: r, |B|, s, W. PACMANN: p (number of ANN steps), n (neighbors per step). For each protocol, Kneedle selects five representative configurations from the Pareto front: lowest cost C1, maximum normalized gain relative to normalized cost C2, highest MRR@10 C3, highest Recall@10 C4, highest cost C5. Gain is the mean of min-max normalized MRR@10 and Recall@10. Cost proxy is per-query WAN latency. Appendix D contains all configurations, plus other costs such as LAN latency, computation time, and total data sent.
    • Data: MS MARCO passage retrieval, 8.8 million passages, 6980 queries, open-domain, exact word overlap is weakly related to similarity. SciFact, 5183 documents, 300 queries, scientific claims, rare terms, lexical scoring is stronger. Embeddings are all 192-dimensional: SciFact uses e5-base-v2; MS MARCO uses msmarco-MiniLM-L-6-v3 (Sentence-BERT bi-encoder, based on MiniLM, fine-tuned on MS MARCO), which the authors say is the same as PACMANN for fair comparison.
    • Machine and network: Retrieval runs in a Debian 12 container on 64-core 128-thread AMD EPYC Zen 2, limited to 15 threads per process. 120 GB memory per configuration; configurations in Bin that keep the embedding library in memory and have more than 1.5K passages per row use a 1 TB memory machine. WAN: RTT 50 ms, bandwidth 400 Mbps. LAN (Appendix D): 1000 Mbps, RTT 5 ms.
    • End-to-end: Documents retrieved by the selected configurations are given to Qwen2.5-7B-Instruct. The RAGAS reviewer model is Llama-3-70B. LLM experiments run on a single NVIDIA A100 (80GB), with RAGAS fixed at 100 queries per dataset.
    • Metrics: Recall@10 (whether the correct document is in the top 10), MRR@10 (whether the correct document is ranked high). Faithfulness and Answer Relevancy definitions are in the setup. The authors say the PACMANN paper only reports MRR and Recall; this paper additionally reports RAGAS because MRR/Recall do not show whether the retrieved context is useful to the LLM. The main text does not state whether the query-level sample size for MRR/Recall uses all 6980/300 queries, only that RAGAS is 100 per dataset. The paper does not report repetitions.
    • Figure 1 / Figure 3: Figure 1 is the Pareto of Top-5 configurations for each method on MS MARCO, x-axis Latency (s), y-axis Relevancy, annotated around 0.54–0.78. Figure 3 plots MRR@10, Recall@10, Relevancy, Faithfulness against WAN latency for both datasets; the black line is the Pareto front, points not on the front are slightly transparent. Readable numbers given in the main text are as follows; configurations not individually labeled in the figures are not filled in.

    Main results

    Swipe horizontally to read the table

    ProtocolDatasetLatencyQualitySource
    PILLAR-Bin fastestMS MARCO0.098 s (top-10)Authors say quality comparable to PACMANN, no MRR given for this configuration§5.2, Introduction
    PILLAR-Bin fastestSciFact0.065 s (top-10)Specific MRR/Recall for this point not reported§5.2
    PACMANN fastestMS MARCO0.293 sMRR for this configuration not reported; Introduction also says PACMANN is 0.266 MRR@10, 20 round trips§5.2, §1
    PACMANN fastestSciFact0.270 sNot reported§5.2
    PILLAR-Tree highest-quality configurationAuthors say "highest-quality documents among best configurations"Authors say corresponding PACMANN latency is more than 2×Answer Relevancy 0.75; that PACMANN configuration is 0.72Introduction
    PILLAR-Tree C5 / lowest-latency configurationMS MARCOC5 is highest latencyMRR 0.318 vs 0.248 (authors say +28%)§5.2, Figure 4b
    • Front membership: The authors say the Top-5 front in Figure 1 contains only PILLAR-Bin or PILLAR-Tree; PACMANN is not better on either latency or Relevancy. For all experiments in Figure 3, the authors say 93% of points on the Pareto front come from PILLAR and 7% from PACMANN; 54% of the configurations used to draw Figure 3 are PILLAR-Tree.
    • Speed: The authors say there is no PACMANN configuration that is not on the front and below 0.1 s on either dataset, while PILLAR-Bin has several; the fastest PACMANN is 3× to 4× the above Bin latency. In the conclusion, the authors say Bin always has a faster configuration, answering queries three times faster than any configuration PACMANN allows. Tree rarely reaches Bin's latency because traversal requires ⌈log_r(|C|/|B|)⌉ rounds.
    • Quality: The authors say that among all configurations on the Figure 3 front with runtime below 1.0 s, PILLAR-Tree has the highest quality on both datasets and all metrics. In the introduction, the highest answer Relevancy is PILLAR-Tree's 0.75; the PACMANN configuration that finds the best documents is 0.72 but with more than 2× latency. Figure 3 y-axis scales include MS MARCO MRR@10 about 0.12–0.36, Recall@10 about 0.2–0.6, Relevancy about 0.54–0.78, Faithfulness about 0.80–0.96, and SciFact MRR@10 about 0.52–0.68, Recall@10 about 0.65–0.85, Relevancy about 0.55–0.70, Faithfulness about 0.60–0.72; except for the numbers named in the main text, the exact point values for each configuration are not listed individually in the main text.

    PILLAR-Tree staged latency

    • What was measured: Figure 4b breaks the per-query latency of the five representative configurations (C1–C5, specific parameters in Table 3, values not listed in the main text) into the three stages of Section 4.2.
    • Results: The authors say on MS MARCO Stage 1 (traversal) and Stage 3 (embedding retrieval) are roughly equal, and latency variation comes almost entirely from Stage 2 (sub-block retrieval). C5 has MRR 0.318, the lowest-latency configuration 0.248. On SciFact the five configurations differ by less than 20 ms. Figure 4b y-axis scales: MS MARCO about 0–0.95 s, SciFact about 0–0.3 s; per-bar heights are not given in the main text.
    • Authors' interpretation: Stage 2 latency drives retrieval quality. W determines how many candidate documents Stage 2 refines, and the authors say it is the first parameter to tune when moving to a new dataset. SciFact differences are small because the tree is smaller on the small dataset.

    PILLAR-Bin ablation

    • Hash table size and communication: Figure 4a left panel fixes documents per bin at 10, x-axis hash table size (logarithmic, from 100 to 1M, six orders of magnitude), y-axis per-query Comm (KB), scale about 70–130. Two curves for MS MARCO and SciFact. The authors say communication increases as the table grows, but the largest table's communication is less than 2× the smallest, so table size has little effect on total communication and can be chosen by retrieval quality (see Appendix D).
    • Documents per bin and quality: The right panel fixes the hash table at 1 million rows for MS MARCO and 5 thousand rows for SciFact, x-axis documents per bin (logarithmic, scale includes 10, 50, 200, 700, 2.5K), y-axis Quality (MRR@10/Recall@10), scale 0–0.8. The authors say quality increases as documents per bin increase. SciFact gains diminish after 700 per bin; MS MARCO continues to rise at the highest measured level 1.0K–2.5K.

    Other ablations and analysis

    • Appendix D redraws Figure 3-like plots for all configurations of each protocol, using LAN latency, computation time, and total data sent as costs; the main text does not give point-by-point numbers for these figures.
    • Appendix D.1 discusses Tree parameters r, W, |B| and their interactions; the main text only gives the above MRR for C5 and the lowest-latency configuration, and that latency differences between configurations on SciFact are less than 20 ms.
    • Non-private ANN comparison in the introduction: on the same embeddings MRR@10 about 0.31, compared to PACMANN's 0.266 MRR@10 and 20 round trips; this number is not one of the five representative configurations in Figure 3.
    • Negative/exceptions: Tree's beam search does not guarantee truly top-k blocks. Bin on SciFact gains little quality beyond 700 documents per bin. Tree's latency rarely reaches Bin's level. On SciFact the five Tree configurations have nearly indistinguishable latency (difference < 20 ms), attributed by the authors to the smaller tree. 7% of front points still come from PACMANN.
    • External numbers in Appendix I.2: Anthropic added BM25 to Contextual Retrieval and the top-20 retrieval failure rate dropped from 3.7% to 2.9%; this is not a measurement of this paper's system.
  5. What are some points that can be further explored?

    The paper has no dedicated limitations section; experiments stop at two retrieval benchmarks, one WAN, and answer evaluation on 100 queries per dataset.

    Limitations and future directions noted by the authors

    • The paper has no dedicated Limitations, Discussion, or Future Work section. The conclusion only restates the speed and quality of the two protocols relative to PACMANN, without framing them as future work.
    • Appendix I.2: The authors state that sources such as Elasticsearch, OpenSearch, Weaviate, Azure, Microsoft whitepapers, and Anthropic indicate that hybrid retrieval is widely supported and recommended; they do not constitute a census of deployed systems, and many simple RAG pipelines still use only dense retrieval.
    • Scope statements in the method body (explicitly written by the authors, but not a "future work" list): Beam search is a heuristic and is not guaranteed to find the true top-k chunks (Section 4.2). A footnote states that hybrid here refers only to retrieval methods, not to combining dense and sparse scores into a final score. These two are design boundaries; the paper does not frame them as open problems.
    • Code: The authors state that PILLAR-Bin's code is available; the body does not present open-sourcing as an unfinished plan, nor does it make the same statement about PILLAR-Tree's code.

    Experimental coverage

    • Data and models: Retrieval evaluation uses MS MARCO (8.8 million passages, 6980 queries) and SciFact (5183 documents, 300 queries). Document/query embeddings are 192-dimensional, using msmarco-MiniLM-L-6-v3 and e5-base-v2, respectively. The generation model is Qwen2.5-7B-Instruct, the RAGAS judge is Llama-3-70B, with 100 queries per dataset (Appendix I.1).
    • Baselines and metrics: The baseline protocol is PACMANN, with parameters p for the number of ANN steps and n for the number of neighbors per step. Metrics are MRR@10, Recall@10, Faithfulness, Answer Relevancy, and per-query WAN latency; Appendix D additionally reports LAN (5 ms RTT, 1000 Mbps), computation time, and total data sent. The main WAN is 50 ms RTT, 400 Mbps. Representative configurations C1–C5 are selected per protocol by Kneedle.
    • PILLAR's own measurements: Bin's ablation includes hash table size (six orders of magnitude, with a fixed 10 documents per bin) and documents per bin (table size fixed at 1 million for MS MARCO and 5 thousand for SciFact). Tree's latency is broken down by Stages 1–3; on MS MARCO, C5 and the lowest-latency configuration have MRR of 0.318 and 0.248.
    • Settings not reported in the paper: The paper does not report whether MRR/Recall are computed over all queries, does not report the number of repetitions, does not report the full parameters of each representative configuration (stating they are listed in Table 3), and does not report the exact coordinates of every point in Figure 3 beyond the named numbers. The security analysis is placed in Appendix G; the body only gives the conclusion of hidden queries under the semi-honest, PIR-hybrid model, without measuring leakage in the experimental section.
    • Practices the authors discussed and stated as not applicable or not counted: Appendix I.2 states that the hybrid retrieval recommendations of the cited production systems are not a deployment census. The introduction compares a non-private ANN on the same embeddings at approximately 0.31 MRR@10 against PACMANN's 0.266; that non-private number is not a Section 5 grid configuration.
  6. Summarize the main content of the paper

    PILLAR uses fixed-pattern private BM25 prefiltering plus local embedding reranking, trading latency or quality on two benchmarks.

    PILLAR is privacy-preserving RAG over a public corpus: a semi-honest server learns neither the query terms nor the access pattern, while the client still obtains the k documents used to enhance generation.

    • Problem: Sending the query verbatim to the corpus host can leak sensitive retrieval intent. Existing PPRAG is dominated by dense ANN, whose traversal varies with the query, so hiding the access pattern requires a fixed schedule, degrading both interaction rounds and retrieval quality; the authors cite PACMANN at 20 round trips on MS MARCO with MRR@10 0.266, versus about 0.31 for a non-private ANN on the same embeddings. Meanwhile, real systems commonly use lexical plus vector, while existing PPRAG uses only one architecture.
    • Method: The sparse stage first performs a fixed number of PIR queries over a precomputed BM25 index to filter out documents with no term overlap; the client then PIR-retrieves candidate embeddings and reranks locally by cosine. PILLAR-Bin hashes inverted lists into R rows, truncates each row to t embeddings, interleaves collision tables round-robin, pads batch size to 3, and is single-round. PILLAR-Tree organizes blocks into an r-ary upper-bound tree, the client performs PIR layer by layer with beam width W, refines below the leaves by sub-block size s, stores only nonzero upper bounds in a cuckoo table, and retrieves embeddings in the final round. The authors state that both hide the query in the PIR-hybrid model.
    • Results: On MS MARCO (8.8 million passages, 6980 queries) and SciFact (5183 documents, 300 queries), Kneedle was used to select five configurations per protocol, with WAN at 50 ms / 400 Mbps. PILLAR-Bin top-10 retrieval is fastest at 0.098 s (MS MARCO) and 0.065 s (SciFact); the fastest PACMANN is 0.293 s and 0.270 s. The authors state that among configurations on the frontier within 1 second, Tree has the highest MRR@10, Recall@10, Relevancy, and Faithfulness on both datasets; in the best configuration, Tree's answer Relevancy is 0.75, versus 0.72 for PACMANN with more than 2x latency. The authors state that 93% of Pareto frontier points across all experiments come from PILLAR. On MS MARCO, Tree's latency difference is mainly in the sub-block stage, with MRR from 0.248 to 0.318.
    • Authors' conclusion: Lexical prefiltering and client-side semantic reranking can be separated. Bin provides consistently faster configurations, which the authors state are about three times faster than any PACMANN configuration; Tree often gives higher document quality at the same speed. End-to-end answers were generated with Qwen2.5-7B-Instruct and scored by Llama-3-70B according to RAGAS, with 100 queries per dataset.
Read originalarxiv.org