Papers
Topics
Authors
Recent
Search
2000 character limit reached

Greedy Equivalence Search (GES)

Updated 14 January 2026
  • Greedy Equivalence Search (GES) is a causal discovery algorithm that learns DAG structures by moving along the edges of the characteristic imset polytope.
  • It reframes structure learning as a linear optimization problem, leveraging edge-addition, deletion, and reorientation moves for enhanced performance.
  • Extensions like the greedy CIM algorithm integrate skeleton constraints with polytope moves to improve model recovery and computational efficiency.

The Greedy Equivalence Search (GES) algorithm is a foundational method for causal discovery, particularly for estimating the structure of directed acyclic graphs (DAGs) that encode observable conditional independencies. Recent geometric analysis reframes GES as a discrete edge-walk on the characteristic imset polytope (CIMp\operatorname{CIM}_p), thereby offering unified conceptual clarity and extending the algorithmic toolkit for structure learning. All technical definitions and results below follow the original account by Studený, Hemmecke, Lindner and subsequent researchers (Linusson et al., 2021).

1. The Characteristic Imset Polytope Framework

GES operates on the space of Markov equivalence classes of DAGs. Each DAG GG on [p][p] nodes is associated with its characteristic imset cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}, defined by cG(S)=1c_G(S) = 1 iff iS\exists\,i \in S such that S{i}paG(i)S \setminus\{i\} \subseteq \text{pa}_G(i). The vector cGc_G encodes all membership in Markov equivalence classes.

The polytope CIMp:=conv{cG:G a DAG on [p]}R2pp1\operatorname{CIM}_p := \text{conv}\{c_G: G \text{ a DAG on } [p]\} \subset \mathbb{R}^{2^p-p-1} has as vertices exactly the characteristic imsets, uniquely representing Markov equivalence classes. This geometric reformulation turns causal structure learning into a linear optimization problem.

2. Skeleton Constraints and Faces of CIMp\operatorname{CIM}_p

Hybrid approaches to structure learning often begin by estimating an undirected skeleton GG0 of the target DAG. Correspondingly, the subset GG1 forms a face of the full polytope GG2. By selecting a linear functional GG3 supported only on 2-subsets, the maximizers are precisely DAGs whose skeleton is a subgraph of GG4. This structural correspondence clarifies the constraint-enforcement mechanism in hybrid algorithms.

3. Geometric Realization of GES Moves as Edge-Walks

GES comprises three classes of elementary moves, each corresponding precisely to an edge of the polytope GG5:

A) Edge-addition (“forward phase”): For DAG GG6 and pair GG7 non-adjacent in the skeleton, one can sometimes add GG8 without acyclicity violation. Proposition 3.10 and Theorem 3.12 show GG9 and [p][p]0 is an edge of [p][p]1. This move is called an edge pair.

B) Edge-deletion (“backward phase”): Removal of [p][p]2 from the essential graph is the reverse operation, and since [p][p]3 is a 0/1-polytope, if two vertices differ in exactly one coordinate they span an edge (Lemma 3.1). Every valid deletion is therefore an edge of [p][p]4.

C) Edge-reorientation (“turn phase”): GES also reverses existing arrows (“Chickering-turn” operations) within the same equivalence class; when this switch creates a new MEC, the corresponding imsets again span an edge—see Proposition 3.5 and Theorem 3.8 for the explicit combinatorics.

In summary, every GES add, delete, or turn move is a walk along an edge of [p][p]5.

4. Extension Beyond Classical GES: Larger Classes of Polytope Moves

The edge pairs and turn pairs in [p][p]6 strictly generalize the classical GES moves—there exist polytope edges corresponding to equivalence class transitions that do not arise from simple edge reorientations in any DAG of the current class (Example 3.7), but still realize valid greedy steps. This suggests potential improvements over standard GES by expanding the move set at each sweep.

5. The Greedy CIM Algorithm

Leveraging the geometric generalization, the “greedy CIM” algorithm performs a simplex-type walk on [p][p]7, considering all available edge-pairs (additions and deletions) and turn-pairs permitted by acyclicity. At each step, it selects the move yielding the maximal increase in a chosen score (e.g., BIC). Its algorithmic skeleton is:

  • Initialize [p][p]8 to the empty DAG.
  • Edge-phase: evaluate all valid edge-pairs [p][p]9 with cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}0, and take the best.
  • Turn-phase: evaluate all valid turn-pairs cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}1 (consistent with acyclicity) with cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}2, and take the best.
  • Repeat until convergence.

All moves correspond to polytope edges, so the procedure is a greedy edge-walk in the sense of linear programming.

6. Empirical Performance and Hybrid Variants

On Gaussian linear-SEM data with cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}3 and cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}4, the breadth-first, phased version of greedy CIM matches or outperforms GES and GIES in structure recovery. The “skeletal greedy CIM” hybrid variant—where a skeleton is first learned by CI tests, followed by greedy CIM turn-pairs—outperforms MMHC and PC in model and SHD metrics. Reported computational times are cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}5 (skeletal) to cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}6 (full) per replication in an R+Python implementation.

7. Synthesis: Unifying Geometric Perspective

GES is a restricted greedy edge-walk on the characteristic imset polytope cG:{S[p]:S2}{0,1}c_G: \{S \subseteq [p]: |S| \geq 2\} \to \{0,1\}7. Casting GES, GIES, and MMHC in this geometric framework exposes the combinatorial structure of their operations, justifies new algorithmic extensions, and connects skeleton constraints with polytope faces. The greedy CIM algorithm demonstrates principled improvement by exploiting polytope edges not traversable by standard GES, offering both a theoretical unification and a practically robust methodology for greedy causal discovery (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 Equivalence Search (GES).