Abstract
This paper serves as a starting point for machine learning researchers, engineers and students who are interested in but not yet familiar with causal inference. We start by laying out an important set of assumptions that are collectively needed for causal identification, such as exchangeability, positivity, consistency and the absence of interference. From these assumptions, we build out a set of important causal inference techniques, which we do so by categorizing them into two buckets; active and passive approaches. We describe and discuss randomized controlled trials and bandit-based approaches from the active category. We then describe classical approaches, such as matching and inverse probability weighting, in the passive category, followed by more recent deep learning based algorithms. By finishing the paper with some of the missing aspects of causal inference from this paper, such as collider biases, we expect this paper to provide readers with a diverse set of starting points for further reading and research in causal inference and discovery.
Introduction: The Challenge of Counterfactuals
The fundamental challenge of causal inference is the inability to observe the "counterfactual." In a medical context, if a patient receives a specific treatment, we observe the outcome; however, we can never simultaneously observe what would have occurred had that same patient not received the treatment. Standard machine learning excels at identifying correlations—such as the link between carrying lighters and lung cancer—but often fails to distinguish these from true causation, where a common confounder (smoking) drives both variables.
To move from passive observation to active intervention, researchers must define rigorous assumptions, including exchangeability and positivity. These allow us to answer "what if" questions critical to fields like medicine and marketing.
A Taxonomy of Causal Inference Methods
The landscape of causal inference is broadly organized into two categories based on how data is collected and processed:
Active Causal Inference
These methods involve direct intervention in a system to gather data.
- Randomized Controlled Trials (RCTs): Considered the gold standard, RCTs assign actions randomly to eliminate confounding bias.
- Contextual Bandits: A more efficient alternative that balances exploration (learning new effects) with exploitation (maximizing rewards). Techniques like Causal Thompson Sampling help correct for unobserved confounders during the learning process.
Passive Causal Inference
Passive methods estimate causal effects from pre-existing, non-randomized observational datasets.
- Classical Estimators: These include Matching (pairing similar units), Inverse Probability Weighting (IPW) using propensity scores, and Doubly Robust methods, which provide unbiased estimates if either the propensity or outcome model is correctly specified.
- Deep Representation Learning: Modern approaches like Counterfactual Regression (CFR) use neural networks to learn balanced feature representations across treatment groups. Causal Effect VAEs (CEVAE) further utilize latent variables to model hidden confounders.
Key Insights and Theoretical Bridges
A major contribution of this work is the synthesis of Donald Rubin’s Potential Outcomes framework with Judea Pearl’s Structural Causal Models (do-calculus). Key theoretical pillars include:
- Propensity as Compression: The Propensity Score Theorem proves that a one-dimensional score (the probability of treatment) can effectively compress high-dimensional confounders to remove bias.
- Representation Balancing: In deep learning, forcing "treated" and "control" feature distributions to appear identical via Integral Probability Metrics prevents models from overfitting to group-specific characteristics, thereby improving counterfactual accuracy.
- Covariate Shift Solutions: The Uniform Treatment VAE (UTVAE) employs importance weighting to address discrepancies between training and inference data distributions.
Discussion and Future Frontiers
While classical methods like matching struggle with the "curse of dimensionality," deep representation learning enables causal inference on complex data like medical images. Furthermore, while RCTs are unbiased, bandit-based active learning can achieve causal identification while significantly reducing "regret" (the cost of sub-optimal actions).
However, several challenges remain. The current framework primarily addresses confounders but does not yet fully incorporate collider bias (spurious correlations created by conditioning on variables caused by both treatment and outcome). Additionally, most methods assume stationary distributions, whereas real-world causal relationships often shift over time. Future research lies at the intersection of causal inference and full Reinforcement Learning, moving beyond the limitations of bandit models.
Summary updated