Differentially Private and Federated Structure Learning in Bayesian Networks

Ghita Fassy El Fehri, Aurélien Bellet, Philippe Bastien

TL;DR

This paper introduces Fed-Sparse-BNSL, a new framework for learning the structure of Bayesian Networks from decentralized data. By combining greedy coordinate-wise updates with differential privacy, the authors achieve high-accuracy causal discovery while slashing communication costs by up to 97% and providing rigorous privacy guarantees that scale efficiently with high-dimensional data.

What Problem Does This Paper Address?

Bayesian Networks (BNs) are powerful tools for mapping causal relationships in fields like medicine and social science. However, "learning" the structure of these networks (BNSL) from scratch is notoriously difficult. Traditionally, this required gathering all data into one central location—a non-starter for privacy-sensitive institutions like hospitals.

Existing "federated" approaches (where data stays local and only model updates are shared) face two massive hurdles:

  1. The Dimensionality Curse: The number of possible connections in a network grows quadratically with the number of variables ($d^2$). Sending dense update matrices between participants and a central server quickly becomes a communication nightmare.
  2. The Privacy Gap: Simply sharing model updates isn't enough; those updates can leak sensitive information about the underlying data. Adding enough noise to satisfy Differential Privacy (DP) often "breaks" the model's accuracy, especially in high dimensions.

Methods

The authors propose Fed-Sparse-BNSL (and its private variant DP-Fed-Sparse-BNSL). The core innovation lies in how local updates are calculated and shared:

  • Proximal Greedy Coordinate Descent (PGCD): Instead of calculating a full gradient for every possible edge at once, each participant uses PGCD to identify and update only the most "relevant" edges. This naturally promotes sparsity.
  • Avoiding Standardization: Most solvers require data to be standardized (scaled to a mean of 0 and variance of 1). However, in Bayesian Networks, scaling data can actually make the true causal direction impossible to identify. PGCD allows the authors to skip standardization, preserving the "identifiability" of the graph.
  • Smart Privacy (The Gumbel-max Trick): To make the algorithm private, they use the "Gumbel-max trick" (an exponential mechanism) to select which edges to update and Gaussian noise for the update values.
  • zCDP Accounting: They use zero-Concentrated Differential Privacy (zCDP) for tighter privacy accounting, which allows them to add less noise than traditional methods while maintaining the same formal guarantees.

Datasets

The researchers evaluated their method using:

  • Synthetic Homogeneous Data: Randomly generated Directed Acyclic Graphs (DAGs) using the Erdős-Rényi model, with dimensions ranging from $d=20$ to $d=200$.
  • Synthetic Heterogeneous Data: A more realistic setup where participants share the same network structure but have different "strengths" (weights) for the edges.
  • The Sachs Dataset: A classic real-world benchmark in bioinformatics containing protein signaling measurements ($d=11$ variables, 18 ground-truth edges).

Key Insights and Ideas

  • Sparsity as a Privacy Shield: In high-dimensional BNSL, most edges are zeros. By focusing the privacy budget only on the few edges that actually matter (the sparse updates), the authors prevent the "noise explosion" that usually happens when trying to privatize large matrices.
  • Communication Efficiency is a Side Effect of Sparsity: Because participants only transmit the indices and values of non-zero updates, the communication cost scales with the number of actual dependencies, not the number of possible dependencies.
  • Personalization Matters: The paper demonstrates that even if participants share a global structure, allowing them to "fine-tune" edge weights locally (personalization) significantly reduces error in heterogeneous settings.

Key Results

  • Massive Communication Savings: For a 200-variable network, Fed-Sparse-BNSL reduced communication costs by 97.2% compared to the previous state-of-the-art (Fed-BNSL).
  • Superior Accuracy: In synthetic tests, the method achieved lower Structural Hamming Distance (SHD)—meaning fewer missing or extra edges—and converged faster and more stably than non-sparse baselines.
  • Robust Privacy: The private version (DP-Fed-Sparse-BNSL) maintained high accuracy even under strict privacy budgets. At a privacy level of $\epsilon=10$, the performance was nearly identical to the non-private version.
  • Real-World Validation: On the Sachs dataset, the method correctly identified 12 out of 18 undirected edges, outperforming the 8 identified by the baseline.

Limitations and Future Work

The current work focuses specifically on linear Gaussian models, which assume relationships between variables are linear and noise follows a normal distribution. While common, this doesn't cover all real-world scenarios (like categorical data or non-linear relationships).

The authors explicitly mention that their next step is extending this framework to hybrid Bayesian Networks that can handle a mix of continuous and discrete features, further broadening the tool's applicability to complex real-world datasets.

Summary updated

BibTeX
@inproceedings{fehri2026differentially,
  author = {Ghita Fassy El Fehri and Aurélien Bellet and Philippe Bastien},
  title = {{Differentially Private and Federated Structure Learning in Bayesian Networks}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=ma9gVnospd},
}
Figure