An Algorithm to Learn Polytree Networks with Hidden Nodes

Firoozeh Sepehr, Donatello Materassi

Introduction

In causal discovery, researchers attempt to map out the "who-influences-whom" of a complex system. A major hurdle in this process is the presence of latent variables—unmeasured factors that influence the variables we actually observe.

Standard tools, such as Maximal Ancestral Graphs (MAGs), help us understand independence between observed variables, but they often obscure the details of the hidden structure. They might indicate that two variables are correlated due to some hidden cause, but they cannot specify exactly how many hidden causes exist or where they sit in the network. Existing algorithms that do find hidden nodes often rely on highly restrictive assumptions, such as requiring the data to be Gaussian or the network to be a simple "rooted tree" (where every node has only one parent).

This paper tackles the more complex polytree—a directed acyclic graph where the underlying undirected structure is a tree, but nodes can have multiple parents (allowing for "v-structures"). The authors introduce a novel algorithm to reconstruct the exact structure of these causal polytree networks, identifying the precise location and number of hidden variables using only low-order statistics.

Methodology: A Five-Task Pipeline

The authors propose a comprehensive five-task pipeline to reconstruct the "pattern" of a minimal latent polytree. Remarkably, the algorithm relies primarily on second- and third-order statistics (simple independence and conditional independence tests).

  1. Subtree Identification: Using the Pairwise-Finite Distance Algorithm (PFDA), the method groups visible nodes into sets that belong to the same "rooted subtree."
  2. Local Reconstruction: The algorithm determines the "collapsed" structure for each subtree, where clusters of hidden nodes are temporarily treated as single units.
  3. Hidden Cluster Merging (HCMA): A key novelty of the approach. The algorithm looks for overlapping hidden clusters across different subtrees and merges them if they share enough visible neighbors.
  4. Type-I Node Recovery (HCLA): The algorithm "unpacks" the merged hidden clusters to find individual hidden nodes (Type-I) and map their specific connections.
  5. Orientation and Type-II Recovery (HRRA): Finally, the algorithm orients the edges (determining the direction of causality) and identifies "Type-II" hidden nodes—those that act as hidden common causes between two visible nodes.
Illustration of hidden node clustering and local reconstruction.

Validation and Synthetic Walkthrough

As a theoretical and algorithmic paper, the focus is on proving the "completeness" and "soundness" of the proposed method rather than evaluating performance on standard empirical datasets. The validation is provided through rigorous mathematical proofs and a detailed synthetic walkthrough.

Synthetic walkthrough demonstrating the algorithm's progression from a true graph to a clustered representation.

This walkthrough demonstrates how the algorithm successfully recovers a complex ground-truth polytree step-by-step, proving its capability to handle intricate causal structures that trip up simpler models.

Key Insights and Results

The primary result of the paper is a completeness theorem. The authors mathematically prove that their algorithm will exactly recover the "pattern" (the skeleton of the graph plus the direction of all "v-structures") of any minimal latent polytree.

  • The Minimality Condition: The authors define what makes a latent polytree "minimal." If a hidden node doesn't meet specific degree conditions (e.g., having at least two children), it is essentially invisible or redundant.
  • Occam’s Razor by Design: If the true causal structure doesn't meet the identifiability conditions, the algorithm is "complete" in a specific sense: it will consistently find the simplest possible polytree that explains the observed data perfectly.
  • Beyond Rooted Trees: By moving to polytrees, the model allows for "v-structures" (multiple causes for one effect). These are essential for realistic causal modeling but are notoriously harder to solve than simple branching trees.
  • Low-Order Statistics: The entire structure can be recovered using only up to third-order statistics (conditional independence of the form $I(y_i, y_k, y_j)$). This makes the method computationally efficient and robust compared to methods requiring high-order moments.

Limitations and Future Work

While theoretically robust, the approach has a few notable limitations:

  • Polytree Constraint: The algorithm is strictly designed for polytrees. It cannot handle cycles or "loopy" graphs where multiple paths exist between two nodes.
  • Data Requirements: The proofs assume "faithfulness"—the idea that the statistical independencies in the data perfectly match the graph structure. In real-world scenarios, noise and small sample sizes can make these conditional independence tests unreliable.

For future work, the authors suggest investigating how the algorithm performs empirically with finite, noisy data and exploring ways to extend these principles to more general, non-tree graph structures.

Summary updated

BibTeX
@inproceedings{sepehr2019algorithm,
  author = {Firoozeh Sepehr and Donatello Materassi},
  title = {{An Algorithm to Learn Polytree Networks with Hidden Nodes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure