Skip to Content

Equivalence Classes

Context: Equivalence Classes, Essential Graphs, and Edges

An Equivalence Class groups directed graphs that can represent the same set of joint probability distributions, even when some arc directions differ.

For instance, the following six graphs can represent the same joint probability distribution. When learning these networks from data, it would not be possible to distinguish between them, as they all belong to the Equivalence Class.

Loading SVG...

In the above example, all arcs can be inverted (within the constraint of acyclicality), and the network still remains in the Equivalence Class.

Essential Graph

In Validation Mode, BayesiaLab can visualize the Equivalence Class by displaying the Essential Graph for any given network.

The Essential Graph of a network consists of:

  • Directed arcs that have the same direction in every graph in the Equivalence Class.
  • Undirected edges that occur in both directions across the graphs in the Equivalence Class.

For the example above, the Essential Graph is straightforward, as all arcs can be inverted. The following Essential Graph only features Edges:

Loading SVG...

Equivalence Class

In non-trivial cases, recognizing the Essential Graph is much less obvious.

To have BayesiaLab display the Essential Graph, go into Validation Mode and select Menus > Analysis > Visual > Graph > Equivalence Classes. Alternatively, use the shortcut E to activate this function.

With the Essential Graph on display, you can see the Edges that allow you to choose an orientation within the Equivalence Class.

Among the Edges, you can assign an arc direction. However, assigning one arc direction will immediately update the Essential Graph and potentially provide a new set of Edges.

Example

The animation below uses the nine-node Asia network. Open the same network to follow the changes in arc direction.

Asia.xbl
XBL

In Validation Mode, follow the arrows from Age\mathit{Age} through Smoking\mathit{Smoking} to Bronchitis\mathit{Bronchitis}.

Loading SVG...

Class Instantiation

Class Instantiation completes a directed graph within the Equivalence Class while preserving the directions already assigned.

Workflow animation

The following animation illustrates the Equivalence Class and Class Instantiation functions. It also shows arc inversions, both while the Equivalence Class is active and after performing Class Instantiation.

Equivalence Class and Class Instantiation are unavailable for dynamic Bayesian networks and in conjunction with Approximate Inference.