Papers1 provider · 1 record
November 20, 2026· medRxiv
preprint
Open access

A Blockchain-Enabled Federated Ensemble Framework for Privacy-Preserving Mortality Prediction Across Heterogeneous Healthcare Systems

Abstract

Objective: To test whether a smart contract that admits hospital-trained models to a shared mortality model only after peer hospitals verify their performance can exclude poisoned or substituted models, and at what cost. Design: Retrospective simulation study of a federated learning protocol. Methodology: In the Blockchain-Enabled Federated Ensemble (BFE), hospitals committed SHA-256 digests of locally trained XGBoost and random-forest models to a Solidity contract; peers posted digest-bound validation AUROCs, and the contract admitted models with a median peer AUROC of at least 0.70. Admitted models were pooled by weighted logit averaging (BFE-PW) or stacking (BFE-Stack) with federated recalibration. Code and drafts were produced with an AI coding assistant under the authors' supervision. Setting: Four hospitals simulated from one academic centre with age, renal case-mix and laboratory-availability skew; a data-scarce regime keeping 5-20% of each hospital's patients; and a natural partition by care era. Participants: 425,215 adult admissions (186,103 patients; 2.35% in-hospital mortality) in MIMIC-IV v3.1, with predictors from the first 24 hours. Interventions: BFE against centralised, local-only, FedAvg, FedProx, median and Multi-Krum FedAvg and federated logistic regression, under seven attacks on training, attestation, recalibration and model delivery. Main outcome measures: AUROC and AUPRC (joint patient-clustered bootstrap), calibration, attack effects, gas and transactions. Results: Under gross label flipping, FedAvg lost 29% of its AUPRC while the contract excluded the poisoned models in every seed (Multi-Krum FedAvg was equally protected); all substituted models were detected, and collusion blocked release. A targeted flip of female deaths passed the gate and lowered sensitivity for deaths in women from 32.8% to 27.5%; poisoned recalibration inverted BFE-PW (AUROC 0.098) unless a median-of-sites recalibration was used (0.902). With large hospitals, BFE-PW matched FedAvg in AUROC (0.902) and BFE-Stack matched FedProx (0.907 and 0.906), below local-only (0.910) and centralised XGBoost (0.915), with lower AUPRC; with 5% of the data, BFE-PW exceeded local models (0.866 against 0.844). Pooled calibration hid two-fold under-prediction at one hospital (observed-to-expected ratio 2.13), which a local intercept corrected (0.93). One aggregation used 37 transactions and 3.3 million gas, rising roughly quadratically with consortium size. Conclusions: Contract-enforced peer attestation gave auditable, automatic exclusion of grossly poisoned and substituted models at a small accuracy cost, but did not detect attacks that preserve validation discrimination. It is most useful for consortia of small hospitals that need a verifiable record of which models entered a shared tool.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.