Causal-Learn+: Expanded Causal Discovery
- Causal-learn+ is an expanded ecosystem that builds on the core causal-learn library to offer a broad range of causal discovery methods.
- It integrates observational DAG discovery with local learning, Markov blanket analysis, and online intervention-driven and dynamic causal structure estimation.
- The ecosystem also supports robust benchmarking, simulation, and evaluation, paving the way for advanced causal reasoning in complex data settings.
Searching arXiv for papers on causal-learn and closely related causal structure learning toolkits/frameworks. causal-learn+ is a useful umbrella term for a broadened ecosystem around causal-learn, extending from a Python causal discovery library to a wider research-and-tooling landscape that includes structure learning from observational data, Markov blanket and local discovery, intervention-driven online causal learning, causal representation learning, dynamic causal graph estimation, and benchmark-oriented evaluation frameworks. In the narrowest sense, the closest canonical referent is causal-learn, an open-source Python library for causal discovery from observational data (Zheng et al., 2023). In a broader encyclopedia sense, the term also naturally covers adjacent “plus” capabilities emphasized by related systems such as Causal Learner, which adds simulation, benchmark Bayesian networks, local causal structure learning, and Markov blanket learning (Ling et al., 2021), as well as research directions that push beyond static observational DAG discovery into interventions, sequential interaction, high-dimensional observations, relational data, and time-varying causal structure (Gonzalez-Soto et al., 2020).
1. Definition and scope
In its most direct sense, causal-learn is an open-source Python library for causal discovery whose stated goal is to provide a comprehensive collection of causal discovery methods in a native Python ecosystem (Zheng et al., 2023). It is designed simultaneously for practitioners, researchers, developers, and learners, and it emphasizes easy-to-use APIs, modular functionality, detailed documentation, and broad method coverage (Zheng et al., 2023). The library is available at https://github.com/py-why/causal-learn, and the paper gives the installation command pip install causal-learn (Zheng et al., 2023).
The “plus” in causal-learn+ is best understood as a wider functional envelope rather than a formally named package. The most explicit nearby precedent is Causal Learner, described as an open-source toolbox for learning causal structure and Markov blankets (MBs) from data, with support for simulated Bayesian network data generation, global causal structure learning, local causal structure learning, Markov blanket learning, and algorithm evaluation (Ling et al., 2021). This broader packaging makes it a natural point of comparison for anyone seeking not only causal graph learning, but also benchmarking, simulation, local discovery, and evaluation support (Ling et al., 2021).
A plausible implication is that causal-learn+ denotes an ecosystemic concept: a causal discovery platform plus surrounding capabilities for benchmarking, extensibility, intervention-aware learning, graph utilities, and specialized settings such as time series, latent variables, or high-dimensional perceptual observations. That broader interpretation is consistent with how the underlying literature separates core DAG discovery software from adjacent research frameworks for causal learning under richer assumptions and data modalities (Zheng et al., 2023, Gonzalez-Soto et al., 2020).
2. Core software substrate: causal-learn in Python
causal-learn is positioned as a Python-native alternative to prior ecosystems centered on Java or R, such as TETRAD, pcalg, and bnlearn, and also as distinct from Python wrappers that still depend on Java or R backends (Zheng et al., 2023). Its main architectural claim is that it is fully developed in Python, which the paper presents as important for deployment, modification, extension, and integration into Python workflows (Zheng et al., 2023).
The library organizes causal discovery around several major method families. These include constraint-based methods, score-based methods, functional causal model (FCM)-based methods, hidden-variable methods, and time-series statistical analysis (Zheng et al., 2023). It also exposes modular components for (conditional) independence tests, score functions, graph operations, and evaluation metrics, which makes it usable not only as a set of end-user algorithms but also as a development substrate for new methods (Zheng et al., 2023).
The paper identifies the following graph objects as central to the library’s graph layer: DAGs, CPDAGs, PDAGs, PAGs, and Markov Equivalence Class (MEC) (Zheng et al., 2023). This matters because different discovery procedures target different equivalence classes or graph types, and the graph utility module supports transformations among several of these representations (Zheng et al., 2023).
The API style is intentionally minimal. The paper’s example is:
4
This example shows that algorithms are callable as Python functions, default parameters are available, and the returned graph object exposes a visualization method (Zheng et al., 2023). The paper also provides explicit locations for examples and documentation: usage examples live under the repository’s tests directory, and documentation is hosted at https://causal-learn.readthedocs.io/en/latest/ (Zheng et al., 2023).
3. Methodological coverage
The scope of causal-learn is broad by the standards of causal discovery software. Among constraint-based methods, the paper lists PC, Missing-Value PC (MV-PC), FCI, and CD-NOD (Zheng et al., 2023). PC is presented as a classical method under causal sufficiency, with output as a Completed Partially Directed Acyclic Graph (CPDAG), and support for different conditional independence tests depending on data type, including Fisher-Z, Chi/G-squared, and KCI (Zheng et al., 2023). FCI is presented as the method for settings with hidden confounders, while CD-NOD extends discovery to nonstationary or heterogeneous observational data (Zheng et al., 2023).
Among score-based methods, the library includes GES, A* exact search, Dynamic Programming exact search, and GRaSP (Zheng et al., 2023). The paper describes score functions including BIC for linear Gaussian data, BDeu for discrete data, and Generalized Score for more flexible nonparametric cases (Zheng et al., 2023). This coverage gives the library both equivalence-class search methods and exact or permutation-based sparse DAG search methods (Zheng et al., 2023).
Among FCM-based methods, the library includes LiNGAM, DirectLiNGAM, VAR-LiNGAM, RCD, CAM-UV, ANM, and PNL (Zheng et al., 2023). The paper emphasizes that these methods can produce unique causal directions under stronger assumptions such as non-Gaussianity or additive-noise structure, in contrast to constraint-based and score-based methods that often recover equivalence classes rather than unique DAGs (Zheng et al., 2023).
The library also includes GIN for hidden causal variables in linear non-Gaussian latent variable models, and Granger causality as a time-series statistical analysis tool, with the caution that “Granger causality is not necessarily true causality” unless additional assumptions hold (Zheng et al., 2023). Supporting modules include Fisher-Z, Missing-value Fisher-Z, Chi-Square, G-Square, and KCI tests, as well as evaluation metrics including precision for arrow directions or adjacency matrices, recall for arrow directions or adjacency matrices, and Structural Hamming Distance (Zheng et al., 2023).
A notable comparison point is Causal Learner, whose algorithm layer is described as containing 7 global causal structure learning algorithms, 4 local causal structure learning algorithms, and 15 Markov blanket learning algorithms (Ling et al., 2021). The global algorithms mentioned are SCA, PC, TPDA, GES, GSBN, MMHC, PC-stable, F2SL-c, and F2SL-s; the local algorithms are PCD-by-PCD, MB-by-MB, CMB, and LCS-FS; and the MB algorithms are GS, IAMB, interIAMB, IAMBnPC, interIAMBnPC, Fast-IAMB, FBED, MMMB, HITON-MB, PCMB, IPCMB, MBOR, STMB, BAMB, and EEMB (Ling et al., 2021). This broader local/MB coverage is one of the clearest “plus-like” differentiators in the surrounding toolbox landscape (Ling et al., 2021).
4. Benchmarking, simulation, and evaluation layers
A central distinction between a core discovery library and a “plus” ecosystem is whether it includes a full experimental workflow. Causal Learner is especially explicit on this point. It adopts a three-layer architecture: a data layer, an algorithm layer, and an evaluation layer (Ling et al., 2021). The data layer generates discrete and continuous data from benchmark Bayesian networks; the algorithm layer implements global, local, and MB learners; and the evaluation layer provides 10 accuracy metrics and 2 efficiency metrics (Ling et al., 2021).
The benchmark-network inventory in Causal Learner is extensive. For discrete Bayesian networks it includes CANCER, EARTHQUAKE, SURVEY, ASIA, SACHS, CHILD, INSURANCE, WATER, MILDEW, ALARM, BARLEY, HAILFINDER, HEPAR II, WIN95PTS, PATHFINDER, ANDES, DIABETES, PIGS, LINK, and MUNIN (4 subnetworks), with node counts ranging from 5 to 1041 (Ling et al., 2021). For continuous Bayesian networks it includes SANGIOVESE, MEHRA, MAGIC-NIAB, ECOLI70, MAGIC-IRRI, and ARTH150 (Ling et al., 2021). The paper stresses that generated data can be output as text, which improves usability relative to bnlearn-generated objects stored in R classes (Ling et al., 2021).
By contrast, causal-learn includes “a collection of well-tested benchmark datasets” and evaluation metrics, but the paper does not enumerate dataset names in the excerpt and does not present runtime or scalability benchmarks (Zheng et al., 2023). This asymmetry suggests that when causal-learn+ is interpreted as a research testbed rather than only a method library, the closest documented “plus” pattern in the literature is the benchmark-oriented architecture exemplified by Causal Learner (Ling et al., 2021).
5. Extensions beyond static observational DAG discovery
The surrounding literature broadens the notion of causal learning in several directions that are not native to a standard observational-only Python library.
A first extension is online causal structure learning with interventions. The paper “Causal Structure Learning: a Bayesian approach based on random graphs” proposes a lightweight intervention-driven framework in which an agent repeatedly acts on an environment, observes full outcomes, and updates edge-level beliefs about whether exists (Gonzalez-Soto et al., 2020). The graph is treated as a random variable whose edges are sampled according to these probabilities, and beliefs are updated through a Bayes-like multiplicative rule after each intervention (Gonzalez-Soto et al., 2020). This is not a standard constraint-based or score-based passive discovery algorithm, and the paper is explicit that it uses random or -greedy interventions rather than a formal information-theoretic intervention-design criterion (Gonzalez-Soto et al., 2020). A plausible implication is that causal-learn+ can encompass sequential, interaction-based structure learning where graph uncertainty is updated online rather than searched in batch.
A second extension is causal reinforcement learning. “Learning by Doing: An Online Causal Reinforcement Learning Framework with Causal-Aware Policy” formulates an MDP whose state space is factored into semantically meaningful variables and interprets actions as interventions on those state variables (Cai et al., 2024). The framework alternates between intervention-based graph updating—using estimated average treatment effects to orient ancestry and score-based pruning to refine direct edges—and policy learning under a graph-derived action mask (Cai et al., 2024). The paper proves performance bounds linking graph-mask quality to policy quality and reports strong structure-learning improvement from online interventions in a simulated fault alarm environment, with structure F1 improving from THP initialization to for Causal PPO, and from random initialization to (Cai et al., 2024). This direction pushes “causal-learn+” toward active control settings in which discovery and decision-making are tightly coupled.
A third extension is dynamic causal structure discovery. “Dynamic Causal Structure Discovery and Causal Effect Estimation” models time-varying contemporaneous adjacency matrices and optional lagged matrices , using basis expansions such as
to capture smoothly varying edge strengths over time (Wang et al., 11 Jan 2025). This yields a dynamic LSEM or dynamic SVAR framework with a smooth acyclicity constraint and a closed-form time-varying causal effect formula (Wang et al., 11 Jan 2025). This is a concrete example of how the “plus” layer extends causal graph learning from static DAGs to nonstationary time-series with both contemporaneous and lagged effects.
A fourth extension is causal representation learning from high-dimensional observations. iCITRIS, introduced in “Causal Representation Learning for Instantaneous and Temporal Effects in Interactive Systems,” addresses the case where latent causal variables are observed only through images or videos and where some causal effects appear instantaneous at the measurement rate (Lippe et al., 2022). The method jointly learns latent causal variables and an instantaneous-plus-temporal graph, using observed intervention targets and differentiable causal discovery within the latent prior (Lippe et al., 2022). This extends causal learning beyond tabular variables and into interactive perceptual systems.
6. Specialized settings and “plus” research frontiers
Several additional literatures illuminate what a comprehensive causal-learn+ conception would need to cover.
One frontier is Markov blanket and local causal structure learning. Causal Learner explicitly distinguishes global causal structure learning—learning an entire DAG—from local causal structure learning, which learns the parents and children of a target variable, and Markov blanket learning, which learns the parents, children, and spouses of a target (Ling et al., 2021). The paper emphasizes that MB learning is important not only for causal analysis but also for feature selection, since the MB of a class variable is described as an optimal feature set for classification (Ling et al., 2021). This target-centered perspective is largely absent from standard global-graph narratives but is central to many practical workflows.
A second frontier is relational and multi-table causality. “Causal Relational Learning” introduces CaRL, a declarative Datalog-like language for specifying relational causal background knowledge and causal queries over multi-entity, multi-relation data (Salimi et al., 2020). The framework addresses settings in which treatment and outcome can lie on different entity types, where confounding may require joins across tables, and where relational spillovers violate standard no-interference assumptions (Salimi et al., 2020). Rather than learning a graph from a single flat table, it grounds a relational causal graph and compiles query-specific unit tables for standard adjustment (Salimi et al., 2020). This suggests that a true “plus” system would need to move beyond single-matrix inputs.
A third frontier is cyclic and feedback structure. “Cycles in Causal Learning” proves that, for specific self-referential cyclic factorizations such as
0
the resulting joint distribution also factorizes as 1, so the variables are independent (Everett et al., 2020). More generally, the paper shows that an 2-variable cyclic factorization has zero multivariate mutual information and also factorizes as though the cycle were reversed (Everett et al., 2020). The result is a sharp warning that methods based on mutual information, conditional independence, or heuristics inspired by independent causal mechanisms may fail to detect cyclic causal dependence (Everett et al., 2020). Since mainstream toolkits like causal-learn are DAG-oriented, this literature marks an important limitation of standard causal discovery assumptions.
A fourth frontier is weaker-faithfulness and conservative discovery. The thesis “Nonlinearity, Feedback and Uniform Consistency in Causal Structural Learning” develops a generalized 3-Triangle Faithfulness condition for nonparametric families and studies uniform consistency of a modified conservative constraint-based algorithm under weaker assumptions than standard strong faithfulness (Wang, 2023). It also explores latent-variable learning via rank constraints and GIN conditions in settings with some feedback and nonlinearity (Wang, 2023). A plausible implication is that “causal-learn+” should include not only more methods but also more explicit handling of ambiguity, near-unfaithfulness, and partial output rather than always forcing a decisive graph.
A fifth frontier is causal overhypothesis learning and benchmark design. “Towards Understanding How Machines Can Learn Causal Overhypotheses” adapts the blicket detector paradigm into a benchmark for testing whether agents learn and transfer abstract causal schemas such as conjunctive versus disjunctive rules (Kosoy et al., 2022). The paper shows that deep RL solves seen tasks largely by memorization, tabular Q-learning solves the tiny space without generalization, Decision Transformer performance depends critically on forced exploration, and LLMs show partial schema recognition but poor object-level precision (Kosoy et al., 2022). This benchmark-oriented direction matters because standard discovery libraries typically evaluate graph recovery, not abstraction, transfer, or active exploratory competence.
7. Conceptual significance and limitations
Across these strands, the most stable meaning of causal-learn+ is not a single codebase but a broadened causal learning paradigm that combines software modularity, graph learning, evaluation infrastructure, and extensions to richer data-generating regimes. At its core, causal-learn provides a Python-native library with representative methods across the major observational causal discovery families, graph utilities, and modular reusable components (Zheng et al., 2023). Around that core, related work demonstrates how a “plus” ecosystem can include benchmark Bayesian-network simulation and MB learning (Ling et al., 2021), online intervention-driven structure updating (Gonzalez-Soto et al., 2020), graph-aware policy learning (Cai et al., 2024), latent-variable and high-dimensional observation models (Lippe et al., 2022), relational causal reasoning (Salimi et al., 2020), and dynamic time-varying graph estimation (Wang et al., 11 Jan 2025).
At the same time, the literature is equally clear about limitations. causal-learn is primarily a library for observational data, and many of its methods rely on assumptions such as causal sufficiency, faithfulness, acyclicity, or structural model class restrictions (Zheng et al., 2023). Causal Learner explicitly notes that future extensions should include algorithms “without causal sufficiency or faithfulness assumptions,” which implies that the current version is largely oriented toward methods that do assume them (Ling et al., 2021). The intervention-driven random-graph learner is Bayesian only in an informal sense and lacks a coherent posterior over DAGs or exact intervention-selection theory (Gonzalez-Soto et al., 2020). Online causal RL frameworks often rely on unusually strong assumptions, such as alignment between action space and state variables or direct intervention semantics over state components (Cai et al., 2024). Dynamic graph methods introduce smoothness assumptions via basis approximations and do not provide full estimator asymptotics (Wang et al., 11 Jan 2025). Cyclic settings expose a more fundamental limitation: observational dependence can fail to reveal feedback structure at all (Everett et al., 2020).
A common misconception is that a causal discovery library can serve as a fully automatic engine that converts correlations into causal truth. The broader research record does not support that interpretation. Several of the surrounding papers underscore that success depends on assumptions, structural restrictions, intervention access, benchmark construction, or domain-specific prior knowledge (Gonzalez-Soto et al., 2020, Salimi et al., 2020, Wang, 2023). In this sense, causal-learn+ is best understood not as a claim of complete automation, but as a layered methodological stack: core graph-learning algorithms, reusable statistical modules, benchmark and simulation support, and specialized frameworks for settings where static observational DAG discovery is inadequate.
8. Historical and comparative context
The software and research landscape reflected in these papers shows a transition from classical causal discovery packages toward broader, more integrated ecosystems. Causal Learner is written partly in R for data generation and partly in MATLAB for algorithms and evaluation (Ling et al., 2021). causal-learn distinguishes itself by being fully implemented in Python, with no Java or R dependency (Zheng et al., 2023). This makes it more aligned with contemporary machine learning workflows and easier to embed in Python pipelines (Zheng et al., 2023).
Methodologically, the field has also broadened from classical observational-only DAG discovery toward online interaction, representation learning, and decision-oriented causal modeling. The random-graph Bayesian learner explicitly uses interventions because “observations alone do not uniquely identify a directed graph” (Gonzalez-Soto et al., 2020). iCITRIS shows that causal variable identification from images becomes entangled with graph discovery when instantaneous effects are present, and resolves this only by using observed intervention targets and partially-perfect interventions (Lippe et al., 2022). Dynamic structure discovery addresses time-varying policy effects and changing mechanisms (Wang et al., 11 Jan 2025). Causal RL closes the loop between acting, discovering, and exploiting causal structure (Cai et al., 2024). These developments indicate that the “plus” in causal-learn+ refers not merely to more algorithms, but to a shift from static batch discovery toward richer causal learning systems.
9. Outlook
The literature suggests several durable directions for the continuing expansion of causal-learn+. One direction is more complete support for local discovery, Markov blankets, and integrated benchmarking in Python-native ecosystems, paralleling what Causal Learner assembled in MATLAB/R (Ling et al., 2021). Another is stronger support for interventional and online workflows, where graph updates are driven by sequential interaction rather than passive datasets (Gonzalez-Soto et al., 2020, Cai et al., 2024). A third is handling nonstationarity, relational schemas, high-dimensional sensory inputs, and latent variables as first-class settings rather than peripheral special cases (Salimi et al., 2020, Lippe et al., 2022, Wang et al., 11 Jan 2025). A fourth is more explicit treatment of ambiguity, near-unfaithfulness, and feedback, where conservative or partial outputs may be more scientifically appropriate than a single definitive DAG (Wang, 2023, Everett et al., 2020).
Taken together, these works define causal-learn+ as an emerging encyclopedic category: a Python-centered causal discovery foundation anchored by causal-learn (Zheng et al., 2023), expanded by benchmark and MB/local-discovery toolboxes such as Causal Learner (Ling et al., 2021), and conceptually extended by intervention-driven, representation-level, relational, dynamic, and decision-theoretic causal learning frameworks (Gonzalez-Soto et al., 2020, Lippe et al., 2022, Cai et al., 2024, Wang et al., 11 Jan 2025).