The protocol was successfully implemented to develop, validate, and evaluate a secure, explainable artificial intelligence (XAI) framework for healthcare diagnostics that leverages multimodal clinical data in a federated learning environment. Representative outputs generated throughout the experimental workflow confirmed the successful execution of secure data preprocessing, decentralized model training, explainability analysis, adversarial robustness assessment, statistical validation, and reproducibility documentation. Collectively, these outputs demonstrated that the proposed protocol achieved high diagnostic performance while supporting independent implementation and validation across heterogeneous healthcare datasets.
Figure 2 presents representative outputs generated during protocol execution. The federated learning convergence curves demonstrated stable optimization throughout the communication rounds. The representative multiclass confusion matrix indicated high diagnostic classification performance, while the receiver operating characteristic (ROC) curves demonstrated strong discriminative ability across the evaluated diagnostic classes. The SHAP summary plot identified the clinical features that contributed most strongly to the model predictions. In addition, the security evaluation demonstrated that the protocol maintained high diagnostic performance under adversarial perturbations while preserving patient privacy through secure federated communication and encrypted parameter exchange. These representative outputs confirmed the implementation of secure data preprocessing, distributed federated learning, explainability analysis, adversarial robustness evaluation, and statistical performance assessment.
The proposed diagnostic framework demonstrated consistently high classification performance across multiple representative healthcare datasets. Figure 3 presents representative confusion matrices generated independently for the PIMA Indians Diabetes, Heart Disease, Breast Cancer, and Chest X-ray datasets. In all datasets, most observations were correctly classified along the principal diagonal, whereas relatively few observations were misclassified, indicating robust diagnostic performance across diverse clinical applications.
Table 2 summarizes the overall diagnostic performance achieved by the proposed protocol. The framework achieved an overall diagnostic accuracy of 96.2%, with a sensitivity of 94.8%, specificity of 95.6%, precision of 95.1%, F1-score of 95.0%, and an area under the receiver operating characteristic curve (AUC) of 0.97, demonstrating excellent diagnostic discrimination across disease categories. Table 3 presents dataset-specific performance metrics, including accuracy, sensitivity, specificity, precision, F1-score, AUC, and corresponding 95% confidence intervals for each representative healthcare dataset. The consistently high performance across all datasets demonstrated that the proposed protocol maintained reliable diagnostic accuracy despite differences in disease type, data modality, and clinical application.
The diagnostic performance achieved by the proposed framework was consistent with previous studies on explainable artificial intelligence and federated learning for healthcare diagnostics. Unlike many existing approaches that primarily emphasize either predictive accuracy or model interpretability, the proposed protocol integrated multimodal data harmonization, privacy-preserving federated learning, explainability validation, adversarial robustness evaluation, and reproducibility assessment within a single standardized experimental workflow. This integrated framework enabled the development of diagnostic models that were accurate, transparent, secure, and reproducible across heterogeneous healthcare environments.
The statistical performance of the proposed protocol was evaluated using receiver operating characteristic (ROC) curve analysis, precision–recall (PR) curve analysis, 95% confidence interval estimation, and five-fold cross-validation. Figure 4 presents representative statistical validation results obtained during protocol execution. The ROC curves demonstrated consistently high discriminative performance across all representative healthcare datasets, with macro-average AUC values approaching 0.97. Similarly, the precision–recall curves demonstrated stable predictive performance across a range of classification thresholds.
The 95% confidence interval analysis demonstrated that the estimated values for accuracy, sensitivity, specificity, precision, F1-score, and AUC exhibited relatively narrow confidence intervals, indicating that the reported diagnostic performance was statistically reliable. Five-fold cross-validation further demonstrated consistent model performance across all validation folds, with only minimal variability observed among independent experiments.
Table 4 summarizes the quantitative statistical validation and reproducibility results, including cross-validation performance, privacy-preservation metrics, adversarial robustness, communication overhead, and independent replication outcomes. The low variability observed across validation experiments demonstrated that the proposed protocol produced stable and reproducible diagnostic performance across multiple healthcare datasets.
The proposed explainability framework generated consistent global and local explanations that supported the interpretation of the diagnostic predictions. Representative explainability outputs are presented in Figure 5. Global SHAP analysis consistently identified the most influential clinical features contributing to disease prediction across multiple healthcare datasets.
The mean absolute SHAP values provided a quantitative measure of global feature importance, while class-specific SHAP analyses illustrated the contribution of clinically relevant variables to individual diagnostic categories. In addition, LIME explanations provided patient-specific interpretations by identifying the relative contributions of clinical variables, including medical history, family history, and physical examination findings, to individual diagnostic predictions. Representative explanations were generated for both correctly classified and misclassified cases to evaluate the consistency and interpretability of the proposed framework. Overall, the explainability analysis demonstrated stable global and local feature attributions across repeated prediction experiments.
Table 5 summarizes the quantitative explainability evaluation, including SHAP fidelity, LIME fidelity, explanation stability, global feature agreement, local feature agreement, and overall interpretability. These quantitative results demonstrated that the generated explanations remained stable across repeated analyses and supported transparent interpretation of the diagnostic model.
The final stage of the protocol evaluated security, privacy preservation, and computational reproducibility. Representative outputs are presented in Figure 6, which illustrates the repository organization, experimental workflow, hardware and software configuration, and archived experimental outputs required for independent implementation and replication.
The repository contained preprocessing scripts, federated learning modules, explainability implementations, statistical evaluation scripts, trained model checkpoints, configuration files, and supporting documentation required for complete experimental reproduction. Detailed documentation of the hardware configuration, operating system, software environment, deep learning frameworks, GPU specifications, random seeds, and hyperparameter settings further supported computational reproducibility across different computing environments.
Privacy-preserving performance was evaluated using communication overhead, aggregation latency, and secure parameter exchange during federated learning. Adversarial robustness was assessed by comparing diagnostic performance before and after adversarial perturbations generated using the Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD), and DeepFool attacks.

