stat.MENov 19, 2026

On the trajectories of the ID algorithm

Authors: Ivano Lodato, Simran Hiranandani, Aditya Varna Iyer

Organizations: Allos AI Limited, Hatton Garden, London, EC1 N8LE, UK · Clarendon Laboratory, Department of Physics, University of Oxford, Oxford OX1 3PU, UK

Abstract

The ID algorithm decides whether an interventional distribution can be computed from observational data and, when it can, returns a formula in which products, ratios and summations of conditional probabilities are nested inside one another. We study these formulas by following the trajectories of the calls of the algorithm, each of which ends with a tail (an alternation of lines 7 and 2) and an exit, and we derive two main results. First, line~4 and the exit lines fix the single outer summation of the output, while the tail forms everything inside it, both the inner summations and the ratios. Second, a ratio keeps a summation in its denominator only when a repetition of the tail is entangled, and a test of ancestry in the original graph decides, before any formula is computed, whether a topological order can be chosen so as to avoid it. We also derive a bound on the nesting depth of the output, and show a simple ``dimensional'' count that every output has to satisfy. Together, these results constrain the form of an ID output and guide its implementation and simplification.

Figures & tables

Explore similar work

CardsList
  1. Unveiling the Structure of Do-Calculus Reasoning via Derivation Graphs

    Jun 2, 2026Clément Yvernes, Emilie Devijver, Marianne Clausel +1Causal Effect EstimationCausal Identifiability

  2. Verifying formulas for interventional distributions

    Jul 15, 2026Francesco Freni, Leonard Henckel, Sebastian WeichwaldStructural Causal ModelsCausal Identifiability

  3. I-FLOP: Fast Learning of Order and Parents from Interventional Data

    Aug 28, 2026Liuting Chen, Alex MarkhamCausal DiscoveryCausal Structure Learning