# On the trajectories of the ID algorithm

arXiv: https://arxiv.org/abs/2611.25877 · HTML: https://mlsanity.com/paper/2611.25877/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 3 of its 12 references that are in the map.
- Submitted 19 Nov 2026, announced 20 Nov 2026.

## Builds on (most cited first, 3 of 3)

- [Identifying Causal Effects with the R Package causaleffect](https://mlsanity.com/paper/1806.07161/) (2018)
- [Simplifying Probabilistic Expressions in Causal Inference](https://mlsanity.com/paper/1806.07082/) (2018)
- [Algorithmic Causal Effect Identification with causaleffect](https://mlsanity.com/paper/2107.04632/) (2021)

## Abstract (arXiv)

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.