Figure 1: Experimental workflow for secure explainable artificial intelligence-based healthcare diagnostics. Experimental workflow illustrating the proposed protocol for secure explainable artificial intelligence (XAI)-based healthcare diagnostics. The workflow comprises seven sequential stages: (1) secure acquisition of multimodal healthcare datasets; (2) data preprocessing and feature engineering; (3) privacy-preserving federated learning; (4) deep learning model development; (5) explainability analysis using SHAP and LIME; (6) adversarial robustness and security validation; and (7) statistical evaluation using standard diagnostic performance metrics and cross-validation. Please click here to view a larger version of this figure.

Figure 2: Representative outputs generated during protocol execution. Representative outputs demonstrating successful implementation of the proposed protocol. (A) Federated learning convergence curves. (B) Federated learning architecture with secure model aggregation. (C) Representative multiclass confusion matrix. (D) Receiver operating characteristic (ROC) curves illustrating diagnostic performance. (E) SHAP summary plot showing global feature importance. (F) Security evaluation, including adversarial robustness, privacy leakage probability, and communication overhead. Please click here to view a larger version of this figure.

Figure 3: Dataset-specific confusion matrices for diagnostic classification. Representative confusion matrices generated for the (A) PIMA Indians Diabetes, (B) Heart Disease, (C) Breast Cancer, and (D) Chest X-ray datasets. The dominant diagonal entries indicate correctly classified samples, whereas the off-diagonal entries represent misclassified samples. Please click here to view a larger version of this figure.

Figure 4: Statistical validation of the proposed protocol. Representative statistical validation results obtained during protocol execution. (A) Receiver operating characteristic (ROC) curves with corresponding area under the curve (AUC) values. (B) Precision-recall curves. (C) Ninety-five percent confidence intervals for the principal diagnostic performance metrics. (D) Five-fold cross-validation results. Please click here to view a larger version of this figure.

Figure 5: Explainability validation using SHAP and LIME. Representative explainability analyses were generated following model training. (A) Global SHAP summary plot and feature importance ranking. (B) Patient-specific LIME explanation with fidelity and stability assessment. (C) Class-specific SHAP analyses illustrating feature contributions across multiple diagnostic categories. Please click here to view a larger version of this figure.

