Manuscript Offprint
arXiv:2610.30728Federated Graph Retrieval-Augmented Generation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Graph Retrieval-Augmented Generation (GraphRAG) leverages centralized knowledge graphs to enhance large language models with structured knowledge retrieval. However, real-world knowledge is inherently distributed across multiple organizations rather than being centrally accessible. Privacy constraints further prohibit sharing entire local knowledge graphs, preventing GraphRAG from effectively retrieving and utilizing distributed knowledge. To this end, we propose Federated GraphRAG (FedGRAG), a unified framework for distributed graph retrieval and knowledge-enhanced generation over multiple clients with knowledge graphs. Specifically, we address two fundamental challenges in federated GraphRAG. First, the absence of a global knowledge graph makes unified retrieval impossible. To address this, we develop a Federated Knowledge Routing mechanism that efficiently identifies relevant clients through lightweight knowledge indices without exposing local graph structures. Second, local graph memory cannot be shared directly because it contains sensitive entities and knowledge information. We therefore propose a controlled-disclosure evidence construction method. It extracts retrieved evidence subgraphs and converts them into an evidence abstract, enabling evidence conversion and reconstruction on the server. Extensive experiments demonstrate that Federated GraphRAG consistently outperforms existing baselines in both retrieval and downstream generation tasks, establishing a new paradigm for deploying GraphRAG in federated environments.
1 INTRODUCTION
Graph Retrieval-Augmented Generation (GraphRAG) (Peng et al., 2025; Hu et al., 2025; Procko & Ochoa, 2024) has recently emerged as a promising paradigm for improving Large Language Models (LLMs) (Chang et al., 2024) by incorporating graph-structured knowledge (Liang et al., 2023; Liu et al., 2025c;d; Liang et al., 2025) into the retrieval process. Representative GraphRAG systems, such as Microsoft's GraphRAG (Han et al., 2024), HyperGraphRAG (Luo et al., 2026a), and LightRAG (Guo et al., 2024), organize knowledge into graph-structured representations to enable graph retrieval, multi-hop reasoning, and knowledge-enhanced generation.
Despite their success, existing GraphRAG methods fundamentally rely on a centralized graph repository. This assumes that graph-structured knowledge can be globally constructed, indexed, and retrieved from a unified location. However, in many real-world applications, graph knowledge is inherently distributed across multiple organizations and cannot be centralized due to privacy and ownership (Liu et al., 2025b;a; Han et al., 2026; 2025; Liu et al., 2026b). This motivates the development of RAG methods for distributed settings. Recent Federated Retrieval-Augmented Generation (FedRAG) methods, such as (Guerraoui et al., 2025; Addison et al., 2024; Zhao, 2024) alleviate this limitation by enabling collaborative retrieval over distributed knowledge repositories Liao et al. (2025); Fu & King (2023). Nevertheless, They are primarily designed for vector-based retrieval and cannot be directly extended to GraphRAG. Unlike vector representations, graph memories contain rich structural semantics, and effective collaborative retrieval requires not only identifying relevant
Corresponding author.
knowledge sources but also extracting the semantic relationships among distributed graph memories. First, without graph-structured knowledge at local clients, conventional RAG relies mainly on isolated textual retrieval, making it difficult to capture explicit entity relations and multi-hop dependencies. As a result, complex queries often require repeated retrieval over fragmented evidence, increasing retrieval cost while limiting the construction of coherent reasoning paths.
Based on the above analysis, we need to design a federated GraphRAG method that supports evidence retrieval augmentation on graphs and collaborative reasoning across distributed clients simultaneously. Inspired by federated graph learning (Liu et al., 2025b), which enables collaborative optimization over graphs distributed across clients, an intuitive approach is for the server to provide a guidance signal to select the correct client for queries. However, this faces the following challenges: First, the absence of a globally accessible graph makes it difficult to identify relevant and complementary knowledge across clients, forcing queries to search distributed clients individually and introducing substantial retrieval latency and computational overhead. Second, locally retrieved subgraphs contain potentially sensitive entities, relations, and structural information, yet restricting their exchange may obscure the dependencies needed for cross-client reasoning. Evidence integration therefore entails a fundamental tension between preserving query-relevant semantics and relational context and limiting the disclosure of local knowledge.
To solve these limitations, we propose Federated GraphRAG (FedGRAG), the first unified framework for distributed graph retrieval and knowledge-enhanced generation over multiple clients. Specifically, we first introduce a Federated Knowledge Routing mechanism that constructs lightweight client-level knowledge indices to efficiently route queries toward the most relevant clients without exposing local entire knowledge graphs. We further propose an evidence abstraction strategy that transforms locally retrieved subgraphs into limited exposure evidence representations, enabling collaborative knowledge utilization while preventing direct leakage of entire graph knowledge. Extensive experiments demonstrate that Federated GraphRAG consistently outperforms existing baselines on both retrieval and downstream generation tasks, establishing a practical paradigm for deploying GraphRAG in federated environments. In summary, our contribution can be listed as:

