AIWiki
Malaysia
Back to all articles
AI Foundationscausal-aicausalitycausal-inference

Causal AI

6 min readUpdated June 2026
Causal AI
Type
AI reasoning paradigm
Key figures
Judea Pearl, Bernhard Scholkopf
Core framework
Structural causal models, do-calculus
Distinguishes from
Correlation-based machine learning
Related
Explainable AI, causal inference, Bayesian networks

Causal AI refers to artificial intelligence systems that incorporate principles of causal reasoning — the ability to represent, infer, and reason about cause-and-effect relationships — rather than relying solely on statistical correlations in observed data. While conventional machine learning models learn associations between variables and use those associations to make predictions, causal AI systems aim to distinguish genuine causes from spurious correlations, enabling them to predict the outcomes of interventions and reason about counterfactual scenarios: what would have happened under different circumstances.

The Limitation of Correlation-Based Learning

A central challenge in conventional supervised machine learning is that models trained to maximise predictive accuracy on observed data learn to exploit any statistical regularity, including correlations that arise from confounding variables rather than genuine causal mechanisms. Such correlations can lead to unreliable predictions when the data distribution shifts, when interventions are applied, or when the system is deployed in a context different from its training environment.

A classic example is the correlation between hospital admission and poor health outcomes: a naive model might learn that hospital admission is associated with poor health, and incorrectly infer that avoiding hospitals improves health. The confounding variable — illness severity — explains both the admission and the outcome. A causal model, by contrast, would represent the directed relationship correctly: illness causes both admission and poor outcomes, not the other way around.

Judea Pearl and the Ladder of Causation

Judea Pearl's Ladder of Causation provides a conceptual framework for understanding the levels of reasoning that causal AI seeks to enable. The first rung, Association, corresponds to passive observation: what is the probability of Y given that I observe X? Standard machine learning operates at this level. The second rung, Intervention, asks: what is the probability of Y if I actively set X to a particular value? The third rung, Counterfactuals, asks: what would Y have been if X had been different from what it was — reasoning about hypothetical scenarios that did not occur in the observed data.

Most conventional machine learning systems operate only at the first rung. Causal AI aims to enable reasoning at the second and third rungs, which are required for decision-making, policy evaluation, and genuine understanding of mechanisms.

Structural Causal Models

The dominant formal framework for causal AI is the Structural Causal Model (SCM), developed extensively by Judea Pearl. An SCM represents a system as a set of variables, a directed acyclic graph (DAG) called a causal graph where edges represent direct causal relationships, and a set of structural equations specifying how each variable is determined by its causal parents and an independent noise term.

The do-calculus is a set of inference rules that allows the computation of interventional distributions — the distribution of outcomes when a variable is externally set to a specific value — from observational data, given the causal graph. This provides a formal foundation for answering intervention questions without requiring randomised experiments, though identifiability depends on the graphical structure of the model and the availability of relevant observed variables.

Practical Approaches

Several practical approaches to causal AI have emerged. Causal discovery algorithms, such as the PC algorithm and its extensions, attempt to learn the causal graph structure from observational data by testing conditional independence relationships. Invariant Causal Prediction (ICP) leverages data collected across multiple environments to identify causal predictors by finding variables whose relationship to the target is stable across environments.

Counterfactual machine learning uses frameworks such as potential outcomes (the Neyman-Rubin framework) to estimate the effect of treatments or interventions on individuals from observational data. This is widely used in personalised medicine, policy evaluation, and algorithmic fairness assessment.

Applications

Causal AI has been applied in pharmaceutical drug discovery to identify compounds that causally affect biological targets. In healthcare, causal methods estimate the individual treatment effect of interventions from observational electronic health records. In economics and policy analysis, causal AI supports evaluation of the impact of policy changes without requiring costly randomised controlled trials.

In technology companies, causal AI is used for uplift modelling — estimating the causal effect of marketing treatments on individual customer behaviour — and for root cause analysis in distributed software systems, where identifying the causal chain leading to a failure is more actionable than identifying statistical anomalies.

Relationship to Explainable AI

Causal AI is closely related to explainable AI (XAI). While many XAI methods provide post-hoc explanations of model predictions based on feature importance or local approximations, causal explanations identify the mechanisms through which outcomes are produced. Causal explanations are considered more actionable because they support intervention: if a model identifies that feature X causally affects outcome Y, a decision-maker can intervene on X to change Y.

Causal AI methods are increasingly relevant to Malaysian public policy evaluation, healthcare, and financial services, where decision-makers need to move beyond correlation to understand the effects of specific interventions.

The Economic Planning Unit (EPU) under the Prime Minister's Department and related government agencies have begun exploring causal inference methods for evaluating the impact of social programmes, including B40 income support schemes and rural digitalisation initiatives. Standard correlation-based analysis of programme outcomes can be misleading due to selection effects; causal methods such as difference-in-differences and instrumental variable estimation provide more credible impact estimates.

Bank Negara Malaysia (BNM) and Malaysian financial institutions such as Maybank and Public Bank have applied causal AI concepts to credit risk modelling and fraud detection. Distinguishing causal drivers of default from confounded proxies is important for ensuring that credit decisions are not inadvertently discriminatory and remain valid under economic regime changes.

In Malaysian healthcare, the Institute for Clinical Research (ICR) under the Ministry of Health has applied causal inference to retrospective analysis of electronic health record data, including studies on treatment effects in Malaysian diabetic patient populations. The Universiti Malaya Medical Centre (UMMC) has collaborated with AI researchers to apply potential outcomes frameworks to treatment effect estimation using Malaysian clinical datasets.

The Malaysia AI Governance Framework, overseen by the National AI Office, identifies explainability and fairness as central principles for AI deployment in high-stakes domains. Causal AI provides a rigorous foundation for meeting these requirements by ensuring that model predictions are grounded in causal mechanisms rather than potentially spurious correlations.

See Also

  1. Pearl, J. and Mackenzie, D. (2018). The Book of Why: The New Science of Cause and Effect. Basic Books.
  2. Pearl, J. (2009). Causality: Models, Reasoning, and Inference (2nd ed.). Cambridge University Press.
  3. Scholkopf, B. et al. (2021). Toward Causal Representation Learning. Proceedings of the IEEE, 109(5).
  4. Peters, J., Janzing, D., and Scholkopf, B. (2017). Elements of Causal Inference. MIT Press.
  5. Yao, L. et al. (2021). A Survey on Causal Inference. ACM Transactions on Knowledge Discovery from Data, 15(5).