Interpretable Almost-Exact Matching for Causal Inference

Awa Dieng, Yameng Liu, Sudeepa Roy, Cynthia Rudin, Alexander Volfovsky

Introduction

Estimating treatment effects in observational studies is a cornerstone of modern data science, yet it remains fraught with challenges. The ideal scenario—finding "identical twins" across treated and control groups—is often thwarted by the "curse of dimensionality." As the number of covariates grows, finding exact matches becomes statistically impossible. Traditional workarounds, such as Propensity Score Matching (PSM) or Mahalanobis distance, often sacrifice interpretability or fail to prioritize the most relevant variables, leading to biased or noisy estimates.

The DAME Algorithm: Precision through Dynamic Programming

To address these shortcomings, the Almost Matching Exactly (AME) framework introduces DAME (Dynamic Almost-Matching Exactly). DAME is a discrete optimization algorithm designed to find the highest-quality matches in categorical data by maximizing a weighted Hamming distance. Unlike greedy approaches, DAME uses dynamic programming and a downward closure property (inspired by the Apriori algorithm) to efficiently explore the search space of covariate subsets.

Key features of DAME include:

  • Weighted Matching: Covariate importance is learned via machine learning on a hold-out set, ensuring the algorithm prioritizes variables most predictive of the outcome.
  • Interpretability: By producing "matched groups" based on shared characteristics, DAME allows researchers to inspect and validate the logic behind every causal estimate.
  • Robustness: The algorithm is naturally resistant to "noise" from irrelevant variables and handles missing data by seeking the best possible match among available features.

Superior Accuracy and Robustness

In extensive simulations, DAME demonstrates significant improvements in accuracy over standard methods. While propensity score matching (1-PSNNM) and Mahalanobis distance often fail in high-dimensional or imbalanced settings, DAME maintains a tight fit between estimated and true Conditional Average Treatment Effects on the Treated (CATT).

Figure 1: Comparison of DAME and FLAME against standard causal inference methods. DAME and FLAME show significantly lower MSE and better alignment with true CATT values compared to Mahalanobis and Propensity Score Matching.

As shown in the figure above, DAME consistently achieves near-zero error in scenarios where traditional methods like 1-PSNNM produce highly dispersed and inaccurate estimates (MSE of 0.47 for DAME vs. 246.08 for 1-PSNNM).

Higher Quality Matches

A critical advantage of DAME over its faster, greedy counterpart, FLAME (Fast Large-scale Almost Matching Exactly), is its ability to find matches on larger subsets of covariates. While FLAME may drop important variables prematurely to gain speed, DAME's exhaustive (yet optimized) search ensures that units are matched on as many relevant features as possible.

Figure 2: Distribution of matched units by the number of covariates. DAME (green) successfully matches a much larger portion of the population on a higher number of covariates compared to the greedy FLAME algorithm (orange).

This difference in match quality is vital for reducing bias. In tests, DAME matched 84% of the population on all but two covariates, whereas FLAME only achieved this for 25% of the units. This ensures that the "twins" found by DAME are much more similar than those found by greedy alternatives.

Real-World Application and Future Directions

The utility of DAME extends beyond simulations. In an analysis of the "Breaking the Cycle" social program, DAME provided interpretable insights into program efficacy that matched the performance of complex "black box" models like SVMs, but with the transparency required for policy decisions.

While DAME is currently optimized for categorical data and can face computational hurdles in extremely high dimensions (where a Hybrid FLAME-DAME approach is recommended), it represents a major step forward in making causal inference both accurate and explainable. Future work aims to refine "post-match smoothing" techniques to further enhance the precision of these interpretable models.

Summary updated

BibTeX
@inproceedings{dieng2019interpretable,
  author = {Awa Dieng and Yameng Liu and Sudeepa Roy and Cynthia Rudin and Alexander Volfovsky},
  title = {{Interpretable Almost-Exact Matching for Causal Inference}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure