Papers
Topics
Authors
Recent
Search
2000 character limit reached

Greedy CIM Algorithm for Causal Discovery

Updated 18 February 2026
  • Greedy CIM algorithm is a geometric approach to causal discovery that transforms the search for Markov equivalence classes into a linear optimization problem over the characteristic imset polytope.
  • It employs a two-phase simplex-type walk, alternating between edge moves and edge reversals, to incrementally improve score metrics like BIC.
  • Its skeletal variant uses conditional independence tests to constrain the search space, enhancing computational efficiency and outperforming methods such as PC, MMHC, and GIES.

The Greedy CIM algorithm is a geometric approach to score-based and hybrid causal discovery, formulated as a greedy walk along the edges of the characteristic imset polytope, denoted CIMp\operatorname{CIM}_p. Each vertex of CIMp\operatorname{CIM}_p represents a Markov equivalence class (MEC) of directed acyclic graphs (DAGs), enabling the causal discovery search to be transformed into a linear optimization problem over a polytope. The Greedy CIM algorithm and its skeletal hybrid variant generalize the edge-move frameworks of GES, GIES, and MMHC, providing a simplex-type search structure that can leverage both score and conditional independence information (Linusson et al., 2021).

1. Mathematical Foundation of Greedy CIM

Let pp denote the number of nodes. Given a DAG GG on [p]={1,,p}[p]=\{1,\ldots,p\}, its characteristic imset is a mapping

cG:{S[p]:S2}{0,1}c_G : \{S \subseteq [p]\,:\, |S|\geq2\} \to \{0,1\}

with cG(S)=1c_G(S) = 1 iff iS\exists i\in S such that S{i}paG(i)S\setminus\{i\} \subseteq \operatorname{pa}_G(i). This vector in R2pp1\mathbb{R}^{2^p-p-1} uniquely identifies the Markov equivalence class represented by CIMp\operatorname{CIM}_p0—two DAGs are Markov equivalent if and only if their characteristic imsets coincide.

The characteristic-imset polytope CIMp\operatorname{CIM}_p1 is

CIMp\operatorname{CIM}_p2

where CIMp\operatorname{CIM}_p3 denotes convex hull. Each vertex corresponds to a unique MEC. Maximizing a decomposable, score-equivalent function (e.g., BIC) over DAGs thus reduces to maximizing a linear function CIMp\operatorname{CIM}_p4 over CIMp\operatorname{CIM}_p5, with CIMp\operatorname{CIM}_p6 derived from the score function.

Face restrictions: For any skeleton CIMp\operatorname{CIM}_p7 (undirected graphs), the restricted polytope

CIMp\operatorname{CIM}_p8

is a face of CIMp\operatorname{CIM}_p9, allowing skeleton constraints—such as from conditional independence (CI) tests—to reduce the search space to a lower-dimensional face.

Edge moves, or adjacency steps within the polytope, correspond to two fundamental move classes:

  • Edge-pairs (single edge addition/deletion in the skeleton): Each such operation corresponds to an adjacency (edge) in pp0.
  • Turn-pairs (single valid edge reversal): Reversing an edge pp1 (without violating acyclicity and altering the MEC) also corresponds to an adjacency of the polytope.

These move classes subsume and strictly generalize the three phase moves (“forward,” “backward,” “turn”) of GES/GIES and the hill climb steps of MMHC, as shown via the polytope geometry (Linusson et al., 2021).

2. Algorithmic Description

The Greedy CIM algorithm operates as a two-phase simplex-type walk on pp2, alternating between edge and turn phases. The state is the current characteristic imset pp3 for DAG pp4; pp5 encodes the score weights.

  • Edge phase: Enumerate and evaluate all edge-pair moves (additions/deletions of edges) to adjacent vertices (MECs) in the polytope. Select the best move that strictly improves the score and update pp6.
  • Turn phase: Enumerate and evaluate all turn-pair moves (edge reversals) to adjacent vertices via the identified edge classes, again selecting the best strictly improving move.

The algorithm alternates these phases, performing as many improving moves as possible within each phase, and terminates when neither phase yields any improvement. The formal selection criterion per iteration is:

pp7

where pp8 is the set of vertices adjacent to pp9 along known “edge-pair” or “turn-pair” classes.

Pseudocode:

