Abstract
To date, most directed acyclic graphs (DAGs) structure learning approaches require data to be stored in a central server. However, due to the consideration of privacy protection, data owners gradually refuse to share their personalized raw data to avoid private information leakage, making this task more troublesome by cutting off the first step. Thus, a puzzle arises: how do we discover the underlying DAG structure from decentralized data? In this paper, focusing on the additive noise models (ANMs) assumption of data generation, we take the first step in developing a gradient-based learning framework named FedDAG, which can learn the DAG structure without directly touching the local data and also can naturally handle the data heterogeneity. Our method benefits from a two-level structure of each local model. The first level structure learns the edges and directions of the graph and communicates with the server to get the model information from other clients during the learning procedure, while the second level structure approximates the mechanisms among variables and personally updates on its own data to accommodate the data heterogeneity. Moreover, FedDAG formulates the overall learning task as a continuous optimization problem by taking advantage of an equality acyclicity constraint, which can be solved by gradient descent methods to boost the searching efficiency. Extensive experiments on both synthetic and real-world datasets verify the efficacy of the proposed method.
Introduction
In fields such as healthcare and economics, discovering causal relationships—represented as Directed Acyclic Graphs (DAGs)—is crucial for understanding how variables interact. Traditionally, structure learning requires pooling massive amounts of data into a central server. However, strict privacy regulations like HIPAA and GDPR often prevent institutions from sharing raw data. While Federated Learning (FL) has addressed data silos in supervised tasks, applying it to the unsupervised, generative task of DAG learning remains challenging, particularly when data is heterogeneous across different sites.
Methodology: The FedDAG Framework
FedDAG introduces a novel approach to federated causal discovery by decoupling the invariant causal structure from client-specific functional mechanisms. The framework utilizes a two-level local model architecture:
- Causal Graph Learning (CGL) Part: This module learns the edges and directions of the graph using a continuous proxy matrix. It approximates the binary adjacency matrix of the DAG via a Gumbel-Sigmoid function. During the federated process, only this structural information is shared with the central server for aggregation.
- Mechanisms Approximating (MA) Part: This module consists of neural networks that estimate the specific mathematical functions (mechanisms) connecting the variables. These networks remain strictly local to each client, allowing the model to absorb site-specific data heterogeneity without interference.
By formulating the task as a continuous optimization problem with a differentiable acyclicity constraint, FedDAG ensures that the aggregated global model converges toward a valid DAG while maintaining ultra-low communication overhead.
Experimental Evaluation
The efficacy of FedDAG was tested on both synthetic and real-world datasets:
- Synthetic Data: Generated using Additive Noise Models (ANMs) with varying functional mechanisms (Linear, Gaussian Process, MLP) to simulate extreme heterogeneity.
- Real-World Data: The fMRI Hippocampus dataset, where signals from different days were treated as separate clients to simulate a federated environment.
Key Results
In heterogeneous synthetic environments, the Graph-Shared variant (GS-FedDAG) significantly outperformed baselines. As shown in the performance metrics, GS-FedDAG achieved a much lower Structural Hamming Distance (SHD) compared to methods trained on isolated data or centralized methods that failed to account for mechanism shifts.
On the real-world fMRI dataset, FedDAG variants consistently outperformed baseline methods, demonstrating the robustness of the federated approach in practical scenarios.
Conclusion
FedDAG provides a scalable and privacy-preserving solution for causal discovery from decentralized, heterogeneous data. By separating structural learning from mechanism approximation, it achieves state-of-the-art performance with minimal communication costs. Future research will focus on extending the framework to handle latent variables and integrating formal privacy guarantees such as Differential Privacy.
Summary updated