Introduction
Inferring the causal direction between two variables $X$ and $Y$ from observational data is a cornerstone of scientific discovery. While multivariate data allows for conditional independence tests, bivariate cases—where we must decide between $X \to Y$ and $Y \to X$—remain notoriously difficult. Traditional methods often rely on Additive Noise Models (ANMs), which assume $Y = f(X) + N$ with $N \perp X$. However, these models frequently struggle with non-deterministic data and produce confidence scores that are overly sensitive to sample size.
This paper introduces SLOPE, a linear-time algorithm based on the Minimum Description Length (MDL) principle. By identifying which direction allows for more succinct data compression, SLOPE breaks the 70% accuracy barrier on real-world benchmarks and provides a robust framework for causal inference.
The SLOPE Algorithm
The core of SLOPE is the Algorithmic Markov Condition, which suggests that the joint distribution of cause and effect has a simpler description in the true causal direction. Since Kolmogorov complexity is uncomputable, SLOPE uses MDL as a practical proxy.
The algorithm proceeds in three main stages:
- Regression Analysis: SLOPE fits a variety of global functional forms (linear, quadratic, cubic, exponential, reciprocal) to the data in both directions.
- Local Refinement: To handle non-deterministic data—where a single $X$ value may correspond to multiple $Y$ values—SLOPE identifies these clusters and fits local regression models. These are only retained if they significantly improve the overall compression cost.
- MDL Scoring: The total cost is calculated as the sum of the bits required to describe the model parameters and the bits required to describe the residuals (assuming Gaussian noise). The direction with the lower normalized cost is selected as the cause.
Experimental Results
SLOPE was evaluated against the Tuebingen Cause-Effect Pairs, a standard benchmark of 98 real-world pairs with known ground truth.
As shown in the figure above, SLOPE achieved a state-of-the-art accuracy of 82.4%, a significant improvement over the previous best of ~71%. Notably, for the 32 pairs where the algorithm was most confident, it achieved 100% accuracy.
Beyond accuracy, SLOPE addresses a critical flaw in existing methods: the instability of confidence scores. In many frameworks, p-values or confidence metrics tend toward zero or infinity as the number of data points increases, regardless of the underlying causal strength.
Conclusion
SLOPE represents a significant advancement in bivariate causal inference. By combining global and local regression with an information-theoretic scoring mechanism, it provides a method that is not only more accurate but also more computationally efficient and statistically robust than its predecessors. Its linear-time complexity $O(n)$ makes it suitable for large-scale data analysis, paving the way for more reliable causal discovery in complex systems.
Summary updated