VeFed: a virtual epidemiological environment for federated training of clinical language agents

Introduction Federated learning (FL) lets hospitals train shared clinical models without pooling patient data, yet FL is almost always tested on static, pre-split datasets. In the real world, cases arrive as a stream whose volume and disease mix follow each site's epidemic phase, and new diseases can appear that no site has seen. Methods We built VeFed, a testbed that couples stochastic SIR epidemics or controlled case-arrival schedules with LLM-generated patient-clinician dialogs across hospital silos. Each silo fine-tunes a LoRA-adapted DistilBERT classifier, and we compared six aggregation rules (FedAvg, FedProx, FedSGD, FedAdam, FedNova, SCAFFOLD). Fictional diseases ruled out prior knowledge from pre-training. We replicated key tests on MIMIC-IV-ED and MIMIC-IV-Note text and tested each claim against five controls fixed before they were run. We also introduce PrototypeBank, a federated nearest-centroid method that detects and names new diseases without retraining. Experiments used 10 seeds unless noted. Results Case-arrival shape changed time to competence (round-10 accuracy 0.557–0.920 across five shapes) but not final accuracy on synthetic text. On real clinical notes, the ramp schedule also lowered final accuracy (0.721 vs. 0.885 for burst). Staggered epidemic peaks across silos caused no detectable penalty. With ample data, federated and isolated training reached the same clustering quality and detected a new disease at the same round. With scarce data, prior federation raised novel-disease recall to 0.991, compared with 0.704 for isolated training ( n = 3 seeds). Softmax-based detection flagged known diseases as novel 92% of the time, and PrototypeBank cut this to 16%. kNN detection still recovered more novel cases (recall 0.954 vs. 0.444). Detection latency held from 3 to 10 silos (10.9 vs. 11.2 rounds). LLM paraphrasing cut the mutual information between text and disease label about 15-fold. Discussion Federation value depends on data volume. It adds little when silos have enough cases alone and helps silos where cases are still scarce. PrototypeBank gives up some recall in exchange for a smaller privacy footprint than calibration-set detectors. The proposed simulation provides a reproducible testbed for studying methodological and systemic aspects of FL in healthcare AI, supporting the development of secure, adaptive, distributed clinical intelligence systems.

Authors

Institutions

Publication Details

Journal
Frontiers in Applied Mathematics and Statistics
Published
2026-11-04
DOI
https://doi.org/10.3389/fams.2026.1923274
Primary Topic
Privacy-Preserving Technologies in Data
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

VeFed: a virtual epidemiological environment for federated training of clinical language agents

Sadi Alawadi, Leon Nascimento, Feras M. Awaysheh, Abbas Cheddad
Frontiers in Applied Mathematics and Statistics
Privacy-Preserving Technologies in Data
article

VeFed: a virtual epidemiological environment for federated training of clinical language agents

Sadi Alawadi, Leon Nascimento, Feras M. Awaysheh, Abbas Cheddad
article en

Abstract

Introduction Federated learning (FL) lets hospitals train shared clinical models without pooling patient data, yet FL is almost always tested on static, pre-split datasets. In the real world, cases arrive as a stream whose volume and disease mix follow each site's epidemic phase, and new diseases can appear that no site has seen. Methods We built VeFed, a testbed that couples stochastic SIR epidemics or controlled case-arrival schedules with LLM-generated patient-clinician dialogs across hospital silos. Each silo fine-tunes a LoRA-adapted DistilBERT classifier, and we compared six aggregation rules (FedAvg, FedProx, FedSGD, FedAdam, FedNova, SCAFFOLD). Fictional diseases ruled out prior knowledge from pre-training. We replicated key tests on MIMIC-IV-ED and MIMIC-IV-Note text and tested each claim against five controls fixed before they were run. We also introduce PrototypeBank, a federated nearest-centroid method that detects and names new diseases without retraining. Experiments used 10 seeds unless noted. Results Case-arrival shape changed time to competence (round-10 accuracy 0.557–0.920 across five shapes) but not final accuracy on synthetic text. On real clinical notes, the ramp schedule also lowered final accuracy (0.721 vs. 0.885 for burst). Staggered epidemic peaks across silos caused no detectable penalty. With ample data, federated and isolated training reached the same clustering quality and detected a new disease at the same round. With scarce data, prior federation raised novel-disease recall to 0.991, compared with 0.704 for isolated training ( n = 3 seeds). Softmax-based detection flagged known diseases as novel 92% of the time, and PrototypeBank cut this to 16%. kNN detection still recovered more novel cases (recall 0.954 vs. 0.444). Detection latency held from 3 to 10 silos (10.9 vs. 11.2 rounds). LLM paraphrasing cut the mutual information between text and disease label about 15-fold. Discussion Federation value depends on data volume. It adds little when silos have enough cases alone and helps silos where cases are still scarce. PrototypeBank gives up some recall in exchange for a smaller privacy footprint than calibration-set detectors. The proposed simulation provides a reproducible testbed for studying methodological and systemic aspects of FL in healthcare AI, supporting the development of secure, adaptive, distributed clinical intelligence systems.

Frontiers in Applied Mathematics and StatisticsVol. 12
United Arab Emirates University (AE), Blekinge Institute of Technology (SE), University of Tartu (EE), Umeå University (SE)
Openalex Percentile: Top 16%
Privacy-Preserving Technologies in Data
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon