Abstract
FedCausal is a novel federated learning framework designed for causal structure discovery (Directed Acyclic Graphs, DAGs) from decentralized, non-IID data. By transforming the discrete graph search into a continuous global optimization problem with an explicit acyclicity constraint, FedCausal achieves superior accuracy and reliability compared to traditional averaging-based federated methods. The framework ensures privacy and efficiency by sharing only partial model parameters while maintaining theoretical consistency with centralized learning.
Introduction
Causal structure discovery—identifying the underlying mechanisms of "what causes what"—is essential in fields like medicine and economics. Traditionally, this requires gathering all data in one central location. However, modern privacy regulations and the sheer volume of data often make centralization impossible.
While Federated Learning (FL) offers a way to train models on dispersed data, applying it to causal discovery is challenging. Most FL algorithms rely on simple weighted averaging of model parameters. For causal graphs, averaging two valid graphs can result in a "messy" graph full of cycles, which violates the fundamental definition of a Directed Acyclic Graph (DAG). Furthermore, existing federated causal methods often fail when different clients have different data distributions (statistical heterogeneity), leading to inaccurate or conflicting global models.
Methods
FedCausal transforms the discrete problem of finding a graph into a continuous optimization problem, building on the NOTEARS framework. Unlike previous methods that struggle with data that isn't identical across users (non-IID), FedCausal uses a global optimization strategy to learn a unified, acyclic causal graph while keeping local data private.
Key technical highlights include:
- Global Optimization vs. Simple Averaging: Instead of just averaging local results, the server solves a global constrained optimization problem. It seeks a global weight matrix that is "close" to local models but strictly enforces an acyclicity constraint ($h(W)=0$).
- Explainable Adaptive Optimization: The authors mathematically prove that their federated objective is consistent with centralized learning under ideal conditions, providing a theoretical foundation for the framework.
- Partial Parameter Sharing: For non-linear models (using Multi-Layer Perceptrons), FedCausal only exchanges the first-layer parameters between clients and the server. This reduces communication costs and adds a layer of privacy, as it's much harder to reconstruct raw data from just the first layer of a complex neural network.
- Handling Heterogeneity: The framework allows local models to adapt to their specific data distributions while still contributing to a shared, uniform global causal structure through a proximal term rather than a hard equality constraint.
Experimental Evaluation
The researchers evaluated FedCausal using both synthetic and real-world benchmarks. Synthetic data included Erdos-Rényi (ER) and Scale-free (SF) models across various data types, including Linear Gaussian (LG) and non-linear Additive Noise Models (ANM-MLP). Non-IID simulations utilized Gaussian Processes (ADD-GP) and Additive Index Models (MIM). For real-world validation, the team used the Sachs dataset, a classic protein signaling network benchmark.
Key Results
FedCausal consistently outperformed existing federated baselines (like FedDAG and NO-ADMM) across several metrics. Interestingly, on linear data, FedCausal sometimes outperformed centralized learning, suggesting that the collaboration acts like an ensemble system that reinforces correct edges and filters out noise.
- Accuracy: On the Sachs dataset, FedCausal achieved a Structural Hamming Distance (SHD) of 15, significantly better than the next best federated method (SHD of 24) and even better than centralized learning (SHD of 18).
- Reliability: It maintained a much lower False Discovery Rate (FDR) on non-linear and non-IID data. While other methods' FDRs spiked as the number of variables increased, FedCausal remained stable.
- Efficiency: By sharing only a fraction of model parameters (the first layer), it is more communication-efficient than methods requiring full model synchronization.
Limitations and Future Work
While FedCausal is a significant step forward, it relies on manual weight thresholding (e.g., 0.3) to prune the final graph; automating this remains an open challenge. Additionally, while communication is efficient, the local and global optimization steps involve matrix exponentials which can be computationally taxing for very large numbers of variables. Future directions include exploring more complex data types and further strengthening privacy guarantees against sophisticated reconstruction attacks.
Summary updated