cs.LGMar 18, 2026

Cohomological Obstructions to Global Counterfactuals: A Sheaf-Theoretic Foundation for Generative Causal Models

Authors: Rui Wu, Hong Xie, Yongjun Li

Organizations: School of Management, University of Science and Technology of China · School of Computer Science and Engineering, University of Science and Technology of China

Abstract

Current continuous generative models (e.g., Diffusion Models, Flow Matching) implicitly assume that locally consistent causal mechanisms naturally yield globally coherent counterfactuals. In this paper, we prove that this assumption fails fundamentally when the causal graph exhibits non-trivial homology (e.g., structural conflicts or hidden confounders). We formalize structural causal models as cellular sheaves over Wasserstein spaces, providing a strict algebraic topological definition of cohomological obstructions in measure spaces. To ensure computational tractability and avoid deterministic singularities (which we define as manifold tearing), we introduce entropic regularization and derive the Entropic Wasserstein Causal Sheaf Laplacian, a novel system of coupled non-linear Fokker-Planck equations. Crucially, we prove an entropic pullback lemma for the first variation of pushforward measures. By integrating this with the Implicit Function Theorem (IFT) on Sinkhorn optimality conditions, we establish a direct algorithmic bridge to automatic differentiation (VJP), achieving O(1)-memory reverse-mode gradients strictly independent of the iteration horizon. Empirically, our framework successfully leverages thermodynamic noise to navigate topological barriers ("entropic tunneling") in high-dimensional scRNA-seq counterfactuals. Finally, we invert this theoretical framework to introduce the Topological Causal Score, demonstrating that our Sheaf Laplacian acts as a highly sensitive algebraic detector for topology-aware causal discovery.

Figures & tables

Explore similar work

CardsList
  1. The Causal Uncertainty Principle: Manifold Tearing and the Topological Limits of Counterfactual Interventions

    Mar 18, 2026Rui Wu, Hong Xie, Yongjun LiCausal InterventionCausal Inference

  2. Counterfactual Generation via Flow Matching: Coupling-Sensitive End-to-End Rates

    Oct 1, 2026Yunrui Guan, Krishnakumar Balasubramanian, Shiva Prasad KasiviswanathanFlow MatchingCausal Counterfactual Generation

  3. Leveraging Foundation Models for Causal Generative Modeling

    May 22, 2026Aneesh Komanduri, Xintao WuCausal Counterfactual GenerationImage Generation