EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

CausalCACTUS: A Causally Consistent and Context-Aware Framework for Counterfactual Explanations

Zhendong Wang, Diego García, José M. Enguita, Saikat Chatterjee, Magnus Jansson

Machine Learning · 2026-10 · 115 (10)

DOI: 10.1007/s10994-026-07155-2 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Machine Learning, online erschienen am 28.09.2026. Verfasst von Zhendong Wang und 4 weiteren Autor:innen. Die Arbeit nennt 39 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Royal Institute of Technology.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Counterfactual explanations have been proposed to provide actionable insights for complex black-box classifiers by suggesting “what-if” explanations that alter undesirable prediction outcomes to desired ones. Recent advances have emphasized desirable properties such as causality, plausibility, and contextual alignment; however, existing methods often address these objectives in isolation. In particular, causal counterfactual approaches enforce structural dependencies among features, typically assuming access to a fully specified structural causal model, while context-aware counterfactual frameworks focus on improving alignment with user-defined contextual constraints. As a result, a gap remains between context-aware and causally grounded counterfactual generation, especially in latent-space representations, which can jointly address multiple objectives and improve validity across domains. In this work, we introduce CausalCACTUS, a causally consistent and context-aware counterfactual explanation framework that extends the CACTUS method by integrating automatically learned causal structure into latent-space counterfactual generation using a composite $$\beta $$ -VAE model. CausalCACTUS incorporates a directed acyclic graph learned from data-driven causal discovery to impose causal feasibility constraints, together with a phase-based latent optimization strategy that improves convergence stability and counterfactual validity while preserving user-defined contextual constraints. Our experimental evaluation across five publicly available tabular datasets and multiple baseline models demonstrates that CausalCACTUS achieves improved context alignment and causal consistency metrics while maintaining competitive performance on standard counterfactual metrics, such as validity and proximity. Ablation studies and qualitative examples further illustrate that jointly enforcing context preservation and causal structure leads to more actionable, trustworthy counterfactual explanations that respect user-defined contexts and causal dependencies in real-world scenarios.

Förderung

  • Royal Institute of Technology

Zitieren

APA

Wang, Z., García, D., Enguita, J. M., Chatterjee, S., & Jansson, M. (2026). CausalCACTUS: A Causally Consistent and Context-Aware Framework for Counterfactual Explanations. Machine Learning, 115(10). https://doi.org/10.1007/s10994-026-07155-2

Vancouver

Wang Z, García D, Enguita JM, Chatterjee S, Jansson M. CausalCACTUS: A Causally Consistent and Context-Aware Framework for Counterfactual Explanations. Machine Learning. 2026;115(10). doi:10.1007/s10994-026-07155-2

BibTeX
@article{Wang2026,
  author = {Wang, Zhendong and García, Diego and Enguita, José M. and Chatterjee, Saikat and Jansson, Magnus},
  title = {CausalCACTUS: A Causally Consistent and Context-Aware Framework for Counterfactual Explanations},
  journal = {Machine Learning},
  year = {2026},
  volume = {115},
  number = {10},
  doi = {10.1007/s10994-026-07155-2}
}
Kostenlos starten →