Integrating Causal Knowledge into Machine Learning Explainability: A DAG-Constrained Shapley Framework for Health Informatics
Background. Explainable artificial intelligence (XAI) methods are increasingly incorporated into clinical prediction systems to support transparent interpretation of machine learning outputs. Classical Shapley value–based attribution quantifies feature contributions by averaging marginal effects across all possible feature orderings, implicitly assuming exchangeability among predictors. However, clinical systems are characterized by structured causal relationships that constrain admissible feature orderings. Whether incorporating causal structure into Shapley-based attribution meaningfully alters decision-relevant explanations remains insufficiently characterized. Methods. We introduce a DAG-constrained Shapley framework that incorporates structured causal knowledge into feature attribution by restricting admissible permutations to topological orderings of a directed acyclic graph (DAG). To illustrate the framework, we evaluated its behavior in cardiovascular risk prediction using a synthetic cohort of 100,000 individuals. A gradient boosting classifier predicted 10-year cardiovascular disease risk. Two attribution regimes were compared: classical Shapley values (all n! permutations) and DAG-constrained Shapley values (DAG-admissible permutations only). The primary outcome was priority discordance, defined as the proportion of individuals for whom the highest-ranked modifiable risk factor differed between attribution methods. Results. Priority discordance occurred in 28.6% of individuals (28,600/100,000). The dominant reassignment pattern shifted attribution from physical activity toward smoking and systolic blood pressure. DAG-constrained attribution increased mean contributions of smoking by 5.8 percentage points and systolic blood pressure by 6.3 percentage points. Discordance was most pronounced among intermediate-risk individuals (10-year risk 7.5–20%), where multiple factors contributed comparably to predicted risk. Conclusions. Incorporating causal ordering constraints through DAG-restricted permutations systematically modifies feature attribution and intervention prioritization relative to classical Shapley methods. The proposed framework provides a generalizable health informatics approach for integrating structured clinical knowledge into machine-learning explainability while preserving model independence. By separating prediction, knowledge representation, and attribution layers, the framework supports knowledge-informed decision support across diverse clinical information systems.
Authors
- Eldad Katorza (ORCID: https://orcid.org/0000-0003-4225-7421)
- Nathan Ellenberg (ORCID: https://orcid.org/0009-0003-5382-0184)
- Eytan Ellenberg (ORCID: https://orcid.org/0000-0001-5050-9196)
Institutions
- Hebrew University of Jerusalem (IL)
- National Insurance Institute of Israel (IL)
Publication Details
- Journal
- Methods of Information in Medicine
- Published
- 2026-11-26
- DOI
- https://doi.org/10.1055/a-3015-1144
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- article
- Field-Weighted Citation Impact
- 0.00