NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Machine Learning Explanations by Surrogate Causal Models (MaLESCaMo)

Alberto Termine, Alessandro Antonucci, Alessandro FacchinixAI (Late-breaking Work, Demos, Doctoral Consortium) 2023

Abstract

Current methods for generating counterfactual explanations in Explainable AI (XAI) often assume feature independence, leading to unrealistic or impossible recommendations. We present MaLESCaMo, a framework that constructs local surrogate causal models to ensure that counterfactual actions are grounded in realistic causal paths. By integrating Partial Ancestral Graphs (PAGs) and Credal Networks, MaLESCaMo accounts for uncertainty and hidden confounders, providing more robust and actionable explanations for black-box models.

Introduction: The Challenge of Causal Blindness

In the field of Explainable AI (XAI), Counterfactual Explanations (CEs) have emerged as a powerful tool for transparency. A CE typically informs a user how a specific outcome could be reversed: "If your income were $10,000 higher, your loan would have been approved." However, most existing CE algorithms treat features as independent variables. In reality, features are often deeply intertwined through causal mechanisms. For instance, a person cannot simply "increase income" without a corresponding change in education, job type, or seniority.

Causal dependencies in a medical context, illustrating how features like pneumonia and electrolytes influence hospitalization and subsequent treatments.

When an AI suggests a change that ignores these dependencies, the resulting explanation is often implausible. This "causal blindness" limits the utility of XAI in high-stakes domains like finance and healthcare. MaLESCaMo (Machine Learning Explanations by Surrogate Causal Models) addresses this by proposing a method that respects the underlying causal structure of the data.

Methodology: The MaLESCaMo Pipeline

MaLESCaMo is a model-agnostic, local explanation framework. It does not require access to the internal weights of the black-box model, nor does it require a global causal model of the entire dataset. Instead, it builds a local surrogate causal model around the instance being explained.

1. Neighborhood Generation and Structural Learning

The process begins by generating a synthetic neighborhood around the target instance through feature perturbation. These neighbors are labeled by the black-box model to create a local training set. From this data, the system infers a Partial Ancestral Graph (PAG). A PAG represents an equivalence class of causal models that are consistent with the observed data, explicitly accounting for uncertainty regarding edge directions and the presence of unobserved confounders.

A Partial Ancestral Graph (a) representing an equivalence class of possible causal structures (b, c, d) that account for hidden variables and directional uncertainty.

2. Expert Refinement and Credal Networks

Because multiple causal structures may fit the data (as shown in the PAG), a domain expert is involved to select the most plausible Directed Acyclic Graph (DAG). To handle cases where the exact functional relationships between variables are unknown, MaLESCaMo employs Credal Networks. By enumerating possible deterministic relations, the system avoids overconfident point estimates, instead providing a range of possible counterfactual outcomes.

3. Inference

Finally, a specialized Expectation-Maximization (EM) algorithm is used to perform counterfactual inference. This allows the system to answer "what-if" questions while propagating the effects of changes through the causal graph, ensuring that the suggested actions are physically and logically consistent.

Discussion: Embracing Uncertainty

A key innovation of MaLESCaMo is its treatment of uncertainty. By using PAGs and Credal Networks, the framework acknowledges the limits of what can be learned from finite data. Rather than forcing a single, potentially incorrect causal path, it presents the user with intervals of possible outcomes. This "partial identifiability" is a more honest approach to XAI, reflecting the inherent ambiguity in counterfactual reasoning.

Furthermore, the "surrogate" nature of the model—focusing on local causality—makes the problem tractable. Mapping the global causal structure of a complex system is often impossible, but approximating it locally allows for meaningful, actionable insights for individual users.

Conclusion and Future Work

MaLESCaMo represents a significant step toward "genuine" causal explanations. By integrating causal discovery with robust probabilistic inference, it moves beyond simple correlation-based XAI. Future research will focus on automating the expert refinement step and improving the computational efficiency of Credal Network inference to handle higher-dimensional feature spaces.

Summary updated

BibTeX
@inproceedings{termine2023machine,
  author = {Alberto Termine and Alessandro Antonucci and Alessandro Facchini},
  title = {{Machine Learning Explanations by Surrogate Causal Models (MaLESCaMo)}},
  booktitle = {xAI (Late-breaking Work, Demos, Doctoral Consortium)},
  year = {2023},
  url = {https://openreview.net/forum?id=SwpAJnRoTo},
}
Figure