Problem
Product teams often ask what would have happened to a particular user had we done something else. Interventional estimates (the average effect of an action) ignore what we already observed about the user. Counterfactual answers use that evidence, but they are not identifiable from data: two causal models can match every observation and every intervention and still give different counterfactuals. With categorical treatments such as many kinds of content, the usual binary-treatment tools do not apply.
Example from the article: given that an artist released a specific track and it was streamed a certain amount, what would have happened had they released a different track?
Solution in brief
Pick the model whose counterfactuals agree with domain knowledge. The authors encode that knowledge as a constraint called Counterfactual Ordering, which is equivalent to monotonicity of the causal mechanisms. They enforce it while training deep twin networks: neural networks shaped like the joint factual and counterfactual graph, so counterfactuals come from ordinary inference.
Questions this case answers
- How to estimate unit-level counterfactual outcomes from observational data when treatment and outcome have several categories and the model must agree with domain knowledge
- How to choose among causal models that fit observations and interventions equally well but give different counterfactual answers
- How to estimate what a specific user would have done under a different treatment when the treatment has more than two categories?
- How to make a learned counterfactual model agree with what domain experts know about the direction of effects?
Tools and methods
- Counterfactual Ordering — a partial-identifiability constraint that removes counterfactual answers that contradict domain knowledge
- Deep twin networks — a neural network whose architecture mirrors the twin-network graph of the causal model, trained to satisfy the constraint
- Twin network inference — estimates counterfactuals by inference on one joint graph instead of abduction, action, prediction
Google or a one-time email code. No password.