Figure 1: Motivation of Federated GraphRAG. Existing GraphRAG relies on centralized graph memories, while directly extending Federated RAG fails to capture semantic relationships among distributed graph memories.
• New Perspective. To the best of our knowledge, this is the first work to investigate a federated GraphRAG paradigm, extending GraphRAG from centralized knowledge repositories to distributed environments under privacy and knowledge ownership constraints.
• Unified Framework. We propose a unified Federated GraphRAG framework that enables collaborative retrieval-augmented generation over distributed graph-structured knowledge through federated knowledge routing and collaborative evidence abstraction.
• Superior Performance. Extensive experiments on multiple benchmarks demonstrate that Federated GraphRAG consistently outperforms representative GraphRAG baselines.
2.1 GRAPH RETRIEVAL-AUGMENTED GENERATION
Retrieval-Augmented Generation (RAG) (Gao et al., 2023; Han et al., 2024) enhances LLMs by retrieving external knowledge to improve factual accuracy and reasoning capability. Recently, GraphRAG has emerged as a promising extension of RAG by organizing retrieved knowledge into graph-structured memories. Representative methods include Microsoft's GraphRAG (Edge et al., 2024), which constructs entity-community graphs to facilitate hierarchical retrieval and global reasoning. Similarly, LightRAG (Guo et al., 2025) improves retrieval efficiency through lightweight graph indexing. Moreover, HippoRAG (Gutiérrez et al., 2024) models long-range semantic associations via graph-based memory organization. SubgraphRAG (Li et al., 2025) instead retrieves compact query-relevant subgraphs through lightweight triple scoring and structural-distance modeling, balancing retrieval efficiency with graph reasoning capability. More recently, HippoRAG2 (Gutiérrez et al., 2025) extends graph-based memory toward non-parametric continual learning over newly acquired knowledge. HyperGraphRAG (Luo et al., 2026a) further generalizes conventional pairwise graph relations to hypergraph structures, representing higher-order n-ary relationships through hyperedges for more expressive knowledge retrieval and generation. GFM-RAG (Luo et al., 2026b) introduces a graph foundation model trained over large-scale heterogeneous knowledge graphs, enabling transferable graph-aware retrieval on unseen datasets without task-specific fine-tuning.
2.2 FEDERATED RETRIEVAL-AUGMENTED GENERATION
Recent studies have extended RAG to federated settings (Liu et al., 2025b; 2026a; Han et al., 2025; 2026), enabling LLM to leverage distributed knowledge. Federated RAG allows each client to maintain its own knowledge repository and performs collaborative retrieval under the coordination of a central server (Chakraborty et al., 2025). Current FedRAG approaches can be broadly categorized into two directions. Routing-based methods aim to reduce communication overhead by selecting only a subset of relevant clients for each query. Representative examples include RAGRoute (Guerraoui et al., 2025), which learns lightweight routing policies for efficient federated search, and FedE4RAG (Mao et al., 2025), which systematically investigates the effectiveness of different client selection strategies under distributed retrieval settings. Privacy-oriented methods focus on protecting sensitive knowledge during retrieval. Representative frameworks include C-FedRAG (Addison et al., 2024), and FRAG (Zhao, 2024) which improve retrieval security without exposing local knowledge bases.
3 METHODOLOGY
In this section, we present Federated GraphRAG (FedGRAG) in detail, a unified framework for retrieval and knowledge-enhanced generation on distributed knowledge graphs. The core idea is construct semantic cluster routing for different client on the server; routing queries to the clients, which identify and extract evidentiary subgraphs, and the results are then globally integrated to generate the final retrieval output. FedGRAG consists of three components: (1) federated knowledge routing (2) client evidence representation and (3) collaborative generation. The architecture of FedGRAG is shown in Fig. 2, and its pseudocode appears in Appendix A.
3.1 NOTATION
We consider a federated GraphRAG system consisting of a central server and M distributed clients. Each client owns a private document corpus D, where the local corpora is generally non-IID. Each client utilize D constructs a knowledge graph , where , and denote the node set, edge set, and node attribute matrix, respectively.
3.2 FEDERATED KNOWLEDGE ROUTING
In this section, because knowledge in federated environments is inherently distributed across multiple clients, the server has no prior knowledge of which client contains the information required to answer a given query. Therefore, we propose a knowledge routing mechanism that organizes distributed client knowledge into a unified routing space. The key idea is to represent each client using a set of knowledge prototypes, where each prototype characterizes one representative semantic region covered by the local graph memory. These prototypes are then organized into a global routing space, enabling efficient query routing without exposing local graph memories.
Knowledge Prototype Learning In this stage, our goal is to capture the representative local knowledge area for domain knowledge prototype generation. Specifically, for each client, we first learn the node attribute and graph structure representation, and by a dual encoder and as
To jointly exploit semantic attributes and graph topology, we fuse the two representations into a unified node embedding, as , where denotes feature concatenation and
MLP projects the fused representation into a unified latent space. Since local graph memories usually contain multiple semantic regions, we partition the fused node embedding space into semantic groups using -means clustering, where each cluster represents a coherent semantic region, collectively providing a compact yet expressive characterization of the client's knowledge space. The knowledge prototype of each semantic region is then defined as the centroid of the corresponding cluster, , where denotes the number of nodes assigned to the -th cluster. Collecting all cluster centroids yields the prototype matrix , as . The learned knowledge prototypes explicitly preserve multiple semantic regions contained in each local graph memory. Consequently, heterogeneous client knowledge can be represented in a unified semantic space while maintaining sufficient semantic granularity for query routing.
Global Knowledge Routing Space After the local client prototypes are uploaded to the server. The server aims to utilize these prototypes to build a routing graph, which serves as a semantic index of the entire federated system. In detail, the global routing graph is defined as where and denote the set of nodes and the set of edges, respectively, and denotes the matrix of features of the nodes. Each routing node corresponds to one knowledge prototype generated by a client, as where denotes the -th knowledge prototype of client , whose initial node feature is given by . To describe the semantic relationships among distributed knowledge prototypes, we compute the pairwise prototype similarity and connect each prototype with to its top- most relevant prototypes (KNN algorithm Bo et al. (2020)), as
where denotes cosine similarity. The corresponding weighted adjacency matrix is defined as
The route graph R transforms isolated client prototypes into a semantic structure connected globally across distributed knowledge regions without accessing local private graph data. This routing space significantly reduces communication cost while establishing a unified semantic foundation for subsequent query routing.
Prototype-driven Query Routing. For user query , the server first encodes it into a query representation using the same encoder as the client. An initial relevance score is computed between the query and each client prototype, as . We select the prototypes most relevant to the query as the starting nodes for relevance propagation. Subsequently, we propagate query relevance on the routing graph over semantically correlated clients. The initial relevance scores are regarded as node features on the routing graph, as , and graph propagation is performed as
where and are learnable parameters. The propagated relevance scores capture not only the direct similarity between the query and individual clients, but also the semantic dependencies between neighboring knowledge regions. Consequently, clients that are semantically complementary to the query can also receive high routing scores through graph propagation. After propagation steps, the routing score of client is defined by its highest-scoring prototype: . The server selects the clients with the highest scores: .
3.3 CLIENT EVIDENCE REPRESENTATION
After client routing, the objective of this stage is to construct a unified evidence representation from the retrieved knowledge distributed across multiple selected clients. Each client first extracts a query-relevant evidence subgraph from its local graph memory and map the subgraph into evidence representation that captures both semantic information and structural dependencies. The server then collaboratively integrates them from different clients to form a global evidence affects, which serves as the knowledge context for the subsequent generation module.
Local Graph Retrieval After receiving the query, each selected client constructs a query-relevant evidence subgraph from its local graph memory. We first compute the semantic relevance between q and each local entity . Then the Top- most relevant entities are selected as seed, as

