Origo: causal inference by compression

Kailash Budhathoki, Jilles VreekenKnowledge and Information Systems 2018 · DOI

Introduction

Distinguishing cause from effect using only observational data—without the luxury of randomized controlled trials—is a "holy grail" of data science. While many methods exist for continuous or numeric data, such as Additive Noise Models, they often struggle when applied to multivariate binary data. Common examples include determining whether a set of symptoms causes a diagnosis or if one drug amplifies the effect of another. The core challenge lies in the lack of a general, parameter-free framework that can handle multivariate binary variables without making restrictive assumptions about their underlying distributions or the specific nature of their causal relationships.

The Origo Framework

Origo is a novel framework that treats causal inference as a data compression problem. Grounded in Algorithmic Information Theory, it leverages the Minimum Description Length (MDL) principle to determine causal direction. The fundamental postulate is that if $X$ causes $Y$, the "mechanism" that generates $Y$ from $X$ is independent of the process that generated $X$. In information-theoretic terms, the shortest description of the joint distribution $P(X, Y)$ should be the sum of the shortest descriptions of $P(X)$ and $P(Y|X)$.

Since Kolmogorov complexity is mathematically uncomputable, Origo uses a practical instantiation via MDL. It employs an algorithm called PACK, which encodes data using sets of decision trees. To test the direction $X \to Y$, Origo calculates the total bits required to encode $X$ independently, plus the bits required to encode $Y$ using decision trees that are allowed to "split" on attributes of $X$. By comparing the compression cost of $X \to Y$ against $Y \to X$, the direction yielding the most succinct description is inferred as the likely causal path.

Multivariate causal model $M_{Y \to X}$ illustrating dependencies between variable sets where $Y$ influences $X$.

Key Insights

Origo views causality as an asymmetry in explanation complexity. If $X \to Y$, then $Y$ is simple to explain once $X$ is known, but $X$ remains complex even if $Y$ is known. Unlike previous methods limited to variable pairs, Origo naturally handles multivariate sets because its decision trees can split on multiple attributes simultaneously. Furthermore, it is robust to "skew" (different numbers of variables in $X$ and $Y$) and is parameter-free, requiring no hyperparameter tuning or distributional assumptions like Gaussian noise.

Experimental Results

The authors evaluated Origo across a diverse battery of tests including synthetic data, the Tübingen Cause-Effect Pairs benchmark, and real-world case studies:

  • Synthetic Data: Accuracy reached approximately 90% as causal dependency strengthened, significantly outperforming Distance Correlation (DC) methods.
  • Benchmark Success: On multivariate Tübingen pairs, Origo correctly identified the causal direction in 4 out of 6 cases, surpassing both DC and ERGO (a previous information-theoretic approach).
  • Real-World Case Studies: Origo successfully linked symptoms to diagnoses in acute inflammation data and identified higher education levels as causal factors for earning >$50K in Census data. In text analysis of ICDM abstracts, it correctly identified that "frequent itemset" $\to$ "mining".

Limitations and Future Work

While powerful, Origo's performance on continuous data depends on the discretization strategy used to convert it to binary form. It also assumes "causal sufficiency"—the absence of unobserved confounders. Computationally, the greedy search for optimal decision trees is $O(2^m n)$, which may limit scalability for extremely high-dimensional data. Future research aims to extend this framework to handle time-series data and develop integrated discretization methods that better preserve causal signals.

Conclusion

Origo provides a robust, information-theoretic approach to causal discovery in binary data. By reframing causality as a matter of compression efficiency, it offers a versatile, "plug-and-play" tool for researchers across various domains where traditional statistical assumptions may not hold.

Summary updated

BibTeX
@article{budhathoki2018origo,
  author = {Kailash Budhathoki and Jilles Vreeken},
  title = {{Origo: causal inference by compression}},
  journal = {Knowledge and Information Systems},
  year = {2018},
  doi = {10.1007/s10115-017-1130-5},
}
Figure