xWhy: Causal Interactive Learning

Nicholas Tagliapietra, Florian Peter Busch, Moritz Willig, Matej Zečević, Lavdim Halilaj, Juergen Luettin, Kristian KerstingNeurIPS 2026

TL;DR

In AI, we usually build causal models to generate explanations, ignoring the fact that humans actually use explanations to discover how the world works. This paper flips the script with xWhyL, a framework that translates high-level human explanations into mathematical learning signals to uncover true causal graphs. Even better, it handles flawed human intuition gracefully—winning a "Causal Tug-of-War" by filtering out bad expert advice using raw observational data.

What Problem Does This Paper Address?

Discovering cause-and-effect purely from observational data hits a famous brick wall: you often end up with a set of equally plausible causal graphs that are statistically indistinguishable, known as a Markov Equivalence Class (MEC). Essentially, correlation alone cannot tell you whether $A$ causes $B$ or $B$ causes $A$.

Traditionally, if you want a human expert to break these ties, they are forced to input rigid, microscopic graph constraints—like manually dictating whether a direct edge exists between two specific variables. That isn't how humans think. Doctors and engineers naturally reason in macroscopic explanations ("doubling the dosage drops blood pressure," or "this cluster of symptoms stems from that group of conditions"). Meanwhile, Explainable AI (XAI) treats explanations merely as diagnostic readouts rather than active teaching signals. The authors ask: How can we mathematically translate natural, high-level human explanations to teach machines true causality—even when the human expert is occasionally wrong?

Methods

The authors introduce two main contributions: a theoretical framework (xWhyL) and a practical, interactive algorithm (Causal Interactive Learning, or CIL).

  • Explanatory Equivalence Class (EEC): Just as observational data narrows models down to an MEC, a set of explanations narrows models down to an EEC—the pool of Structural Causal Models (SCMs) that satisfy the expert's claims. Finding the true causal model becomes a search for the intersection of the MEC and the EEC.
  • The xWhyL Score: Because global explanations (like indirect pathways across a network) can't easily be broken down into local node-by-node checks for traditional discrete algorithms, the authors relax hard logical rules into smooth, differentiable penalty functions. The model minimizes a combined score: standard observational data fit plus a weighted penalty ($\lambda$) for violating explanations.
  • Causal Interactive Learning (CIL): Built on top of a differentiable structure learner (DAGMA-NLL), CIL operates in two phases:
  • Warm-start: Train purely on observational data.
  • Interactive Fine-Tuning: Over several rounds, an expert critiques the learned graph and provides high-level explanations—specifically Total Effect ("Variable X directly or indirectly influences Y") or Cluster-Level ("Group A influences Group B") feedback—to refine the graph.

Datasets

  • Synthetic Erdős–Rényi (ER) Graphs: Random causal graphs of varying densities (ER1, ER2, ER3) across 10 to 200 variables, using both linear Gaussian and nonlinear MLP causal mechanisms. Crucially, the authors standardized variables to zero mean and unit variance to prevent gradient-based algorithms from "cheating" via marginal variance patterns (the notorious varsortability shortcut).
  • Neuropathic Pain Benchmark: A realistic medical dataset organized into three sequential biological layers (Pathophysiologies $\rightarrow$ Patterns $\rightarrow$ Injuries), used to test coarse, cluster-level explanations. No new datasets were introduced.

Key Insights and Ideas

  • Structural Amplification: Combining data and explanations yields more than the sum of its parts. Telling a model that $X_1$ indirectly causes $X_3$ doesn't just orient edges between them; to avoid creating invalid "v-structures" that would contradict the observational data, a domino effect of edge orientations cascades across the rest of the graph.
  • Topological Incompatibility: In finite-data regimes where empirical estimates are noisy, accumulating explanations eventually makes it mathematically impossible for a wrong graph structure to fit both the data and the explanations, forcing the optimizer to revise the graph's topology.
  • Winning the "Causal Tug-of-War": What if the expert holds biased beliefs? The authors prove there is a "Goldilocks" regularization interval for $\lambda$. Inside this sweet spot, the penalty is strong enough to break observational symmetries using good advice, yet weak enough that growing observational data overpowers and rejects explanations that contradict reality. This turns the AI into an active "debate partner" that flags anomalies in the expert's mental model.

Key Results

  • Better Causal Graphs: Across synthetic nonlinear benchmarks with accurate experts, 5 rounds of CIL (at most 25 pairwise statements) improved Structural Hamming Distance (SHD—lower is better) by 5% to 10% on average over the strongest purely observational baselines.
  • Macroscopic Power: On the Neuropathic Pain dataset, injecting just four high-level cluster explanations in a single round reduced SHD by 30 points compared to the data-only baseline, resolving dozens of local edge ambiguities at once without requiring fine-grained edge knowledge.
  • Noise Resilience: When tested with flawed experts, CIL rejected roughly 70% of incorrect explanations. Experts with up to a 10% error rate achieved near-oracle performance, and experts wrong 20%–50% of the time still beat the data-only baseline. Even a 100% adversarial expert hit a safe noise floor, failing to degrade the model below its observational starting point.

Limitations and Future Work

  • Non-Convexity: Because differentiable causal discovery relies on non-convex optimization, the model can get stuck in local minima before reaching the theoretical global optimum, motivating better optimization strategies.
  • Unfalsifiable Bad Advice: If an expert provides an incorrect explanation that happens to be statistically compatible with the true observational distribution (i.e., it lies inside the true MEC), observational data alone can never reject it.
  • Future Directions: The authors plan to scale xWhyL to modern architectures like Causal-JEPA, explore what standard non-causal models can glean from causal explanations, and apply explanatory learning to causal transportability (transferring causal knowledge across different environments).

Summary updated

Abstract

Explanations are central to causal reasoning, and cognitive science has long established that the human drive to explain is itself a mechanism for learning about causality. Despite this, learning from those abductive signals is largely ignored in artificial intelligence. While explainable AI (XAI) increasingly draws on causal models to generate explanations, the converse direction about *what explanations can do for causality* remains largely unexplored. To fill this gap, we propose xWhyL, a formal framework connecting causality and XAI by learning causal models from explanations. We develop a mathematical theory that translates explanations into a learning signal complementary to observational data, and demonstrate how it enables overcoming the limits of observational causal discovery. As explanations can be derived from incorrect beliefs and clash with data, a tension we call the *Causal Tug-of-War*, we prove conditions under which our framework rejects misspecified explanations rather than absorbing them. Our practical instantiation, *Causal Interactive Learning* (CIL), shows how expert explanations can efficiently support causal discovery and distinguish correct from incorrect explanations.
BibTeX
@inproceedings{tagliapietra2026xwhy,
  author = {Nicholas Tagliapietra and Florian Peter Busch and Moritz Willig and Matej Zečević and Lavdim Halilaj and Juergen Luettin and Kristian Kersting},
  title = {{xWhy: Causal Interactive Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nl4FBxtsew},
}
Figure