Figure 6: Reproducibility and experimental documentation. Representative documentation supporting independent implementation and validation of the proposed protocol. (A) Repository organization. (B) End-to-end experimental workflow. (C) Hardware, software, and reproducibility configuration. (D) Archived experimental outputs, including trained models, evaluation reports, explainability analyses, security assessments, and protocol documentation. Please click here to view a larger version of this figure.
| Dataset Name | Source | Data Type | Number of Samples | Features/Attributes | Application | Availability |
| PIMA Indian Diabetes Dataset | UCI Machine Learning Repository | Structured Clinical Data | 768 | 8 Clinical Features | Diabetes Prediction | Public |
| Heart Disease Dataset | UCI Machine Learning Repository | Clinical Records | 303 | 14 Diagnostic Features | Cardiovascular Disease Detection | Public |
| Breast Cancer Wisconsin Dataset | UCI Machine Learning Repository | Clinical and Cellular Data | 569 | 30 Cellular Features | Cancer Classification | Public |
| NIH Chest X-ray Dataset | National Institutes of Health | Medical Imaging | 112120 | Chest X-ray Images | Pneumonia and Thoracic Disease Detection | Public |
| COVID-19 Radiography Dataset | Kaggle Repository | Medical Imaging | 21165 | Radiographic Images | COVID-19 Detection | Public |
| MIMIC-III Clinical Database | PhysioNet | Electronic Health Records | 58976 | Clinical and Physiological Variables | Critical Care Prediction | Restricted Access |
Table 1: Representative healthcare datasets used for protocol development and validation. Summary of the multimodal healthcare datasets used to develop, train, and validate the proposed explainable artificial intelligence framework, including data modality, disease category, sample size, and intended clinical application.
| Performance Metric | Value (%) | Description |
| Accuracy | 96.2 | Overall diagnostic classification accuracy |
| Sensitivity (Recall) | 94.8 | Ability to correctly identify positive cases |
| Specificity | 95.6 | Ability to correctly identify negative cases |
| Precision | 95.1 | Positive predictive value |
| F1-Score | 95 | Harmonic mean of precision and recall |
| AUC-ROC | 97 | Area under ROC curve |
| Cross-validation Stability | 94.7 | Average consistency across 5 folds |
| Adversarial Robustness | 93.9 | Performance under adversarial attacks |
| Privacy Preservation Score | 97.5 | Effectiveness of federated privacy mechanisms |
| Interpretability Consistency | 95.4 | Consistency of SHAP and LIME explanations |
Table 2: Overall diagnostic performance of the proposed protocol. Representative diagnostic performance metrics obtained following implementation of the complete protocol, including accuracy, sensitivity, specificity, precision, F1-score, and area under the receiver operating characteristic curve (AUC).
| Dataset | Accuracy (%) | Sensitivity (%) | Specificity (%) | Precision (%) | F1-score (%) | AUC | 95% CI (AUC) |
| PIMA Indians Diabetes | 95 | 94.6 | 95.2 | 95.1 | 94.8 | 0.96 | 0.94–0.98 |
| Heart Disease | 94.8 | 95.1 | 94.3 | 94.6 | 94.7 | 0.97 | 0.95–0.99 |
| Breast Cancer | 96.1 | 96.2 | 95.9 | 96 | 96 | 0.98 | 0.96–0.99 |
| Chest X-ray | 95.6 | 95.7 | 95.4 | 95.5 | 95.5 | 0.97 | 0.95–0.99 |
| MIMIC-III (Sepsis) | 94.6 | 93.8 | 93.6 | 93.9 | 93.6 | 0.96 | 0.94–0.98 |
| Overall (Mean ± SD) | 95.2 ± 0.7 | 95.1 ± 0.8 | 94.9 ± 0.8 | 95.0 ± 0.7 | 94.9 ± 0.7 | 0.97 | 0.96–0.98 |
Table 3: Dataset-specific diagnostic performance across representative healthcare datasets. Comparison of diagnostic performance across representative healthcare datasets, including accuracy, sensitivity, specificity, precision, F1-score, AUC, and corresponding 95% confidence intervals.
| Evaluation Metric | Value | Assessment | Description |
| Privacy Leakage Probability | 0.028 | Low | Estimated probability of information leakage during federated communication |
| Differential Privacy (ε) | 1.20 | Strong | Privacy budget used for model updates |
| Communication Latency | 0.87 s | Efficient | Average latency per federated communication round |
| Communication Overhead | 2.31 MB | Low | Total data exchanged for model parameter updates |
| FGSM Attack Accuracy | 94.3% | Robust | Classification accuracy under FGSM adversarial attack |
| PGD Attack Accuracy | 93.9% | Robust | Classification accuracy under PGD adversarial attack |
| DeepFool Attack Accuracy | 94.1% | Robust | Classification accuracy under DeepFool adversarial attack |
| Five-fold Cross-validation | 96.2 ± 0.3% | Excellent | Mean ± SD across five validation folds |
| Independent Replication Success | 100% | Successful | Protocol reproduced successfully on independent datasets |
| Overall Security & Reproducibility Score | 95.4% | Excellent | Combined assessment of security, robustness, and reproducibility |
Table 4: Security, statistical validation, and reproducibility metrics. Representative quantitative results for security evaluation, statistical validation, and reproducibility, including privacy-preservation metrics, adversarial robustness, communication overhead, cross-validation performance, and independent replication outcomes.
| Evaluation Metric | Value | Assessment | Description |
| SHAP Fidelity | 0.95 | Excellent | Agreement between SHAP explanations and model predictions |
| LIME Fidelity | 0.88 | High | Local explanation fidelity for representative patient cases |
| Explanation Stability | 0.82 | High | Average Jaccard similarity across perturbed samples |
| Explanation Consistency | 0.91 | Excellent | Consistency of feature importance across repeated runs |
| Average Explanation Time | 0.37 s | Efficient | Average computation time per explanation |
| Composite Explainability Score | 94.60% | Excellent | Overall explainability quality based on computational evaluation metrics |
| Global Feature Agreement | 0.93 | Excellent | Agreement of global feature rankings |
| Local Feature Agreement | 0.9 | Excellent | Agreement of local patient-specific explanations |
| Overall Explainability Performance | 0.91 ± 0.03 | Excellent | Combined explainability evaluation score |
Table 5: Quantitative evaluation of explainability performance. Representative quantitative explainability metrics, including SHAP fidelity, LIME fidelity, explanation stability, global feature agreement, local feature agreement, and overall interpretability, demonstrate the transparency, consistency, and stability of the proposed diagnostic framework.