Abstract
Attributing changes in outcome distributions to specific causal mechanisms is a critical task in fields ranging from economics to business analytics. This paper introduces a multiply-robust framework for causal change attribution. By combining sequential estimation with a safety net against model misspecification, the proposed estimator remains consistent even if several components of the statistical model are incorrectly specified. The method is integrated with Shapley values for fair attribution and validated through both large-scale simulations and an analysis of the gender wage gap.
Introduction
When a company’s sales drop year-over-year or a persistent wage gap is observed between demographics, the immediate challenge is attribution: Why did the distribution shift? Is it due to changes in underlying characteristics (e.g., education levels) or changes in the mechanisms themselves (e.g., how education is rewarded)? Quintas-Martínez et al. address this "change attribution" problem using a novel framework that bridges causal inference and machine learning.
Problem Formulation: Causal Change Attribution
Standard "change attribution" methods often rely on simple decompositions that may mistake correlation for causation. Furthermore, traditional causal inference often focuses on the Average Treatment Effect (ATE), which measures the impact of a treatment variable on an outcome. In contrast, Causal Change Attribution seeks to explain the difference in an outcome's distribution between two distinct groups or time periods (represented by a variable $T$).
As shown in Figure 1, the causal change attribution task involves a group variable $T$ that can influence both the intermediate variables $X$ and the final outcome $Y$. The goal is to quantify how much of the total shift in $Y$ is attributable to the change in the distribution of $X$ versus the change in the functional relationship between $X$ and $Y$.
The Multiply-Robust Framework
The core contribution of this work is the Multiply-Robust (MR) estimator. While "doubly robust" methods are common for simple causal effects, the MR estimator extends this principle to complex, multi-stage causal chains.
For every mechanism in the Directed Acyclic Graph (DAG), the framework estimates two components:
- Nested Regressions: These predict the outcome based on the chain of preceding causes.
- Radon-Nykodim Derivatives (Weights): These calculate the relative probability of specific variable values in one sample versus the other.
The "multiple robustness" property ensures that for each variable in the chain, the final attribution remains accurate as long as either the regression model or the weight function is correctly specified. This provides a vital safety net when using flexible but potentially unstable machine learning models like Neural Networks or Gradient Boosting. To ensure a fair and additive distribution of the total change among all causes, the framework utilizes Shapley values. To overcome the computational burden of Shapley values, the authors introduce a "multiplier bootstrap" method that allows for fast calculation of confidence intervals without retraining models.
Empirical Validation
Simulation Studies
The authors tested the MR estimator using Monte Carlo simulations on graphs with up to 100 explanatory variables. The results demonstrated that even when weight models were intentionally misspecified, the MR estimator maintained a low Mean Absolute Error (MAE) of approximately 0.06. In contrast, estimators relying solely on re-weighting saw their error rates increase significantly under the same conditions.
Analyzing the Gender Wage Gap
The framework was applied to the 2015 Current Population Survey (CPS) dataset, comprising over 32,000 individuals. The analysis aimed to decompose the $7.91/hour unconditional wage gap between men and women. Key findings included:
- Education: Had a positive attribution (+$1.13), suggesting that women's higher average education levels actually help narrow the gap.
- Occupation: Choice of occupation (conditional on education) had a negative effect (-$2.08).
- Residual Mechanism: The largest driver was the "residual" effect (-$6.81), representing the difference in wages that persists even when comparing men and women with identical education and occupation profiles.
Conclusion
The Multiply-Robust Causal Change Attribution framework provides a rigorous, scalable, and resilient method for understanding distributional shifts. By integrating these techniques into the DoWhy library, the authors have made advanced causal attribution accessible to the broader data science community. While the method currently assumes no unobserved confounders, it sets a new standard for robustness in causal analysis. Future research may extend this work to include sensitivity analyses for hidden variables.
Summary updated