General targeted machine learning for modern causal mediation analysis

Richard Liu, Nicholas T. Williams, Kara E. Rudolph, Iván DíazarXiv 2024 · DOI

Introduction

Causal mediation analysis is a cornerstone of scientific inquiry, aiming to decompose the total effect of an exposure into direct and indirect pathways through one or more mediators. For instance, in clinical research, one might ask whether a drug reduces mortality directly or primarily through its effect on a specific biomarker. While theoretical advancements in this field have been significant, the practical application of these methods to modern, complex datasets has remained challenging due to high dimensionality and intricate causal structures.

The Challenges of Modern Mediation Analysis

Researchers today face three primary hurdles when conducting mediation analysis:

  1. The Curse of Dimensionality: Modern datasets often feature mediators that are high-dimensional (e.g., genomic data, neuroimaging) or continuous. Traditional statistical methods struggle to estimate the complex probability densities required to model these variables accurately.
  2. Intermediate Confounding: A common complication occurs when the treatment itself influences a variable that subsequently affects both the mediator and the outcome. These "intermediate confounders" violate the assumptions of standard mediation models, such as Natural Direct and Indirect Effects.
  3. Fragmented Frameworks: The literature contains at least six distinct definitions of causal effects (e.g., Natural, Randomized Interventional, and Separable effects). Historically, each definition required a specialized, often ad-hoc estimator, leading to "framework fatigue" among practitioners.
Causal DAG showing exposure (A), outcome (Y), mediator (M), and intermediate confounder (Z).

The figure above illustrates the complex causal structure addressed by this research, where $A$ represents the exposure, $Y$ the outcome, $M$ the mediator, $W$ the baseline confounders, and $Z$ the intermediate confounders. This DAG highlights the path $A \to Z \to M$, which represents the intermediate confounding that traditional methods often fail to account for.

A Unified Estimation Framework

To address these challenges, the authors propose a "one-step" estimation algorithm that unifies disparate mediation problems. This framework rests on three technical pillars:

Unification of Functionals

The authors demonstrate that the identification formulas for six major mediation frameworks can be reduced to just two generalized statistical functionals. This unification allows a single algorithmic core to estimate a wide variety of causal effects.

Riesz Learning

A significant innovation in this work is the move away from explicit density estimation. Estimating high-dimensional probability densities is notoriously difficult and prone to error. Instead, the authors utilize the Riesz Representation Theorem to estimate the ratio of these densities directly as a single function. This "Riesz learning" approach provides much greater stability and computational feasibility for complex, high-dimensional data.

Double Machine Learning (DML)

To ensure statistical validity when using flexible machine learning models (such as deep neural networks), the framework employs Double Machine Learning. By utilizing an Efficient Influence Function (EIF) and cross-fitting, the algorithm corrects for the bias inherent in ML-based estimation. This ensures that the final estimates are asymptotically normal, allowing for reliable confidence intervals and p-values.

The framework also extends to non-binary treatments, such as continuous dosages, through the use of "Modified Treatment Policies," enabling more nuanced "what-if" scenario modeling.

Empirical Evaluation

The proposed method was evaluated through both synthetic simulations and a large-scale real-world application.

Simulation Performance

In Monte Carlo studies using complex, non-linear data-generating processes, the estimators demonstrated excellent "double robustness." Even under partial model misspecification, the results remained consistent. As sample sizes increased, the empirical coverage of 95% confidence intervals closely matched the nominal values.

Opioid Use Disorder Case Study

The researchers applied their framework to a massive dataset of approximately 1.7 million Medicaid beneficiaries. The study investigated how chronic pain disorders (exposure) influence the risk of Opioid Use Disorder (OUD, outcome) through 11 different pain management practices (mediators).

The analysis revealed that chronic pain disorder increased the risk of OUD by 1.31%. Remarkably, the model estimated that 80% of this effect was mediated through pain management practices. This finding suggests that the risk of OUD is driven less by the pain itself and more by how that pain is clinically managed, highlighting a critical area for policy intervention.

Conclusion and Future Work

The introduction of the crumble R package makes these sophisticated DML and Riesz learning techniques accessible to the broader scientific community. By providing a unified tool that handles high-dimensional mediators and intermediate confounding, the authors have significantly lowered the barrier to rigorous causal mediation analysis.

However, several areas for future research remain. The current implementation relies heavily on deep learning; extending the optimization methods to other ML classes like random forests or gradient boosting is a priority. Additionally, while the framework can handle multiple mediators as a "bundle," decomposing effects for individual mediators within a complex system remains a challenge. Finally, despite being more efficient than density-based methods, the computational demands of sequential regression and cross-fitting remain significant for extremely large datasets.

Summary updated

BibTeX
@misc{liu2024general,
  author = {Richard Liu and Nicholas T. Williams and Kara E. Rudolph and Iván Díaz},
  title = {{General targeted machine learning for modern causal mediation analysis}},
  year = {2024},
  eprint = {2408.14620},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.14620},
}
Figure