PedsFM: Learning Pediatric Trajectories at Native Physiological Resolution with a Hybrid Discrete-Continuous Architecture

Daniela Chanci, Baraa Abed, Mehak Arora, Henry P. Foote, Kush Narang, Noah Stanco, Tasnuba Islam, Alexandre T. Rotta, Christoph P. Hornik, Ioannis Koutroulis, Jennifer A. Muszynski, Mark S. Wainwright, Akira Nishisaki, Sanjiv D. Meta, Neel Shah, Daniel Tawfik, Shu-Ling Chong, Jan Hau Lee, Aaron Kornblith, Chris A. Rees, Stephanie Brown, Rishikesan KamaleswaranarXiv 2026

TL;DR

Clinical foundation models are almost exclusively trained on adults and typically force continuous measurements—like heart rate or lab results—into rough categorical bins. PedsFM breaks this mold: it is a generative foundation model built specifically for pediatric intensive care that processes both discrete medical events and exact, continuous physiological numbers side-by-side. Without any task-specific fine-tuning, it simulates realistic patient vital signs and even beats specialized, supervised machine learning baselines at predicting critical lab abnormalities.

What Problem Does This Paper Address?

Imagine trying to read a musical score where all the exact pitches have been rounded to "low," "medium," or "high." That is essentially how most Electronic Health Record (EHR) foundation models treat numerical medical data. To fit patient histories into language-model-style architectures, models usually chop continuous numbers into population-level bins (discretization) and ignore high-frequency data like vital signs altogether, focusing instead on sparse events like diagnostic codes and medication orders.

In adult medicine, you might get away with this. In pediatrics, it falls apart. A heart rate of 130 beats per minute is completely normal for a newborn, mildly concerning for a toddler, and a red-alert emergency for a teenager. Rounding those numbers into broad buckets erases the subtle, age-dependent variations that pediatric critical care relies on. Furthermore, children are severely underrepresented in healthcare AI—out of 53 structured EHR foundation models reviewed in recent literature, zero were pretrained specifically on pediatric data. Because labeled pediatric datasets are small and critical outcomes are rare, pediatricians need a generalist model that understands the native resolution of a child's physiology.

Methods

PedsFM is an 86.57-million-parameter, decoder-only Transformer trained via next-token prediction. Its core innovation is a hybrid discrete-continuous architecture that handles words (events) and numbers (measurements) in a single chronological sequence without discretizing the numbers.

PedsFM hybrid architecture showing separate input embedding pathways and dual discrete/continuous prediction heads.

Here is how a patient’s timeline flows through the model:

  • Interleaved Tokenization: Discrete events (demographics, unit transfers, medications, procedures) become standard tokens. Continuous events (vital signs, lab values, ventilator settings) are split into a pair: a discrete token naming the variable (e.g., VITAL_heart_rate), immediately followed by the normalized continuous scalar value. Elapsed time is tracked using discrete "delta tokens" whenever more than five minutes pass between events.
  • Context-Aware Input Pathways: Discrete tokens use a standard embedding lookup. When a continuous number arrives, it is linearly projected into the embedding space, concatenated with the embedding of the immediately preceding variable-name token, and projected back down. This clever trick ensures a normalized value of 1.5 means something totally different if it follows "heart rate" versus "blood pressure."
  • Dual Prediction Heads & Deterministic Routing: Depending on what comes next in the sequence, the Transformer routes its hidden state to one of two heads. Discrete tokens go to a standard Language Modeling (LM) head trained with focal loss (to keep frequent, mundane events from drowning out rare ones). Continuous values go to a Gaussian Mixture Model (GMM) head trained via negative log-likelihood, which outputs means, standard deviations, and mixture weights to predict a rich, continuous probability density rather than a single point estimate.
Evaluation strategies: Monte Carlo rollouts, query-conditioned GMM scoring, and linear probing.

To make predictions on new patients without fine-tuning, the authors use two neat zero-shot strategies: Monte Carlo rollouts (simulating 20 future patient timelines to see how often an event like mortality occurs) and Query-Conditioned GMM Scoring (appending a lab token like LAB_RESULT_lactate and reading the exact tail probability of an abnormal value directly off the GMM curve in a single forward pass).

Datasets

The authors curated a private, retrospective, multicenter dataset across three specialized U.S. pediatric hospitals spanning 2010 to 2024:

  • Scale: 76,652 hospitalizations (from 56,655 unique patients under age 18) involving at least one Pediatric Intensive Care Unit (PICU) admission. Split at the patient level, 65,228 hospitalizations (237.41 million tokens) were used for training.
  • Leakage Prevention: Notably, the authors excluded ICD-10 diagnostic codes. Because diagnoses are often finalized or revised after a patient is discharged, including them in a chronological trajectory leaks future information into the past.

Key Insights and Ideas

  • The model learns pharmacology on its own: Using UMAP, the authors saw discrete tokens naturally self-organize into clinical clusters (medications, labs, vitals). Even cooler, when they artificially injected medication tokens into patient timelines, PedsFM shifted its vital sign predictions in pharmacologically accurate ways—raising heart rate after simulated epinephrine and suppressing respiratory rate after fentanyl. Remarkably, these shifts were baseline-dependent (e.g., epinephrine raised heart rate more when the patient's baseline heart rate was low), capturing nonlinear physiological ceilings purely from observational data.
  • Stop relying only on the last token: In decoder-only models, causal attention lets the final token see the entire history, so researchers routinely grab the last token's hidden state as the "patient summary" for downstream classifiers. Here, mean-pooling across all sequence positions beat the last-token representation on every single task. In dense, noisy critical care trajectories, vital context is distributed across the timeline and gets diluted at the very end.
  • Different clinical questions need different decoding mechanisms: Linear probes (logistic regression on frozen embeddings) were great at predicting macro, cumulative endpoints like mortality, whereas single-pass GMM scoring dominated on dynamic, threshold-based lab abnormalities. A compressed vector summarizes overall patient state well, while the generative GMM head preserves immediate, measurement-specific nuance.

Key Results

  • Zero-Shot Beats Supervised Baselines on Labs: Using single-pass GMM scoring, zero-shot PedsFM outperformed a fully supervised, task-specific XGBoost model across all four organ-dysfunction lab abnormality tasks—achieving AUROCs of 0.954 vs. 0.930 (lactate), 0.976 vs. 0.959 (platelets), 0.988 vs. 0.979 (bilirubin), and 0.877 vs. 0.835 (glucose).
  • Macro Outcomes & Linear Probing: On long-horizon rollout tasks (early 7-day mortality and 24-hour vasopressor initiation), zero-shot PedsFM showed strong risk stratification (AUROCs of 0.868 and 0.814), though supervised XGBoost scored higher (0.960 and 0.947). However, training a simple linear probe on frozen, mean-pooled PedsFM embeddings closed that gap, matching XGBoost and beating it when labeled training samples were scarce.
  • Plausible Vital Sign Generation: Forecasting 12 hours of vitals, PedsFM beat a standard "last-seen-value carry-forward" baseline on heart rate ($r = 0.88$ vs. $0.85$; MAE $9.73$ vs. $11.90$ bpm), respiratory rate ($r = 0.83$ vs. $0.81$), blood pressure, and temperature, only losing out on $\text{SpO}_2$ due to its narrow, ceiling-skewed distribution.

Limitations and Future Work

  • Dataset Scale & Generalizability: At 237 million training tokens across three hospitals, PedsFM is orders of magnitude smaller than adult EHR behemoths like Epic Cosmos (150+ billion tokens), which may cap zero-shot rollout performance on rare outcomes like mortality. Expanding to more pediatric centers and conducting external, prospective validation are ongoing priorities.
  • Discretized Time & Bounded Distributions: While physiological measurements are kept continuous, time itself is still discretized into bucketed delta tokens, and medication dosages weren't included. Future iterations aim to use continuous time encodings, integrate unstructured modalities (like clinical notes or waveforms), and add non-Gaussian mixture distributions to better model bounded variables like $\text{SpO}_2$.

Summary updated

BibTeX
@misc{chanci2026pedsfm,
  author = {Daniela Chanci and Baraa Abed and Mehak Arora and Henry P. Foote and Kush Narang and Noah Stanco and Tasnuba Islam and Alexandre T. Rotta and Christoph P. Hornik and Ioannis Koutroulis and Jennifer A. Muszynski and Mark S. Wainwright and Akira Nishisaki and Sanjiv D. Meta and Neel Shah and Daniel Tawfik and Shu-Ling Chong and Jan Hau Lee and Aaron Kornblith and Chris A. Rees and Stephanie Brown and Rishikesan Kamaleswaran},
  title = {{PedsFM: Learning Pediatric Trajectories at Native Physiological Resolution with a Hybrid Discrete-Continuous Architecture}},
  year = {2026},
  eprint = {2611.40221},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40221},
}
Figure