1. Introduction
Stroke is a leading cause of death and disability in Canada and worldwide [
1]. It has been estimated that up to 80% of strokes are preventable through timely identification and targeted screening of risk factors, including hypertension, smoking, diabetes and other vascular risks [
2]. In the United States, stroke mortality has declined by more than 70% over the past 50 years through advancements in prevention, acute care, and secondary risk reduction [
2].
However, substantial disparities persist globally, which drives uneven access to screening, timely care, and health education [
3]. For example, approximately 40% of patients presenting to emergency departments with acute stroke are unaware of warning signs and etiological risk factors [
4].
The shift toward precision medicine has fundamentally reshaped the paradigms of disease risk stratification, moving away from “one-size-fits-all” screening toward data-driven, personalized risk assessment [
5]. As established by Steyerberg et al. [
6], the methodology of clinical prediction has expanded significantly beyond the foundational use of logistic regression and linear classifiers. While these models are the gold standard for transparency, the increasing availability of high-resolution electronic health records (EHR) has demanded more flexible algorithmic approaches. This evolution spans from rule-based expert systems and decision trees to probabilistic frameworks and sophisticated deep learning models [
6,
7,
8]. While the increasing complexity of algorithmic models captures the intricate interplay among disease risk factors, it obscures the transparency of the underlying mathematical models. The schematic architecture of these models is shown in
Supplementary material, Figure S1.
The simpler condition-based model, rule-based learning, relies on predefined sets of rules and represents a highly transparent approach. This transparency and logic of explicit conditions inspired the automated, hierarchical data splitting used in decision trees [
9]. Similarly, K-nearest neighbors (KNN) and support vector machines (SVMs) solve nonlinearity by classifying patient risk mathematically via spatial distance and geometric hyperplanes [
10,
11]. Generalized additive models (GAMs) provide flexibility by isolating continuous variables (e.g., blood pressure) into standalone risk curves [
12], whereas Bayesian networks use directed acyclic graphs to calculate explicit conditional probabilities between interdependent risk factors [
6]. At the upper end of the model’s structural complexity, Ensembles (e.g., Random Forests and XGBoost) aggregate hundreds of individual models to generate a weighted consensus, and deep learning networks process high-dimensional variables through layers of hidden computational nodes [
13].
Machine learning models, particularly neural networks and XGBoost, often achieve high predictive performance [
14]. However, these models are frequently classified as “black-box” models, as the underlying reasoning of diagnostic decisions remains obscured from human interpretation [
15,
16]. This lack of transparency presents a critical barrier in high-stakes medical settings, where both healthcare providers and patients are often unable to discern the underlying biological rationale required to confidently trust and act upon the algorithmic output.
Conversely, traditional statistical approaches such as logistic and linear regression remain cornerstone tools in clinical risk prediction [
17]. Within the formal taxonomy of explainable artificial intelligence (XAI), these models are classified as “transparent” [
18], “white-box” [
19] or “glass-box” [
20] models, which characterize algorithms by their intrinsic interpretability.
Interpretability is formally defined as the degree to which a human can consistently predict the model’s result and comprehend the underlying cause of a decision [
21]. It is the extent to which the internal mechanics of a model make sense to a human observer without requiring supplementary, post hoc explanations.
Arrieta et al. [
18] characterize transparency through 3 hierarchical dimensions as listed below:
Simulatability: A clinician can mentally or manually calculate a patient's stroke risk via a simple scoring system (e.g., adding points for age and hypertension).
Decomposability: A physician can isolate and understand the specific weight (coefficient) assigned to a single variable, such as observing how a 10 mmHg increase in blood pressure explicitly shifts the risk output.
Algorithmic transparency: The mathematical guarantee that a model will converge on a unique, optimal solution for a patient's risk profile, driven by a visible optimization process such as maximum likelihood estimation.
Expanding upon structural transparency, Doshi-Velez and Kim [
22] propose a rigorous taxonomy for evaluating interpretability through three distinct task-driven categories.
Application-grounded evaluations: This involves conducting experiments with domain experts within the context of real-world tasks, such as a neurologist evaluating the model’s output while diagnosing acute stroke patients in the emergency department.
Human-grounded evaluations: Layperson or nonspecialist clinicians are tasked with identifying the most weighted risk factor from visual dashboards or charts.
Functionally grounded evaluations: Researchers benchmarking a highly complex model (like a neural network) against mathematically transparent models (like a decision tree) without requiring live human experiments.
While these transparent architectures ensure clinical accountability, their intrinsic interpretability frequently comes at the expense of predictive accuracy [
23]. Although these models may perform optimally within highly structured and well-defined datasets, they lack the mathematical flexibility required to map the widespread, nonlinear dependencies inherent in real-world clinical data [
18]. Consequently, developing targeted diagnostic tools requires navigating a trade-off between maximizing performance and preserving structural transparency, as illustrated in
Supplementary material, Figure S2.
The trade-off exhibits a Pareto frontier, where models inherently sacrifice mathematical visibility to achieve higher dimensionality. Arrieta et al. outlined two primary research trajectories for modern clinical diagnostics [
18]. The first involves applying post hoc explainability techniques such as Shapley additive explanation (SHAP) [
24] or local interpretable model-agnostic explanations (LIME) [
25]. This is to estimate feature importance and approximate the logic of highly accurate, opaque models. Alternatively, researchers are developing hybrid modeling approaches that enhance the performance of interpretable models via advanced preprocessing techniques and hybrid models.
Lolak et al. [
26] compared the performance and interpretability of logistic regression, Cox proportional hazard, Bayesian network, tree-augmented naïve Bayes (TAN), extreme gradient boosting (XGBoost), and explainable boosting machine (EBM) methods for predicting stroke risk. They included a retrospective cohort of 275,247 high-risk patients with discretized risk factors, including demographic, cardiovascular, and metabolic variables and medication use. Among these patients, 9659 (3.5%) experienced strokes. Multiple imputation by chained equation (MICE) was implemented for missing risk factors. The C statistics of XGBoost, EBM, TAN, logistic regression and the Bayesian network were 0.89, 0.87, 0.83, 0.80 and 0.80, respectively. However, XGBoost needs post hoc analysis to improve explainability. On the other hand, the explainability of these models has been less explored.
The optimal diagnostic model is dictated by the dataset’s architecture and the need for interpretability [
15], as the “No Free Lunch” theorem establishes that no single algorithmic approach is universally superior across the entire dataset [
27]. While deep learning excels at extracting features from massive, unstructured datasets, tree-based ensembles such as XGBoost frequently outperform neural networks on structured, tabular electronic health record (EHR) data [
13,
28]. Conversely, parsimonious algorithms such as logistic regression and Bayesian networks offer superior mathematical interpretability in cohorts characterized by limited sample sizes or significant data missingness [
6]. Furthermore, selecting clinically relevant nonredundant features via effective feature selection not only mitigates the “curse of dimensionality” but also ensures that the resulting diagnostic model remains both mathematically sound and biologically plausible [
6].
To bridge the gap between predictive performance and model interpretability, Bayesian networks (BNs) present a parsimonious alternative. On the accuracy‒interpretability continuum, BNs occupy a strategic intermediate position that bridges simpler transparent models and high-performing opaque architectures. The mathematical foundation of a Bayesian network (BN) is Baye’s theorem, which provides a rigorous framework for updating the probability of a clinical hypothesis (
, such as a stroke diagnosis) on the basis of observed evidence (
, such as specific patient risk factors):
The term represents the posterior probability, which is the probability of the hypothesis given the evidence. In a clinical context, this allows for dynamic risk assessment where the prior probability , which is based on population prevalence, is redefined into a personalized risk score as individual patient data are integrated.
A Bayesian network extends this principle into a probabilistic graphical model that represents the joint probability distribution of a complex set of clinical variables. As illustrated in the sequential architecture of
Figure 1, the model decomposes high-dimensional data into a product of local conditional distributions via the following theorem:
The conditional probability table (CPT) serves as the primary parameterization of the network. Each CPT quantifies the probabilistic relationship between a "child" node and its "parent" nodes by explicitly listing the probability of every possible child state given all combinations of parent states. For example, a CPT for the node "Stroke" calculates specific risk probabilities on the basis of discrete parent states such as "Old Age" and "High Glucose". This modular structure ensures that the model remains decomposable, as individual tables can be isolated and audited by clinicians to verify that the algorithmic logic remains biologically plausible and aligned with clinical domain expertise.
Bayesian networks have been implemented in disease diagnosis and risk prediction, including for cardiovascular disease [
29], atrial fibrillation relapse [
30], and ALS diagnosis [
31]. Suo et al. [
32] developed a BN-based model using EHR data from 169,692 patients in Chinese hospitals to predict 3-year CHD risk. A weighted survival Bayesian network was developed by combining inverse probability censoring weights and a Cox model using demographic, laboratory and medical history variables as risk factors. The model achieved an AUC of 0.80 despite extensive missing data and imbalanced datasets.
Similarly, Park et al. [
33] applied a BN to predict 3-month functional outcomes (mRS) and 1-year mortality in 2,432 ischemic stroke patients using 74 features (risk factors), including baseline NIHSS scores and age, attaining an AUC of 0.89 for 3-month functional outcomes and 0.89 for 1-year mortality. They also developed a Yonsei outcome inference system via their trained model.
Lolak et al. [
26] demonstrated the utility of BNs in a retrospective cohort of 275,247 high-risk patients compared with other machine learning models. Although XGBoost achieved a superior C statistic of 0.89, the BN model demonstrated a competitive value of 0.80 while maintaining intrinsic interpretability. with numerous features.
Despite their utility in a large cohort and ability to capture many clinical features, BNs often lag in discriminatory performance. This predictive gap arises from inappropriate handling of missing data, inadequate preprocessing techniques and imbalanced targeted classes.
To address this limitation without sacrificing the intrinsic transparency of the BN model, our research aligns with the objective of increasing the predictive capability of BNs. By implementing rigorous data preprocessing techniques and utilizing a hybrid modeling structure to accommodate continuous variables, this study aims to close the accuracy gap.
We present a rigorous, eight-arm methodological ablation study evaluating the predictive architecture of Bayesian networks. We systematically isolate the effects of network topology (purely discretized vs. hybrid continuous nodes), imputation strategies (baseline median imputation vs. multiple imputation by chained equations [MICE]), and class balancing (unadjusted vs. synthetic minority oversampling technique [SMOTE]).
By isolating the effect of each methodological variation, the following hypothesis has been constructed:
| Focus Area |
Null Hypothesis (H0) |
Alternate Hypothesis (H1) |
| 1. Topology |
Hybrid continuous topology does not significantly change predictive performance vs. pure discretization. |
Hybrid continuous topology significantly changes predictive performance vs. pure discretization. |
| 2. Imputation |
MICE does not significantly improve performance metrics vs. baseline median imputation. |
MICE significantly improves performance metrics vs. baseline median imputation. |
| 3. Balancing |
SMOTE does not significantly increase minority class sensitivity vs. unadjusted distributions. |
SMOTE significantly increases minority class sensitivity vs. unadjusted distributions. |
| 4. Synergy |
The integration of continuous topology, MICE, and SMOTE does not significantly improve overall capacity vs. baseline. |
The integration of continuous topology, MICE, and SMOTE significantly improves overall capacity vs. baseline. |