Discovering Reliable Causal Rules

Kailash Budhathoki, Mario Boley, Jilles Vreeken

Introduction

Traditional rule mining, such as identifying that "customers who buy bread also buy milk," has long been a staple of data analysis. However, these methods primarily capture associations and correlations, which can be misleading in complex systems. This paper introduces a framework for mining causal rules from observational data, aiming to discover underlying system mechanisms even when randomized experiments are impossible.

The Challenge: Confounding and Overfitting

The primary hurdle in moving from association to causation is the presence of confounders—hidden or known variables that influence both the antecedent and the outcome of a rule. This often leads to Simpson’s Paradox, where a rule appears beneficial for a whole population but is neutral or harmful within specific subgroups.

A causal graph illustrating confounding where variable Z influences both the action X1 and the outcome Y.

Beyond structural confounding, statistical overfitting poses a significant risk. Naive estimators of causal effects tend to have high variance for rules covering few instances. In a search space of millions of rules, many will appear significant by pure chance. Finally, the exponential nature of the search space makes finding optimal rules computationally daunting.

Methodology

The authors address these challenges through a three-pronged approach:

  1. Causal Admissibility: They define graphical criteria based on Judea Pearl’s back-door criterion to identify when causal discovery from observational data is theoretically possible. This requires identifying "control variables" that block spurious paths in a causal graph.
  2. The Reliable Estimator: To combat overfitting, the paper proposes a conservative estimator that penalizes rules with small sample sizes using binomial confidence intervals. This ensures that the algorithm favors rules with statistically robust evidence rather than those benefiting from raw sample frequency noise.
  3. Efficient Search: A branch-and-bound algorithm is employed to find the top-$k$ rules. By utilizing a tight mathematical bound (an optimistic estimator), the algorithm can prune large, non-optimal sections of the search space, making it feasible for real-world datasets.

Experimental Results

The framework was evaluated using synthetic data, the Titanic dataset, and 22 real-world datasets from the KEEL repository.

Statistical Efficiency

In synthetic tests where the ground truth was known, the reliable estimator demonstrated superior performance. It achieved a lower Mean Squared Error (MSE) and recovered the "core" causal rule with 100% probability at significantly smaller sample sizes compared to standard association measures.

Performance metrics showing that the reliable estimator (green) achieves lower MSE and higher recovery probability of the core causal rule as sample size increases.

Real-World Application

On the Titanic dataset, the algorithm successfully identified nuanced causal rules that align with historical knowledge. For instance, it found that being a female passenger in 1st or 2nd class had a strong positive causal effect on survival ($\approx 0.57$), while also noting that this effect was significantly diminished for females in 3rd class—a detail often obscured by simpler models.

Computational Performance

Despite the exponential search space, the branch-and-bound algorithm proved highly efficient. It found optimal rules within seconds for most datasets and completed even the most complex searches within an hour.

Conclusion and Future Work

This research provides a robust framework for discovering reliable causal rules by addressing structural confounding, statistical overfitting, and computational complexity. While the current approach relies on the Admissibility Assumption (requiring a known set of control variables), it sets the stage for future work. Potential directions include relaxing these assumptions or integrating automated causal discovery to identify control variables directly from data.

Summary updated

BibTeX
@inproceedings{budhathoki2021discovering,
  author = {Kailash Budhathoki and Mario Boley and Jilles Vreeken},
  title = {{Discovering Reliable Causal Rules}},
  booktitle = {SDM},
  year = {2021},
  doi = {10.1137/1.9781611976700.1},
}
Figure