# Transporting the Past: An Optimal Transport View of Backtracking Counterfactuals

DevFeed: [Transporting the Past: An Optimal Transport View of Backtracking Counterfactuals](<https://devfeed.tech/articles/transporting-the-past-an-optimal-transport-view-of-backtracking-counterfactuals-123291.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.08682>)

Author: Zhangyi Liu, Pouria Fatemi, Suvrit Sra

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [causality](<https://devfeed.tech/topics/causality.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [inference](<https://devfeed.tech/tags/inference.md>), [optimal-transport](<https://devfeed.tech/tags/optimal-transport.md>), [projection](<https://devfeed.tech/tags/projection.md>), [scm](<https://devfeed.tech/tags/scm.md>)

## AI overview

For backtracking counterfactual inference in Structural Causal Models, a factual observation typically leaves a posterior distribution over exogenous variables, so the counterfactual problem is distributional. The paper proposes two ways to transport that posterior onto configurations satisfying a counterfactual query: a pointwise projection, usable directly as a transported distribution, and a framework that preserves mutual independence so the variables remain interpretable as the SCM's exogenous noises. Both are reported consistent with the backtracking counterfactual principle. For finite posteriors, the authors propose marginal, penalty-based, and hard-constrained solvers. Synthetic experiments on non-bijective SCMs illustrate trade-offs among transport cost, constraint satisfaction, and exogenous independence.

## Source excerpt

arXiv:2611.08682v1 Announce Type: cross Abstract: We study backtracking counterfactual inference for Structural Causal Models (SCMs) through the lens of optimal transport. In SCMs, a factual observation generally induces a posterior distribution over exogenous variables, making counterfactual inference inherently distributional. We introduce two complementary frameworks that transport this posterior onto the set of exogenous configurations satisfying a desired counterfactual query. The first constructs a natural pointwise projection and is suitable when the transported exogenous distribution can be used directly. The second enforces mutual independence among counterfactual exogenous variables, so that the transported variables remain interpretable as genuine exogenous noises of the same SCM. We show that both frameworks are consistent with the original backtracking counterfactual principle, and we propose marginal, penalty-based, and hard-constrained solvers for finite-posterior settings. Synthetic experiments on non-bijective SCMs illustrate the geometry of the problem and reveal trade-offs among transport cost, counterfactual constraint satisfaction, and preservation of exogenous independence.