Figure 2: The architecture of FedGRAG. This process consists of a pre-process and a query phase. During the pre-process phase, the client and server perform collaborative training to extract low-dimensional graph embeddings; the client then uploads prototypes to the server to construct a prototype graph. In the query phase, the server routes the query to the appropriate semantic cluster on the client. Subsequently, an evidence subgraph is constructed within the cluster, and the server aggregates these reconstructed evidence facts to generate retrieval results.
Starting from these seed entities, we expand the neighborhood a H-hop over its local graph. The resulting candidate node set is defined as , where denotes the set of entities reachable from within at most hops. The corresponding evidence subgraph is then constructed as
To prevent irrelevant neighborhood expansion, we retain at most edges with the highest query relevance scores. The resulting subgraph is kept locally and is subsequently projected into a compact evidence representation for collaboration.
Local Evidence Abstraction. To support cross-client evidence composition while restricting the disclosure scope, we introduce query-conditioned evidence encoding and reconstruction. For the retrieved evidence subgraph , we first construct a query-specific vocabulary containing the tokens that appear in its entity and relation attributes. The original attributes are then converted into discrete token sequences according to and mapped into continuous attribute embeddings.
We utilize representation to define query-conditioned evidence package as . The source documents and the remaining local knowledge graph are retained by the client. On the server, a shared evidence decoder inverse mapping from the latent representation to the corresponding entity and relation attributes: , where and denote the reconstructed entity and relation attributes, respectively. Combining the reconstructed attributes with the disclosed adjacency structure yields the reconstructed evidence subgraph The reconstructed subgraph is later converted into a set of facts from the evidence for the composition of the evidence between clients. The encoder and decoder are trained by minimizing the reconstruction loss over the vocabulary-encoded entity and relation attributes:
where denotes the token-level reconstruct loss.
Collaborative Evidence Composition. The server reconstructs evidence facts using the shared decoder and aggregates them as . To connect evidence across clients, we construct an evidence interaction graph , where nodes represent reconstructed facts and edges capture potential reasoning dependencies. Starting from facts with high semantic similarity to the query, the server traverses graph edges to collect connected supporting facts across clients. The resulting evidence paths are serialized into a textual context in traversal order, with repeated facts removed and client-level provenance retained. Finally, an external LLM generates the answer from the query and composed evidence:
3.4 JOINT OPTIMIZATION OBJECTIVE
We optimize the routing module and local evidence encoders using two complementary objectives.
Routing Loss (Server). For a query q, the routing module produces a relevance score for each of the clusters. We adopt a pairwise ranking loss to encourage positive clusters to receive higher scores than negative clusters:
where is a hyperparameter. and denote the positive and negative cluster sets of clients.
Global Evidence-Answer Alignment. We design a global evidence-answer alignment objective. For each training pair , the evidence interaction graph decoder produces the global reconstructed node attribute . We obtain a fixed semantic target from the reference answer:
where is a frozen text encoder. We encourage the global evidence representation to align with the correct answer while distinguishing it from negative answers:
where contains negative answers sampled from other training examples. Known equivalent answers and other valid answers to are excluded from the negative set. This objective optimizes , encouraging the composed evidence to retain information predictive of the target answer.
Local Evidence Alignment. Each selected client retrieves local evidence subgraphs and their representation . To preserve query-relevant semantics, we define , where contains clients whose retrieved subgraphs provide positive evidence. we align positive evidence with . The local alignment loss is as
where contains evidence representations treated as irrelevant to q. Negative evidence may be sampled from irrelevant clients, with known positive evidence for q excluded.
Overall Objective. The server and clients are trained with the following objective:
The routing loss improves client relevance estimation, while the local alignment loss encourages local evidence representations to preserve query-relevant semantics.
3.5 EFFICIENCY ANALYSIS
The global routing graph contains prototype nodes. Graph construction requires operations by computing all pairwise prototype similarities. After connecting each prototype to its top-L neighbors, the routing graph contains approximately edges. For each query, initial query-prototype matching requires operations, while rounds of graph-based relevance propagation require approximately operations. After selecting clients, constructing the evidence interaction graph requires operations. Accordingly, the online computational complexity can be summarized as .
4 EXPERIMENTS
4.1 EXPERIMENTAL SETUP
Benchmark Datasets. To comprehensively evaluate FedGRAG, we conduct experiments on multiple widely used GraphRAG benchmarks, including HotpotQA, MuSiQue, and 2Wiki, aligning with
| Models | HotpotQA | MuSiQue | 2Wiki | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5 Clients | ||||||||||||
| R@2 | R@5 | EM | F1 | R@2 | R@5 | EM | F1 | R@2 | R@5 | EM | F1 | |
| GraphRAG | 10.9 | 13.4 | 39.1 | 51.2 | 8.9 | 14.7 | 13.1 | 21.9 | 17.1 | 20.6 | 31.0 | 34.7 |
| LightRAG | 12.3 | 17.7 | 37.8 | 40.5 | 11.9 | 12.2 | 18.5 | 24.1 | 13.2 | 19.0 | 22.3 | 23.9 |
| HippoRAG | 9.6 | 21.0 | 28.7 | 31.1 | 12.3 | 13.1 | 20.2 | 22.6 | 12.9 | 22.4 | 33.9 | 37.3 |
| SubgraphRAG | 15.0 | 19.1 | 26.7 | 30.3 | 7.0 | 16.2 | 23.1 | 25.7 | 14.4 | 18.6 | 25.0 | 38.2 |
| HippoRAG2 | 15.3 | 16.1 | 21.3 | 28.7 | 10.4 | 15.6 | 18.1 | 23.3 | 15.8 | 16.0 | 34.6 | 35.2 |
| HyperGRAG | 18.9 | 29.8 | 43.0 | 50.1 | 9.6 | 16.4 | 18.5 | 21.3 | 12.6 | 15.1 | 31.4 | 34.3 |
| GFM-RAG | 22.4 | 38.9 | 57.2 | 69.1 | 16.1 | 25.3 | 24.0 | 31.2 | 18.4 | 29.8 | 43.6 | 45.9 |
| FRAG | 21.8 | 32.6 | 55.5 | 59.1 | 14.5 | 20.0 | 22.3 | 25.6 | 11.9 | 14.8 | 28.3 | 31.6 |
| FedE4RAG | 13.5 | 19.7 | 24.6 | 38.8 | 10.0 | 17.3 | 24.7 | 29.6 | 14.6 | 18.4 | 32.1 | 36.9 |
| C-FedRAG | 17.0 | 24.8 | 38.2 | 47.9 | 12.7 | 15.3 | 21.8 | 23.4 | 15.3 | 17.2 | 22.1 | 28.4 |
| FedMosaic | 22.0 | 36.9 | 57.8 | 66.5 | 15.7 | 23.4 | 24.1 | 30.6 | 17.8 | 28.3 | 42.6 | 46.5 |
| Ours | 25.1 | 44.7 | 64.0 | 76.4 | 18.2 | 28.7 | 26.6 | 34.2 | 20.5 | 34.6 | 48.3 | 49.2 |
| 10 Clients | ||||||||||||
| GraphRAG | 13.1 | 23.0 | 30.0 | 41.5 | 12.5 | 15.4 | 18.3 | 26.2 | 5.9 | 13.6 | 38.8 | 41.6 |
| LightRAG | 9.1 | 11.2 | 25.9 | 30.7 | 11.7 | 12.5 | 13.1 | 25.9 | 7.4 | 11.2 | 29.1 | 33.8 |
| HippoRAG | 13.8 | 19.5 | 21.5 | 28.7 | 9.6 | 13.5 | 17.4 | 18.0 | 9.0 | 13.5 | 31.1 | 36.7 |
| SubgraphRAG | 10.5 | 13.3 | 18.9 | 21.0 | 8.8 | 13.2 | 22.7 | 24.9 | 9.7 | 12.4 | 27.6 | 28.5 |
| HippoRAG2 | 12.7 | 21.9 | 26.4 | 27.7 | 10.9 | 12.6 | 21.7 | 24.5 | 8.5 | 11.2 | 33.1 | 38.0 |
| HyperGRAG | 11.8 | 15.0 | 33.7 | 38.1 | 9.7 | 15.2 | 18.3 | 22.9 | 10.4 | 16.7 | 34.4 | 42.5 |
| GFM-RAG | 16.8 | 27.4 | 41.2 | 46.8 | 12.9 | 20.1 | 22.8 | 29.4 | 10.1 | 15.7 | 44.6 | 46.3 |
| FRAG | 16.4 | 19.2 | 29.8 | 34.0 | 7.5 | 10.4 | 17.6 | 19.3 | 7.6 | 13.8 | 26.1 | 30.5 |
| FedE4RAG | 15.9 | 23.0 | 27.5 | 33.4 | 9.7 | 9.9 | 21.2 | 24.2 | 8.5 | 9.4 | 28.6 | 29.0 |
| C-FedRAG | 6.3 | 13.2 | 24.4 | 31.5 | 6.5 | 14.8 | 17.9 | 22.3 | 9.2 | 16.9 | 37.4 | 41.3 |
| FedMosaic | 17.1 | 27.3 | 40.9 | 47.6 | 12.8 | 20.7 | 23.6 | 29.8 | 10.4 | 16.1 | 43.8 | 48.1 |
| Ours | 19.4 | 31.7 | 46.8 | 52.5 | 14.7 | 23.9 | 25.5 | 33.0 | 11.8 | 18.4 | 50.3 | 51.2 |
| 20 Clients | ||||||||||||
| GraphRAG | 11.8 | 19.4 | 28.5 | 41.8 | 3.5 | 6.0 | 27.0 | 28.1 | 5.1 | 8.2 | 11.6 | 24.3 |
| LightRAG | 8.7 | 9.1 | 27.0 | 30.6 | 8.8 | 14.3 | 22.1 | 27.8 | 3.1 | 4.5 | 10.7 | 17.5 |
| HippoRAG | 7.9 | 11.2 | 22.8 | 29.0 | OOM | OOM | ||||||
| SubgraphRAG | 12.3 | 16.9 | 31.8 | 36.7 | OOM | OOM | ||||||
| HippoRAG2 | 11.8 | 14.0 | 19.6 | 23.7 | 7.1 | 12.2 | 28.3 | 34.6 | 7.2 | 8.5 | 13.1 | 19.0 |
| HyperGRAG | 13.5 | 18.9 | 23.5 | 31.0 | 6.9 | 17.2 | 32.3 | 35.8 | OOM | |||
| GFM-RAG | 14.9 | 23.8 | 39.5 | 47.6 | 10.7 | 15.4 | 36.2 | 36.9 | 7.1 | 10.6 | 15.8 | 46.4 |
| FRAG | 13.5 | 18.8 | 32.6 | 34.9 | 8.7 | 12.5 | 33.4 | 34.8 | 8.0 | 11.0 | 15.3 | 26.7 |
| FedE4RAG | 10.6 | 18.7 | 24.4 | 37.5 | 9.5 | 13.8 | 31.2 | 33.1 | 6.7 | 9.4 | 14.0 | 17.9 |
| C-FedRAG | 13.6 | 17.2 | 23.1 | 40.6 | 9.4 | 15.2 | 29.9 | 31.0 | 7.7 | 11.3 | 12.4 | 15.8 |
| FedMosaic | 15.3 | 23.6 | 38.7 | 47.2 | 10.8 | 16.2 | 35.7 | 38.8 | 7.4 | 11.6 | 16.4 | 24.2 |
| Ours | 17.4 | 27.5 | 44.2 | 53.9 | 12.4 | 17.9 | 40.6 | 40.6 | 8.3 | 12.4 | 17.9 | 51.1 |
Table 1: Performance comparison with different state-of-the-art GraphRAG methods on three datasets.
GFM-RAG. Since they are designed for centralized settings, we construct federated scenarios by partitioning the original graph knowledge into multiple clients while preserving realistic knowledge heterogeneity to simulate practical distributed environments. (Please see Appendix B.1 for details.)
Baseline Methods. We compare FedGRAG with representative baselines from three categories. (1) centralized GraphRAG methods, including GraphRAG (MS) (Edge et al., 2024), LightRAG (Guo et al., 2025), HippoRAG (Gutiérrez et al., 2024), SubgraphRAG (Li et al., 2025), HyperGraphRAG (Luo et al., 2026a) HippoRAG2 (Gutiérrez et al., 2025), GFM-RAG Luo et al. (2026b). (2) Federated RAG methods, including FRAG Zhao (2024), FedE4RAG Mao et al. (2025), C-FedRAG Addison et al. (2024), FedMosaic Liang et al. (2026) which perform retrieval over distributed knowledge sources. (Please see Appendix B.2 for details.)
Evaluation Metrics. We evaluate the FedGRAG from three complementary perspectives. For retrieval quality, we adopt Recall@2 (R@2) and Recall@5 (R@5) to measure the effectiveness of retrieving relevant graph knowledge. For downstream generation, we report Exact Match (EM) and F1 scores to evaluate the correctness and semantic overlap between the generated answers and the ground-truth responses. (Please see Appendix B.3 for details.)
Implementation Details. All experiments are implemented using PyTorch 2.4.0 and conducted on a server equipped with NVIDIA 4090D GPUs. All methods share the same LLM, graph retrieval pipeline, and retrieval configuration. The federated setting adopts the same client partition strategy across all methods, and hyperparameters are selected based on the validation set to ensure a fair and reproducible evaluation. (Please see Appendix B.4 for details.)
4.2 COMPARISON EXPERIMENTS
Table 1 reports the overall performance comparison. 1) Compared with federated GraphRAG methods, FedGRAG consistently achieves superior performance across all datasets. Although these methods are adapted to the federated setting, they perform retrieval independently within selected clients and lack explicit modeling of semantic dependencies among distributed graph memories. In contrast, FedGRAG constructs a global semantic routing graph over client prototypes, enabling more accurate client selection and more comprehensive cross-client knowledge discovery. 2) Compared with federated RAG methods, FedGRAG further improves both retrieval and generation performance. Existing federated RAG methods retrieve textual evidence from distributed clients without exploiting graph structures or semantic relationships among clients. By leveraging graph-structured knowledge and collaborative evidence composition, FedGRAG effectively captures complementary evidence from multiple clients, leading to more informative context for answer generation. 3) Compared with the GFM-based GraphRAG method, FedGRAG also achieves consistent improvements. Although GFM-based RAG enhances graph representation through graph foundation models, it mainly focuses on improving local graph representations and does not explicitly model semantic collaboration across distributed clients. Our semantic routing graph and collaborative evidence composition enable effective cross-client knowledge integration, resulting in higher retrieval accuracy and better downstream generation performance.

