Skip to main content
QUICK REVIEW

[Paper Review] FedDAG: Federated DAG Structure Learning

Erdun Gao, Junjia Chen|arXiv (Cornell University)|Dec 7, 2021
Advanced Graph Neural NetworksComputer Science13 citations
TL;DR

FedDAG proposes a gradient-based federated learning framework for directed acyclic graph (DAG) structure learning that enables decentralized, privacy-preserving discovery of causal structures from heterogeneous data. By employing a two-level model architecture—separating graph structure learning from mechanism approximation—and enforcing acyclicity via a continuous differentiable constraint, FedDAG achieves efficient optimization and robust performance even under data heterogeneity, outperforming centralized baselines in structural accuracy while preserving data privacy.

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: extit{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.

Motivation & Objective

  • To address the challenge of learning causal DAG structures from decentralized, privacy-sensitive data where raw data cannot be shared.
  • To develop a federated learning framework that preserves data privacy while enabling collaborative discovery of underlying causal graphs.
  • To handle data heterogeneity arising from shifts in mechanisms and noise distributions across clients, under the additive noise model (ANM) assumption.
  • To formulate DAG structure learning as a continuous optimization problem with an equality acyclicity constraint for efficient gradient-based training.
  • To demonstrate that FedDAG can achieve performance close to centralized baselines without sharing raw data, even under non-iid data distributions.

Proposed method

  • FedDAG uses a two-level model per client: a graph structure learning (GSL) head to infer DAG edges and directions, and a mechanisms approximating (MA) head to model variable dependencies using local data.
  • The GSL component learns a differentiable adjacency matrix with a continuous relaxation of the acyclicity constraint using the trace-based penalty method (e.g., Tr(sin(πA))) to ensure valid DAGs during optimization.
  • The MA component models the structural equations using neural networks that are trained locally on each client’s data to adapt to data heterogeneity.
  • Clients collaboratively update the global model via parameter averaging at the server, exchanging only model parameters—not raw data—following standard FL aggregation.
  • The framework integrates both components through a joint loss function that optimizes for structural accuracy and mechanism fidelity, enabling end-to-end training.
  • The method supports both full and partial model sharing (e.g., graph-only averaging in GS-FedDAG), enabling flexible communication strategies.

Experimental results

Research questions

  • RQ1Can a federated learning framework effectively learn DAG structures from decentralized data without sharing raw data, under privacy constraints?
  • RQ2How can data heterogeneity—especially shifts in mechanisms and noise—be handled in federated DAG learning while preserving causal structure identification?
  • RQ3Can a continuous, differentiable formulation of the acyclicity constraint enable efficient and scalable DAG learning via gradient descent in a federated setting?
  • RQ4How does FedDAG’s performance compare to centralized baselines in terms of structural accuracy, especially under non-iid data distributions?
  • RQ5To what extent does the two-level model architecture (GSL + MA) improve generalization and robustness to data heterogeneity in federated DAG learning?

Key findings

  • FedDAG achieves structural Hamming distance (SHD) performance within 10% of centralized baselines on synthetic datasets, even under strong data heterogeneity.
  • On real-world fMRI and gene regulatory network datasets, FedDAG outperforms existing federated and non-federated DAG learning methods in terms of structural accuracy and robustness to distribution shifts.
  • The two-level architecture significantly improves performance under data heterogeneity, with the MA head enabling client-specific adaptation while the GSL head ensures global consistency.
  • The use of a continuous acyclicity constraint enables stable and efficient training via gradient descent, avoiding the need for discrete search or relaxation heuristics.
  • Partial model sharing (e.g., graph-only averaging) in GS-FedDAG still yields strong performance, demonstrating the effectiveness of information sharing at the structural level.
  • FedDAG maintains high performance even when mechanisms and noise distributions vary across clients, validating its robustness under the ANM assumption.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.