Standard machine learning excels at finding associations in data that is "independent and identically distributed" (i.i.d.). However, in real-world settings, the i.i.d. assumption is often a fallacy. When environments shift, models relying on spurious correlations—like a cow-recognition model that depends on "green grass"—inevitably fail. Causal Machine Learning (CausalML) addresses this by formalizing the data-generating process to understand why data looks the way it does.
Beyond Pattern Matching: Interventions and SCMs
At the heart of CausalML are Structural Causal Models (SCMs). Unlike standard probabilistic models that only capture correlations, SCMs allow us to reason about interventions (the "do-operator") and counterfactuals.
As shown in the figure above, while multiple Bayesian networks might explain the same observational data (a and b), only a causal model can correctly predict the outcome of an intervention (c), where a variable is forced to a specific value, breaking its natural dependencies.
The Five Pillars of CausalML
This survey taxonomizes the field into five core methodological groups, supported by specialized benchmarks and modality-specific applications.
- Causal Supervised Learning: Focuses on Invariant Feature Learning (IFL). These models identify "causal parents"—features that remain predictive even when the background environment (style) changes.
- Causal Generative Modeling: Enables "controllable generation." By modeling causal structure, systems can edit specific attributes (e.g., age) while automatically updating downstream effects (e.g., wrinkles) in a physically consistent manner.
- Causal Explanations: Moves toward Algorithmic Recourse. Instead of just identifying important features, it provides actionable interventions (e.g., "If you increase your income by $10k, your loan will be approved").
- Causal Fairness: Defines fairness through counterfactuals. A decision is fair if it remains the same in a counterfactual world where a protected attribute (like race) was different, but all other causal factors were held constant.
- Causal Reinforcement Learning (RL): Uses causal diagrams to solve Credit Assignment and prevent Causal Confusion, where an agent might mistake a symptom for a cause.
Key Insights: The Ladder of Causation
The survey emphasizes Judea Pearl’s hierarchy: Seeing (Associations) < Doing (Interventions) < Imagining (Counterfactuals). One cannot answer a higher-level question using only lower-level data without making structural assumptions.
A recurring theme is the decomposition of data into Content (causal variables) and Style (environmental factors). The authors argue that the common practice of shuffling data from different sources into one large training set is actually counterproductive; it destroys the causal signals that allow for robust generalization.
Challenges and the Road Ahead
Despite its promise, CausalML faces significant hurdles:
- Data Scarcity: Ground-truth counterfactuals are unobservable. We can never see what would have happened if a patient hadn't taken a drug they actually took, making evaluation difficult.
- Scaling: Most current methods are limited to "toy" graphs with few nodes. Scaling to the thousands of variables in deep learning remains an open problem.
- Causal Representation Learning: A major frontier is learning how to automatically extract "objects" from raw pixels to serve as nodes in a causal graph.
CausalML is not a "free lunch"—it requires domain knowledge to build initial graphs. However, it offers the most promising path toward models that don't just predict, but truly understand.
Summary updated