Handling Combinatorial Explosion
Causal inference often fails at scale because the number of possible graphs grows combinatorially with the number of variables. Traditional independence tests and search strategies quickly become intractable on real-world, high-dimensional datasets. RootCause is designed to overcome this bottleneck, making causal discovery practical on data sizes that are out of reach for academic or off-the-shelf tools.
Definition & Purpose
Combinatorial explosion occurs when the search space of possible causal structures grows faster than algorithms can handle. The number of variable pairs grows quadratically — 10 variables give 90 possible directed edges, 50 variables give 2,450 — but the real explosion is in graph structures: the number of possible DAGs grows super-exponentially with variable count, so exhaustive search is hopeless beyond a handful of variables.
RootCause addresses this directly, enabling:
Causal discovery on hundreds of variables and millions of rows
Practical execution times on enterprise-scale data
Use of causal methods in enterprise contexts where data is large, messy, and siloed
How It Works
RootCause combines multiple strategies to keep causal discovery tractable:
Ontology Constraints – The search space is restricted by anchoring to entities, times, and locations. This ensures independence tests are applied only where relationships are plausible.
Filter Cascade – A staged cascade of pruning filters, executed in native C++ and Rust kernels, eliminates the vast majority of variable pairs early with cheap statistics, so expensive kernel conditional-independence tests only run on the survivors.
Fast Per-Pair Statistics – Distance correlation for each variable pair is computed in O(n log n) in the number of rows using Fenwick-tree kernels (instead of the naive O(n²)), and wide datasets are processed in tiles. This makes each individual test cheap; the cascade above is what keeps the number of tests manageable.
Learned Shortcuts – A machine-learning edge classifier scores surviving candidates instead of exhaustively enumerating structures; an alternative evolutionary search (CausalACO, ant-colony optimization) is available for focusing on promising graph regions.
Oversight & Reliability
Even with optimization, large-scale causal discovery must remain reliable. RootCause:
Prunes spurious edges through successive statistical and conditional-independence filters
Surfaces uncertain edges for human review before simulations — ambiguous directions remain bidirectional and the graph is flagged as a CPDAG (completed partially directed acyclic graph)
Records a per-edge trace of the pipeline: which filter stage eliminated a pair, or how a surviving edge earned its direction
This combination balances speed with scientific rigor.
Outcomes & Performance
Scalability – Memory needs are estimated before discovery starts, so a run that would blow past the budget is caught up front rather than mid-search.
Enterprise Scale – Designed for domains like finance, healthcare, logistics, and telecom where datasets are wide, deep, and heterogeneous.
Practical Timelines – Models that would be infeasible with standard conditional-independence testing become tractable through the cascade's aggressive early pruning.
Why It Matters
Without addressing combinatorial explosion, causal inference remains an academic exercise. By solving this problem, RootCause makes it possible to:
Apply causal discovery to real-world, enterprise-scale datasets
Generate results fast enough to guide operational decisions
Build a reliable foundation for simulations and digital twins
Last updated

