(a) Algorithmic Transparency Layer
This layer generates interpretable outputs using established XAI modules such as SHAP, LIME, GradCAM, DeepLIFT, and TCAV. Each method quantifies how model features influence predictions. The transparency layer is evaluated through metrics including fidelity, completeness, and robustness, ensuring consistency between model explanations and actual decision behavior.
(b) Clinical Interpretability Layer
The second layer assesses whether algorithmic reasoning corresponds with clinician understanding. It evaluates alignment between explanation structure and domain-relevant reasoning patterns using predefined interpretability metrics to evaluate interpretive coherence. The goal is to quantify how well explanations align with diagnostic reasoning and to calibrate model interpretability against clinical workflows.
(c) Ethical Compliance and Reliability Layer
The third layer embeds ethical auditing and compliance evaluation. It introduces metrics such as reliability index, transparency score, and accountability coefficient, which align the framework with international governance standards including the EU AI Act, FDA Good Machine Learning Practice (GMLP), and GDPR. This layer ensures fairness, reproducibility, and privacy across datasets.
All three layers interact in a continuous feedback loop that allows bidirectional refinement between AI developers, clinical experts, and regulatory auditors, ensuring that interpretability remains dynamically assessed. Figure 5 illustrates the TAXAI architecture, depicting the interaction among the three layers and the feedback loops that produce a measurable Trust Index.
Fig. 5
Proposed Trust-Aware XAI (TAXAI) Framework.
Workflow and implementation
The operational workflow of TAXAI comprises five interconnected phases (Fig. 6):
Input Phase: Clinical data (imaging, EHR, or omics) are pre-processed and introduced to a selected AI model.
Explanation Phase: XAI modules generate local and global explanations.
Validation Phase: Explanations are evaluated for interpretability, fidelity, and expert consistency.
Trust Evaluation Phase: The computed outputs are aggregated into a unified Trust Index (TI) that integrates interpretability, clinical alignment, and compliance scores.
Feedback Phase: Insights from domain-informed evaluation signals and governance audits are used iteratively to recalibrate model parameters.
Fig. 6
This multi-phase process operationalizes TAXAI as a closed-loop trust pipeline, reinforcing human-AI collaboration and continuous improvement.
Quantitative evaluation of trust
To translate interpretability into measurable confidence, TAXAI introduces a Trust Index (TI) defined as a convex combination5 of three normalized components:
$${\text{TI }} = \, \alpha {\text{F }} + \, \beta {\text{I }} + \, \gamma {\text{C subject to }}\alpha \, + \, \beta \, + \, \gamma \, = { 1} {\text{and}} \alpha , \, \beta , \, \gamma \, \ge \, 0$$
(7)
This formulation enables heterogeneous explainability outputs generated by methods such as SHAP, LIME, and Grad-CAM to be evaluated within a common mathematical trust space.
Table 4 displays the relative importance of the three pillars:
Table 4 Core Components of the Trust Index (TI).
Since the Trust Index is a convex combination, increasing a coefficient increases that component’s influence on overall trust.
Fig. 7
TAXAI Trust Index Computation.
This pipeline quantitatively links algorithmic transparency, interpretability alignment, and ethical assurance, converting explainability into a reproducible trust metric.
Reproducibility and implementation transparency
All Trust Index computations are defined through deterministic mathematical formulations and standardized explainability outputs (e.g., SHAP, LIME, Grad-CAM), enabling independent implementation using publicly available datasets and software libraries. Detailed experimental configurations, dataset specifications, hyperparameters, and evaluation outputs are provided in the Supplementary Information to facilitate independent replication and verification. Ablation and runtime cost are reported in Supplementary Table S3–S4.
Definition of F, I, and C
1. Fidelity (F): Fidelity represents the degree to which an explanation faithfully reproduces the underlying model’s decision behavior. It quantifies the alignment between the outputs of the predictive model and its surrogate explainer, ensuring that the explanation reflects the model’s reasoning without introducing distortion or approximation bias.
Let the original black-box model be B and its surrogate or explanation model be X.
For an input a ∈ X sampled from the data distribution D,
$${\text{F}} = E_{{{\text{a}} \sim {\text{D}}}} \left[ {{1}\left\{ {{\text{X}}\left( {\text{a}} \right) \, = {\text{ B}}\left( {\text{a}} \right)} \right\}} \right]$$
(8)
where, E denotes the expectation operator (i.e., the mean or average) over the data distribution D.
1{X(a)=B(a)} is the indicator function that equals 1 when the surrogate and black-box predictions agree, and 0 otherwise. A high fidelity score points out that X(a) matches B(a) for the vast majority of inputs.
ai is a test input.
a∼D means that inputs are sampled from the true data distribution.
In practice, over n test samples {ai}ni=1,
$$F^{\prime} = \frac{1}{n}\sum\limits_{i = 1}^{n} {{1}\left\{ {{\text{X}}\left( {{\text{a}}_{{\text{i}}} } \right) \, = {\text{ B}}\left( {{\text{a}}_{{\text{i}}} } \right)} \right\}}$$
(9)
Each indicator ∈ {0,1} ⇒ 0 ≤ F’ ≤ 1.
For probabilistic outputs, use Jensen–Shannon (JS) similarity:
$${\text{F }} = { 1 } – \frac{1}{n}\sum\limits_{i = 1}^{n} {{\text{JS}}\left( {{\text{B }}\left( { \cdot { mid }{\text{a}}_{{\text{i}}} } \right)\parallel {\text{X}}\left( { \cdot { mid }{\text{a}}_{{\text{i}}} } \right)} \right)} \,$$
(10)
Here, for each input instance ai:
B(⋅∣ai) denotes the baseline or reference probabilistic output (e.g., from ground truth or an established model)
X(⋅∣ai) denotes the XAI explanation’s probabilistic output for the same instance
JS(⋅∥⋅) stands for the Jensen–Shannon divergence, a symmetric measure of similarity between two probability distributions
The average across n instances is subtracted from 1, so higher F values indicate greater fidelity (i.e., higher similarity between baseline and explanation probabilities).
This formulation allows a standardized, interpretable metric to quantify how closely explanation outputs match expected/true distributions in the context of model explainability.
2. Interpretability Alignment (I): Interpretability Alignment measures the coherence between machine-generated explanations and human cognitive or clinical reasoning. It evaluates how well the explanation structure aligns with domain knowledge, expert judgment, and task-specific interpretive frameworks. A higher interpretability alignment indicates that the explanations are not only technically correct but also semantically meaningful and comprehensible to end-users such as clinicians or decision-makers.
Let Mexp be the explanation (saliency) mask and Mref be a reference region or attribution mask.
Compute spatial overlap using the Dice coefficient:
$${\text{I}}_{{{\text{dice}}}} = \frac{{{2}\left| {{\text{M}}_{{{\text{exp}}}} \cap {\text{M}}_{{{\text{ref}}}} } \right|}}{{\left| {{\text{M}}_{{{\text{exp}}}} } \right| + \left| {{\text{M}}_{{{\text{ref}}}} } \right|}}$$
(11)
If a ranked list of domain-relevant concepts is available, rank agreement is measured using Spearman correlation ρs:
$${\text{I}}_{{{\text{rank}}}} = \, \left( {\rho_{{\text{s}}} + {1}} \right)/{2}$$
(12)
Combine (or choose one depending on data availability):
$${\text{I }} = {\text{ v}}_{{1}} {\text{I}}_{{{\text{dice}}}} + {\text{ v}}_{{2}} {\text{I}}_{{{\text{rank}}}} , {\text{v}}_{{1}} + {\text{ v}}_{{2}} = {1}.$$
(13)
$${\text{Because Dice}} \in \left[ {0,{ 1}} \right]{\text{ and }}\rho_{{\text{s}}} \in \left[ { – {1},{1}} \right] \Rightarrow {\text{I}}_{{{\text{rank}}}} \in \left[ {0,{1}} \right],{\text{ any convex average}} {\text{I}} \in \left[ {0,{1}} \right].$$
(14)
The weights v1 and v2 in the combined formula I = v1 Idice + v2 Irank represent the relative importance or contribution of each interpretability component (Dice similarity and rank agreement) to the overall interpretability score I.
These weights are typically set so that v1, v2 ≥ 0 and often normalized such that v1 + v2 = 1, ensuring the combined score remains within the range.
The choice of v1 and v2 depends on data availability, domain priorities, or expert consensus—for example, if rank data is unavailable, v2 may be zero and the score depends solely on Idice.
Operational computation of interpretability alignment
Interpretability Alignment (I) quantifies how well machine-generated explanations correspond to clinically meaningful reasoning signals. Since datasets differ in the availability of expert annotations, TAXAI defines alignment computation in a dataset-conditional manner.
Reference explanation construction (Mref)
When expert-annotated ground-truth explanation regions are available (e.g., lesion contours or radiologist-marked regions), the reference mask Mref is directly obtained from these annotations.
For datasets without explicit explanation ground truth, TAXAI constructs reference alignment signals using one of the following proxy strategies:
Clinical priors: anatomically plausible regions (e.g., lung fields in chest imaging) extracted via standard segmentation templates.
Perturbation-based pseudo-ground truth: regions whose occlusion produces the largest prediction drop.
Concept-level references: ranked clinical features (e.g., perimeter_worst, concavity) derived from established diagnostic literature in tabular datasets.
Thus, Mref represents either expert-derived or clinically grounded surrogate alignment signals depending on dataset constraints.
Saliency map thresholding and binarization
Continuous attribution maps produced by SHAP, Grad-CAM, or LIME are transformed into binary explanation masks Mexp using percentile-based thresholding:
$${\text{M}}_{\exp } = 1\left\{ {{\text{A}}\left( {\text{x}} \right) \ge \tau_{p} } \right\},$$
where A(x) denotes the attribution intensity and τp corresponds to the top p% attribution mass (typically p ∈ [10, 30]).
This strategy avoids dependence on absolute attribution scale and enables consistent cross-method comparison.
Metric selection across datasets
TAXAI applies alignment metrics selectively based on reference availability:
Spatial overlap (Dice): used when image-level or region-based references exist:
$${\text{I}}_{{{\text{dice}}}} = \frac{{{2}\left| {{\text{M}}_{{{\text{exp}}}} \cap {\text{M}}_{{{\text{ref}}}} } \right|}}{{\left| {{\text{M}}_{{{\text{exp}}}} } \right| + \left| {{\text{M}}_{{{\text{ref}}}} } \right|}}$$
(15)
where Mexp denotes the explanation mask and Mref denotes the reference mask.
Rank agreement (Spearman): used when concept-level feature importance rankings are available:
$${\text{I}}_{{{\text{rank}}}} = \frac{\rho s + 1}{2}$$
(16)
where ρs∈ [−1,1] denotes Spearman’s rank correlation coefficient.
The overall alignment score is computed as:
$${\text{I}} = {\text{v}}_{{1}} {\text{I}}_{{{\text{dice}}}} + {\text{ v}}_{{2}} {\text{I}}_{{{\text{rank}}}} , {\text{v}}_{{1}} + {\text{v}}_{{2}} = {1},$$
(17)
where weights are dataset-dependent. If spatial references are unavailable, v2 = 1; if rank references are unavailable, v1 = 1.
Threshold Sensitivity Analysis.
To ensure robustness, TAXAI evaluates Interpretability Alignment across a range of threshold values (p = 10%, 20%, 30%).
Across datasets, alignment scores remained stable across thresholds, with variations below ΔI < 0.05 within small variation margins (ΔI < 0.05), indicating that Trust Index conclusions are not driven by a single threshold choice.
3. Compliance & Reliability (C): Compliance & Reliability assess the ethical soundness, fairness, and reproducibility of AI model behavior under regulatory and governance frameworks. This dimension aligns explanation evaluation with principles reflected in frameworks such as GDPR, FDA GMLP, and the EU AI Act, maintaining transparency, auditability, and consistency across datasets and deployments. It reflects the model’s readiness for responsible and trustworthy real-world application.
This component fuses fairness, stability, and reproducibility.
Fairness (Equalized-Odds Gap):
$$G_{{{\text{eo}}}} = \frac{1}{2}\left( {\left| {{\text{TPR}}_{a} – {\text{TPR}}_{b} } \right| + \left| {{\text{FPR}}_{a} – {\text{FPR}}_{b} } \right|} \right), C_{{{\text{fair}}}} = { 1 } – G_{{{\text{eo}}}} .$$
(18)
This metric evaluates fairness by calculating the average disparity in True Positive Rates (TPR) and False Positive Rates (FPR) between two distinct groups, labeled a and b. Geo denotes the equalized-odds fairness gap. A lower value of the Equalized Odds Gap (Geo) indicates improved fairness, while a fairness compliance score (Cfair) approaching 1 reflects stronger adherence to fairness principles. This formulation is consistent with the commonly accepted definition of Equalized Odds in the context of fairness assessments within machine learning.
Stability (Test–Retest Consistency):
$${\text{C}}_{{{\text{stab}}}} = {\text{E}}_{\delta } \left[ {{\text{Dice}}\left( {{\text{M}}_{{{\text{exp}}}} \left( {\text{x}} \right),{\text{M}}_{{{\text{exp}}}} \left( {{\text{x}} + \delta } \right)} \right)} \right].$$
(19)
It calculates the expected Dice similarity between explanations of an input x and a perturbed version x + δ, capturing how reproducible the explanation Mexp is under small input variations. This reflects the robustness and consistency of the interpretability module in TAXAI.
Reproducibility/Auditability:
$${\text{C}}_{{{\text{repro}}}} = \frac{1}{2}\left( {{\text{AvgRunAgree }} + {\text{ d}}} \right),$$
(20)
where AvgRunAgree represents the average agreement between repeated runs (capturing run-to-run consistency), and d ∈ [0,1] denotes the completeness of documentation. This formula balances these two aspects equally to quantify reproducibility, where higher values suggest better reproducibility and auditability of the system.
Aggregate:
$${\text{C }} = {\text{ u}}_{{1}} {\text{C}}_{{{\text{fair}}}} + {\text{ u}}_{{2}} {\text{C}}_{{{\text{stab}}}} + {\text{ u}}_{{3}} {\text{C}}_{{{\text{repro}}}} , \,{\text{u}}_{{1}} + {\text{ u}}_{{2}} + {\text{ u}}_{{3}} = { 1}.$$
(21)
Each term lies in [0, 1] ⇒ C ∈ [0,1].
Metric normalization and boundedness guarantees
To ensure mathematical consistency of the Trust Index, all component metrics in TAXAI are explicitly constrained to the unit interval [0,1]. Since the Trust Index is defined as a convex combination:
TI = αF + βI + γC, α + β + γ = 1,
boundedness of TI is guaranteed only if each component satisfies : F, I, C ∈ [0,1].
Accordingly, TAXAI applies the following normalization and scaling procedures.
Boundedness of equalized odds compliance
The Equalized Odds Gap is defined as:
$${\text{G}}_{{{\text{eo}}}} = \frac{1}{2}\left( {\left| {{\text{TPR}}_{{\text{a}}} – {\text{TPR}}_{{\text{b}}} } \right| + \left| {{\text{FPR}}_{{\text{a}}} – {\text{FPR}}_{{\text{b}}} } \right|} \right).$$
(22)
Since both TPR and FPR lie in [0,1], we have:
$$\left| {{\text{TPR}}_{{\text{a}}} – {\text{ TPR}}_{{\text{b}}} } \right| \le { 1}, \,\left| {{\text{FPR}}_{{\text{a}}} – {\text{ FPR}}_{{\text{b}}} } \right| \le {1},$$
(23)
thus:
$$0 \le {\text{ G}}_{{{\text{eo}}}} \le {1}.$$
(24)
Therefore, the fairness compliance score:
$${\text{C}}_{{{\text{fair}}}} = { 1 } – {\text{ G}}_{{{\text{eo}}}}$$
(25)
is always bounded as:
$${\text{C}}_{{{\text{fair}}}} \in \left[ {0,{1}} \right].$$
(26)
Normalization of Jensen–Shannon Fidelity
For probabilistic fidelity, TAXAI uses Jensen–Shannon divergence:
$${\text{JS}}({\text{P}}\parallel {\text{Q}}).$$
(27)
To ensure boundedness, we explicitly normalize JS by its maximum value. Using log base 2, Jensen–Shannon divergence satisfies:
$$0 \, \le {\text{ JS }}\left( {{\text{P}}\parallel {\text{Q}}} \right) \, \le { 1}.$$
(28)
More generally, if natural logarithms are used, then:
$${\text{JS }}\left( {{\text{P}}\parallel {\text{Q}}} \right) \, \le {\text{ log }}\left( {2} \right),$$
(29)
and TAXAI applies:
$${\text{JS}}_{{{\text{norm}}}} \left( {{\text{P}}\parallel {\text{Q}}} \right) = \frac{{{\text{JS}}\left( {{\text{P}}\parallel {\text{Q}}} \right)}}{\log \left( 2 \right)}$$
(30)
Thus fidelity is computed as:
$${\text{F }} = { 1 } – \frac{1}{n}\sum\limits_{i = 1}^{n} {{\text{JS}}_{{{\text{norm}}}} \left( {\left. {{\text{B}}\left( { \cdot { mid }{\text{ai}}} \right)} \right\|{\text{X}}\left( { \cdot { mid }{\text{ai}}} \right)} \right)} , \,{\text{ensuring F}} \in \left[ {0,{1}} \right].$$
(31)
Scaling of composite compliance and reproducibility terms
All compliance subcomponents are individually bounded:
$${\text{C}}_{{{\text{fair}}}} ,{\text{ C}}_{{{\text{stab}}}} ,{\text{ C}}_{{{\text{repro}}}} \in \left[ {0,{1}} \right].$$
(32)
The aggregate compliance score is defined as a convex combination:
$${\text{C }} = {\text{ u}}_{{1}} {\text{C}}_{{{\text{fair}}}} + {\text{u}}_{{2}} {\text{C}}_{{{\text{stab}}}} + {\text{u}}_{{3}} {\text{C}}_{{{\text{repro}}}} , \,{\text{u}}_{{1}} + {\text{ u}}_{{2}} + {\text{ u}}_{{3}} = {1}.$$
(33)
This guarantees:
C ∈ [0,1].
In particular, reproducibility is computed as:
$${\text{C}}_{{{\text{repro}}}} = \frac{1}{2}\left( {{\text{AvgRunAgree}} + {\text{d}}} \right),$$
(34)
where both AvgRunAgree ∈ [0,1] and documentation completeness d ∈ [0,1], ensuring Crepro ∈ [0,1].
Illustrative numeric example (raw → normalized trust index)
To demonstrate the normalization pipeline, consider the following raw metrics in Table 5.
Table 5 Illustrative numeric example of raw-to-normalized Trust Index computation.
Compliance aggregation (equal weights):
$$\text{C }= \frac{1}{3} \left(0.90 + 0.85 + 0.80\right)=0.85.$$
(35)
Finally, with.
α = β = γ = \(\frac{1}{3}\)
$$\text{TI }=\frac{1}{3}(0.80 + 0.75 + 0.85) = 0.80.$$
(36)
Thus, the Trust Index remains explicitly bounded within [0, 1].
Therefore, all TAXAI submetrics are explicitly bounded in [0, 1], ensuring that the Trust Index remains mathematically well-defined and comparable across datasets and explanation methods.
Normalization Process
All raw metrics (accuracy, overlap, correlation, fairness gap, etc.) are normalized to [0, 1] so that:
$${\text{x}}_{\text{norm}} =\frac{\text{x}-\text{min}(\text{x})}{\text{max}(\text{x})-\text{min}(\text{x})}$$
(37)
If a lower value indicates better performance (e.g., error E or fairness gap G), invert it before normalization:
$${\text{x}}_{\text{norm}}=1- \frac{\text{x}-\text{min}(\text{x})}{\text{max}(\text{x})-\text{min}(\text{x})}$$
(38)
This ensures that higher scores ⇒ better trust for all components.
After normalization, F, I, C ∈ [0,1].
Use simplex (Lagrange-multiplier) optimization or normalize any non-negative preliminary weights
$$\alpha^{\prime } ,\,\beta^{\prime } ,\,\gamma^{\prime } \,{\text{by: }}\alpha \, = \, \alpha^{\prime } /\left( {\alpha^{\prime } + \, \beta^{\prime } + \, \gamma^{\prime } } \right), \beta \, = \, \beta^{\prime } /\left( {\alpha^{\prime } + \, \beta^{\prime } + \, \gamma^{\prime } } \right), \gamma \, = \, \gamma^{\prime } /\left( {\alpha^{\prime } + \, \beta^{\prime } + \, \gamma^{\prime } } \right)$$
(39)
Experimental protocol, robustness, and reproducibility controls
To ensure that the reported Trust Index values and efficiency observations are reproducible and statistically interpretable, we explicitly define the experimental evaluation protocol, data partitioning strategy, randomization controls, uncertainty reporting, and comparative significance testing. Since TAXAI is a framework for quantifying trust in explanations rather than proposing a new predictive model, all evaluations are conducted by attaching established explainability methods (e.g., SHAP, LIME, Grad-CAM, ELI5) to standard ML/DL classifiers under controlled experimental settings.
Data splits and cross-validation strategy
Imaging demonstrations were conducted using a stratified 75/10/15 split corresponding to training, validation, and held-out test sets, respectively. The validation set was used for model tuning and early stopping, while final performance and Trust Index values were computed on the independent test set to ensure unbiased evaluation.
For tabular benchmarks, data were first partitioned into 70% training and 30% held-out test subsets. Five-fold cross-validation (KFold, n_splits = 5) was applied exclusively within the training portion to assess robustness, and fold-wise Trust Index values were averaged. Final performance metrics were computed on the independent 30% test set. fivefold cross-validation was applied to assess model stability. The statistical validation protocol, including cross-validation strategy, bootstrap confidence interval estimation, and effect size analysis, is described in detail in the Supplementary Information (Table S7).
Model complexity and computational cost of the evaluated models are summarized in Supplementary Table S8.
Random seeds, repeated runs, and averaging
Tabular experiments were executed under fixed randomization controls (e.g., random_state = 88), while imaging experiments were repeated across 3 independent runs with fixed seeds. All results are reported as mean ± SD across folds or runs.
Confidence intervals
Trust Index stability is quantified using 95% confidence intervals derived from fold-wise or repeated-run distributions.
Statistical comparison
Trust Index differences between explanation methods were evaluated using paired t-tests when normality assumptions held, otherwise using Wilcoxon signed-rank tests, with effect sizes reported. Tests were conducted at significance level p < 0.05.
Efficiency measurement
Efficiency is defined as the runtime cost per explanation instance under identical compute settings, ensuring comparisons reflect explainer overhead rather than training variability.
Experimental pipeline: models, preprocessing, and data processing
To ensure reproducibility and clarify implementation details across modalities, this subsection summarizes the complete experimental workflow used in the imaging and tabular benchmark demonstrations.
Imaging Pipeline (Kaggle Lung Histopathology Experiment)Preprocessing
All CT-derived images were resized to 224 × 224, intensity-normalized to [0,1], and augmented using rotation, translation, zoom, and horizontal flipping. A standard hold-out split (70% training, 30% validation) was applied.
Model architecture
A convolutional neural network (CNN) classifier was implemented with three convolutional blocks:
Conv2D filters: 32 → 64 → 128
MaxPooling after each block
BatchNormalization for training stability
Dense layer (256 units) with Dropout (0.5)
Softmax output layer for multiclass classification
Training was performed using Adam optimization with categorical cross-entropy loss over 22 epochs and batch size 32. Details regarding model complexity, trainable parameters, and approximate computational cost (FLOPs) for the evaluated architectures are provided in the Supplementary Information (Table S8).
Explainability modules
Local and global explanations were generated using SHAP and LIME image explainers. Attribution masks were thresholded using percentile-based binarization prior to alignment computation.
Tabular pipeline (Wisconsin diagnostic experiment)Feature-based learning
Tabular benchmarks were evaluated using LightGBM classifiers trained on structured diagnostic features. Class imbalance was addressed using ADASYN oversampling prior to model fitting. Detailed dataset characteristics, including class distribution, acquisition context, and stratified data splitting protocols, are provided in the Supplementary Information (Table S6) to ensure transparency of the experimental setup.
Cross-validation and hyperparameters
Performance was estimated using fivefold cross-validation. Key hyperparameters included:
Explainability was computed using SHAP feature attributions, LIME tabular explanations, and ELI5 weight-based importance.
Clarification on tabular vs. imaging models
We emphasize that tabular models were applied only to structured diagnostic feature datasets and not directly to raw image inputs. Imaging experiments were evaluated exclusively using CNN-based architectures, whereas tabular datasets employed feature-based gradient boosting models.
Expanded evaluation reporting
To avoid overreliance on aggregate accuracy, all benchmarks now report:
Per-class precision, recall, and macro-F1
Confusion-matrix-derived specificity
Cross-validation mean ± SD and confidence intervals
Confusion matrices and class-wise metrics are provided in the Supplementary Material for completeness.
Overall, this dedicated pipeline description ensures that model configurations, preprocessing, and evaluation procedures are fully transparent and reproducible.
Reproducibility and implementation details
To support independent replication of the TAXAI framework, all experiments were conducted under standardized evaluation protocols with consistent figure/table referencing throughout the manuscript. The Trust Index computation is formally summarized in Algorithm 1, detailing the calculation of Fidelity (F), Interpretability Alignment (I), and Compliance & Reliability (C), followed by normalization and convex aggregation.
All implementations were executed in Python (v3.10 +) using widely adopted libraries including TensorFlow/Keras, Scikit-learn, LightGBM, SHAP, and LIME. Imaging benchmarks were evaluated on GPU-enabled environments, while tabular experiments were performed on CPU-based execution. Full hyperparameter configurations, confusion matrices, per-class metrics, and reproducibility resources are provided in the Supplementary Information. Confusion matrices are reported in Supplementary Fig. S1–S2, and per-class metrics in Supplementary Table S1–S2 (Table 6).
Table 6 Data for Experimental validation.
In the interest of transparency, all underlying data for this study are publicly available and were employed solely for methodological demonstration and framework-level evaluation; no proprietary clinical data or human-subject experimentation was conducted.