Teaching Note-Poor Hospitals from Note-Rich Ones: Federated Distillation of Clinical Text into Structured-Data Models

Nursing notes and radiology reports carry predictive signal that vital signs and lab values do not. Adding them lifts ICU decompensation prediction from an AUPRC of 31.7 to 39.7, and triage sepsis detection from an AUC of 0.67 to 0.86. Most hospitals that could join a collaborative model cannot contribute or use that text: their notes are not exported, are charted differently, or are too sensitive to process. In a real hospital consortium, a few academic centers have rich notes and many sites have only vitals and labs. Current approaches give those structured-only sites nothing from the text. Either the text branch is dropped, or a single model is trained to tolerate missing inputs.

We propose treating clinical notes as training-time-only information that is shared across the federation. Federated learning here means hospitals train a common model by exchanging weight updates, never raw records. At note-rich hospitals, a fusion "teacher" model reads both structured time series and notes. It then trains a structured-only "student" to reproduce the teacher's predictions. The student's structured-data encoder is the one component averaged across every hospital, so what the teacher learned from text flows, through shared weights, into the model deployed at hospitals that never had notes. The question is how much of the text-derived performance gain a structured-only hospital can recover this way. A second question is whether that gain comes from the text content itself or merely from distillation acting as a regularizer.

Core Claim

A structured-only model trained federatedly with note-informed distillation at note-rich sites will recover a measurable fraction of the gap between structured-only and fused performance at hospitals that have no notes. It will do so better than three alternatives:

  • Missing-modality training: one multimodal model trained with random text dropout.
  • Linearization: all structured data converted to text.
  • Distillation without federation: distillation done once at a single site and then transferred.

The contribution is a specific use of an old idea, learning from privileged information, in the setting where it matters clinically. It comes with a decisive measurement: a gap-recovery fraction on a hospital whose true with-notes performance we know because we withheld its notes.

This differs from each close relative:

  • The Universal EHR Federated Learning Framework serializes structured events into text and federates a single text model across MIMIC and eICU hospitals. It never separates notes from time series and gives no mechanism for text at one site to help another site. It also reports federated training recovering only a 3.4% gain over local training versus 10.4% for centralized training, which tells us naive federation already leaves much on the table.
  • FedCMI distills a dominant modality into a weaker one on audiovisual clients to fight modality suppression. There, the student is still used when both modalities exist; here, the student's whole purpose is deployment where the teacher's modality never appears.
  • FediLoRA and MFedPBA repair weights or align prototypes under missing modalities on vision-language and document benchmarks. Neither studies irregular clinical time series, and neither asks whether one site's modality can improve another site's unimodal model.

Research Program

Structured features. All clients share a harmonized structured feature set built with the cohort and preprocessing pipeline of YAIB. This matters because YAIB shows preprocessing and cohort choices move scores more than architecture does. The structured encoder is a channel-wise recurrent or 1D-convolutional time-series model in the style of Husmann et al. and the hourly-token design of A Multimodal Transformer.

Teacher model at note-rich sites. The teacher adds a clinical BERT note encoder and cross-attention, in which structured hourly states query note sentences, following Husmann et al. We use only nursing notes and radiology reports, because that paper found physician progress notes add little. We exclude discharge summaries, which are written after the outcome and leak the label. The teacher at time $t$ sees only notes timestamped before $t$.

Parameter sharing. The structured encoder $\theta_s$ is shared by the teacher and the student and is averaged across all clients. The text encoder and fusion layers $\theta_f$ are averaged only among note-rich clients. This partial aggregation follows Mm-FedAvg, without its server-side labeled set.

Training objective. At a note-rich client, the local loss is

$$ \mathcal{L} = \ell(y, p_T) + \ell(y, p_S) + \lambda\,\mathrm{KL}(p_T \,\|\, p_S), $$

where:

  • $y$ is the label (for example, death before discharge);
  • $p_T$ is the teacher's predicted probability from structured data plus notes;
  • $p_S$ is the student's prediction from structured data alone, using the same $\theta_s$;
  • $\ell$ is cross-entropy;
  • $\lambda$ weights the distillation term.

Structured-only clients minimize $\ell(y, p_S)$ alone. Because $\theta_s$ is averaged, gradients shaped by the notes reach every hospital.

Distillation happens on-site and continuously during federation, not as a one-off. This lets the structured-only sites' data correct the student's structured representation while the teacher keeps steering it toward what the notes reveal.

Analyses. We will measure where the recovered gain concentrates: by task, by hours since admission (notes carry a lead-time advantage early in stays), and by how structurally different the receiving hospital is from the note-rich ones.

Baselines

Structured-only FedAvg. The naive reference is a structured-only model trained with FedAvg (and FedProx) across all clients on the identical harmonized features. It defines the zero point of gap recovery. Local-only training and centralized structured-only training bracket it. There is no Lacuna-reported federated AUPRC on these exact tasks. The centralized structured-only references are the EHR-only Transformer decompensation AUPRC of 31.7 and LSTM of 33.3 (Husmann et al.), and mortality AUROCs of 0.84 to 0.87 across YAIB datasets (YAIB).