Figure 3: Model performance of FedGRAG and its three variants.
4.3 ABLATION STUDY
Module Ablation. To examine the contribution of the proposed components, we evaluate three variants of FedGRAG: (1) w/o RO, which remove route module; (2) w/o ES, which replaces evidence subgraph retrieval with direct similarity-based text retrieval; and (3) w/o EI, which removes the global evidence interaction graph and directly concatenates the retrieved evidence as input to the LLM. As shown in Fig. 3, the complete FedGRAG consistently achieves the best performance, while Removing any of the components will result in a decline in model performance. These results support the complementary roles of the proposed components in distributed knowledge retrieval and reasoning. The performance degradation of w/o ES suggests that providing more retrieved text does not necessarily yield more useful evidence: similarity-based retrieval can introduce irrelevant content and overlook structural connections needed for reasoning. Moreover, directly providing raw text increases source-content exposure compared with releasing query-relevant reconstructed facts. Removing the evidence interaction graph (w/o EI) also reduces performance. Direct concatenation leaves cross-client evidence connections implicit, whereas graph-guided composition organizes related facts into connected evidence chains, facilitating multi-hop reasoning across clients.
Table 2: Client routing performance on three multi-hop QA datasets (%) under 10 clients.
| Dataset | Method | R@2 | Hit@2 | R@5 | Hit@5 |
|---|---|---|---|---|---|
| HotpotQA | Random Routing | 7.2 | 31.6 | 9.4 | 34.0 |
| Direct Matching | 8.5 | 42.4 | 12.3 | 46.2 | |
| Ours | 19.4 | 66.7 | 31.7 | 71.4 | |
| MuSiQue | Random Routing | 6.9 | 13.2 | 12.0 | 34.3 |
| Direct Matching | 8.8 | 25.1 | 14.6 | 42.2 | |
| Ours | 14.7 | 68.6 | 23.9 | 73.2 | |
| 2Wiki | Random Routing | 9.5 | 33.4 | 11.4 | 36.8 |
| Direct Matching | 7.7 | 26.9 | 12.6 | 34.7 | |
| Ours | 11.8 | 45.9 | 18.4 | 52.3 |
Routing Strategy Ablation To evaluate whether the federated routing effectively identifies relevant knowledge sources, We compare it with the following strategies, random routing: randomly selects a fixed number of clients for each query, direct routing: represents each client using the mean embedding of its local graph nodes and selects clients according to query-prototype similarity. As shown in Table 2, FedGRAG consistently outperforms both baselines. The improvement over
Random Routing demonstrates the importance of query-aware client selection, while the gain over Direct Routing indicates that modeling inter-client relationships provides additional benefits beyond independent semantic matching, particularly when relevant evidence is distributed across multiple clients.
4.4 HYPERPARAMETER SENSITIVITY ANALYSIS
Effect of Prototype Number . We vary from 1 to 20 to assess its influence on model performance. As shown in Fig. 4, increasing initially improves performance because more semantic regions are preserved, leading to finer-grained client routing. However, excessive prototypes introduce redundant semantic partitions and increase routing ambiguity, result-

Figure 4: Model performance under varying .
ing in marginal performance degradation. Therefore, we choose different settings for each datasets as a trade-off between routing accuracy and communication efficiency.
Effect of Routing Graph Connectivity. We further investigate the neighborhood size used for constructing the routing graph. A small results in sparse prototype connections, limiting semantic propagation across clients. Conversely, an excessively large introduces noisy semantic relations that dilute query relevance. As illustrated in Fig. 5, the best performance is achieved at near , demonstrating that moderate graph connectivity provides the most effective balance between semantic exploration and routing precision.

Figure 5: Model performance on varying under three datasets.
4.5 COMMUNICATION COST AND RUNTIME EFFICIENCY
To evaluate the practical deployment cost of federated graph retrieval, we measure communication overhead and end-to-end inference latency on HotpotQA under varying numbers of clients. As shown in Table 3, our framework consistently achieves lower communication cost and inference latency than both FRAG and C-FedRAG across all evaluated settings. As the number of clients increases, its communication overhead grows approximately linearly, while its runtime advantage over the baselines is maintained. These results demonstrate the efficiency of our framework within the evaluated client range and support its practical applicability to communication resources and latency requirements.
Table 3: Communication overhead comparison under the HotpotQA datasets. “T” and “C” denote Time (s) and Cost (KB), respectively.
| Clients | Ours | FRAG | C-FedRAG | |||
|---|---|---|---|---|---|---|
| T (s) | C (KB) | T (s) | C (KB) | T (s) | C (KB) | |
| 1 | 24.8 | 50.3 | 130.3 | 213.0 | 37.1 | 66.4 |
| 2 | 51.3 | 100.6 | 270.2 | 256.4 | 68.5 | 134.9 |
| 3 | 78.6 | 150.9 | 300.4 | 375.5 | 105.3 | 201.5 |
| 4 | 110.1 | 201.1 | 418.3 | 420.3 | 137.0 | 274.6 |
| 5 | 140.9 | 256.4 | 566.5 | 458.5 | 174.5 | 355.3 |
5 CONCLUSION
This paper presented FedGRAG, a unified framework for distributed GraphRAG over distributed knowledge graphs. By jointly introducing federated knowledge routing and evidence abstraction, the proposed framework effectively enables collaborative knowledge retrieval and utilization without exposing local knowledge graphs. Compared with existing centralized GraphRAG methods, FedGRAG extends graph retrieval to federated environments while reducing data privacy risks. Extensive experiments demonstrate its superiority in both retrieval quality and generation across diverse federated settings. We believe FedGRAG provides a practical and scalable paradigm for knowledge-enhanced generation over distributed knowledge ecosystems and offers new opportunities for deploying GraphRAG in privacy-sensitive real-world applications.
AI USE STATEMENT
Generative AI tools were used to assist with language editing, improving the readability of the manuscript, LaTeX formatting, and debugging author-written code. They were not used to develop the proposed methodology, design the experiments, formulate or prove mathematical claims, process the datasets, or interpret the experimental results. All AI-assisted content was carefully reviewed and verified by the authors. The authors take full responsibility for the final content of this work.
REFERENCES
Parker Addison, Minh-Tuan H Nguyen, Tomislav Medan, Jinali Shah, Mohammad T Manzari, Brendan McElrone, Laksh Lalwani, Aboli More, Smita Sharma, Holger R Roth, et al. C-fedrag: A confidential federated retrieval-augmented generation system. arXiv preprint arXiv:2412.13163, 2024.
Deyu Bo, Xiao Wang, Chuan Shi, Meiqi Zhu, Emiao Lu, and Peng Cui. Structural Deep Clustering Network. In Proceedings of the Web Conference 2020, pp. 1400–1410, 2020.
Abhijit Chakraborty, Chahana Dahal, and Vivek Gupta. Federated retrieval-augmented generation: A systematic mapping study. arXiv preprint arXiv:2505.18906, 2025.
Yupeng Chang, Xu Wang, Jindong Wang, Yuan Wu, Linyi Yang, Kaijie Zhu, Hao Chen, Xiaoyuan Yi, Cunxiang Wang, Yidong Wang, et al. A survey on evaluation of large language models. ACM transactions on intelligent systems and technology, 15(3):1–45, 2024.
Darren Edge, Ha Trinh, Newman Cheng, Joshua Bradley, Alex Chao, Apurva Mody, Steven Truitt, Dasha Metropolitansky, Robert Osazuwa Ness, and Jonathan Larson. From local to global: A graph rag approach to query-focused summarization. arXiv preprint arXiv:2404.16130, 2024.
Xinyu Fu and Irwin King. FedHgn: a Federated Framework for Heterogeneous Graph Neural Networks. ArXiv Preprint ArXiv:2305.09729, 2023.
Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, Meng Wang, and Haofen Wang. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, 2023.
Rachid Guerraoui, Anne-Marie Kermarrec, Diana Petrescu, Rafael Pires, Mathis Randl, and Martijn de Vos. Efficient federated search for retrieval-augmented generation. In Proceedings of the 5th Workshop on Machine Learning and Systems, pp. 74–81, 2025.
Zirui Guo, Lianghao Xia, Yanhua Yu, Tian Ao, and Chao Huang. Lightrag: Simple and fast retrieval-augmented generation. arXiv preprint arXiv:2410.05779, 2(3), 2024.
Zirui Guo, Lianghao Xia, Yanhua Yu, Tian Ao, and Chao Huang. Lightrag: Simple and fast retrieval-augmented generation. In Conference on Empirical Methods in Natural Language Processing, pp. 10746–10761, 2025.
Bernal J Gutiérrez, Yiheng Shu, Yu Gu, Michihiro Yasunaga, and Yu Su. Hipporag: Neurobiologically inspired long-term memory for large language models. Advances in neural information processing systems, 37:59532–59569, 2024.
Bernal Jiménez Gutiérrez, Yiheng Shu, Weijian Qi, Sizhe Zhou, and Yu Su. From rag to memory: Non-parametric continual learning for large language models. arXiv preprint arXiv:2502.14802, 2025.
Haoyu Han, Yu Wang, Harry Shomer, Kai Guo, Jiayuan Ding, Yongjia Lei, Mahantesh Halappanavar, Ryan A Rossi, Subhabrata Mukherjee, Xianfeng Tang, et al. Retrieval-augmented generation with graphs. arXiv preprint arXiv:2501.00309, 2024.
Renda Han, Xinyuan Li, Guangzhen Yao, Mengfei Li, Wenxin Zhang, Ronghao Fu, Zeyu Zhang, and Junlong Wu. Federated Graph-level Clustering Network with Adaptive Knowledge Compensation. Neural Networks, 195:108212–108212, 2025.
Renda Han, Junlong Wu, Wenxuan Tu, Jingxin Liu, Haotian Wang, and Jieren Cheng. Federated Graph-level Clustering Network with Attribute Inference. In Proceedings of the AAAI Conference on Artificial Intelligence, pp. 21585–21593, 2026.
Yuntong Hu, Zhihan Lei, Zheng Zhang, Bo Pan, Chen Ling, and Liang Zhao. Grag: Graph retrieval-augmented generation. In Findings of the association for computational linguistics: NAACL 2025, pp. 4145–4157, 2025.
Mufei Li, Siqi Miao, and Pan Li. Simple is effective: The roles of graphs and large language models in knowledge-graph-based retrieval-augmented generation. In International Conference on Learning Representations, volume 2025, pp. 6061–6089, 2025.
Ke Liang, Yue Liu, Sihang Zhou, Wenxuan Tu, Yi Wen, Xihong Yang, Xiangjun Dong, and Xinwang Liu. Knowledge Graph Contrastive Learning Based on Relation-symmetrical Structure. IEEE Transactions on Knowledge and Data Engineering, 36(1):226–238, 2023.
Ke Liang, Lingyuan Meng, Hao Li, Jun Wang, Long Lan, Miaomiao Li, Xinwang Liu, and Huaimin Wang. From Concrete to Abstract: Multi-View Clustering on Relational Knowledge. IEEE Transactions on Pattern Analysis and Machine Intelligence, 47(10):9043–9060, 2025.
Zhilin Liang, Yuxiang Wang, Zimu Zhou, Hainan Zhang, Boyi Liu, and Yongxin Tong. Fed-mosaic: Federated retrieval-augmented generation via parametric adapters. arXiv preprint arXiv:2602.05235, 2026.
Tianchi Liao, Ziyue Xu, Qing Hu, Hong-Ning Dai, Huaiwei Huang, Zibin Zheng, and Chuan Chen. FedBrb: A solution to the Small-to-Large Scenario in Device-Heterogeneity Federated Learning. IEEE Transactions on Mobile Computing, pp. 1–14, 2025.
Jingxin Liu, Jieren Cheng, Renda Han, Wenxuan Tu, Jiaxin Wang, and Xin Peng. Federated Graph-Level Clustering Network. In Proceedings of the AAAI Conference on Artificial Intelligence, number 18, pp. 18870–18878, 2025a.
Jingxin Liu, Renda Han, Wenxuan Tu, Haotian Wang, Junlong Wu, and Jieren Cheng. Federated Node-Level Clustering Network with Cross-Subgraph Link Mending. In International Conference on Machine Learning, pp. 38540–38556, 2025b.
Jingxin Liu, Xiangyan Tang, Renda Han, Wenxuan Tu, and Ruili Wang. Adaptive Feature Boosting and Distribution Refinement for Graph Clustering. Pattern Recognition, pp. 112309, 2025c.
Jingxin Liu, Wenxuan Tu, Renda Han, Junlong Wu, Haotian Wang, Guohui Liu, Xiangyan Tang, and Yue Yang. Personalized Federated Graph-Level Clustering Network. In Proceedings of the AAAI Conference on Artificial Intelligence, pp. 23721–23729, 2026a.
Jingxin Liu, Wenxuan Tu, Haotian Wang, Renda Han, Haoyi Li, Junlong Wu, and Xiangyan Tang. Causally-Aware Attribute Completion for Incomplete Federated Graph Clustering. In Proceedings of the AAAI Conference on Artificial Intelligence, pp. 23730–23738, 2026b.
Meng Liu, Ke Liang, Siwei Wang, Xingchen Hu, Sihang Zhou, and Xinwang Liu. Deep Temporal Graph Clustering: A comprehensive Benchmark and Datasets. IEEE Transactions on Pattern Analysis and Machine Intelligence, 47(12):11561–11578, 2025d.
Haoran Luo, Guanting Chen, Yandan Zheng, Xiaobao Wu, Yikai Guo, Qika Lin, Yu Feng, Zemin Kuang, Meina Song, Yifan Zhu, et al. Hypergraphrag: Retrieval-augmented generation via hypergraph-structured knowledge representation. Advances in Neural Information Processing Systems, 38:152206–152234, 2026a.
Linhao Luo, Zicheng Zhao, Reza Haffari, Dinh Phung, Chen Gong, and Shirui Pan. Gfm-rag: graph foundation model for retrieval augmented generation. Advances in Neural Information Processing Systems, 38:36371–36405, 2026b.
Qianren Mao, Qili Zhang, Hanwen Hao, Zhentao Han, Runhua Xu, Weifeng Jiang, Qi Hu, Zhijun Chen, Tyler Zhou, Bo Li, et al. Privacy-preserving federated embedding learning for localized retrieval-augmented generation. arXiv preprint arXiv:2504.19101, 2025.
Boci Peng, Yun Zhu, Yongchao Liu, Xiaohe Bo, Haizhou Shi, Chuntao Hong, Yan Zhang, and Siliang Tang. Graph retrieval-augmented generation: A survey. ACM Transactions on Information Systems, 44(2):1–52, 2025.
Tyler Thomas Procko and Omar Ochoa. Graph retrieval-augmented generation for large language models: A survey. In 2024 Conference on AI, science, engineering, and technology (AIxSET), pp. 166–169. IEEE, 2024.
Dongfang Zhao. Frag: Toward federated vector database management for collaborative and secure retrieval-augmented generation. arXiv preprint arXiv:2410.13272, 2024.
A DETAILED PROCESS OF THE ALGORITHM
The preprocessing and retrieval procedures are summarized in Algorithms 1 and 2, respectively.
B DETAILS OF EXPERIMENTAL SETTINGS
B.1 DETAIL OF DATASETS
We consider three question answering benchmarks: HotpotQA, MuSiQue, and 2Wiki. These benchmarks require integrating evidence across multiple documents, making them suitable for evaluating knowledge retrieval and evidence aggregation in FedGRAG. To adapt these centralized benchmarks to the federated setting, we distribute the graph knowledge across multiple clients, each maintaining its local knowledge graph. This setting allows us to evaluate retrieval and reasoning over distributed knowledge sources. Table 4 summarizes the statistics of the training data and the associated knowledge graphs.
B.2 DETAILS OF BASELINES
We consider representative methods from two categories: graph-based retrieval-augmented generation and federated retrieval-augmented generation.
Graph-based RAG Methods
• GraphRAG (MS) constructs an entity graph from source documents and generates hierarchical community summaries to support query-focused knowledge aggregation.
• LightRAG combines graph-based indexing with dual-level retrieval to capture both specific entities and broader relational information.
• HippoRAG integrates knowledge graphs with Personalized PageRank to retrieve related evidence through associative connections across documents.
• SubgraphRAG retrieves query-relevant subgraphs using a lightweight triple-scoring model enhanced with directional structural distance features.
• HippoRAG2 extends HippoRAG through deeper passage integration and LLM-assisted retrieval, improving the interaction between passage-level information and graph-based associative retrieval.
• HyperGraphRAG represents knowledge using hypergraphs, allowing a single relation to connect multiple entities and preserving higher-order relational information.
• GFM-RAG employs a graph foundation model trained across multiple knowledge graphs to learn transferable query-conditioned graph retrieval.
Federated RAG Methods
• FRAG supports collaborative approximate nearest-neighbor search over distributed vector databases, using homomorphic encryption to protect query vectors and stored representations.
• FedE4RAG collaboratively trains local retrieval models through federated embedding learning, incorporating knowledge distillation and homomorphic encryption for model collaboration.
• C-FedRAG coordinates retrieval across distributed data providers and uses confidential computing to protect the retrieved context during processing.
• FedMosaic encodes local documents into parametric adapters and selectively aggregates relevant adapters to support generation without transmitting raw documents.
Adaptation to the Federated Setting. For graph-based baselines, indexing and retrieval are performed within individual clients using their assigned local knowledge. The federated variants use random route strategy to select clients and average strategy to combine local retrieval outputs. We preserve each method's core indexing and retrieval mechanism while using the same corpus partitions and evaluation queries. These configurations are distinguished from centralized execution over the complete corpus. Any changes to the original training, generation, or security mechanisms are explicitly documented.
B.3 DETAILS OF EVALUATION METRICS
We evaluate FedGRAG from three perspectives: evidence retrieval, client routing, and downstream answer generation. All metrics are computed for each query and then averaged over the complete test set. Higher values indicate better performance.
Recall@k. Recall@k measures the proportion of ground-truth supporting evidence covered by the top-k retrieved results. We report Recall@2 and Recall@5 to evaluate retrieval quality under different evidence budgets. A higher Recall@k indicates that the retrieved results contain more evidence required to answer the query.
Hit@k. Hit@k evaluates the effectiveness of client routing. A query is considered successfully routed when at least one of the top-k selected clients contains ground-truth supporting evidence. We report Hit@2 and Hit@5 and average the results across all test queries.
Exact Match. Exact Match (EM) measures the percentage of generated answers that exactly match a ground-truth answer after standard text normalization. Following common question-answering evaluation protocols, the normalization procedure converts text to lowercase and removes punctuation, articles, and redundant whitespace. When multiple reference answers are available, a prediction is considered correct if it matches any valid reference.
Token-level F1. Token-level F1 measures the token overlap between the generated answer and the ground-truth answer by combining token-level precision and recall. Compared with EM, F1 assigns partial credit to answers that overlap substantially with the reference but do not match it exactly. When multiple reference answers are provided, we report the maximum F1 score obtained against all valid references.
B.4 DETAIL OF IMPLEMENTATION
Implementation Environment. All experiments are implemented in Python using PyTorch 2.4.0 and conducted on a server equipped with NVIDIA RTX 4090D GPUs. The graph-related operations, including neighborhood expansion, prototype-graph construction, and evidence-graph propagation, are implemented using PyTorch. We use MiniLM as the shared text encoder for queries and textual node attributes. The encoder produces representations of dimension 64. Unless otherwise specified, all experiments use the same software environment and hardware configuration.
Local Graph Encoding and Prototype Construction. For each client, textual node attributes are first encoded by the shared attribute encoder . Structural representations are obtained using a 3-layer GNN encoder and RELU activation. The attribute and structural representations are concatenated and projected into a common d-dimensional latent space using a MLP.
Table 4: Statistics of the datasets and knowledge graphs (KGs) used for training.
| Dataset | # Query-Doc Pairs | # Documents | # KGs | # Entities | # Relations | # Triples |
|---|---|---|---|---|---|---|
| HotpotQA | 20,000 | 204,822 | 20 | 1,930,362 | 967,218 | 6,393,342 |
| MuSiQue | 20,000 | 410,380 | 20 | 1,544,966 | 900,338 | 4,848,715 |
| 2Wiki | 20,000 | 122,108 | 20 | 916,907 | 372,554 | 2,883,006 |
| Total | 60,000 | 737,310 | 60 | 4,392,235 | 2,240,110 | 14,125,063 |
We apply -means clustering independently to the fused node representations of each client. Based on the validation results reported in Section 4.4, the number of knowledge prototypes is set to . Each cluster centroid is used as a client knowledge prototype and uploaded to the server during the preprocessing stage. The server constructs the global routing graph by connecting each prototype to its most similar prototypes according to cosine similarity. Self-connections are removed, and the resulting adjacency matrix is normalized before relevance propagation.
Training Configuration. The client evidence encoder and projector are optimized using the Adam optimizer with an initial learning rate of , a weight decay of . The server routing and evidence-composition modules are optimized using a learning rate of . We train the model for 10 epochs.
Theorem 1 (Routing Coverage Guarantee). For a query , let denote the set of evidence-bearing clients and let be the clients selected by the routing module. Assume that . Then, the number of missed evidence-bearing clients is bounded by
Consequently, the client-level routing recall satisfies
In particular, if , all evidence-bearing clients are selected.
Proof. Let be the set of missed positive clients, with . Since , the selected set contains at least negative clients. Thus, each missed positive client can be matched to a distinct selected negative client .
For each missed client , there exists a positive prototype . Let . Since is selected while is not selected, we have
Therefore, the corresponding pairwise ranking term is at least :
Because the matched pairs are distinct and all appear in , it follows that . Hence, , which proves the result.
Algorithm 1 Initialize Procedure of FedGRAG
Require: Each graph dataset ; Number of domain ; number of client .
Ensure: Global prototype graph .
1: Initialize model parameters for each client; 2: /* On each client / 3: for to do 4: Extract node embedding and . 5: Obtain fusion embeddings . 6: Separate domain knowledge by -means. 7: Generate local prototypes . 8: Upload local . 9: end for 10: / On the server */ 11: Collect prototypes from each client. 12: Construct a global prototype graph . 13: return
Algorithm 2 Query Retrieval and Generation of FedGRAG
Require: Query ; global routing graph ; local knowledge graphs ; number of selected clients ; number of seed entities ; expansion depth ; edge budget
Ensure: Generated answer and composed evidence
Server query routing: 1: Encode the query as . 2: Compute query-prototype similarities on . 3: Propagate the relevance scores over . 4: Compute each client score by aggregating its prototype scores 5: Select the top- clients:
Local evidence retrieval and abstraction: 6: for all client in parallel do 7: Receive query representation from the server. 8: Retrieve the top- seed entities from . 9: Expand the seeds within hops to obtain candidate subgraph . 10: Retain at most query-relevant edges in . 11: Upload , , to the server. 12: end for
Server evidence composition and generation: 13: for all do 14: Reconstruct the evidence subgraph: ; 15: Convert into evidence facts . 16: end for 17: Aggregate the reconstructed facts: 18: Construct the evidence interaction graph from . 19: Traverse and serialize the selected evidence paths into . 20: Generate the answer: 21: return .