cG:{S[p]:S2}{0,1}c_G : \{S \subseteq [p]\,:\, |S|\geq2\} \to \{0,1\}2 Complexity per iteration is GG0 in the edge phase and GG1 in the turn phase, with GG2 denoting neighborhood size; the number of steps is at most GG3 since each strictly increases the finite-precision score.

3. Skeletal Greedy CIM and Hybridization

The Skeletal Greedy CIM algorithm restricts the search to a face of GG4 determined by a skeleton GG5 estimated via CI tests (e.g., using the PC algorithm). All greedy edge and turn moves are constrained to respect GG6; i.e., no new edges are added outside GG7. Typically, only turn phases are performed, and the initial orientation can be any DAG matching GG8.

Skeletal Greedy CIM thus directly generalizes the hybrid methodology of MMHC (learn skeleton then hill-climb), but as a geometric walk on the skeleton-restricted face GG9. This reduces computational complexity and search space size.

Hybrid strategy:

  1. Estimate skeleton [p]={1,,p}[p]=\{1,\ldots,p\}0 via CI tests.
  2. Start from any orientation [p]={1,,p}[p]=\{1,\ldots,p\}1 with skeleton [p]={1,,p}[p]=\{1,\ldots,p\}2.
  3. Greedily perform turn-phase moves (edge reversals) allowed by [p]={1,,p}[p]=\{1,\ldots,p\}3.
  4. Return when no improvement is possible.

4. Theoretical Properties and Relations to Prior Methods

Every step of Greedy CIM or Skeletal Greedy CIM increases the score (e.g., BIC), and since the score is discrete, both algorithms terminate in [p]={1,,p}[p]=\{1,\ldots,p\}4 steps. If all edges of [p]={1,,p}[p]=\{1,\ldots,p\}5 were known and searchable, a greedy simplex walk would find the global optimum; in practice, only edge- and turn-pair classes are used, guaranteeing local optimality within those adjacency graphs.

GES (Greedy Equivalence Search) is realized as a greedy edge-walk using edge-pair and turn-pair steps, alternating forward and backward edge addition/deletion, with a final turn phase. GIES extends this in the interventional setting. MMHC corresponds precisely to Skeletal Greedy CIM, as it places skeleton restrictions and then performs a greedy climb. Empirically and theoretically, these methods are subclasses of greedy walks along faces or the full structure of [p]={1,,p}[p]=\{1,\ldots,p\}6.

The main theorem posits that GES, GIES, MMHC, and Greedy SP all can be realized as greedy edge-walks on [p]={1,,p}[p]=\{1,\ldots,p\}7 or its faces, establishing the geometric nature of greedy causal discovery (Linusson et al., 2021).

5. Empirical Evaluation

For [p]={1,,p}[p]=\{1,\ldots,p\}8 nodes, synthetic data from linear-Gaussian SEMs with random Erdős–Rényi DAGs (expected degree [p]={1,,p}[p]=\{1,\ldots,p\}9) and 10,000 i.i.d. samples were used. The recovery rate (fraction of true MECs recovered) and SHD (structural Hamming distance) were benchmarking metrics.

Results demonstrate:

  • Skeletal Greedy CIM outperformed PC, MMHC, and Greedy SP for all sparsity levels, and, when the skeleton was correctly identified, almost always recovered the correct MEC.
  • Breadth-first Greedy CIM matched GIES in recovery and SHD; depth-first was competitive with GES but slightly inferior to GIES.
  • Runtime: Skeletal Greedy CIM executes in cG:{S[p]:S2}{0,1}c_G : \{S \subseteq [p]\,:\, |S|\geq2\} \to \{0,1\}0 s/model; Greedy CIM in cG:{S[p]:S2}{0,1}c_G : \{S \subseteq [p]\,:\, |S|\geq2\} \to \{0,1\}1 s; both comparable to GES/GIES for this regime.

6. Impact and Significance

Greedy CIM provides a unifying geometric framework for score-based and hybrid causal network discovery, clarifying the relationships among GES, GIES, and MMHC algorithms through explicit polyhedral structure. By allowing for general edge-walk classes (edge-pair and turn-pair), Greedy CIM strictly generalizes move sets available to legacy algorithms, with empirical results confirming performance gains, particularly for hybrids. Its geometric perspective suggests new directions for designing causal structure learning algorithms as polytope walks and motivates further investigation into the facets and adjacency structures of characteristic-imset polytopes for even higher-order generalizations (Linusson et al., 2021).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Greedy CIM Algorithm.