OrdCD: Ordinal Causal Discovery

Yang NiOpenalex Unknown 2022 · OpenAlex

In the world of data science, "correlation does not imply causation" is a mantra. To find actual causal links—knowing that $X$ causes $Y$ rather than the other way around—researchers usually rely on randomized controlled trials. But when experiments are unethical or impossible, we turn to causal discovery from observational data.

A new paper from researchers at Texas A&M University, presented at UAI 2022, introduces a powerful tool for a common but tricky data type: ordinal categorical data.

TL;DR

The authors propose Ordinal Causal Discovery (OCD), a method that exploits the inherent ordering in categorical data (like "low, medium, high") to uniquely identify causal directions. Unlike previous methods that treat categories as unordered labels, OCD can distinguish between $X \to Y$ and $Y \to X$, outperforming state-of-the-art algorithms on both synthetic and real-world biological datasets.

What Problem Does This Paper Address?

Most existing causal discovery methods for categorical data treat variables as nominal (unordered). If you have two variables, $X$ and $Y$, a standard multinomial Bayesian Network can tell you they are related, but it often cannot tell you the direction of the arrow. Statistically, $X \to Y$ and $Y \to X$ look identical—they belong to the same "Markov equivalence class."

However, many real-world datasets are ordinal. Think of Likert scales in psychology (Strongly Disagree to Strongly Agree), mutation counts in genetics (0, 1, or 2 alleles), or discretized gene expressions. By treating "Strongly Agree" as just another label rather than a point on a scale, we throw away valuable information. The authors argue that this "overlooked" ordinal information is exactly what we need to break the statistical symmetry and identify the true causal structure.

Methods

The core of the paper is the Ordinal Bayesian Network.

  1. The Model: Instead of a standard multinomial distribution, the authors use an ordinal regression model (specifically using a probit link function). This model assumes there’s a latent continuous process behind the categories, separated by thresholds.
  2. Identifiability: The authors mathematically prove that for bivariate cases (two variables with more than two levels), the causal direction is "identifiable." This means that, given enough data, the model can theoretically always pick the correct direction.
  3. Algorithm: To find the best causal graph, they use a score-and-search approach. They use the Bayesian Information Criterion (BIC) to score different graph structures and a greedy search algorithm to navigate the space of possible graphs. This allows the method to scale to moderate-sized networks (up to 100 nodes in their tests).

Datasets

The authors evaluated OCD against several benchmarks:

  • Synthetic Data: Low-dimensional ($q=10$) and high-dimensional ($q=100$) simulations with varying signal strengths.
  • Sachs’s Protein Signaling Data: A classic "gold standard" dataset in causal discovery containing flow cytometry measurements of 11 proteins.
  • CauseEffectPairs (CEP): A benchmark of 99 real-world pairs (e.g., altitude $\to$ temperature) where the causal direction is known from context.
  • Single-cell RNA-sequencing (scRNA-seq): Data from murine embryonic stem cells used to validate transcription factor interactions.

Key Insights and Ideas

  • Ordinality as a Causal Signal: The most significant "aha" moment is that the "shape" of the conditional distribution changes in a detectable way when you move from cause to effect in ordinal data. This doesn't happen with nominal data.
  • Robustness through Discretization: Surprisingly, the authors found that OCD works well even on continuous data if you discretize it first. In some cases, this discretization acts as a filter, reducing noise while retaining the biological or physical signal.
  • Efficiency: The greedy search combined with the ordinal model is remarkably fast. It analyzed 99 datasets in the CEP benchmark in just 36 seconds, whereas some competing methods took hours.

Key Results

  • Accuracy: On the CEP benchmark, OCD achieved an accuracy of 73%, significantly higher than the 44% achieved by HCR (a nominal categorical method) and competitive with complex continuous-data methods like SLOPE (76%).
  • Structural Integrity: In synthetic tests, OCD consistently achieved lower Structural Hamming Distance (SHD)—meaning it made fewer errors in adding, deleting, or reversing edges—compared to standard multinomial BNs.
  • Biological Validity: On the scRNA-seq data, OCD was the only method tested that performed better than a random guess, suggesting it is particularly well-suited for the "zero-inflated" and noisy nature of genetic data.

Limitations and Future Work

While OCD is a step forward, the authors note a few areas for improvement:

  • Point Estimates: The current algorithm provides a single "best" graph but doesn't quantify uncertainty (e.g., "how sure are we about this specific arrow?"). They suggest a fully Bayesian approach for future versions.
  • The "L" Problem: When discretizing continuous data, the user has to choose the number of bins ($L$). While the results were relatively robust across different values of $L$, a more automated, data-driven way to choose this would be ideal.
  • Unmeasured Confounders: Like most causal discovery methods, OCD assumes "causal sufficiency" (no hidden common causes). While they showed it's somewhat robust to this in experiments, a formal extension to handle hidden variables is still needed.

For researchers interested in trying this out, the authors have released an R package called OCD.

Summary updated

Abstract

Algorithms for ordinal causal discovery. This package aims to enable users to discover causality for observational ordinal categorical data with greedy and exhaustive search. See Ni, Y., &amp; Mallick, B. (2022) &lt;<a href="https://proceedings.mlr.press/v180/ni22a/ni22a.pdf" target="_top">https://proceedings.mlr.press/v180/ni22a/ni22a.pdf</a>&gt; "Ordinal Causal Discovery. Proceedings of the 38th Conference on Uncertainty in Artificial Intelligence, (UAI 2022), PMLR 180:1530–1540".
BibTeX
@inproceedings{ni2022ordcd,
  author = {Yang Ni},
  title = {{OrdCD: Ordinal Causal Discovery}},
  booktitle = {Openalex Unknown},
  year = {2022},
  doi = {10.32614/cran.package.ordcd},
}

Loading related content...

Figure