Federated Causal Structure Learning with Non-identical Variable Sets

Yunxia Wang, Fuyuan Cao, Kui Yu, Jiye Liang

Causal discovery—the art of figuring out if $X$ causes $Y$ or if they just happen to hang out together—is hard enough with a single, clean dataset. In a federated setting, where data is siloed across different clients (like hospitals or banks) to protect privacy, it becomes a significantly harder puzzle. Most existing methods assume every client is looking at the exact same set of variables. But what happens when Hospital A tracks "Diet" and "Heart Disease," while Hospital B tracks "Exercise" and "Heart Disease"?

In their paper "Federated Causal Structure Learning with Non-identical Variable Sets," Yunxia Wang and colleagues introduce FedCDnv, a new framework designed to piece together the global causal puzzle even when clients are looking at different, but overlapping, pieces of the picture.

TL;DR

FedCDnv is the first federated causal discovery algorithm specifically designed for clients with non-identical variable sets. It uses a two-level priority strategy to filter out "spurious" relationships caused by missing variables and aggregates local updates based on the "stability" of causal links across different significance levels.

The Problem: Missing Variables in Federated Networks

Standard Federated Causal Structure Learning (FCSL) assumes "causal sufficiency"—the idea that all relevant variables are observed by everyone. In the real world, this is rarely true.

Federated causal discovery with non-identical variable sets across clients.

When clients have non-identical variable sets, two major issues arise:

  1. Spurious Dependencies: If Variable $A$ and $C$ are never observed together by any client, but both are influenced by a hidden variable $B$, a naive algorithm might hallucinate a direct link between $A$ and $C$.
  2. Aggregation Bias: Existing methods usually weight local models based on the overall quality of a client's graph. However, a client might be very "good" at identifying one specific relationship but "bad" at others. Treating the whole graph as a single unit of quality ignores these nuances.

The FedCDnv Approach

The authors propose FedCDnv (Federated Causal Discovery for Non-identical Variable sets), which operates through three main submodules to address these challenges:

1. Detecting Spurious Dependencies

The researchers developed new mathematical theories to identify "definite" vs. "non-definite" relationships.

  • Theorem 3.1 provides conditions to determine if a relationship between two variables that are never seen together is definitively non-causal.
  • Lemmas 3.2 and 3.3 help detect if a relationship between overlapping variables is actually a "ghost" created by a variable that only some clients can see (acting as a "relative latent variable").

2. Two-Level Priority Selection Strategy (TPSS)

Instead of a simple weighted average, FedCDnv uses a more sophisticated aggregation strategy:

  • Level 1 (Consistency): It checks if inconsistencies between clients are caused by the non-identical variable sets themselves (e.g., one client sees a confounder that another doesn't).
  • Level 2 (Stability): It introduces the concept of "stable relationships." A relationship is considered "good" if it remains significant across a range of different p-value thresholds (significance levels). If a link disappears the moment you slightly change your confidence level, it’s probably noise.
Distribution of true/false positives across different p-value thresholds.

3. Privacy-Preserving Aggregation

To keep data private, clients don't share raw data. Instead, they share local graphs and "scaled" p-values. By scaling and transforming these p-values, the algorithm obscures precise statistical details while still allowing the central server to calculate the global importance of each edge.

Key Insights and Ideas

  • Relative Latent Variables: The paper cleverly frames the "missing variable" problem as a latent variable problem. A variable that is observed by Client A but not Client B acts as a "relative latent variable" for Client B, potentially distorting its local causal map.
  • Stability as a Proxy for Truth: One of the most intuitive concepts is using the stability of a relationship across significance levels as a weight. This mimics how human researchers "stress-test" their findings by checking if results hold up under different statistical assumptions.
  • Edge-Level Granularity: By moving away from whole-graph weighting to edge-specific priority, the model can extract the "best" parts of every client's local knowledge.

Experimental Results

The authors validated FedCDnv across synthetic data, benchmark Bayesian networks (like Child, Alarm, Insurance), and real-world data (the Sachs protein-signaling dataset).

FedCDnv consistently outperformed state-of-the-art baselines (like CD-MiNi and CDUIOV) in both edge detection (F1-edge) and orientation accuracy (F1-orie).

  • Synthetic Data: FedCDnv’s orientation accuracy was nearly 10% higher than competing methods across almost all network sizes.
  • Real-World Data: On the Sachs dataset, FedCDnv achieved a ~10% improvement in F1-edge compared to the next best method, demonstrating its robustness in handling the heterogeneity of real-world variable sets.
  • Scalability: The communication cost for a single client scales as $O(3d_k^2 + d^2)$, making it feasible for large-scale distributed systems.

Limitations and Future Work

While FedCDnv is a significant step forward, the authors acknowledge a few hurdles:

  • Theoretical Completeness: The current theories for identifying "definite" relationships are not yet exhaustive; some complex spurious patterns might still slip through.
  • Local Learning Bottlenecks: The global graph is only as good as the local discovery algorithms (like FCI). Improving how clients handle latent variables locally would further boost global performance.
  • Advanced Privacy: While p-value scaling helps, the authors plan to explore more robust privacy techniques like Homomorphic Encryption or Secure Multiparty Computation in future iterations.

Summary updated

BibTeX
@inproceedings{wang2025federated,
  author = {Yunxia Wang and Fuyuan CAO and Kui Yu and Jiye Liang},
  title = {{Federated Causal Structure Learning with Non-identical Variable Sets}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=QlEx8f3S61},
}
Figure