NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Supercharging Federated Intelligence Retrieval

Dimitris Stripelis, Patrick Foley, Mohammad Naseri, William Lindskog-Münzing, Chong Shen Ng, Daniel Janes Beutel, Nicholas D. LanearXiv 2026

TL;DR

This paper introduces a secure Federated Retrieval-Augmented Generation (FedRAG) system built on the Flower framework that protects sensitive data distributed across private silos. By leveraging hardware-enforced Trusted Execution Environments (TEEs) and a novel "cascading inference" strategy, the system performs secure server-side aggregation and LLM generation without exposing private documents to compromised servers or third-party LLM providers.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) is the go-to technique for grounding LLMs in factual, domain-specific data. However, standard RAG assumes all your documents live in a single, centralized repository. In highly regulated industries like healthcare and finance, data is trapped in isolated, private silos that cannot be legally or practically centralized.

While Federated RAG (FedRAG) attempts to solve this by searching documents locally within each silo and aggregating the results centrally, it introduces a massive security gap: retrieved documents are typically sent to the central server in plaintext. If the server operator or infrastructure provider is compromised or "honest-but-curious," your private data is exposed.

Methods

The authors present a secure FedRAG architecture built using the Flower framework. The pipeline ensures data privacy from retrieval to final text generation through several key components:

  1. Local Silo Retrieval: Each client/silo maintains its own private document store and uses a local FAISS index to find the top-$k$ relevant snippets for a given query.
  2. Confidential Aggregation: The central server operates entirely inside a hardware-enforced Trusted Execution Environment (TEE). It collects the local results, merges and re-ranks them using Reciprocal Rank Fusion (RRF), and constructs an augmented context—all completely shielded from the outside host.
  3. Flexible, Secure Inference Modes: To generate the final answer, the authors evaluate three distinct inference setups (visualized in Figure 1):
  4. Standalone Inference: A lightweight LLM (SmolLM 1.7B) runs directly on the CPU inside the server's TEE.
  5. Cascading Inference: To boost performance, the query is sent to a non-confidential third-party model (AWS Nova Micro) to generate an auxiliary answer. Crucially, no private documents are sent to the third party. This auxiliary answer is then fed into the secure TEE-hosted LLM alongside the private documents as extra context.
  6. Confidential Inference: The server offloads generation to a large-scale model (Qwen3 235B) running inside a GPU-backed, hardened TEE via Flower Confidential Remote Compute (CRC).
Figure 1: FedRAG with confidential server-side aggregation and various inference options.

Datasets

The system was evaluated using the MIRAGE benchmark, a framework specifically designed for medical RAG tasks. It consists of three question-answering datasets:

  • PubMedQA (501 Yes/No/Maybe questions)
  • BioASQ (619 Yes/No questions)
  • MedQA (1,272 multiple-choice questions)

The four federated client silos were populated with independent document corpora sourced from the MedRAG Toolkit, totaling tens of millions of text snippets across PubMed, StatPearls, Textbooks, and Wikipedia.

Key Insights and Ideas

  • The Power of Mixed-Trust Cascading: The "cascading inference" method is a clever architectural workaround for privacy. By querying a public API (like AWS Nova) with only the user's question, you gain a strong probabilistic baseline answer without leaking a single byte of the private siloed documents.
  • Bypassing the CPU-TEE Bottleneck: Standard TEEs running on CPUs are notoriously slow for heavy AI workloads. The paper demonstrates that by integrating Flower CRC, developers can securely stream encrypted context directly into GPU-backed TEEs (like an NVIDIA H100), simultaneously solving the latency problem and allowing the use of massive 235B parameter models.

Key Results

The quantitative evaluation highlights a clear trade-off between security, accuracy, and speed across the three modes (detailed in Table 1):

  • Confidential Inference Wins Big: Running Qwen3 235B inside Flower CRC achieved both the highest accuracy and the lowest latency (~25 seconds per query), proving the viability of hardware-accelerated secure enclaves.
  • Cascading Inference is Highly Effective: For the CPU-bound local model (SmolLM), adding the context from AWS Nova Micro yielded a massive ~40% accuracy improvement on PubMedQA (jumping from 0.32 to 0.45) and a ~46% improvement on MedQA (0.39 to 0.57), with only a negligible latency penalty of 2–3 seconds.
Mean query execution time and accuracy per benchmark dataset for each inference mode.

Limitations and Future Work

While the results are promising, the authors note a few limitations:

  • CPU Latency: For deployments unable to use GPU-backed TEEs, local generation inside a CPU-bound TEE (the standalone and cascading modes) remains relatively slow, hovering around 43–48 seconds per query.
  • Scope of Threat Model: The security architecture assumes that the underlying TEE hardware implementation is flawless and explicitly places side-channel attacks out of scope.

For future work, the authors suggest exploring more powerful external models (such as Amazon Nova Pro or Premier) within their cascading framework to see if accuracy can be pushed even higher.

Summary updated

BibTeX
@misc{stripelis2026supercharging,
  author = {Dimitris Stripelis and Patrick Foley and Mohammad Naseri and William Lindskog-Münzing and Chong Shen Ng and Daniel Janes Beutel and Nicholas D. Lane},
  title = {{Supercharging Federated Intelligence Retrieval}},
  year = {2026},
  eprint = {2603.25374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.25374},
}

Loading related content...

Figure