Missing-modality multimodal model. The strongest existing competitor is a single federated multimodal model trained with random text dropout and deployed text-free at structured-only sites. It is run with the same encoders, the same number of communication rounds, and the same tuning budget. It is the natural answer the field would give, and it is what the missing-modality federated methods above effectively optimize. No reported result was found on Lacuna for this configuration on clinical data.

UniHPF linearization. We also run UniHPF-style linearization with FedAvg and FedBN, reproduced on our splits, as the published federated EHR system (Universal EHR FL Framework). Its only reported figure is a 3.4% average gain over local learning. No task-level AUPRC for it was found on Lacuna.

Upper reference. The upper reference is the centralized fused model. Its published counterparts are an AUPRC of 39.7 for decompensation (Husmann et al.) and an AUCPR of 0.538 for in-hospital mortality (A Multimodal Transformer), both on MIMIC-III.

Ablations. Two ablations isolate the key ingredient:

  • Structured-teacher self-distillation. The teacher sees only structured data, testing whether any gain is just the regularization effect of distillation.
  • Shuffled-note teacher. Each stay's notes are replaced with another patient's, testing whether the gain depends on the real text content.

Success criterion. Beating the field means a statistically reliable AUPRC improvement for the student over both text-dropout and self-distillation at held-out structured-only sites. Reliability is assessed by bootstrap confidence intervals over patients and repeated over five seeds, with all methods given equal hyperparameter search budgets.

Why not just…?

Why not just train one multimodal model with text dropout and run it without text where notes are missing? This is the real threat. It shares parameters in a similar way, and it may already push the structured pathway to be self-sufficient. The difference is that dropout trains the structured pathway to be adequate without text. Our objective explicitly trains it to imitate a model that has text. The head-to-head comparison at matched compute settles this. If text dropout matches the student's gap recovery, we will report that the simpler method suffices and that the distillation term is unnecessary.

Why not just linearize everything into text and federate a language model? Linearization does not create notes at hospitals that lack them. It only re-encodes their structured data. The evidence in the file also points away from it:

  • UniHPF's federated version closed only a small part of the centralized gap.
  • MUFASA found specialized modality branches beat a monolithic Transformer (top-5 recall 0.9075 versus 0.8756).
  • Benchmarking Foundation Models found a dedicated time-series encoder outperformed serialized text for length of stay.

We include linearization as a baseline rather than assume it loses.

Why not just distill once at a single note-rich hospital and send the student to everyone? This skips federation and is cheap. It will likely capture some of the gain. Its weakness is that the student's structured representation is then fit only to that hospital's case mix and charting patterns. Those are exactly what vary across eICU, HiRID and AUMCdb. We run this "distill-then-FedAvg-fine-tune" pipeline as a baseline. If it matches continuous federated distillation at the held-out sites, the federated component of our claim fails.

Why not just generate synthetic notes at note-poor sites? Reconstructing missing raw modalities has been shown to be noisy and inferior to latent-level approaches in M³Care and LCKD. Generating plausible nursing text from vitals also invites circularity: the generator can only restate the structured signal. We therefore do not pursue it beyond noting this evidence.

Proposed Experiments and Decisive Checks

Clients.

  • Note-rich: MIMIC-III split into its CareVue and Metavision systems (nursing and radiology notes), and MIMIC-IV with radiology reports, with stays overlapping MIMIC-III removed.
  • Structured-only: the seven largest eICU hospitals, as in UniHPF, plus HiRID and AUMCdb.

Tasks and metrics. Tasks are in-hospital mortality at 48 hours and hourly decompensation, with 25-phenotype classification as a secondary task. Metrics are AUPRC (primary, given low prevalence), AUROC and calibration error, reported per site.

Decisive check. We make MIMIC-III Metavision a note-withheld client during training. Because its notes exist, we can compute its true fused-model score and define

$$ R = \frac{A_{\text{student}} - A_{\text{struct}}}{A_{\text{fused}} - A_{\text{struct}}}, $$

where:

  • $A$ is test AUPRC on that site;
  • "struct" is structured-only FedAvg;
  • "fused" is the federated teacher evaluated with that site's real notes.

Kill criteria. The idea is supported if $R$ is clearly positive and exceeds $R$ for text dropout, self-distillation and single-site distillation. It is refuted if the shuffled-note ablation achieves a similar $R$ (the gain is regularization, not text) or if text dropout matches it.

Secondary checks. We test whether gains at eICU, HiRID and AUMCdb shrink with distance from the note-rich sites' case mix, and whether gains concentrate in early hours of the stay, as the lead-time argument predicts. Finally, we check that note-rich sites' own fused performance does not degrade when they share $\theta_s$ with structured-only hospitals.