TL;DR
FedNGDB (Federated Neural Graph DataBase) is a new framework that allows users to answer complex logical queries across multiple, distributed knowledge graphs without ever sharing raw, sensitive data. By combining federated learning with "secret aggregation" and differential privacy, it enables collaborative reasoning while keeping individual databases private and secure.
What Problem Does This Paper Address?
Neural Graph Databases (NGDBs) have become essential for modern AI, particularly in helping Large Language Models (LLMs) retrieve precise facts from structured data. However, current NGDBs suffer from a "silo" problem: they are designed to work on a single, centralized graph.
In the real world, data is often scattered. Imagine trying to answer: "Which Nobel Prize winner born in Germany studied Physics?" To find the answer, you might need data from a Nobel Prize database, a social registry for birthplaces, and an academic database for fields of study. Because of privacy regulations like GDPR or commercial interests, these data owners cannot simply merge their databases. Existing federated learning methods for graphs are mostly limited to simple tasks like predicting a single missing link; they can't handle the multi-step logical reasoning required for complex queries.
Methods
The authors propose FedNGDB, which treats distributed databases as "clients" and a central coordinator as a "server." The framework consists of two main phases:
- Collaborative Model Training: Instead of sharing raw graph triplets, clients train local NGDB models. They share only their model parameters (embeddings and operator networks) with the server.
- Secret Aggregation: To prevent the server from "seeing" the sensitive embeddings, FedNGDB uses a perturbation technique. Clients share encrypted, perturbed versions of their embeddings. The server aggregates these blindly, and only the clients can decrypt the final global model.
- Differential Privacy (DP): The authors inject Laplacian noise into gradients to ensure that the final model doesn't inadvertently leak information about specific individuals or relationships in the private graphs.
- Privacy-Preserving Query Retrieval: When a complex query arrives, the server acts as an orchestrator.
- Query Decomposition: The server breaks the complex query into atomic sub-queries and sends them to the relevant local databases.
- Score Aggregation: Local clients compute "answer scores" for their parts of the query. The server then aggregates these scores to identify the global answer without ever accessing the underlying graph structures.
Datasets
The researchers evaluated FedNGDB using three widely recognized knowledge graph datasets, adapted into a new benchmark for distributed environments:
- FB15k-237 and FB15k: Derived from Freebase, containing general-world knowledge.
- NELL995: A dataset from the "Never-Ending Language Learning" project.
To simulate a distributed environment, they split these datasets across 3, 5, and 10 clients, ensuring some overlap in entities to allow for cross-graph reasoning.
Key Insights and Ideas
- Reasoning Beyond the Silo: The core "aha" moment is that you don't need to see the whole graph to reason across it. By decomposing logic, the system can follow a "path" that jumps from one private database to another.
- The Privacy-Utility Balance: The paper demonstrates that you can achieve high accuracy (utility) while maintaining strong privacy guarantees. The combination of secret aggregation and DP provides a robust defense against an "honest-but-curious" server that might try to reconstruct private data from model updates.
- Alignment is Key: For federated learning to work on graphs, the different databases must agree on which "ID" refers to the same entity (e.g., knowing that "Einstein" in the Nobel database is the same "Einstein" in the Academic database). FedNGDB handles this through mapping matrices.
Key Results
The experiments show that FedNGDB significantly outperforms local models that don't collaborate:
- Performance Gains: On the FB15k-237 dataset with 3 clients, a standard model (GQE) using FedNGDB achieved a 14.21 HR@3 (Hit Ratio at 3), compared to only 11.85 when trained locally without collaboration.
- Near-Centralized Accuracy: FedNGDB's performance is remarkably close to a "Central" setting where all data is merged into one giant, non-private database.
- Efficiency: The convergence speed (how fast the model learns) is competitive. FedNGDB is only slightly slower than non-private federated methods, proving that the added security doesn't come at a prohibitive computational cost.
Limitations and Future Work
- Entity Alignment: The current framework assumes that entity indices can be shared to align embeddings. In some highly sensitive scenarios, even sharing which entities exist in a database might be a privacy risk.
- Heterogeneous Data: While the paper handles distributed graphs, future work could explore even more diverse data sources where the structure of the graphs varies significantly between clients.
- Scaling: The authors suggest further research into exploiting the "intrinsic information" within distributed sets to improve reasoning performance as the number of clients grows even larger.
Summary updated