World Models: From Dreamer to Patient Timelines

Deep dive · World Models · Health AI

World Models: From Dreamer to Patient Timelines

How machines learn to predict what happens next, from agents that plan inside a dream and playable video worlds to GPT-style models that simulate a patient's future one medical event at a time.

World ModelsModel-Based RLGenerative VideoJEPAEHRETHOS

Summary

  • A world model is a learned \(p(\text{next state} \mid \text{history}, \text{action})\). The term now covers five families: control models for planning, interactive video simulators, latent predictive (JEPA) models, language models used as simulators, and domain models such as health timelines.
  • Control world models went from Ha & Schmidhuber's "dream" (2018) through PlaNet, Dreamer and MuZero to Dreamer 4 (2025). Dreamer 4 learned to mine diamonds in Minecraft purely from offline data.
  • Video models became world simulators once they took actions and stayed consistent. Genie inferred latent actions from unlabeled video, and Genie 3 (2025) ran at 720p and 24 fps with minutes of memory. JEPA models instead predict in feature space; V-JEPA 2 planned robot actions toward image goals.
  • Health world models apply the GPT recipe to medical records. Each patient's history becomes tokens: codes split into pieces, lab values as quantile bins, and time-gap tokens. A decoder learns to predict the next token, and questions are answered by sampling many futures and counting outcomes.
  • ETHOS (2024) did this on MIMIC-IV with no task labels. It reached AUROC 0.92 for inpatient mortality and 84.8% top-1 accuracy on DRG classes. Delphi-2M (2025) models lifetime histories of 1,000+ diseases. Epic's CoMET (2025) trained on 115B events and found scaling laws close to language.
  • Prediction is not intervention: appending a treatment token gives what happened to patients who got it, not what the treatment would do. Counterfactual use needs causal design.
  • Evaluate a world model by its use, not its next-step loss. Simulators need closed-loop control, action controllability and long-horizon consistency. Health models need discrimination, calibration, subgroup and privacy checks.

Key Concepts

The core ideas of this book, one card each: a definition, an explanation from basics, why it matters, a common misconception and a diagram. Click a card, or any dotted-underlined term with a badge in the text, to open it in the side panel. To add your own, highlight any phrase and choose Key Concept.

Expert Primer: Mental Models, Debates and Self-Test

This page condenses the book into what an expert carries around. It holds five ideas that apply across Dreamer, Genie, JEPA, language-model simulators and ETHOS. It sets out three live disagreements where informed people still differ. It ends with ten questions that test whether the ideas can be used, not just recited.

Read it first as a map. Come back to it as a test after either half of the book.

Five Core Mental Models

Researchers who agree on almost nothing else about world models agree on these five. Each one explains a recurring design choice in both halves of the book.

Together they cover what a world model is, how to judge it, why it fails, how it answers questions, and what it cannot answer.

1. One object, many costumes. Every system in this book is one learned conditional distribution, \(p(\text{next state} \mid \text{history}, \text{action})\), with a different choice of state, action and consumer.

One conditional distribution feeds three choices: the state, the action or context, and the consumer, shown for Dreamer and ETHOS. p(next state | history, action) state s_t action a_t / context consumer Dreamer latent game state controller input policy learner ETHOS next medical token record so far sampler counts outcomes
Fig. One object, three decisions (schematic). The same conditional distribution becomes Dreamer or ETHOS depending on what counts as the state, what it is conditioned on, and who reads the output.
  • Why experts hold it. It reduces a zoo of systems to three decisions: what \(s_t\) is, what \(a_t\) is, and who reads the output.
  • Control example. Dreamer predicts a latent game state, given a controller input, for a policy learner.
  • Health example. ETHOS predicts the next medical token given the record so far, so a sampler can count outcomes.

See The Four Pieces of a World Model and The Patient Timeline as an Environment.

2. Judge it by its use, not its loss. Next-step likelihood is a training signal, not a quality measure, because what the model is for (decisions, controllable worlds, calibrated risks) can diverge from it.

Next-step loss on the left; three uses on the right (decisions, controllable worlds, calibrated risks), each with its own check, joined by dashed arrows marked can diverge. Next-step loss training signal can diverge Decisions closed-loop control Controllable worlds action controllability Calibrated risks calibration and subgroups
Fig. Loss versus use (schematic). The training signal sits on the left; the three purposes it is supposed to serve, each judged by its own check, sit on the right.
  • Control evidence. Lambert et al. (2020) found lower prediction error did not reliably raise reward.
  • Video evidence. Physics-IQ found visual realism unrelated to physical understanding. World-in-World found controllability mattered more than visual quality for closed-loop success.
  • Health evidence. AUROC measures only how well a model ranks patients. ETHOS's mortality AUROC of 0.92 therefore says nothing about whether its 20% means 20%.

See Evaluating World Models and Evaluating Health World Models.

3. Errors compound, and optimizers find them. A model run on its own outputs accumulates error with horizon, and anything that searches or trains against it will find the states where it is wrong.

Error rising faster and faster with rollout horizon, with a dashed trusted-horizon line: short branched rollouts before it, a learned value beyond it. rollout horizon (steps on its own outputs) error trusted horizon short branched rollouts (MBPO) learned value beyond (TD-MPC2) error compounds
Fig. Compounding error and the trusted horizon (schematic). Error grows with each step taken on the model's own outputs, so planners trust the model only over a short span and hand off to a learned value beyond it.
  • Why experts hold it. They treat both effects as permanent facts to manage, not bugs to fix.
  • Standard remedies.
    • Short branched rollouts (MBPO).
    • Noise on context and self forcing for video drift.
    • Uncertainty penalties for planners.
    • A learned value beyond the trusted horizon (TD-MPC2).
  • Control evidence. The original World Models controller exploited its dream until the authors raised the sampling temperature.
  • Health evidence. Delphi-style disease models lose discrimination as the horizon stretches from one to ten years.

See Model-Based versus Model-Free and Drift and Long-Horizon Consistency.

4. Simulation is Monte Carlo estimation. A generative world model answers a question by sampling many futures and computing a statistic over them.

K futures fan out from the present; some end in the outcome. Their share becomes the estimate, which carries sampling error and model error. K sampled futures now Estimate share of futures with the outcome sampling error ∝ 1/√K shrinks with more samples model error set by p_θ; samples do not remove it
Fig. Simulation as Monte Carlo (schematic). Filled end points mark futures that reach the outcome. The estimate inherits two separate errors, and only one of them falls as K grows.
  • Two errors. Sampling error shrinks as \(1/\sqrt{K}\). Model error is not removed by any number of samples.
  • Same machinery in both halves. CEM (the cross-entropy method, a sampling-based planner) scores 512 imagined action sequences in a latent space. ETHOS counts death tokens in 20 sampled hospital stays.
  • Design consequence. Experts ask both "how many samples?" and "how good is \(p_\theta\)?".

See Zero-Shot Inference by Simulation and TD-MPC2.

5. Data carry the policy that generated them; conditioning is not intervening. A model trained on logged experience learns the world as acted on by whoever collected the data.

Severity drives both who gets a vasopressor and who dies; the drug's own effect is a separate dashed arrow. Conditioning on the token mixes both paths. Severity partly unrecorded Vasopressor given Death sicker patients get it sicker patients die drug effect? conditioning on the token sees both paths mixed
Fig. Confounding by indication (schematic). Severity drives both treatment and death, so the vasopressor token predicts death even if the drug's own effect, the dashed arrow, is helpful.
  • Mechanism. Appending an action and resampling shows what followed that action in the data, not what the action causes.
  • Health example. This is confounding by indication. Sicker patients get vasopressors, so a vasopressor token predicts death even if the drug helps.
  • Control example. The same logic explains why offline control models fail where the logging policy never went.

See Prediction Is Not Intervention and What Counterfactual Use Requires.

How the five connect

Model 1 says what to build, model 2 how to judge it, and model 3 why it degrades in use. Model 4 says how it turns into numbers, and model 5 which numbers it cannot give. Most failures in the book violate exactly one of them.

Three Fundamental Disagreements

The field's sharpest arguments are not about benchmarks. They are about what a world model should predict, whether next-token prediction is enough to build one, and whether a big observational simulator can answer causal questions.

Each debate below gives the strongest case for both sides, using evidence cited elsewhere in the book, and a one-line view of where it is heading.

Debate 1. Should a world model predict observations (pixels, tokens) or abstract latents? Generative models reconstruct the future in full. JEPA-style and value-equivalent models predict only an embedding or the quantities a decision needs (Generative versus Latent Prediction).

The case for generative prediction.

  • Small cues matter. Decision-relevant information can live in a few pixels. DIAMOND generated frames with diffusion and kept small visual cues. It reached a mean human-normalized Atari 100k score of 1.46, above token-based IRIS at 1.046.
  • Visible failures. A generative loss cannot collapse, and its rollouts can be inspected by eye, which makes failures visible. Latent failures hide until a downstream task breaks.
  • Scale and products. It scales on the internet's most abundant data and delivers products. Genie 3 runs real-time interactive worlds. Dreamer 4, trained like a video model, learned Minecraft diamonds offline.

The case for latent prediction.

  • Wasted capacity. Most pixel detail is unpredictable and irrelevant. Forcing a model to predict it wastes capacity and yields blurry averages (LeCun 2022).
  • Cheap planning. Planning needs hundreds of cheap rollouts per step. V-JEPA 2-AC planned zero-shot pick-and-place after less than 62 hours of robot video. DINO-WM reached goals more reliably than IRIS, DreamerV3 and TD-MPC2.
  • Value equivalence. A model only has to be right about what the agent will compute (value equivalence). MuZero matched AlphaZero without ever reconstructing a board.
  • Looking right is not being right. Physics-IQ found realism unrelated to physical understanding, which undercuts the inspectability argument.

Where it is heading. Toward hybrids judged in closed loop. Generative models serve where a human or renderer consumes the output, and latents where a planner does. A growing share of systems (Dreamer 4, DINO-WM) mix a strong pretrained representation with action-conditioned dynamics.

Debate 2. Do next-token predictors learn world models, or surface statistics? The question applies to LLMs and equally to ETHOS and CoMET, which are language models over clinical codes (Do Language Models Have World Models?).

The case that they learn world models.

  • Used internal state. Othello-GPT's board state could be probed from activations. Editing it changed the predicted moves, so the representation is used, not merely decodable. Nanda et al. showed it is linear in a "mine versus theirs" basis.
  • Unrequested structure. LLMs linearly encode real-world coordinates and dates (Gurnee & Tegmark), structure no one asked for.
  • Real usefulness. WebDreamer planned competitively with tree search at a fraction of the cost. CoMET found lower loss predictably improved 78 downstream clinical tasks.

The case that they learn surface statistics.

  • Accuracy without coherence. Near-perfect next-step accuracy can coexist with an incoherent model. Vafa et al.'s taxi-route transformers implied impossible street maps and broke on detours.
  • Retrieval, not generalization. Kang et al. found video models fail out of distribution, and scaling did not fix it.
  • Drift as simulators. Wang et al. (2024) judged GPT-4 not yet a dependable text-world simulator. Agent World Model found database-backed state gave more consistent training signal than LLM-simulated state.

Where it is heading. Away from a yes/no answer toward "which rung". The framework is Mitchell (2025)'s ladder (lookup table, map, orrery, simulator) plus compression and distinction tests. Executable state is used wherever consistency matters.

Debate 3. Can a large observational health model answer treatment questions? One side expects scale and rich histories to make generative event models usable for "what if". The other holds that only explicit causal design can (Prediction Is Not Intervention).

The case that the model can carry the causal load.

  • Richer histories. The ETHOS authors present treatment-pathway simulation as a use (Renc et al. 2024). A richer history makes "no unmeasured confounding" more plausible, because more of the severity a clinician saw is in the record.
  • A g-formula engine. A generative event model is a natural engine for the g-formula: replace the learned clinician policy with a fixed strategy and roll forward. One Patient, Two Futures did this. Its lactated Ringer's versus saline comparison landed closer to a randomized trial than two conventional observational analyses.
  • Fidelity keeps improving. Simulators can reproduce care statistics closely (Akagi et al. 2026: observed-to-expected ratios near 1 on a later year). The scaling results suggest fidelity keeps improving.

The case that explicit causal structure is required.

  • Conditioning is not doing. Conditioning returns \(p(Y \mid H, A{=}a)\), not \(p(Y \mid H, \mathrm{do}(A{=}a))\). The gap is unrecorded severity. Scale reproduces the confounded association more faithfully, not less (confounding by indication).
  • Silent positivity failures. Positivity means that similar patients actually received each treatment. Where none did, the model generates whatever its inductive biases suggest. Off-policy evaluation from records is fragile (Gottesman et al. 2019), and medDreamer's gains remain off-policy estimates with no patients treated.
  • Blind spots and caution. Common modeling shortcuts create causal blind spots (van Geloven et al. 2024). The 2026 review by Liu et al. calls for target-trial emulation, sensitivity analysis and prospective testing first.

Where it is heading. Toward generative models as engines inside target-trial emulation. These would be validated against randomized trials and counterfactual calibration (Keogh & van Geloven), with forecasting under usual care as the default output.

DebateSide ASide BEvidence that would move it
What to predictPixels or tokens: inspectable, no collapse, keeps small detailsLatents: efficient, cheap to plan in, ignores the unpredictableHead-to-head closed-loop results at matched compute across many tasks, not a few robot demos
Next-token world modelsProbes and interventions show used internal stateCoherence tests and OOD failures show patchwork heuristicsCompression and distinction tests on large models in open domains; behavior under detours and edits
Causal use of health modelsRich histories plus g-formula rollouts can approximate trialsUnmeasured confounding and positivity need explicit designMany pre-registered comparisons of simulated treatment effects against randomized trials

Table. The three disagreements at a glance. Both sides in each row accept the same facts. They differ on which failure matters more and on what future evidence will show.

Self-Test: Ten Questions

These questions apply the book's ideas to situations it does not describe: estimate a number, diagnose a failure, choose between designs or plan an evaluation. Questions 6 to 10 are on the health half.

Answer each in a few sentences before opening the model answer. Each answer ends with the point a memorizer usually misses.

  1. Compounding error. The book's error model is \(e_k = \epsilon\,((1+\delta)^k - 1)/\delta\), with \(\delta = 0.1\). Team A halves the per-step error \(\epsilon\), and team B halves the amplification \(\delta\). Which team wins at a 5-step horizon, and which at 30 steps?

    Answer Short horizons reward lower \(\epsilon\); long horizons reward lower \(\delta\)

    At \(\delta = 0.1\) the bracket is about 6.1 at \(k = 5\) and 164 at \(k = 30\). The baseline errors are therefore \(6.1\epsilon\) and \(164\epsilon\).

    • Team A halves both: \(3.1\epsilon\) and \(82\epsilon\).
    • Team B, at \(\delta = 0.05\), gets about \(5.5\epsilon\) and \(66\epsilon\).

    So team A wins clearly at 5 steps and team B wins at 30. The crossover is around 24 steps.

    The two levers respond to different fixes. \(\epsilon\) falls with a better one-step model. \(\delta\) falls with training on self-generated context (noise augmentation, self forcing). The right investment therefore depends on the deployment horizon, which is why the evaluation protocol asks for error-versus-horizon curves rather than one number.

    What a memorizer misses: "better model, less drift" is not one lever. The two fixes trade places as the horizon grows.

  2. Imagined success, real failure. A vendor's action-conditioned video model has excellent FVD (Fréchet Video Distance). A team trains a robot grasping policy inside it and sees 90% success in imagination but 20% on the real arm. Diagnose the likely causes and design the checks that should have run first.

    Answer The policy found the model's errors; FVD could not have warned of it

    The 70-point gap is the signature of model exploitation. The policy drifted into states the model renders as successful but gets wrong, such as objects that stick to the gripper or ignore contact.

    FVD compares distributions of clips. A model can therefore score well while responding weakly or wrongly to actions.

    Checks to run before training:

    • Action sensitivity. Different actions should give different futures, and a no-op should leave the scene still.
    • Physics. Run contact and physics probes.
    • Loop closure. Check loop closure.
    • Closed loop. Run a closed-loop benchmark in the spirit of World-in-World.

    Checks to run after training:

    • Return gap. Report the imagined-versus-real return gap.
    • Top trajectories. Inspect the highest-scoring imagined trajectories for impossible events.
    • Mitigation. Penalize ensemble disagreement or shorten the horizon.

    What a memorizer misses: the failure lives in the states the policy visits, which the vendor's test set never covered. More training on the same data does not fix it.

  3. Is it a world model? A sleep model predicts dementia from one night of polysomnography with a C-index of 0.85 (a ranking measure for time-to-event predictions). A clinic wants to use it to show patients how their dementia risk would change if their sleep apnea were treated. What can and cannot the model support, and what would need to be added?

    Answer A hazard model on a snapshot cannot roll out, and its associations are not effects

    As described in SleepFM, the model is a time-to-event head on a representation. It outputs hazards from a snapshot, with no transition between nights and no action input. There is nothing to roll forward under "treated apnea".

    Editing the input to look like a treated night would not help. The prediction would reflect people whose sleep looks like that, who differ in many ways from treated patients.

    Counterfactual counseling would need three additions:

    • Data. Longitudinal records with treatment start (CPAP) recorded.
    • Dynamics. A model of night-to-night transitions conditioned on treatment.
    • Causal design. A target trial emulation with positivity checks, ideally validated against trial evidence.

    The C-index supports risk stratification, not counterfactual counseling.

    What a memorizer misses: high discrimination says nothing about rollout ability or causal validity. Those are separate rungs on the ladder from representation to simulation.

  4. Pixels or latents for the job. Choose a prediction target (pixel/generative or latent) for each: (a) an Atari-like game where the decisive object is a three-pixel ball; (b) a robot arm reaching goal images with CEM planning at 10 Hz; (c) synthetic rare-event driving videos for human safety reviewers.

    Answer Decide by where the information lives and who consumes the output
    • (a) Generative, or at least a representation audited for the ball. Tiny decision-relevant cues are exactly what aggressive compression drops: the DIAMOND argument.
    • (b) Latent. CEM needs hundreds of rollouts per step at control rate, which only latent dynamics afford. Goal images map naturally to embedding distance, as in V-JEPA 2-AC and DINO-WM.
    • (c) Generative. The output itself is the product, and a human must look at it.

    In (b), still check for collapse, and probe that gripper and object pose are readable from the embedding.

    What a memorizer misses: neither school "wins" in the abstract. The answer flips with the consumer, the compute budget per decision and where decision-relevant bits sit.

  5. Accuracy without a map. A transformer trained on city delivery routes predicts the next legal turn 99.8% of the time. A colleague says it has therefore learned the street map. Design an experiment that could prove them wrong.

    Answer Test whether equal states get equal futures and different states different ones

    Next-turn accuracy is consistent with many internal models, including heuristics that never form a map. Apply the compression and distinction tests of Vafa et al.:

    • Compression. Find pairs of route prefixes that end at the same intersection with the same heading. Check that the model allows the same continuations.
    • Distinction. Find prefixes ending at different intersections, and check that the model distinguishes them.
    • Map recovery. Reconstruct the implied map from its predictions and compare it with the real graph.
    • Stress. Add detours and closed streets, and see whether routing degrades gracefully.

    What a memorizer misses: high next-token accuracy is the weakest evidence of a world model. Coherence under rare and altered histories is the real test.

  6. Monte Carlo at low risk. An ETHOS-style model estimates inpatient mortality with \(K = 20\) rollouts. Take a patient whose model probability is \(p_\theta = 0.02\). How often is the estimate exactly 0, and how often does it cross a 10% alert threshold? What \(K\) gives a standard error of 0.01 for patients near 10%?

    Answer About 67% zeros, about 6% false alerts, and roughly 900 samples

    The count of death-terminated runs is binomial, so \(\Pr(\hat{p} = 0) = 0.98^{20} \approx 0.67\).

    Crossing 10% needs at least 2 deaths in 20: \(1 - 0.98^{20} - 20 \cdot 0.02 \cdot 0.98^{19} \approx 0.06\). About one such patient in sixteen therefore triggers an alert by sampling noise alone.

    The standard error at \(p = 0.02\) is \(\sqrt{0.02 \cdot 0.98 / 20} \approx 0.031\), larger than the risk itself. For \(\mathrm{SE} = 0.01\) at \(p = 0.1\), the required sample size is \(K = 0.09/0.0001 = 900\).

    Cheaper alternatives:

    • Adaptive \(K\) for borderline patients.
    • Accumulating per-step outcome-token probabilities along each rollout.
    • A time-to-event model, if the outcome list is fixed.

    None of this touches the gap between \(p_\theta\) and the true risk.

    What a memorizer misses: at small \(K\), low-risk scores are mostly ties and noise, which hurts AUROC and alerting. More samples only estimate the model's probability more precisely, not the patient's.

  7. The harmful drug that isn't. A team appends a vasopressor token to ICU timelines and resamples. Simulated 30-day mortality rises from 12% to 30%. They draft a note that vasopressors may be harmful in this population. What went wrong, and what would a defensible analysis look like?

    Answer They measured who gets vasopressors, not what vasopressors do

    Conditioning on the token returns the outcomes of patients sick enough to receive vasopressors. The jump is confounding by indication.

    Appending a token after a history that did not warrant one also creates an off-support prompt. The model may then treat the token as evidence of unrecorded shock.

    A defensible analysis takes four steps:

    • Write a target trial. Specify eligibility, time zero, strategies (such as "start vasopressor when MAP falls below a threshold" versus "do not") and follow-up.
    • Check positivity along the history.
    • Use the model as a g-formula engine, with the clinician policy replaced by each strategy.
    • Test robustness. Add sensitivity analysis for unmeasured confounding and, where possible, compare with randomized evidence.

    What a memorizer misses: a bigger or better-calibrated model makes this worse, not better, because it reproduces the confounded association more faithfully.

  8. Great AUROC, bad probabilities. A health world model has 0.92 AUROC for 30-day readmission, but its reliability diagram is S-shaped: predicted 40% risks see 22% readmissions. It was sampled with top-\(p\) 0.9, and rollouts that hit the token budget were dropped. Explain the pattern and fix it.

    Answer AUROC is blind to monotone distortion; truncation and censoring create it

    AUROC depends only on ranking, so any monotone distortion of the probabilities leaves it unchanged. Two sampling choices create such a distortion:

    • Top-\(p\) truncation. It removes the low-probability tail at every step. This sharpens trajectories and distorts outcome frequencies over long rollouts.
    • Dropped rollouts. Discarding incomplete rollouts biases \(\hat{p}\) toward outcomes that occur quickly.

    Fix the estimator first. Sample at temperature 1 without truncation, treat incomplete rollouts as censored, and report their rate per task.

    Then fit an isotonic or Platt recalibration on held-out patients. Confirm calibration by subgroup and on a later year, since a recalibration map can drift with practice.

    What a memorizer misses: the next-token loss is a proper scoring rule per token. Sampling choices and censoring at rollout time can still break calibration without changing discrimination.

  9. A tokenizer review. A colleague's ETHOS-style tokenizer uses one-week time buckets and fits lab decile edges on the full dataset. It also keeps DRG tokens in prompts for 30-day readmission. Test AUROC looks excellent. List the problems in order of severity.

    Answer Leakage first, then time resolution, then quiet information loss
    1. DRG leakage (most severe). The DRG is coded after discharge, often days later. A prediction "at discharge" thus uses information a deployed system would not have, and its strong link to severity can inflate the score. Cut prompts strictly at what is available, and audit with leak-prone tokens masked.
    2. Decile leakage. Decile edges fitted on all patients leak the test-set distribution into training. Fit them on training patients only.
    3. Coarse time. One-week buckets make a 30-day stop rule imprecise and blur readmission timing. CEHR-GPT showed that coarse time tokens can wreck time-sensitive synthetic cohorts.
    4. Collapsed extremes. Deciles merge extremes: a top-decile creatinine covers mild and severe elevation. Consider extra bins in clinically important tails.

    What a memorizer misses: tokenization choices are modeling decisions. They can both inflate metrics and change what questions the simulator can answer.

  10. Releasing synthetic patients. A hospital wants to share 1 million synthetic timelines from its health world model, and perhaps the weights. Average fidelity metrics look excellent. What tests are required before release, and what should be refused?

    Answer Test for memorization of rare patients, not average realism

    Population fidelity says nothing about memorization. Memorization concentrates in rare patients, whose timelines the model may reproduce.

    Required tests, as in CEHR-GPT and the memorization tests of Tonekaboni et al. (2025):

    • Nearest-neighbor distances. Compare synthetic-to-training distances with synthetic-to-held-out distances.
    • Exact continuation. Prompt with the first part of real, especially rare-code, timelines and check for verbatim completions.
    • Inference attacks. Run membership- and attribute-inference attacks.

    Suppress or merge rare codes, and check fidelity within subgroups, not only on marginals.

    Weights are riskier than samples because anyone can prompt them adaptively. Share them only under restricted access, if at all.

    What a memorizer misses: "trained on de-identified data" does not make generated timelines private. A timeline can be identifying by its rare combination of events.

Introduction

This book is about one idea that keeps getting reinvented. Learn a model of how the world changes, then use it to imagine, plan or forecast instead of learning everything by trial and error.

The idea recurs across eight decades:

  • 1943. The psychologist Kenneth Craik suggested that minds carry "small-scale models" of reality.
  • 2018. David Ha and Jürgen Schmidhuber trained an agent inside its own learned dream of a racing game.
  • 2024. A GPT-style transformer trained on hospital records predicted patient mortality by generating each patient's next weeks, many times over.

The book has two halves, written to be read in either order.

  • General world models (Foundations through Building a World Model). This half covers what a world model is and where it came from. It shows how control agents learn inside one and how video generators became interactive simulators. It explains why some researchers predict in feature space instead of pixels, asks whether language models contain world models, and closes with how to evaluate and build one.
  • Health world models (Health World Models through Building a GPT-style Health World Model). This half treats the patient timeline as an environment. It walks through ETHOS in detail, including its tokenization and simulation-based inference with code. It then covers the wider family of generative event models (Delphi-2M, CoMET, Foresight and others), physiological simulators and digital twins, the causal limits of "what if", and an evaluation and build playbook.

Readers who came for the GPT-style health models can start at What a Health World Model Is. They can jump back to The Four Pieces of a World Model for the general vocabulary. The Skim / Read / Deep switch at the top controls how much detail each section shows.

What Is a World Model?

A world model is a learned model of how an environment evolves: given what has happened so far and what the agent does next, it predicts what happens next. In its simplest form it is a conditional distribution over the next state, \(p(s_{t+1} \mid s_t, a_t)\), learned from data rather than written down by hand.

Everything else in this book is a variation on that one object. That includes agents that learn in imagination, interactive video simulators, self-supervised video encoders, language models used as simulators, and generative models of patient timelines. The variants differ in what counts as a state, what counts as an action, and what the predictions are used for.

The idea is old. The psychologist Kenneth Craik argued in 1943 that a mind carries a "small-scale model" of external reality. It uses that model to try out alternatives before acting (mental model). Control engineers formalized the same intuition as state-space models and system identification.

What changed in the last decade is scale. Deep networks can now learn such models directly from raw, high-dimensional observations (pixels, tokens, clinical codes). At that scale the model becomes useful on its own: as a training ground for agents, as a game engine, or as a forecaster.

Notation
  • \(x_t\): the raw observation at step \(t\) (an image, a text page, a set of clinical events).
  • \(s_t\): the model's internal state, sometimes split into a deterministic part \(h_t\) and a stochastic part \(z_t\).
  • \(a_t\): an action or other conditioning signal.
  • \(r_t\): a reward; \(\gamma\): a discount; \(H\): an imagination or planning horizon.
  • \(\pi(a \mid s)\): a policy; \(V(s)\): a value function.
  • Hats (\(\hat{x}, \hat{r}\)) mark model predictions.

The Four Pieces of a World Model

Most learned world models decompose into four pieces. Writing them down makes the design space easy to see.

  • Encoder. Turns observations into a state.
  • Dynamics model. Steps the state forward under an action.
  • Prediction heads. Read quantities of interest off the state.
  • Decoder (optional). Maps the state back to observations.
\[ \begin{aligned} &\text{Representation:} && s_t \sim q_\phi(s_t \mid s_{t-1}, a_{t-1}, x_t) \\ &\text{Dynamics:} && \hat{s}_{t+1} \sim p_\theta(s_{t+1} \mid s_t, a_t) \\ &\text{Heads:} && \hat{r}_t \sim p_\theta(r_t \mid s_t), \quad \hat{c}_t \sim p_\theta(c_t \mid s_t) \\ &\text{Decoder (optional):} && \hat{x}_t \sim p_\theta(x_t \mid s_t) \end{aligned} \]

Here \(q_\phi\) is the encoder (it sees the real observation), \(p_\theta\) the parts that must work without it, \(c_t\) a "continue" flag that predicts whether the episode ends, and \(\phi, \theta\) learned parameters.

The design choices that separate the families below are almost all choices about these lines:

  • Decoder. Whether it exists (Dreamer: yes; MuZero, TD-MPC2, JEPA: no).
  • State. Whether \(s_t\) is a vector, a grid of discrete tokens or a diffusion latent.
  • Action. Whether \(a_t\) is a joystick command, a text prompt, a camera path or a drug order.
  • Dynamics. Whether they are a recurrent net, a transformer or a diffusion model.
Anatomy of a world model: encoder, latent state, dynamics conditioned on an action, and prediction heads. Observation x_t image, events, text Encoder x_t → s_t State s_t compact belief Dynamics model p(s_t+1 | s_t, a_t) imagined next state s_t+1 (loop without new x) Action a_t or prompt, camera Decoder x̂_t (optional) Reward r̂_t, value Continue episode ends? heads read the state
Fig. The anatomy shared by most learned world models. The encoder grounds the state in a real observation. The dynamics model steps it forward under an action without seeing new observations (the dashed "imagination" loop). Heads predict whatever the downstream user needs. Families differ mainly in whether the decoder exists and what form \(s_t\) and \(a_t\) take.

Model-Based versus Model-Free

The reason to learn a world model at all is that it lets an agent improve without paying for every trial in the real environment. A model-free agent maps experience straight to a policy or value function. A model-based agent first learns how the world responds, then plans or trains its policy against that model.

Sutton (1990) captured the trade in the Dyna architecture. Real transitions update both the value function and a model. The model then generates extra simulated transitions that update the value function again. Every modern "train in imagination" method, from Dreamer to LLM-simulated tool environments, is a Dyna loop with a better model.

The Dyna loop: acting in the real environment, logging experience, learning a model, and planning with imagined rollouts. Real environment costly, slow, risky Policy / value π(a | s), V(s) Experience log (x, a, r, x′) tuples World model p(s′, r | s, a) action obs, reward log fit model imagined rollouts Model-free top loop only: every update needs a real interaction Model-based (Dyna) add the bottom loop: learn the model, then plan or train the policy on imagined experience
Fig. The Dyna loop. The top loop is ordinary model-free RL. The bottom loop turns logged experience into a model whose rollouts (dashed) train the policy more cheaply. In Sutton's original version real transitions also update the value function directly. That arrow is omitted for clarity.

The catch is that the policy is now optimized against a model that is wrong in places. An optimizer is very good at finding the places where it is wrong. Two consequences recur through the book:

  • Compounding error. Small one-step errors accumulate over long rollouts, so imagined trajectories drift away from anything the real environment would produce. Janner et al. (2019) answered with short model rollouts branched from real states (MBPO), trading horizon for trust.
  • Objective mismatch. A model trained to maximize likelihood of the next observation is not trained to make good decisions. Lambert et al. (2020) showed that lower prediction error does not reliably translate into higher task reward. That finding motivates value-aware models such as MuZero, and evaluation that measures decisions, not pixels (see Evaluating World Models).

One Term, Several Meanings

"World model" now names at least four different research programs, plus a growing set of domain models. Most confusion in discussions of the topic comes from mixing them up. They share the abstract definition above but differ in what the state is, what conditions the prediction, and how anyone checks that the model is good.

  1. Control world models are trained so that an agent can plan or learn inside them. Success means the agent does well in the real environment (World Models for Control).
  2. Generative video and interactive simulators predict future frames, often conditioned on text, camera motion or controller input. They are judged by how real and consistent the generated world looks and feels (Video and Interactive World Simulators).
  3. Predictive-representation models predict the future in an abstract feature space rather than in pixels. They are judged by how useful those features are for recognition, prediction and planning (Predictive Representations).
  4. Language-model world models are either the implicit state that a language model tracks while it predicts text, or an LLM used explicitly to simulate what a website, tool or game would do next (Language Models as World Models).
  5. Domain world models are trained on one domain's event streams (driving logs, weather fields, electronic health records) and used to forecast or simulate trajectories in that domain. The health half of this book covers patient-timeline models in depth.

A Taxonomy of World Models

The table below is the map for the rest of the book. Each row is a family, with what it predicts, what it conditions on, how the field usually evaluates it and representative systems.

Reading across a row shows why the families rarely share benchmarks. A model judged on Atari reward and one judged on photorealism are optimizing different things, even when both are called world models.

FamilyPredictsConditioned onUsually evaluated byExamples
Control world modelsLatent state, reward, episode end (sometimes pixels)Past observations, agent actionsReturn of a policy trained or planned in the model; sample efficiencyWorld Models, PlaNet, Dreamer v1–4, MuZero, IRIS, DIAMOND, TD-MPC2
Video / interactive simulatorsFuture frames or 3D scenesText, image, camera path, controller or latent actionsFVD and VBench-style quality, human preference, consistency, physics testsSora, Genie 1–4, GameNGen, Oasis, Cosmos, GAIA-1/2, GWM-1, Marble
Predictive representations (JEPA)Embeddings of masked or future inputsVisible context, optionally actionsLinear-probe and downstream accuracy; planning success with the learned featuresI-JEPA, V-JEPA, V-JEPA 2(-AC), DINO-WM
Language-model world modelsNext token; implicitly a state of the described world; explicitly the next page, tool result or game stateText history, candidate actionsProbing and intervention; state-prediction accuracy; downstream agent successOthello-GPT, RAP, WebDreamer, Simia, DreamGym, CWM
Domain world modelsNext event or field state in one domain (health, driving, weather)History of that domain's events; sometimes interventionsCalibration and discrimination of forecasts; fidelity of simulated cohorts or scenesBEHRT, ETHOS, Delphi-2M, CoMET (health); GAIA (driving)

Table. Five families of world models. The boundaries are porous: Dreamer 4 is a control model built like a video simulator, DINO-WM is a control model built on a representation model, and patient-timeline models are language models over clinical codes.

Lineage: Where World Models Come From

World models descend from six threads that ran mostly in parallel for decades. They converged after 2018, when deep generative models became good enough to learn dynamics from raw observations. Seeing the threads first makes later sections read as variations on a few old ideas: estimate the hidden state, predict its evolution, and use the prediction to act.

Six lineages converging on modern world models, from 1943 to 2026.
Fig. Six threads behind modern world models. Each lane runs from a root idea to recent systems. The horizontal axis is compressed before 2015. The bottom lane, patient timelines, is covered in the health half of this book. Years are first publication or announcement.
  1. Mental models and predictive brains. Craik's 1943 proposal that minds simulate the world (mental model) became a computational theory with predictive coding (Rao & Ballard 1999). In predictive coding, cortex continually predicts its inputs and passes up only the errors. LeCun (2022) turned it into an architecture for machines: predict in an abstract representation space, not in pixels.
  2. Control and estimation. The Kalman filter (1960) combined a dynamics model with noisy measurements to track a hidden state. System identification fit such models from input–output data. Model predictive control then replanned over a short horizon at every step. That is the recipe TD-MPC2 (2023) runs in a learned latent space.
  3. Model-based reinforcement learning. Dyna (1990) learned a model and planned with simulated experience. Ha & Schmidhuber (2018) popularized the term "world model" by training a controller inside a learned dream. PlaNet, Dreamer and MuZero (2018–2019) made it competitive. Dreamer 4 (2025) trained a Minecraft agent purely offline inside one.
  4. Generative modeling of video. Oh et al. (2015) predicted Atari frames conditioned on actions. Scaled diffusion transformers then produced Sora (2024), framed explicitly as a world simulator. They also produced controllable world generators such as Genie (2024), Genie 3 (2025) and Genie 4 (2026).
  5. Language models. Othello-GPT (2022) asked whether next-token prediction builds an internal model of the world being described. LLMs were soon used as explicit simulators for planning (RAP, 2023; WebDreamer, 2024) and as synthetic environments for agent RL (DreamGym, 2025; Agent World Model, 2026).
  6. Sequence models of patient timelines. These are world models whose "environment" is a patient; the health half of this book covers them.
    • Doctor AI (2015) applied recurrent nets to sequences of clinical visits.
    • BEHRT (2020) brought transformers to electronic health records.
    • ETHOS (2024) tokenized whole patient timelines for zero-shot outcome simulation.
    • Delphi-2M (2025) generated multi-decade disease trajectories.
    • Epic's CoMET (2025) scaled next-medical-event prediction to 118 million patients.

The convergence after 2018 has a simple cause: the same architectures (transformers, diffusion, tokenizers) and the same objective (predict what comes next) now work on pixels, text, actions and clinical events. What differs is the conditioning and the test of success. That is why the taxonomy above matters more than any single model.

Learning to Act Inside a Dream

Control world models exist to make agents better at acting, so their design follows from one question: what does a policy need to know about the future to choose well?

The line of work from 2018 to 2025 answered it in stages:

  1. Compress. Compress observations and learn the dynamics of the compressed state.
  2. Imagine. Make the latent dynamics stochastic and train the policy entirely by backpropagating through imagined rollouts.
  3. Scale. Scale the recipe until one configuration works across hundreds of tasks.
  4. Go video-scale. Replace the recurrent model with a video-scale transformer trained mostly on unlabeled footage.

Vision, Memory, Controller

Ha & Schmidhuber (2018) proposed the three-part agent that gave the field its name. Their setup split the agent by function, with almost all parameters in the world model and very few in the policy:

  • V (vision): a variational autoencoder compresses each frame into a small latent vector \(z_t\).
  • M (memory): a recurrent network with a mixture-density output predicts the distribution of \(z_{t+1}\) from \(z_t\), the action and its hidden state \(h_t\).
  • C (controller): a tiny linear policy maps \([z_t, h_t]\) to an action and is trained with an evolution strategy rather than gradients.

The memorable result was that the controller could be trained entirely inside M's "dream" (a rollout of the learned model). It then transferred to the real car-racing and VizDoom tasks.

The paper also found the failure mode that every later method had to manage. The controller learned to exploit imperfections in the dream. The authors therefore raised the model's sampling temperature to make the dream harder to game.

The NeurIPS version framed the idea as recurrent world models facilitating policy evolution, linking it to Schmidhuber's work on learned models in the early 1990s.

PlaNet and the Recurrent State-Space Model

Hafner et al. (2019) introduced PlaNet and with it the recurrent state-space model (RSSM), still the backbone of the Dreamer family. The insight was that neither pure option works. A purely deterministic latent state cannot represent uncertainty about the future. A purely stochastic one struggles to remember information over many steps. The RSSM splits the state in two:

\[ \begin{aligned} &\text{Deterministic path:} && h_t = f_\theta(h_{t-1}, z_{t-1}, a_{t-1}) \\ &\text{Prior (imagination):} && \hat{z}_t \sim p_\theta(\hat{z}_t \mid h_t) \\ &\text{Posterior (filtering):} && z_t \sim q_\phi(z_t \mid h_t, x_t) \\ &\text{Decoder and reward:} && \hat{x}_t \sim p_\theta(x_t \mid h_t, z_t), \quad \hat{r}_t \sim p_\theta(r_t \mid h_t, z_t) \end{aligned} \]

\(f_\theta\) is a GRU (gated recurrent unit, a standard recurrent cell), and \(h_t\) is its deterministic hidden state. \(z_t\) is a stochastic latent: Gaussian in PlaNet and Dreamer v1, and a set of categorical variables from DreamerV2 on.

The posterior sees the real observation \(x_t\); the prior must guess \(z_t\) from \(h_t\) alone. Training pulls the prior toward the posterior with a KL term. At test time the agent can then roll the model forward using only the prior, which is exactly what imagination means.

PlaNet planned with the cross-entropy method over action sequences at every step. It learned continuous control from pixels with far fewer environment episodes than the model-free agents of the time.

The recurrent state-space model unrolled over three time steps. t − 1 t t + 1 a_t−1 a_t h_t−1 h_t h_t+1 deterministic deterministic deterministic z_t−1 z_t z_t+1 stochastic stochastic stochastic x_t−1 (obs) x_t (obs) x_t+1 (obs) prior posterior decode
Fig. The RSSM unrolled. The deterministic state \(h_t\) carries memory forward from \(h_{t-1}\), \(z_{t-1}\) and \(a_{t-1}\). The prior predicts \(z_t\) from \(h_t\) alone, while the posterior also sees the observation \(x_t\). During imagination the bottom row disappears and only the prior is used. Decoding (dashed) is drawn for step \(t\) only. (Adapted and redrawn from Hafner et al. 2019.)

Dreamer: Learning Behaviors by Latent Imagination

Dreamer kept PlaNet's world model but replaced online planning with an actor and a critic trained entirely on imagined latent trajectories. That change made acting cheap and let the policy look beyond a short planning horizon. Four versions trace how far the recipe has been pushed:

  • Dreamer v1. Hafner et al. (2020) trained the actor by backpropagating value estimates through the differentiable latent dynamics. The imagined rollouts had horizon \(H\) and started from posterior states of real data.
  • DreamerV2. Hafner et al. (2021) switched to discrete categorical latents and KL balancing. It reported the first agent to reach human-level performance on the 55-game Atari benchmark by learning behaviors inside a separately trained world model.
  • DreamerV3. Hafner et al. (Nature, 2025) was first released on arXiv in 2023. It added normalization and transformation tricks so that a single set of hyperparameters works across more than 150 tasks. It became the first algorithm to collect diamonds in Minecraft from scratch without human data (project page).
  • Dreamer 4. Hafner, Yan & Lillicrap (2025) replaced the RSSM with a scalable transformer world model. Its "shortcut forcing" objective runs in real time on a single GPU. It learned mostly from unlabeled video plus a small amount of action-labeled data. It became the first agent to obtain Minecraft diamonds purely from offline data. The authors describe that task as needing over 20,000 mouse and keyboard actions from pixels (project page).

The arc matters beyond Minecraft. Dreamer 4 is the point where control world models and interactive video simulators meet. It is trained like a video model, yet judged by whether an agent trained inside it succeeds in the real game.

The core of every Dreamer is two functions:

  • One RSSM step, used with real observations to infer states.
  • An imagination rollout, used without observations to train the policy.

A compact PyTorch sketch:

import torch, torch.nn as nn, torch.nn.functional as F

class RSSM(nn.Module):
    def __init__(self, act_dim, embed_dim, h_dim=512, z_cls=32, z_cat=32):
        super().__init__()
        self.z_dim = z_cls * z_cat                     # 32 categoricals x 32 classes
        self.z_cls, self.z_cat = z_cls, z_cat
        self.inp = nn.Linear(self.z_dim + act_dim, h_dim)
        self.gru = nn.GRUCell(h_dim, h_dim)
        self.prior = nn.Sequential(nn.Linear(h_dim, h_dim), nn.ELU(), nn.Linear(h_dim, self.z_dim))
        self.post = nn.Sequential(nn.Linear(h_dim + embed_dim, h_dim), nn.ELU(), nn.Linear(h_dim, self.z_dim))

    def sample(self, logits):
        logits = logits.view(-1, self.z_cls, self.z_cat)
        probs = F.softmax(logits, -1)
        idx = torch.distributions.Categorical(probs=probs).sample()
        onehot = F.one_hot(idx, self.z_cat).float()
        z = onehot + probs - probs.detach()            # straight-through gradient
        return z.flatten(1), logits

    def step(self, h, z, a, embed=None):
        """One RSSM step. With embed (encoded x_t): posterior; without: prior (imagination)."""
        h = self.gru(F.elu(self.inp(torch.cat([z, a], -1))), h)   # h_t = f(h_{t-1}, z_{t-1}, a_{t-1})
        prior_logits = self.prior(h)
        if embed is None:
            z, _ = self.sample(prior_logits)
            return h, z, prior_logits, None
        z, post_logits = self.sample(self.post(torch.cat([h, embed], -1)))
        return h, z, prior_logits, post_logits

def imagine(rssm, actor, h, z, horizon=15):
    """Roll the learned dynamics forward from posterior states, choosing actions with the actor."""
    states = []
    for _ in range(horizon):
        a = actor(torch.cat([h, z], -1)).rsample()     # reparameterized action
        h, z, _, _ = rssm.step(h, z, a)                # prior only: no observation
        states.append(torch.cat([h, z], -1))
    return torch.stack(states)                         # [H, B, h_dim + z_dim]

# Training sketch: rewards = reward_head(states); values = critic(states)
# returns = lambda_return(rewards, values, gamma=0.997, lam=0.95)
# actor_loss = -returns.mean()  (plus entropy bonus); critic regresses toward returns.detach()
Deeper The Dreamer world-model objective, from ELBO to free bits

The RSSM is trained as a sequential variational autoencoder. For a sequence \(x_{1:T}\) with actions \(a_{1:T}\), the evidence lower bound on \(\log p(x_{1:T}, r_{1:T} \mid a_{1:T})\) is

\[ \mathcal{L}_{\text{ELBO}} = \sum_{t=1}^{T} \mathbb{E}_{q}\Big[ \log p_\theta(x_t \mid h_t, z_t) + \log p_\theta(r_t \mid h_t, z_t) + \log p_\theta(c_t \mid h_t, z_t) \Big] - \mathbb{E}_{q}\Big[ \mathrm{KL}\big(q_\phi(z_t \mid h_t, x_t) \,\|\, p_\theta(z_t \mid h_t)\big) \Big]. \]

The first expectation is reconstruction and reward prediction under posterior samples. The KL term asks the prior, which must work without observations, to match the posterior.

Taken naively, the KL pulls in two directions at once. It trains the prior toward the posterior (good). It also trains the posterior toward the prior, which can erase information. DreamerV2 and V3 split it with stop-gradients \(\mathrm{sg}(\cdot)\):

\[ \mathcal{L} = \beta_{\text{pred}} \mathcal{L}_{\text{pred}} + \beta_{\text{dyn}} \max\!\big(1, \mathrm{KL}(\mathrm{sg}(q) \,\|\, p)\big) + \beta_{\text{rep}} \max\!\big(1, \mathrm{KL}(q \,\|\, \mathrm{sg}(p))\big). \]

The dynamics loss trains only the prior. The representation loss trains only the encoder and is weighted lower.

The DreamerV3 paper sets the weights to \(\beta_{\text{pred}} = 1\), \(\beta_{\text{dyn}} = 1\), \(\beta_{\text{rep}} = 0.1\). Both KL terms are clipped below 1 nat ("free bits"). The clip stops the model from spending capacity on making already-good predictions slightly better, so it focuses on the prediction loss instead. Without the clip, the representation can collapse toward whatever the prior already predicts. That makes imagination easy and useless.

Two practical consequences follow:

  • Monitor the prior separately. A world model with excellent reconstruction can still have a poor prior, and only the prior is used for imagination. Monitor the KL and open-loop prediction quality separately.
  • The loss weights set what the state encodes. The balance between \(\beta_{\text{dyn}}\) and \(\beta_{\text{rep}}\) is a lever on how much the latent state encodes. Tasks with small but decision-critical visual details (a ball in Breakout, a key in a maze) tend to suffer first when the representation is squeezed.

Beyond Reconstruction: Value-Equivalent and Token Models

A world model only has to be accurate about what matters for decisions. Three lines of work exploit that in different ways, and the contrast between them is the clearest illustration of objective mismatch in practice.

  • MuZero drops observation prediction altogether.
  • IRIS and DIAMOND go the other way and model pixels with sequence or diffusion models.
  • TD-MPC2 keeps a decoder-free latent model but plans in it at every step.

MuZero and Value Equivalence

Schrittwieser et al. (2020) introduced MuZero, which plans with Monte Carlo tree search inside a learned model that never reconstructs observations. The model has three functions:

  • Representation network. Encodes the history into a hidden state.
  • Dynamics network. Maps a hidden state and action to the next hidden state and a reward.
  • Prediction network. Outputs a policy and value.

All three are trained so that, unrolled for several steps, the predicted rewards, values and policies match targets from real play.

  • No rules needed. MuZero needed no knowledge of the rules, yet matched AlphaZero in Go, chess and shogi. It also set a new state of the art across 57 Atari games.
  • Selective state. The hidden state is free to ignore anything irrelevant to reward and value, such as background textures. That is its strength, because capacity goes where decisions are made. It is also a limitation, because the model cannot be reused for a different reward.

Grimm et al. (2020) formalized the idea as the value equivalence principle. Two models are equivalent if they induce the same Bellman updates for a chosen set of policies and value functions. A model therefore need only be correct with respect to the values the agent will actually compute. That is the theoretical opposite of a video simulator, which tries to be right about everything.

Transformers and Diffusion as World Models

The second line treats world modeling as a generative sequence problem and imports the best generative architectures. Both were evaluated on Atari 100k, a benchmark that allows roughly two hours of real gameplay per game. A human-normalized score rescales the raw game score so that 0 is random play and 1 is human play.

  • IRIS. Micheli et al. (2023) tokenized each frame with a discrete autoencoder and modeled the token sequence with an autoregressive transformer. An agent trained entirely in this model reached a mean human-normalized score of 1.046. It beat human players on 10 of 26 games.
  • DIAMOND. Alonso et al. (2024) argued that discrete tokens throw away small visual cues that matter for control. It generated frames directly with a diffusion model instead. It reached a mean human-normalized score of 1.46, the best reported for agents trained entirely in a world model at the time. The same approach produced a playable neural version of a Counter-Strike map.

The lesson from DIAMOND is a useful counterweight to MuZero. When decision-relevant information lives in a few pixels, a model that reconstructs pixels faithfully can beat one that compresses aggressively. Which approach wins depends on where the task's information is.

TD-MPC2: Planning in a Decoder-Free Latent Space

Hansen et al. (2024) combined the two ideas for continuous control. TD-MPC2 learns an implicit, decoder-free latent model, trained to predict future latents, rewards and values, as in MuZero.

It runs model predictive control in that model. At every step it samples action sequences and scores them with predicted rewards plus a learned terminal value. It then executes the first action of the best plan.

  • One configuration. One set of hyperparameters worked across 104 continuous-control tasks in four domains (DMControl, Meta-World, ManiSkill2, MyoSuite).
  • Multi-task scale. A single 317M-parameter agent handled 80 tasks across multiple embodiments and action spaces. That result is an early sign that control world models scale with data and parameters like other models do.
Deeper Sampling-based planning in a latent world model (CEM and MPPI)

PlaNet, TD-MPC2, DINO-WM and V-JEPA 2-AC all plan the same way. They treat the world model as a black-box simulator, search over action sequences with a population-based optimizer, and replan after every executed action.

The cross-entropy method (CEM) keeps a Gaussian over action sequences. It samples \(N\) candidates, rolls each through the model, refits the Gaussian to the top \(K\) and repeats. MPPI (model predictive path integral control, used by TD-MPC2) replaces the hard top-\(K\) with exponential weights \(w_i \propto \exp(G_i / \lambda)\), where \(G_i\) is the predicted return of candidate \(i\) and \(\lambda\) a temperature.

import torch

@torch.no_grad()
def cem_plan(model, s0, act_dim, horizon=12, n=512, k=64, iters=6, score_fn=None):
    """model.step(s, a) -> (s_next, r); score_fn(s_final) -> terminal value or -distance to goal."""
    mu = torch.zeros(horizon, act_dim)
    std = torch.ones(horizon, act_dim)
    for _ in range(iters):
        acts = (mu + std * torch.randn(n, horizon, act_dim)).clamp(-1, 1)
        s = s0.expand(n, -1)
        ret = torch.zeros(n)
        for t in range(horizon):
            s, r = model.step(s, acts[:, t])
            ret += r                                   # predicted reward (0 for goal-reaching)
        if score_fn is not None:
            ret += score_fn(s)                         # e.g. learned value, or -||emb(s) - emb(goal)||
        elite = acts[ret.topk(k).indices]
        mu, std = elite.mean(0), elite.std(0) + 1e-3
    return mu[0]                                       # execute first action, then replan

Three implementation details decide whether this works:

  • Warm-start. Initialize each step's \(\mu\) with the previous plan shifted by one step.
  • Bound the horizon. Limit it to how far the model stays accurate and let a learned value cover the rest. This is TD-MPC2's main trick.
  • Penalize uncertainty. If the model is an ensemble, subtract a multiple of the ensemble disagreement from \(G_i\). That keeps the optimizer away from states where the model is guessing. It is the planner-side defense against model exploitation.
ModelLatent stateDecoder?How behavior is obtainedSignature result
World Models (2018)VAE latent + RNN memoryYesEvolution strategy, trained in the dreamCar racing and VizDoom policies trained in imagination
PlaNet (2019)RSSM, GaussianYesCEM planning onlinePixel-based continuous control with few episodes
Dreamer v1–v3 (2020–2025)RSSM, Gaussian then categoricalYesActor-critic on imagined rolloutsHuman-level Atari (V2); 150+ tasks with fixed settings and Minecraft diamonds (V3)
MuZero (2020)Abstract hidden stateNoMCTS in the learned modelGo, chess, shogi, 57 Atari games without rules
IRIS (2023)Discrete frame tokensYesActor-critic in imaginationAtari 100k mean human-normalized 1.046
DIAMOND (2024)Pixel space (diffusion)Is the modelActor-critic in imaginationAtari 100k mean human-normalized 1.46
TD-MPC2 (2024)Implicit latentNoMPPI planning + learned value104 tasks, one hyperparameter set; 317M multi-task agent
Dreamer 4 (2025)Transformer over video tokensYesRL in imagination from offline dataMinecraft diamonds purely offline

Table. Control world models compared. Scores are as reported by each paper on its own protocol and are not directly comparable across rows.

From Video Generation to World Simulation

A video model becomes a world simulator when its predictions can be steered by actions and stay consistent as the user moves around in the generated world. Generating a plausible ten-second clip from a prompt is a much weaker property. Such a model never has to respond to an intervention, remember what is behind the camera or keep going for minutes. The work in this part is the story of adding those three properties (control, memory and stability) to large video generators.

OpenAI's Sora report, "Video generation models as world simulators" (February 2024), made the framing explicit. Sora compresses video into a latent space, cuts it into spacetime patches that act as tokens, and trains a diffusion transformer to denoise them. The report argued that scaling this recipe produces emergent simulation abilities without explicit 3D modeling:

  • 3D consistency as the camera moves, and objects that persist when occluded or out of frame.
  • Simple interactions that leave lasting effects, such as strokes on a canvas.
  • Admitted failures on basic physics, such as glass shattering, and on state changes like food being eaten.

Sora is a text-to-video model. It is conditioned on a prompt at the start and then generates a whole clip.

Its claims about simulation were influential and contested in equal measure. They set up the question that the rest of this part (and the evaluation part) tries to answer: whether visual plausibility implies a usable model of the world.

Autoregressive Frames and Action Conditioning

Interactive simulators generate one frame (or a short chunk) at a time. Each step is conditioned on the previous frames and the user's latest input, and each new frame is fed back as context. This is the same next-token structure as a language model, with frames for tokens and controller input as part of the prompt at every step. The canonical demonstrations used games, because games come with clean action labels and unlimited data:

  • GameNGen. Valevski et al. (2024) first trained an RL agent to play DOOM and recorded its sessions. They then trained a diffusion model to predict the next frame from past frames and actions. It runs at about 20 frames per second on a single TPU. Human raters distinguished short real and simulated clips only slightly better than chance. The paper attributes long-run stability to adding noise to context frames during training.
  • Oasis. Decart and Etched released a real-time playable Minecraft-like world model in October 2024. It is generated frame by frame with no game engine, at a reported continuous 20 frames per second (Tom's Hardware 2024).
  • DIAMOND and Matrix-Game. DIAMOND's CS:GO model (Alonso et al. 2024) and open models such as Matrix-Game 2.0 (2025) pushed the same recipe toward richer 3D games. Matrix-Game 2.0 describes itself as an open-source, real-time, streaming interactive world model.

Formally, an action-conditioned frame model factorizes a rollout as

\[ p(x_{t+1:T} \mid x_{\le t}, a_{t:T-1}) = \prod_{k=t}^{T-1} p_\theta(x_{k+1} \mid x_{k-W+1:k},\, a_k), \]

where \(W\) is the context window in frames. Two consequences follow from this one line. First, the model can only remember what fits in \(W\) (or in a separate memory). Second, every generated frame becomes an input to the next prediction, so errors feed back into the context. Those are the two root causes of the consistency problems discussed below.

Genie and Latent Actions

Action labels are the bottleneck for training interactive models on the open internet, since almost no video comes with the controller inputs that produced it. Bruce et al. (2024) addressed this in Genie by inferring the actions. Genie has three components, all trained from video alone:

  • A spatiotemporal video tokenizer that compresses frames into discrete tokens.
  • A latent action model that looks at consecutive frames and explains the change between them with one of only 8 discrete latent actions. The tiny codebook forces the latent action to capture what is controllable (the character moving left or jumping) rather than everything that changed.
  • A dynamics model (a MaskGIT-style transformer, which fills in masked tokens in parallel) that predicts the next frame's tokens from past tokens and the latent action.

Trained on a filtered set of about 30,000 hours of 2D platformer gameplay, the roughly 11B-parameter model could turn a single image (including a sketch) into a playable world. At play time a human or agent simply picks one of the 8 latent actions. The paper was candid about limits: about one frame per second and only 16 frames of memory.

The latent-action idea has a counterpart in control. Schmidt & Jiang (2024) trained latent action policies from action-free video. They then decoded them to real actions with a small labeled set.

Genie's components: video tokenizer, latent action model and dynamics model, with player actions replacing latent actions at play time. Frames x_1..t video, no labels Video tokenizer frames → tokens Dynamics model next-frame tokens Frame t+1 decoded Latent action model (training) Player picks action at play time, replaces ã_t frame tokens latent action ã_t (1 of 8) append the new frame and repeat (autoregressive)
Fig. Genie learns to be controllable from unlabeled video. During training a latent action model explains each frame-to-frame change with one of 8 codes, and the dynamics model learns to predict the next frame given that code. At play time the latent action model is dropped and the player's choice is fed in directly (dashed). (Adapted and redrawn from Bruce et al. 2024.)

Genie's successors traded the discrete-token pipeline for latent diffusion and pushed toward real-time 3D worlds:

  • Genie 2 (DeepMind, December 2024) is an autoregressive latent diffusion model that turns one image into a playable 3D world with keyboard and mouse control. DeepMind reported worlds that stayed coherent for up to about a minute, though most examples lasted 10–20 seconds. The model remembered parts of the scene that left and re-entered view. A SIMA agent (DeepMind's instruction-following game agent) followed instructions inside the generated worlds.
  • Genie 3 (DeepMind, August 2025) runs in real time at 720p and 24 frames per second. It keeps environments consistent for a few minutes, with visual memory reaching back about a minute. It also supports "promptable world events": text that changes weather or adds objects mid-session. DeepMind listed its limits: a constrained action space, weak multi-agent interaction, imperfect geographic accuracy and sessions of minutes rather than hours.
  • Project Genie (Google, January 2026) put Genie 3 in front of paying users as an experimental prototype for creating and exploring worlds, with generations capped at 60 seconds.
  • Genie 4 (Google, October 27, 2026) adds native, generated audio (ambient sound, music and dialogue) and natural-language steering of the scene in real time. It leans on Gemini models for realism and continuity. At the time of writing it is with trusted testers. The announcement gives no resolution or consistency figures, so independent assessment is not yet possible.

Drift and Long-Horizon Consistency

The central technical problem of interactive simulators is that quality decays the longer they run. Two mechanisms drive the decay, exposure bias and limited memory:

  • Exposure bias. The model is trained on real context frames but must run on its own imperfect outputs. Small artifacts are fed back and amplified.
  • Limited memory. Anything that falls outside the context window can be re-imagined differently when the camera returns.

The fixes so far attack each mechanism directly:

  • Noise on the context. GameNGen corrupts context frames with noise during training and tells the model the noise level, so it learns to repair rather than copy small errors (Valevski et al. 2024).
  • Per-frame noise levels. Chen et al. (2024) proposed diffusion forcing, which trains a causal model with independent noise levels per token. The same network can then denoise the next frame while treating past frames as partially uncertain. This stabilized long rollouts and enabled guidance over a whole future.
  • Training on self-generated rollouts. Huang et al. (2025) introduced Self Forcing. It generates the context autoregressively during training and applies a video-level loss. This closes the train–test gap that causes drift.
  • Explicit memory and 3D state. Genie 2 and 3 add long-term spatial memory. The extreme version generates a persistent 3D scene instead of frames. World Labs' Marble (November 2025) produces downloadable, editable 3D environments from text, images or video. This removes drift by construction, at the cost of dynamics.

The trade-off is between fidelity to interaction and permanence. Frame-by-frame simulators respond to anything but forget. 3D-first generators never forget but are mostly static. Hybrid designs that keep an explicit scene state and use a generative model for dynamics are an active direction rather than a solved one.

World Simulators for Robots and Cars

For robotics and driving, a world simulator is valuable as a source of training data and as a test bench for policies. The emphasis therefore shifts from realism to two other properties: controllability by the right actions (steering, trajectories, robot commands) and coverage of rare events. Four efforts illustrate the range:

  • Wayve GAIA. Hu et al. (2023) built GAIA-1, a driving world model conditioned on video, text and actions (speed and curvature). It pairs a 6.5B-parameter world model with a video decoder. Trained on London driving data, it can generate minutes of driving. GAIA-2 (2025) extended it to controllable multi-camera generation.
  • NVIDIA Cosmos. NVIDIA (2025) released a platform rather than a single model, under an open model license. Its parts are a video curation pipeline, causal video tokenizers, pretrained diffusion and autoregressive world foundation models, post-training recipes (camera control, robot manipulation and driving) and guardrails.
  • Runway GWM-1. Runway (December 2025) announced an autoregressive, real-time general world model built on its Gen-4.5 video model. Separately post-trained variants target explorable worlds, conversational avatars and robotics (synthetic data and simulated policy evaluation). The announcement provides no independent benchmarks.
  • Dreamer 4 (Hafner et al. 2025) also reported training its world model on a robotics dataset, which hints that the control and simulator lines will share models.
Timeline of interactive and generative world models from 2018 to 2026, colored by family.
Fig. A timeline of the world models discussed in this book, by first public release. The pace after 2024 is the point. In under three years the field went from a 1-frame-per-second platformer model to real-time 720p worlds with audio. The axis is compressed before 2023. Dates are month-level and taken from each paper or announcement.
SystemConditioningGenerationReported consistency / speed
Sora (2024)Text, image, videoDiffusion transformer on spacetime patches, whole clipNot interactive
Genie (2024)Image + 8 latent actionsAutoregressive token transformer~1 fps; 16-frame memory
GameNGen (2024)DOOM controller actionsAutoregressive diffusion~20 fps on one TPU
Genie 2 (2024)Image + keyboard/mouseAutoregressive latent diffusionUp to ~1 minute; most 10–20 s
Genie 3 (2025)Text + navigation + promptable eventsReal-time autoregressive720p, 24 fps; a few minutes
GAIA-1 (2023)Video, text, speed and curvatureAutoregressive tokens + video diffusion decoderMinutes of driving
Marble (2025)Text, images, video, 3D layoutPersistent 3D environmentNo drift by construction; static
GWM-1 (2025)Camera, events, robot pose, speechAutoregressive, real timeVendor claims only

Table. Video and interactive world simulators. Consistency figures are what each developer reported, measured in different ways. Treat them as orders of magnitude, not a ranking.

Predicting in Representation Space

The predictive-representation school argues that a world model should predict the future in an abstract feature space, not in pixels. Most pixel-level detail is unpredictable and irrelevant to acting. Where a leaf lands or how a wave breaks cannot be predicted from the past, and it does not matter for picking up a cup. Yet a pixel-reconstruction loss forces the model to spend capacity on exactly those details. Predicting embeddings lets the model ignore what it cannot know and concentrate on what it can.

LeCun (2022) laid out the program in a position paper on autonomous machine intelligence. It describes an agent built from a perception module, a world model, a cost module, a short-term memory and an actor. The paper makes three technical claims:

  • Energy-based, not probabilistic. Instead of assigning a normalized probability to every possible future, the model learns an energy \(E(x, y)\) that is low when \(y\) is a compatible continuation of \(x\). This sidesteps the need to model a full distribution over high-dimensional futures.
  • Joint-embedding predictive architecture (JEPA). Encode both the context \(x\) and the target \(y\), and train a predictor to map the context embedding (plus a latent variable \(z\) for what is uncertain) to the target embedding. The energy is the prediction error in that space.
  • Hierarchy and planning. Stack JEPAs at multiple time scales. Plan by searching for actions whose predicted future minimizes the cost. This is model predictive control in latent space.
\[ E(x, y) = \min_{z} \; \big\| \, g_\psi\big(f_\theta(x), z\big) - \bar{f}(y) \, \big\|, \qquad \bar{f} = \mathrm{EMA}(f_\theta) \]

Here the symbols are:

  • \(f_\theta\): the context encoder.
  • \(\bar{f}\): the target encoder, in practice an exponential moving average of \(f_\theta\) with no gradient.
  • \(g_\psi\): the predictor.
  • \(z\): a latent capturing information the context cannot determine.

The obvious failure is collapse: if every input maps to the same embedding, the prediction error is zero. JEPA-style methods prevent it with an asymmetric design (predictor on one side, stop-gradient EMA target on the other) or with explicit variance and covariance regularizers.

Generative pixel prediction compared with joint-embedding prediction in representation space. Generative: predict pixels JEPA: predict embeddings context x encoder decoder → ŷ pixels target y raw pixels loss on every pixel ‖ŷ − y‖² context x encoder predictor → ŝ_y target y target enc. EMA, no grad embedding s_y loss in feature space ‖ŝ_y − s_y‖
Fig. Two ways to learn by prediction. A generative model (left) must reproduce every pixel of the target, including details it cannot predict. A JEPA (right) predicts the target's embedding from a slowly updated target encoder, so unpredictable detail can be discarded. The asymmetry (predictor on one side, gradient-free EMA encoder on the other) is what prevents collapse.

I-JEPA and V-JEPA

The first implementations used masking rather than time as the prediction task. That made them representation learners first and world models only implicitly.

Assran et al. (2023) introduced I-JEPA: from one context block of an image, predict the embeddings of several masked target blocks. With no hand-crafted augmentations, the learned features transferred well to semantic tasks while training efficiently.

Bardes et al. (2024) extended the idea to video with V-JEPA, which predicts the features of masked spatiotemporal regions. Their main finding was that feature prediction alone is enough. With no pixel reconstruction, text or contrastive negatives, it yields video features that work with a frozen backbone on both motion- and appearance-heavy tasks.

V-JEPA 2: Planning with a Latent World Model

Assran et al. (2025) turned the representation into an explicit, action-conditioned world model and used it to control a robot. The recipe has two training stages and a planning step:

  • Pretraining. V-JEPA 2 is trained by masked feature prediction on more than a million hours of internet video plus images.
  • Action-conditioned post-training. With the encoder frozen, a predictor (V-JEPA 2-AC) is trained on less than 62 hours of unlabeled robot video from the Droid dataset. It learns to predict the next frame's embedding from the current embedding and the robot's action.
  • Planning. Given a goal image, the robot uses the cross-entropy method to search for an action sequence whose predicted final embedding is closest to the goal's embedding. It executes the first action and replans. The paper reports zero-shot pick-and-place on Franka arms in two labs, with no data from those environments and no task-specific reward.

An independent result points the same way. Zhou et al. (2024) built DINO-WM on frozen DINOv2 patch features. A transformer predicts future patch features from past features and actions. It is trained on offline trajectories without rewards and plans toward a goal image with MPC and CEM.

Across six environments, including rope and granular manipulation, DINO-WM reached goals more reliably than IRIS, DreamerV3 and TD-MPC2. The caveat is that it needs action-labeled offline data with good coverage.

Generative versus Latent Prediction

The generative and latent schools are best seen as answers to different questions rather than rivals for one prize. A generative model is the right tool when the output itself is the product (a game frame, a synthetic driving video, a counterfactual a human will look at). A latent model is the right tool when the output feeds a planner or classifier and nobody will look at it. The practical differences:

  • What is learned. Pixel models must allocate capacity to texture and lighting. Latent models can skip them. That is efficient, but important small details can be dropped silently (the DIAMOND argument in reverse).
  • Inspection. A generative model can be checked by looking at its rollouts. A latent model needs probes, decoders trained after the fact, or downstream task success, which makes failures harder to see.
  • Collapse and shortcuts. Generative losses cannot collapse but can be satisfied by blurry averages. Latent losses can collapse and need architectural or regularization safeguards.
  • Planning cost. Latent rollouts are cheap enough for CEM with hundreds of samples per step. Pixel rollouts usually are not. That is why planning-heavy methods (TD-MPC2, DINO-WM, V-JEPA 2-AC) are almost all latent.

The bet is now being funded at scale. In March 2026 LeCun's new company, AMI Labs, announced a $1.03 billion seed round to build world models along these lines (SiliconANGLE 2026).

Whether latent world models can match generative ones on breadth, rather than on a few robot tasks, is one of the more consequential open questions in the field.

Do Language Models Have World Models?

Language models enter the world-model story in two distinct ways: as systems that might build an internal model of the world while learning to predict text, and as tools explicitly used to simulate environments for other agents. The first is a scientific question about representations. The second is an engineering practice that works or fails regardless of how the first is answered.

The internal question has a clean test bed in board games, where the true state is known and can be compared with what the network represents. The evidence so far is mixed in an informative way:

  • Othello-GPT. Li et al. (2023) trained a GPT model only to predict legal Othello moves from move sequences. Probes (small classifiers trained on its activations) recovered the board state, but only nonlinearly. Editing that internal representation changed the model's predicted moves accordingly. This suggests the representation is causally used, not just decodable.
  • Linear after all. Nanda et al. (2023) showed the board state is linearly decodable once squares are encoded relative to the current player ("mine" versus "theirs") rather than as black and white. Simple vector arithmetic also steers the model.
  • Space and time. Gurnee & Tegmark (2024) found that LLM activations linearly encode the real-world coordinates of places and the dates of events, a map-like structure learned from text alone.
  • Coherence tests. Vafa et al. (2024) proposed metrics based on the Myhill–Nerode theorem. A true world model should give the same continuations for histories that reach the same state (compression). It should give different continuations for histories that reach different states (distinction). Transformers trained on New York taxi routes made nearly perfect next-turn predictions. Yet their implied street maps were incoherent, and their navigation broke down when detours were introduced.

Melanie Mitchell's summary of the debate (Mitchell 2025) borrows Jacob Andreas's ladder of increasingly strong models: lookup table, map, orrery, simulator. She argues that most positive evidence shows map- or orrery-like structure, with little evidence yet of detailed causal simulators.

That framing is a useful corrective to both camps. "Has a world model" is not binary, and next-token accuracy is a weak test of which rung a model is on.

LLMs as Simulators for Agents

Whatever their internal states, LLMs can be prompted or fine-tuned to predict what an environment would return. That is enough to make them useful as world models for planning. The pattern is Dyna again, with text in place of pixels:

  • Planning with an LLM world model. Hao et al. (2023) proposed RAP (reasoning via planning). In RAP the same LLM serves as the agent and as a world model that predicts the next state of a reasoning problem. Monte Carlo tree search runs over the resulting tree.
  • Simulator accuracy. Wang et al. (2024) built ByteSized32-State-Prediction to test whether LLMs can predict how actions change the state of text games. They concluded that even GPT-4 was not yet a dependable text-world simulator.
  • Web agents. Gu et al. (2025) introduced WebDreamer. It asks an LLM to imagine the outcome of each candidate action on a website before committing, then scores the imagined outcomes. It was competitive with tree search in the real sandbox at a fraction of the cost. A 7B world model fine-tuned on about 3.1 million synthesized interactions performed comparably to GPT-4o in that role on live-website benchmarks.
  • Code. Meta's CWM (2025) is an open-weights 32B coding model trained with program execution traces, explicitly to give it a model of how code changes machine state.
An LLM used as a world model for a web or tool agent: propose actions, simulate their outcomes, score, and act. Current state page, tool output Propose k candidate actions Simulate LLM imagines result Score rate imagined state Act best action, for real real environment returns the next state; repeat all imagined: nothing touches the real site
Fig. Model-based planning for a language agent. The propose, simulate and score steps happen inside the model; only the chosen action reaches the real website or tool, which is what makes the approach cheaper and safer than trying actions for real. (Adapted and redrawn from the WebDreamer design in Gu et al. 2025.)

A minimal implementation is a prompt and a loop. The important design choice is to ask the simulator for a structured state description rather than free text. The scorer and later steps can then rely on its fields:

SIM_PROMPT = """You simulate a web environment. Given the current page and an action,
describe the resulting page as JSON with keys: url, title, key_elements, task_progress.
Be literal; if the action would fail, say so in task_progress.
PAGE: {page}
ACTION: {action}"""

def plan_step(llm, page, task, k=4):
    candidates = llm.propose_actions(page, task, n=k)            # policy
    scored = []
    for a in candidates:
        imagined = llm.json(SIM_PROMPT.format(page=page, action=a))   # world model
        score = llm.score(task=task, state=imagined)              # value, 0..1
        scored.append((score, a))
    return max(scored)[1]                                         # execute for real, observe, repeat

World Models as Training Environments for Agents

The newest use of LLM world models is to replace real environments during agent RL, because building, resetting and scaling real tool environments is expensive. Three 2025–2026 papers bracket the design space:

  • LLM-simulated tools. Li et al. (2025) used a reasoning model to simulate tool outputs, error messages and success rewards (Simia-SFT and Simia-RL). This expanded small seed sets into many trajectories. A 32B model fine-tuned this way averaged 58.9 on τ²-bench, a benchmark of conversational tool-using agents. That was above GPT-4o (54.2) in their comparison.
  • An experience model with a curriculum. Meta's DreamGym (2025) trains a reasoning-based experience model that predicts next states and rewards in an abstract text space. A replay buffer seeded with real trajectories grounds it, and it proposes new tasks at the edge of the agent's ability. On WebShop and ALFWorld, agents trained only on synthetic rollouts matched PPO and GRPO trained on 80K real interactions. Pretraining in DreamGym before real RL gave large gains with under 10% of the real data.
  • Code-executed environments instead. Wang et al. (2026) took the opposite route in Agent World Model. They synthesized 1,000 executable environments, each with a SQLite database, an MCP tool interface and verification code. Agents trained only on them improved on three out-of-distribution benchmarks. The authors report that database-backed state gave more consistent training signal than LLM-simulated state.

The tension between the last two is the tension of the whole book in miniature. A learned simulator is cheap and endlessly flexible but can be inconsistent and exploitable. An executable one is faithful but costly to build and narrow. The likely answer is both: learned models for breadth and curriculum, executable checks for the reward.

Evaluating World Models

A world model should be evaluated by what it is for, and prediction error is almost never what it is for. A control model exists to produce good decisions, a simulator to produce worlds that respond correctly to actions, and a forecaster to produce calibrated probabilities. Each of those can diverge from low next-step loss, and the history of the field is a sequence of models that looked good on the cheap metric and failed on the real one.

Three gaps explain most of the divergence, and good evaluation suites probe each separately:

  1. One-step versus multi-step. Teacher-forced next-step error is measured with real context. Deployment runs on the model's own outputs, where errors compound. Measure open-loop rollouts at the horizons the deployment will actually use.
  2. Prediction versus decision. Lower likelihood does not reliably mean higher reward (Lambert et al. 2020). Measure the decisions made with the model, in the real environment.
  3. Appearance versus mechanism. A model can render plausible frames while getting physics, object permanence or action effects wrong. Measure the mechanism with targeted tests, not overall realism.
Illustrative growth of rollout error with horizon for a teacher-forced model and a model trained on its own rollouts.
Fig. Why one-step metrics mislead. Two models with similar one-step error diverge sharply over long rollouts when one feeds its own errors back as input (teacher-forced training) and the other was trained to handle them (noise augmentation, self forcing, multi-step losses). The dashed line marks an arbitrary "still useful" threshold. The usable horizon is where each curve crosses it. Illustrative: curves follow \(e_k = \epsilon\,((1+\delta)^k - 1)/\delta\) with made-up \(\epsilon, \delta\).

The curve in the figure comes from a simple model of error feedback. Suppose each step adds a fresh error \(\epsilon\) and amplifies the existing error by a factor \(1 + \delta\). Then the error after \(k\) steps is \(e_k = \epsilon\,((1+\delta)^k - 1)/\delta\). For small \(\delta\) it grows roughly linearly. Once \(\delta k\) approaches 1 it grows exponentially. Training on self-generated context mainly reduces \(\delta\). That is why it extends the usable horizon far more than reducing \(\epsilon\) would.

FVD and Why It Is Not Enough

Unterthiner et al. (2018) proposed the Fréchet Video Distance, which embeds real and generated videos with a pretrained action-recognition network and compares the two feature distributions:

\[ \mathrm{FVD} = \|\mu_r - \mu_g\|^2 + \mathrm{Tr}\!\left(\Sigma_r + \Sigma_g - 2(\Sigma_r \Sigma_g)^{1/2}\right), \]

where \(\mu_r, \Sigma_r\) and \(\mu_g, \Sigma_g\) are the mean and covariance of the features for real and generated clips. FVD was a large step forward for video generation, but as a world-model metric it has structural blind spots:

  • Distributions, not responses. FVD compares distributions of clips. A model can therefore score well while never responding to actions, as long as its clips look like typical clips.
  • Borrowed similarity. FVD inherits the feature extractor's notion of similarity. That extractor is tuned for recognizing human actions in short clips, not for physics or long-range consistency.
  • Short windows. FVD is computed on short windows, so it says little about drift over minutes or about whether a revisited location still looks the same.

Suites such as VBench (Huang et al. 2024) decompose video quality into many dimensions (subject consistency, motion smoothness, temporal flicker and so on). Each dimension is validated against human preference, and the breakdown is more diagnostic than one number. They still measure how video looks rather than whether a model can be controlled.

Testing Physical Understanding

A wave of 2024–2025 benchmarks asks the sharper question of whether video models capture physical mechanisms. Their answer so far is "less than they appear to":

  • Physics-IQ. Motamed et al. (2025) built real-world test videos whose continuation requires understanding of fluid dynamics, optics, solid mechanics, magnetism or thermodynamics. Across the generators they tested, physical understanding was weak and unrelated to visual realism. Their summary is that realism does not imply physical understanding.
  • Controlled physical laws. Kang et al. (2024) trained video models on a 2D mechanics simulator. They found near-perfect in-distribution generalization, partial combinatorial generalization (new combinations of seen attributes) and failure out of distribution that scaling did not fix. The models appeared to generalize by retrieving similar training cases. When attributes conflicted, they prioritized color over size, size over velocity and velocity over shape.
  • World generation. Duan et al. (2025) introduced WorldScore. It recasts world generation as a sequence of next-scene tasks specified by a camera trajectory and text. This lets 3D, 4D and video generators be compared on controllability, quality and dynamics over 3,000 test cases.

Controllability, Counterfactuals and Closed-Loop Tests

The strongest evaluations put the world model inside a decision loop and measure task success. That is the only test that cannot be passed by looking right.

Zhang et al. (2025) made this the organizing principle of World-in-World. The benchmark plugs generative world models into a shared planner and action interface across four embodied environments and scores task success. Their findings line up with the rest of this part:

  • Control over looks. Controllability matters more than visual quality. Realistic video does not ensure an agent succeeds.
  • Post-training over scale. Post-training on action–observation data improves closed-loop results more than switching to a bigger pretrained video generator.
  • Planning compute. Spending more inference compute on planning substantially improves results.

Beyond full closed-loop tasks, four targeted tests catch common failures cheaply:

  • Action sensitivity. Roll out the same context under different actions. Check that the futures differ in the right way (moving left goes left) and that a no-op leaves the scene still. A model that ignores actions passes FVD and fails this immediately.
  • Counterfactual consistency. Intervene on one factor (remove an obstacle, change a dose) and check that only its consequences change. In discrete domains, the compression and distinction tests of Vafa et al. (2024) formalize this.
  • Loop closure. Move away from a location and come back. The scene should match. This directly measures memory and long-horizon consistency.
  • Exploitability. Train or search a policy against the model and evaluate it in the real environment. The gap between imagined and real return measures how much of the model's error an optimizer can find.
World-model typePrimary metricsDiagnostic testsTypical failure modes
Control (Dreamer, MuZero, TD-MPC2)Real-environment return; sample efficiencyOpen-loop prediction at planning horizon; imagined vs real return gapPolicy exploits model errors; reward head overfits; drops small decision-relevant details
Video / interactive simulatorHuman preference; FVD/VBench; WorldScoreAction sensitivity; loop closure; physics probes (Physics-IQ); minutes-long rolloutsDrift; forgetting off-screen content; ignoring or misreading actions; plausible but wrong physics
Latent (JEPA, DINO-WM)Downstream probe accuracy; planning success to goalsPost-hoc decoders; collapse checks (embedding variance)Representation collapse; silently discarded details; poor coverage of action space
LLM world modelsAgent success with the simulator; state-prediction accuracyProbing and intervention; Myhill–Nerode compression/distinction; consistency across paraphrased statesInconsistent state tracking; hallucinated tool outputs; rewards that can be talked into success
Domain (health, driving)Calibration and discrimination of forecasts; scenario fidelitySubgroup and temporal-shift tests; simulated vs observed cohort statisticsLearning care patterns rather than biology; miscalibration under shift; confounded "interventions"

Table. Evaluation by world-model type. The left two columns say what to report; the right two say what to look for before believing the report.

Deeper A minimal evaluation protocol for a new world model
  1. Fix the use case first. Write down the decision or product the model serves (train a policy, render a game, forecast an outcome) and the horizon that use requires. Every later metric is chosen against this.
  2. Hold out along the axes that will shift. Split by environment, map, robot, hospital or time period, not just by random clips. World models fail on new layouts and new action distributions far more than on new frames.
  3. Report open-loop error as a curve. Plot prediction error (in pixels, features or log-likelihood) against rollout horizon, up to at least the deployment horizon. A single one-step number hides the shape in the compounding-error figure above.
  4. Test action sensitivity and no-ops. For a fixed context, sample several actions and check the outcome differences. Include a "do nothing" action. Report how often outcomes are indistinguishable when they should differ.
  5. Run loop-closure and counterfactual probes. Return to earlier states, and intervene on one variable at a time. These are cheap to script and catch memory and causal-structure failures.
  6. Close the loop. Train or plan a policy with the model and measure it in the real environment (or a trusted simulator). Report the imagined-versus-real return gap alongside the real return.
  7. Attack it. Let an optimizer search for action sequences with the highest imagined reward and inspect them. Anything that scores well in the model but is impossible in reality is a model bug.
  8. Calibrate stochastic predictions. If the model outputs distributions (outcomes, event times), check calibration and coverage, not just the mode. For patient and driving models this matters more than any visual metric.

A Reference Architecture

Whatever the domain, a production world model is a pipeline of six parts. They are data, an encoder or tokenizer, a dynamics model, prediction heads, a consumer (a planner, a policy learner or a simulator API) and an evaluation loop that decides what data to collect next.

The research families differ in which parts they emphasize. Leaving any part out is how projects fail:

  • No tokenizer discipline, and the dynamics model wastes capacity.
  • No consumer, and nobody knows whether predictions are good enough.
  • No evaluation loop, and errors are found by users.
Reference architecture for a world model system: data, encoder, dynamics, heads, planner or simulator API, and an evaluation loop feeding data collection. Data video, logs, events Encoder tokens or latents Dynamics model RSSM, transformer, diffusion Heads / decoder frames, reward, value Real world env or users Planner / policy MPC, imagination RL Simulator API step · reset · fork query rollouts serve act log new experience Evaluation loop open-loop error curves · action sensitivity · loop closure · physics probes closed-loop task success · imagined vs real gap · adversarial search · calibration collect more data
Fig. A reference architecture for world-model systems. The top row is the model; the middle row is how it is consumed, either by a planner or policy that acts in the real world or by a simulator API that other systems call; the bottom row is the evaluation loop, whose findings drive targeted data collection (dashed). The same skeleton fits Dreamer, an interactive video simulator, an LLM tool simulator and a patient-timeline forecaster.

A few interface decisions in this skeleton pay off disproportionately:

  • The simulator API should support fork. Branching many futures from one state is what planners, counterfactual analyses and evaluation probes all need. A model that can only be stepped forward from the start is much less useful.
  • Separate the encoder's training from the dynamics model's where possible. A frozen, well-tested tokenizer (as in Genie, Cosmos or V-JEPA 2-AC) makes the dynamics model cheaper to iterate and easier to debug.
  • Expose uncertainty. Ensembles, sample diversity or explicit variance heads show where the model is guessing. The planner can then avoid those regions, and the evaluation loop can target them for data collection.

Production Challenges and Solutions

The same handful of problems shows up whenever a world model leaves the paper and meets a real optimizer, a real user or real data drift. The table maps each to the solutions that have worked in the work surveyed above.

ChallengeSymptomSolutionsSeen in
Compounding errorRollouts drift or blur after a few seconds or stepsShort branched rollouts; noise on context; diffusion or self forcing; multi-step losses; learned terminal values beyond the trusted horizonMBPO, GameNGen, Diffusion Forcing, Self Forcing, TD-MPC2
Model exploitationPolicy scores well in imagination, badly in realityEnsembles with uncertainty penalties; higher sampling temperature; regular real-environment evaluation; executable reward checksWorld Models (2018), MBPO, Agent World Model
Objective mismatchBetter likelihood, no better decisionsValue-aware or value-equivalent training; reward and value heads; decide model capacity by downstream successMuZero, TD-MPC2, Lambert et al.
Missing action labelsPlenty of video, little controllable dataLatent action models; pretrain on unlabeled video and post-train on a small action-labeled setGenie, LAPO, Dreamer 4, V-JEPA 2-AC
Data coverageGood in common states, wrong in rare or novel onesCurate for diversity; targeted collection where uncertainty or eval failures concentrate; curricula at the edge of competenceCosmos curator, DreamGym, World-in-World scaling result
Memory and consistencyScenes change when revisited; long sessions degradeLong-context or explicit spatial memory; persistent 3D state; loop-closure evaluationGenie 2 and 3, Marble
Compute and latencyToo slow for interaction or for planning with many samplesLatent rather than pixel rollouts; distillation to few denoising steps; efficient transformers; shortcut objectivesGameNGen, Genie 2 (distilled), Dreamer 4, DINO-WM
EvaluationGood FVD or loss, failures found by usersUse-case-specific closed-loop tests; action-sensitivity, physics and counterfactual probes; red-team the model with an optimizerPhysics-IQ, WorldScore, World-in-World, Vafa et al.

Table. Production challenges for world models mapped to solutions. Most solutions trade something away (horizon, fidelity, flexibility) rather than removing the problem.

A Step-by-Step Playbook

Building a world model is mostly a sequence of scoping decisions, made in order. Each decision constrains the next. The playbook below is the order that avoids the most rework.

  1. Name the consumer and the horizon. Decide whether the model will train a policy, serve as an interactive simulator, plan toward goals or forecast outcomes, and how far ahead it must be right. This single decision picks the family from the taxonomy table.
  2. Define state, action and observation. Write down what the model sees, what it must respond to, and what it must output. If actions are not logged, plan for latent actions or a small labeled set from the start.
  3. Assemble and audit data for coverage. Count how much data exists per action, per environment and per rare situation. Coverage, not volume, usually limits world models. The DINO-WM and World-in-World results both point there.
  4. Choose and freeze the representation. Train or adopt a tokenizer or encoder (VAE, discrete tokens, DINOv2 or V-JEPA features) and test it in isolation. The test: a simple probe should be able to read the decision-relevant variables from it.
  5. Train the dynamics model with deployment-like context. Include multi-step or self-generated context in training (noise augmentation, scheduled sampling, self forcing) so the model sees its own errors before users do.
  6. Attach heads for what the consumer needs. Reward, value, termination, event probabilities, or a decoder. Train them jointly so the latent keeps what they need.
  7. Build the evaluation loop before the consumer. Implement open-loop error curves, action-sensitivity and loop-closure probes, and at least one closed-loop task. Gate every model change on them.
  8. Connect the consumer conservatively. Start with short horizons, uncertainty penalties and frequent real-environment checks. Lengthen the horizon only as the imagined-versus-real gap stays small.
  9. Close the data loop. Route evaluation failures and high-uncertainty states into targeted data collection, retrain, and re-run the gate. Most of a world model's improvement after launch comes from this loop.

The State of the Art in 2025–2026

As of November 2026 the field has converged on a few large ideas while splitting into distinct product lines. The summary below is a snapshot. Most of the systems named were released within the last eighteen months and have little independent evaluation yet.

  • Interactive simulators went real time. Genie 3 reached 720p at 24 frames per second with minutes of consistency (August 2025). Google made it available to subscribers as Project Genie (January 2026). Genie 4 added generated audio and language steering (October 2026). Runway's GWM-1 and open models such as Matrix-Game 2.0 follow the same autoregressive, real-time recipe.
  • Persistent 3D emerged as an alternative. World Labs' Marble produces editable 3D environments that do not drift, trading away most dynamics.
  • Control world models scaled into video models. DreamerV3's fixed-hyperparameter recipe appeared in Nature (2025). Dreamer 4 showed that an agent can learn a long-horizon task entirely offline inside a transformer world model trained mostly on unlabeled video.
  • Latent planning reached real robots. V-JEPA 2-AC and DINO-WM planned toward image goals in learned feature spaces. The JEPA program gained a well-funded company in AMI Labs (2026).
  • Platforms for physical AI. NVIDIA Cosmos (2025) packaged curation, tokenizers, pretrained world models and post-training recipes for robots and vehicles. Wayve's GAIA-2 brought multi-camera control to driving simulation.
  • LLMs became environments. Three approaches made "train the agent in a world model" standard practice for tool-using language agents: LLM-simulated tools (Simia), experience models with curricula (DreamGym) and synthesized executable environments (Agent World Model).
  • Evaluation caught up with closed loops. Physics-IQ, WorldScore and World-in-World all point the same way. Visual quality is a poor proxy. Controllability and closed-loop success are what separate useful world models from impressive videos.
  • Domain models scaled. Patient-timeline models such as Delphi-2M and CoMET applied the same next-event objective to health records. At the scale of hundreds of thousands to over a hundred million patients, it yields generative forecasters of disease trajectories. The health half of this book examines them.

What a Health World Model Is

A health world model is a generative model of how a patient's state evolves over time, optionally conditioned on interventions. Given everything recorded about a person so far, it assigns probabilities to what happens next. It can also sample whole future trajectories.

In the language of the control half of this book, the mapping is direct:

  • Environment: the patient timeline.
  • Observations: clinical events.
  • Actions: treatments and care decisions.
  • Model: a learned simulator of that environment.

Unlike a game engine, nobody wrote the rules. The model learns them from records of care. Those records are sparse, biased by who gets measured, and shaped by decisions made for reasons the record rarely states.

The idea is old in medicine. Survival curves, Markov cohort models and cancer microsimulations are all hand-built health world models. Each has a small set of states, transition rates estimated from data, and simulation to answer "what happens to this population under policy A versus B".

What changed after 2022 is that a single neural network, trained only to predict the next token of a patient's record, began to work as a general simulator. Generate many plausible futures for a patient and count how often an outcome appears. The result is a risk estimate for any outcome the vocabulary can express, with no task-specific training.

That is the "GPT style" of health world model. ETHOS (Renc et al. 2024) is its clearest, fully documented example, which is why it sits at the center of this half of the book.

Notation

A patient's record is a token sequence \(x_{1:T} = (x_1, \dots, x_T)\) drawn from a vocabulary \(\mathcal{V}\). \(h_t = x_{1:t}\) is the history up to the current position (the "prompt"). \(p_\theta\) is the model with parameters \(\theta\). A sampled future is \(\tilde{x}^{(k)}\), \(k = 1..K\). An outcome is a predicate \(g\) on a future, for example "contains a death token before a discharge token", with true probability \(p = \Pr[g(\tilde{x}) = 1 \mid h_t]\) and Monte Carlo estimate \(\hat{p}\). \(a\) denotes an intervention such as starting a drug.

The Patient Timeline as an Environment

The useful mental model is a partially observed, irregularly sampled process. Its observations are whatever the health system chose to record: a lab when someone ordered it, a code when someone billed it, a drug when someone gave it.

A health world model therefore learns the joint process of physiology and care. That explains why these models predict what a hospital will do next so well, and why they need extra machinery before they can say what a treatment would do (see Prediction Is Not Intervention).

A patient's observed past and a fan of sampled futures from a health world model. OBSERVED HISTORY h(t) SAMPLED FUTURES from p(future | h(t), a) birth, sex diabetes dx HbA1c high ED visit creatinine now (t) discharged, day 3 ICU transfer, day 1 readmitted, day 19 future 1 future 2 future K
Fig. The GPT-style view of a health world model. The observed history is the prompt; the model samples many futures, each a full sequence of events with timing. Questions about the patient become questions about the distribution of sampled futures. Conditioning on an intervention \(a\) (for example, appending a drug token) changes the distribution, but whether that change is causal depends on the data (see the causality section). Events are fictional.

Why the GPT Style

Three properties make next-event generation attractive compared with training one supervised model per question.

  1. One objective, many tasks. The model is trained once, by maximum likelihood on every token of every timeline. Any question phrased as "does event \(e\) occur before stop condition \(s\)" can then be answered by simulation. ETHOS used the same weights for mortality, readmission, ICU length of stay, SOFA score (a bedside score of organ failure) and DRG class (the diagnosis-related group used for hospital billing) (Renc et al. 2024). The Epic Cosmos models were evaluated on 78 tasks without fine-tuning (Waxler et al. 2025).
  2. Full distributions, not point scores. Sampled futures give the timing of events, their co-occurrence and their order, so the same rollout yields a length of stay, a probability of a complication and the expected number of visits. A classifier gives one number.
  3. "What if" by conditioning. Because the input is just a sequence, one can edit it: append a medication token, change an age band, remove a diagnosis, then simulate again. This is the mechanism people mean when they say these models can "simulate treatment pathways", a claim the ETHOS authors make in their abstract. It is also the most dangerous property. Conditioning on an observed treatment is not the same as intervening, as a 2026 review of medical world models puts it (Liu et al. 2026).

The approach has three costs:

  • Compute. \(K\) rollouts of possibly thousands of tokens per patient per question.
  • Compounding. Errors that compound over long horizons.
  • Calibration. Estimates only as calibrated as the model's reproduction of care.

Stanford researchers argued in January 2026 that these models are better described as simulators than as validated forecasters. In their view, a simulation frequency should not be read as a clinical probability without checks (Bedi, Fries & Shah 2026).

Lineage: From Multi-State Models to Generative Event Models

GPT-style health world models descend from five threads: survival analysis, decision-analytic simulation, representation learning on records, generative sequence models, and treatment simulators from reinforcement learning. Each contributes a piece that the modern models either inherit or still lack.

Five lineages converging on GPT-style health world models.
Fig. Five threads behind GPT-style health world models. Within a lane, milestones run left to right in time; spacing is ordinal, not to scale. Years are first publication (preprint where earlier).
  1. Survival and multi-state models. Kaplan–Meier curves and the Cox model made "time to event, with censoring" the native question of clinical statistics. multi-state models added transitions among states and competing risks. A generative event model is a multi-state model with a huge learned state space. MOTOR keeps the survival likelihood explicit.
  2. Decision-analytic simulation. Markov cohort models (Sonnenberg & Beck 1993) and microsimulations such as CISNET's cancer natural-history models answer policy questions by rollout. Interventions modify the natural-history module.
  3. Representation learning on records. Doctor AI (an RNN over about 260K patients' visits), BEHRT, Med-BERT and CLMBR learned patient representations from code sequences. They embed; they do not simulate.
  4. Generative event models. Foresight (2022) generated future clinical concepts. ETHOS (2024) made zero-shot prediction by simulation the method. Delphi-2M (2025) modeled more than 1,000 diseases over a lifetime. The Epic Cosmos models (2025) showed power-law scaling.
  5. Treatment simulators. The AI Clinician (2018) learned sepsis policies from ICU records, prompting guidelines on retrospective RL. The Causal Transformer and the Dreamer-style medDreamer carry this thread into deep learning.

The modern model takes its training recipe from thread 4, its outputs from thread 1 and its use pattern (simulate, then count) from thread 2. From thread 5 it inherits the hardest open question: whether a simulator learned from observational care can answer interventional questions.

A Taxonomy of Health World Models

"Health world model" covers at least five kinds of system that differ in what state they simulate, at what time scale, and how they are judged. Most published work fits one row of the table below. The GPT-style event models of this half are the first row.

KindState simulatedTypical dataExamplesHow it is evaluated
EHR event modelsNext coded event and its timing (diagnoses, labs, drugs, admissions)Hospital EHR, claims, OMOP or MEDS extractsETHOS, Foresight, CEHR-GPT, CoMETZero-shot AUROC/AUPRC on clinical tasks, calibration, synthetic-data fidelity and privacy
Disease-trajectory modelsOnset of many diseases across a lifetimeBiobanks, national registriesDelphi-2M, DT-TransformerAge-stratified AUC per disease, incidence reproduction, external cohorts
Physiological and wearable dynamicsContinuous signals (heart rate, glucose, vitals) minutes to weeks aheadWearables, bedside monitorsLSM (wearables), DT-GPTForecast error (MAE, scaled MAE), imputation error, downstream classification
ICU and treatment simulatorsPatient state under a sequence of treatmentsICU databases (MIMIC, eICU)AI Clinician, medDreamer, treatment-conditioned diffusionOff-policy evaluation, agreement with randomized trials, clinician review
Digital twinsAn individual's trajectory, often in one disease, for planning or trial designDisease registries, trials, mechanistic modelsTwinWeaver / Genie Digital Twin, mechanistic organ modelsForecast error and C-index on held-out patients and trials, prospective use

Table. Kinds of health world model. The boundaries blur: Delphi-2M is an event model restricted to diseases, and several "digital twins" are LLM forecasters over EHR text. Sources are linked in the sections that discuss each system.

A second axis cuts across the rows. A pure forecaster conditions on history. A policy-conditioned simulator also conditions on future actions. Only the second can, in principle, compare treatments, and only under the assumptions in Prediction Is Not Intervention.

ETHOS: Enhanced Transformer for Health Outcome Simulation

ETHOS turns each patient's hospital record into one long token sequence and trains a GPT-2-style decoder to predict the next token. It answers clinical questions by generating the patient's future many times and counting outcomes.

Renc et al. (2024) are a team from Massachusetts General Hospital, Harvard Medical School, MIT, Brigham and Women's and AGH University in Kraków. They published it as "Zero shot health trajectory prediction using transformer" in npj Digital Medicine in September 2024 (doi:10.1038/s41746-024-01235-0). Details below come from the arXiv version (v1); I could not open the journal page itself.

The design has three simple parts:

  • a Patient Health Timeline (PHT) that flattens heterogeneous records into tokens;
  • a decoder-only transformer trained with the language-modeling loss;
  • zero-shot inference by simulation.

Every choice is spelled out, so the pipeline can be rebuilt from first principles.

Building the Patient Health Timeline

A Patient Health Timeline is a patient's events from MIMIC-IV placed in chronological order and rewritten as tokens, with explicit tokens for the passage of time. MIMIC-IV is a de-identified database of patients at Beth Israel Deaconess Medical Center in Boston.

ETHOS drew on its patient, admission, ICU-stay, lab, prescription, procedure, diagnosis, medication-administration, outpatient-measurement, service and DRG tables, plus a derived SOFA score. Clinical notes were not used.

The construction steps, as described in the paper:

  1. Collect, harmonize, order. Each event is stamped with the patient's age (a 64-bit float) and sorted. ICD-9 diagnoses are converted to ICD-10-CM and drug codes to the ATC drug classification. Labs are restricted to the 200 most frequent tests (about 95% of lab events).
  2. Tokenize each event into 1 to 7 tokens (next section).
  3. Insert time-interval tokens between events, 13 interval tokens in all. Gaps under 5 minutes get none. Gaps over a year get repeated 6-month tokens.
  4. Strip the timestamps. The model never sees a clock, only the order of events and the binned gaps between them.
  5. Split by patient, 90/10: 241,015 training/validation and 26,758 test patients.

Step 4 is the key move. Instead of a continuous time embedding, ETHOS makes time part of the vocabulary, so the model must generate time. That is what lets a rollout estimate length of stay or respect a 30-day horizon.

The Token Vocabulary

ETHOS's vocabulary is designed so that every kind of event becomes a short, fixed pattern of tokens. Six static tokens open every timeline. After them, three rules apply:

  • Codes: categorical codes are split into hierarchical pieces.
  • Numbers: each becomes a type token plus a decile token.
  • Time gaps: each becomes an interval token.
Event typeTokens per eventUnique tokensHow it is encoded
Static: sex, race, marital status, BMI, age at start, years since 1970 at start1 each (positions 1–6)2, 6, 5, 1+10 quantiles, 21, 21Age and start year in 5-year bands; BMI as a quantile
Diagnoses (ICD-10-CM)1–32,936First three characters, next two, then the remaining suffix
Procedures (ICD-10-PCS)1–735One token per character
Administered medications (ATC)1–3312Hierarchical pieces of the ATC code
Lab tests2200 (+10 quantiles)Test token followed by a decile token Q1–Q10
Blood pressure31 (+10)Marker, systolic decile, diastolic decile
SOFA score21 (+10)Placed after ICU admission; score mapped to deciles
DRG1772771 classes plus unknown, placed after discharge
Stays and transfers1–6ED 2, inpatient 18, ICU 11, transfers 19Admission, discharge and transfer events (some with quantile tokens)
Time intervals1 (more if > 1 year)13Binned gap since the previous event; none under 5 minutes
Death, end of timeline11 eachTerminal tokens used as stopping conditions

Table. The ETHOS token vocabulary, from the paper's Table S2 and Methods (Renc et al. 2024). Quantile boundaries are computed from training-set histograms. The paper does not report a single total vocabulary size in the text I read.

Splitting codes shrinks the vocabulary and lets rare codes share statistics with their parent category. Quantile binning makes labs generatable with ten tokens per test, at the cost of resolution. A top-decile creatinine is one token whether mildly or extremely high. The figure applies these rules to a fictional patient.

Worked example: a fictional patient's record turned into ETHOS-style tokens.
Fig. Worked tokenization of a fictional patient, following the ETHOS rules: six static tokens, then each event as a short token pattern preceded by a time-interval token. ICD-10-CM N17.9 splits into its three-character category and the remainder; each lab becomes a test token plus a decile token. Token spellings are mine, and the exact ATC split points are illustrative. Reading the chips left to right, top to bottom gives the sequence the transformer is trained on.

Training Objective and Model

ETHOS is trained exactly like a language model: maximize the probability of each token given all the tokens before it, over every timeline in the training set. For one timeline \(x_{1:T}\) the model factorizes the joint probability with the chain rule and minimizes the negative log-likelihood:

\[ p_\theta(x_{1:T}) = \prod_{t=1}^{T} p_\theta(x_t \mid x_{<t}), \qquad \mathcal{L}(\theta) = -\sum_{t=1}^{T} \log p_\theta(x_t \mid x_{<t}). \]

Here \(p_\theta(x_t \mid x_{<t})\) is a softmax over the vocabulary computed from the transformer's output at position \(t-1\), and the loss is averaged over tokens in a minibatch.

Nothing in the loss is clinical. Mortality is learned because death tokens follow certain patterns. Length of stay is learned because interval tokens precede discharge tokens in certain patterns.

The architecture is a decoder-only transformer based on Karpathy's nanoGPT. Its size started from GPT-2 and was adjusted heuristically. It uses learned position embeddings and a context window of 2,048 tokens.

The paper's embedding visualizations use 768 dimensions. Training took about 36 hours on 8 GPUs. Long records exceed the window, so the six static tokens are kept in the first positions. (The 2025 reimplementation, described below, reports a full configuration: 6 layers, 12 heads, about 45M parameters.)

Zero-Shot Inference by Simulation

To predict an outcome, ETHOS runs a simple loop:

  1. Feed the patient's timeline up to the prediction time as the prompt.
  2. Sample a continuation token by token until a stopping condition.
  3. Repeat this many times.
  4. Report the fraction of continuations in which the outcome occurred.

No labels, task heads or fine-tuning are involved. Each task is defined by its prompt cut point, its stopping rule and the outcome tokens it counts.

Train, simulate and estimate: the three stages of zero-shot prediction with a generative event model. 1 · TRAIN 2 · SIMULATE 3 · ESTIMATE Tokenized PHTs training patients next-token loss over every token Decoder-only transformer p(next token | history) fit This patient's history prompt, cut at time t at inference K sampled futures discharge death ×K p̂ = M / K M futures with the outcome LOS: sum of interval tokens ± standard error count
Fig. The train → simulate → estimate pipeline. Training uses only the next-token loss. At inference the patient's history is the prompt; the model samples \(K\) continuations until a stop token (here discharge or death) or a time budget, and the estimate is a count. ETHOS used \(K=20\); its 2025 successor uses \(K=100\).

The paper defines each task by its rollout rule:

  • Inpatient and ICU mortality: start at admission, generate until a discharge or death token, repeat 20 times. The probability is the number of death-terminated runs divided by 20.
  • 30-day readmission: start at discharge, generate until an admission or death token, or until the summed interval tokens exceed 30 days. Repeat 20 times.
  • ICU length of stay: sum the interval tokens generated before the discharge token (runs ending in death are excluded).
  • SOFA at ICU admission: read the model's probabilities over the ten SOFA decile tokens and take the expected value using the mean score per decile.
  • DRG: read the probabilities over the 772 DRG tokens at discharge directly. No sampling is needed.

The last two show that when the answer is the very next token, the softmax already is the predictive distribution. Sampling is needed only when the outcome depends on a sequence of future tokens. The paper reports about 15 seconds per 1,000 generated tokens on one A100.

The Monte Carlo estimator. Let \(Y_k = g(\tilde{x}^{(k)}) \in \{0,1\}\) indicate whether the \(k\)-th sampled future contains the outcome before the stop condition. If the futures are drawn independently from the model, the \(Y_k\) are i.i.d. Bernoulli with mean \(p_\theta = \Pr_\theta[g(\tilde{x}) = 1 \mid h_t]\), so

\[ \hat{p} = \frac{1}{K}\sum_{k=1}^{K} Y_k = \frac{M}{K}, \qquad \mathbb{E}[\hat{p}] = p_\theta, \qquad \operatorname{SE}(\hat{p}) = \sqrt{\frac{p_\theta(1 - p_\theta)}{K}} \approx \sqrt{\frac{\hat{p}(1 - \hat{p})}{K}}. \]

Here \(M\) is the number of futures with the outcome and \(K\) the number sampled. The estimator is unbiased for the model's probability \(p_\theta\), not for the true clinical probability \(p\). The gap between \(p_\theta\) and \(p\) is a modeling error that more samples cannot fix.

Sample size sets the resolution. With \(K = 20\), \(\hat{p}\) can only take the values \(0, 0.05, \dots, 1\). At \(p_\theta = 0.5\) the standard error is about 0.11 with \(K = 20\), and 0.05 with \(K = 100\).

Monte Carlo estimate of an outcome probability as the number of sampled timelines grows.
Fig. How a Monte Carlo risk estimate converges. Two independent runs of running estimates \(\hat{p}_K = M_K/K\) for an outcome whose model probability is \(p_\theta = 0.30\); the shaded band is \(p_\theta \pm 1.96\,\sqrt{p_\theta(1-p_\theta)/K}\). Vertical markers show \(K\) values used in practice: 20 (ETHOS), about 64 (where CoMET reported gains mostly plateauing) and 100 (ETHOS-ARES). Illustrative: simulated Bernoulli draws computed in the page with a fixed seed.
Deeper Monte Carlo details: sample size, rare outcomes, censoring and AUROC

How many futures? For a standard error below \(\varepsilon\) at the worst case \(p = 0.5\), use \(K \ge 0.25/\varepsilon^2\). That means 100 samples for 0.05 and 625 for 0.02. For a per-patient interval, prefer the Wilson interval, which stays sensible when \(M = 0\) or \(M = K\).

Rare outcomes. The relative error is \(\mathrm{SE}/p = \sqrt{(1-p)/(pK)}\). At \(p = 0.01\) and \(K = 100\) it is near 100%. In that case \(\hat{p} = 0\) about 37% of the time (\(0.99^{100}\)). This is one reason zero-shot models do relatively poorly on low-prevalence incident disease, as the CoMET authors note.

Three remedies exist:

  • Adaptive \(K\) for borderline patients.
  • Next-token probabilities, read directly when the outcome is one step away.
  • Importance sampling with likelihood-ratio weights \(p_\theta/q\).

Ties. With \(K = 20\) every score is a multiple of 0.05, so many low-risk patients tie in the AUROC. Accumulating per-step outcome-token probabilities along each rollout gives a lower-variance score (a form of Rao–Blackwellization), though not what ETHOS reported.

Censoring and temperature. Dropping rollouts that hit the context or token budget before a stop token biases \(\hat{p}\) toward fast outcomes. CoMET right-censored them. The incomplete fraction is worth reporting (the "timeline completion rate" of Bedi, Fries & Shah).

The estimator is unbiased for \(p_\theta\) only at temperature 1 without truncation. Top-\(p\) sampling, which ETHOS-ARES used, draws only from the most likely tokens. It sharpens the distribution and tends to understate rare outcomes, so such numbers are best treated as scores to calibrate.

Results

On the MIMIC-IV test set, a single ETHOS model, never trained on any label, matched or beat published task-specific models on most tasks it was tested on. The clear exceptions were 30-day hospital readmission and readmission after intracerebral hemorrhage.

The numbers below are from the arXiv version of the paper. Comparators are results reported in other papers, often on differently curated cohorts. The comparisons are therefore indicative rather than head-to-head.

Task (test set)ETHOSComparator reported in the paper
Inpatient mortality (43,309 admissions, 2.0% positive)AUROC 0.921—
ICU mortality (7,483 ICU stays, 7.0% positive)AUROC 0.927XGBoost 0.918
ICU mortality in sepsis (3,324 patients)AUROC 0.8890.762
ICU readmissionAUROC 0.8070.82; LSTM 0.791
30-day hospital readmissionAUROC 0.7490.791
ICU length of stayMAE 2.26 days2.42 days
SOFA score on first ICU dayMAE 1.50none reported
DRG class (771 classes, 28,932 stays)Top-1 accuracy 84.8%DRG-LLaMA 52%

Table. Selected ETHOS results (Renc et al. 2024, arXiv v1). The paper gives 95% confidence intervals for each. For example, inpatient mortality 0.908–0.931. Comparators come from separate studies with their own cohorts and features.

  • Results are strongest where the stopping rule is short (in-hospital and ICU death, DRG at discharge).
  • Readmission is harder. The model must generate a plausible post-discharge month, and MIMIC-IV cannot see readmissions to other hospitals.
  • ETHOS was evaluated on the full test population while comparators used curated subsets, which cuts both ways.

One label-free simulator gave competitive discrimination across inpatient tasks. It did not establish calibration, subgroup performance or transfer to another hospital (see Evaluating Health World Models).

Code Walkthrough: A Toy ETHOS

The whole method fits in about a hundred lines. It needs three pieces:

  • a tokenizer that turns events into codes, decile tokens and time-gap tokens;
  • a causal transformer trained with cross-entropy;
  • a rollout that samples \(K\) futures in parallel and counts outcome tokens.

The code below is a teaching sketch written for this book, not the ETHOS implementation (which is open source as ethos-ares). Bin edges and token names are illustrative.

1. Tokenizer. Codes are split hierarchically, numbers become deciles fitted on training data only, and gaps become interval tokens.

import numpy as np

# Time-gap bins in minutes (illustrative; ETHOS v1 used 13 interval tokens, ETHOS-ARES 19)
GAP_EDGES  = [5, 15, 60, 120, 360, 720, 1440, 4320, 10080, 43200, 129600]
GAP_TOKENS = ["5m-15m", "15m-1h", "1h-2h", "2h-6h", "6h-12h", "12h-1d",
              "1d-3d", "3d-1w", "1w-1mt", "1mt-3mt", "3mt-6mt"]
SIX_MONTHS = 259200  # minutes

def gap_tokens(minutes):
    """No token under 5 min; repeated 6-month tokens for very long gaps."""
    out = []
    while minutes >= SIX_MONTHS:
        out.append("=6mt"); minutes -= SIX_MONTHS
    if minutes >= 5:
        i = np.searchsorted(GAP_EDGES, minutes, side="right") - 1
        out.append(GAP_TOKENS[i])
    return out

def icd10_tokens(code):                       # "N17.9" -> ["ICD//N17", "ICD//9"]
    c = code.replace(".", "")
    parts = [c[:3], c[3:5], c[5:]]
    return ["ICD//" + p for p in parts if p]

class Deciles:
    """Fit per-test decile edges on TRAINING data only, then map values to Q1..Q10."""
    def fit(self, values_by_test):
        self.edges = {t: np.quantile(v, np.linspace(0.1, 0.9, 9))
                      for t, v in values_by_test.items()}
        return self
    def token(self, test, value):
        return f"Q{int(np.searchsorted(self.edges[test], value, side='right')) + 1}"

def tokenize_timeline(static, events, deciles):
    """static: list of tokens; events: time-sorted dicts with 'minute', 'kind', ..."""
    toks, last = list(static), None
    for e in events:
        if last is not None:
            toks += gap_tokens(e["minute"] - last)
        if e["kind"] == "dx":
            toks += icd10_tokens(e["code"])
        elif e["kind"] == "lab":
            toks += ["LAB//" + e["test"], deciles.token(e["test"], e["value"])]
        else:                                 # admission, discharge, death, drug ...
            toks.append(e["kind"].upper() if "code" not in e else e["code"])
        last = e["minute"]
    return toks

2. Next-token training. Timelines are concatenated, cut into windows of the context length, and trained with the standard shifted cross-entropy. In ETHOS the six static tokens sit at the start of every window. Here that is handled by prepending them when windows are cut.

import torch, torch.nn as nn, torch.nn.functional as F

class TinyGPT(nn.Module):
    def __init__(self, vocab, d=256, layers=6, heads=8, ctx=2048):
        super().__init__()
        self.tok = nn.Embedding(vocab, d)
        self.pos = nn.Embedding(ctx, d)                # learned positions, as in ETHOS
        block = nn.TransformerEncoderLayer(d, heads, 4 * d, dropout=0.1,
                                           batch_first=True, norm_first=True)
        self.blocks = nn.TransformerEncoder(block, layers)
        self.head = nn.Linear(d, vocab, bias=False)
        self.ctx = ctx
    def forward(self, ids):                            # ids: [B, T]
        T = ids.shape[1]
        mask = nn.Transformer.generate_square_subsequent_mask(T, device=ids.device)
        h = self.tok(ids) + self.pos(torch.arange(T, device=ids.device))
        return self.head(self.blocks(h, mask=mask, is_causal=True))   # [B, T, V]

def train(model, windows, steps=100_000, lr=4e-4):     # windows: LongTensor [N, ctx+1]
    opt = torch.optim.AdamW(model.parameters(), lr=lr, weight_decay=0.01)
    for step in range(steps):
        batch = windows[torch.randint(len(windows), (32,))]
        x, y = batch[:, :-1], batch[:, 1:]             # predict token t from tokens < t
        loss = F.cross_entropy(model(x).flatten(0, 1), y.flatten())
        opt.zero_grad(); loss.backward()
        torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0)
        opt.step()

3. Rollout and counting. Sample \(K\) futures in one batch, stop each when it emits a stop token or exceeds the time horizon, and count futures that contain the outcome. The time budget uses the minutes implied by each generated interval token.

@torch.no_grad()
def rollout_risk(model, prompt, K, stop_ids, outcome_ids, gap_minutes,
                 horizon_min=None, max_new=2000, temperature=1.0):
    """prompt: LongTensor [T]; gap_minutes: FloatTensor [V], minutes per token (0 if not a gap)."""
    ids = prompt.unsqueeze(0).repeat(K, 1)             # K copies of the history
    done = torch.zeros(K, dtype=torch.bool)
    hit = torch.zeros(K, dtype=torch.bool)
    elapsed = torch.zeros(K)
    for _ in range(max_new):
        logits = model(ids[:, -model.ctx:])[:, -1] / temperature
        nxt = torch.multinomial(F.softmax(logits, -1), 1).squeeze(1)
        nxt = torch.where(done, torch.zeros_like(nxt), nxt)   # pad finished rows
        ids = torch.cat([ids, nxt[:, None]], 1)
        hit |= ~done & torch.isin(nxt, outcome_ids)
        elapsed += torch.where(done, 0.0, gap_minutes[nxt])
        done |= torch.isin(nxt, stop_ids)
        if horizon_min is not None:
            done |= elapsed > horizon_min
        if done.all():
            break
    p = hit.float().mean().item()
    se = (p * (1 - p) / K) ** 0.5
    return p, se, (~done).float().mean().item()        # also report incomplete rollouts

# 30-day readmission from a discharge point:
# p, se, incomplete = rollout_risk(model, prompt, K=100,
#     stop_ids=ids_of(["INPATIENT_ADMISSION", "DEATH"]),
#     outcome_ids=ids_of(["INPATIENT_ADMISSION"]), gap_minutes=gap_table,
#     horizon_min=30 * 24 * 60)

Three details carry over to real systems:

  • Fit the tokenizer on training patients only. Otherwise decile edges leak test information.
  • Sample efficiently. Production samplers drop finished sequences and use a key-value cache instead of padding.
  • Monitor incomplete rollouts. Track their fraction alongside the risk itself.

ETHOS After 2024

The ETHOS team followed up in 2025 with a MEDS-based reimplementation and risk-estimation system, and a federated variant. I found no later ETHOS paper as of November 2026. Both keep the core recipe and change the engineering around it.

ETHOS-ARES: Adaptive Risk Estimation

Renc et al. (2025) introduced ARES, the Adaptive Risk Estimation System, on top of a reimplemented ETHOS. The code's README lists the peer-reviewed version in GigaScience (2025, giaf107) (ethos-ares). The setup, from the August 2025 arXiv version (v4):

  • Data and tokens: MIMIC-IV v2.2 plus the ED extension, extracted with the MEDS-DEV pipeline into the MEDS format (a shared open format for medical event data). The data cover about 300K patients and 361M tokens. The vocabulary grows to about 4,500 tokens, with 19 interval tokens, HCPCS codes, vitals and ED events.
  • Model: GPT-2-style, with 6 layers and 12 heads. It has 768 dimensions and a 2,048-token context. Dropout is 0.3, and the model has about 45M parameters. Training used AdamW at \(4\times10^{-4}\) and batch 32. It ran about 100K steps on 8 A100s.
  • Inference: top-\(p\) 0.9 sampling of \(N = 100\) futures. The probability is \(M/N\) with binomial intervals, reported as five ordinal risk levels.
  • Results, as AUROC (how well the score ranks patients with the outcome above those without) vs. the MEDS-Tab XGBoost baseline:
    • hospital mortality 0.940 vs. 0.887;
    • ICU admission 0.932 vs. 0.918;
    • prolonged stay 0.853 vs. 0.815.
    On ED tasks, with the best baseline in parentheses:
    • hospitalization at triage 0.946 (best baseline 0.863);
    • critical outcome within 12 hours 0.945 (0.892);
    • 72-hour re-presentation 0.745 (0.714).

The "adaptive" part is that simulation can start from any earlier token, which turns one patient's record into a risk trajectory: re-run the rollouts after each new event and watch the estimate move.

The authors add an explanation module that attributes jumps to specific tokens. They caution that rises right after invasive procedures (an intubation code, for example) are better read as retrospective markers of severity than as actionable alerts. Clinical usability had not been formally tested.

An ARES-style risk trajectory: estimated risk re-computed after each new event.
Fig. The idea behind ARES: re-run \(N = 100\) rollouts after each new token and plot the estimated risk with its binomial 95% interval. A high lactate raises the estimate; an intubation code raises it further, but as ETHOS-ARES notes, a jump right after a procedure mostly reflects severity already known to the team. Illustrative: the event times and risk values are invented, and the band is computed from the binomial formula.

Federated Timeline Synthesis

Renc et al. (2025b) trained local ETHOS-style generators at each site and shared only weights. A global generator was then trained on synthetic timelines sampled from them.

On five MIMIC-IV tasks, adding large synthetic sets to a small real set approached training on all the real data. Synthetic data alone fell short. The authors list one dataset, few tasks and no fairness analysis as limitations.

A generative event model doubles as a synthetic-data engine, which makes the privacy evaluation of generated timelines a first-class concern.

The Generative Event Model Family

ETHOS belongs to a family of generative event models. They share its recipe (tokenize, train autoregressively, simulate) and differ in data, time representation and use. By idea, the family splits into three groups:

  • models that generate the next concept or visit;
  • models of lifetime disease histories;
  • models that test whether scale helps.

Generating Concepts and Visits

The first generation predicted what comes next in a timeline of concepts or visits, judged mostly by next-event accuracy and synthetic-record realism.

  • Foresight. Kraljevic et al. (2024) built Foresight (Lancet Digital Health; preprint 2022). It is a GPT-2-style model (16 layers, 512 dimensions) over SNOMED CT concepts, extracted from free text with MedCAT and grouped in one-day buckets. It was trained on 811,336 patients from King's College Hospital, South London and Maudsley, and MIMIC-III.
    • Precision@10 for the next new disorder was 0.68–0.88 across sites.
    • Clinicians judged the top forecast relevant in 33 of 34 synthetic cases.
    • The authors note it reflects historical practice and was not validated for long simulations.
  • CEHR-GPT. Pang et al. (2024) built CEHR-GPT on Columbia's OMOP data (about 2.3M training patients). Its sequences use a demographic prompt, visit-type tokens, and day-gap tokens up to 1,080 days plus a long-term token (full paper).
    • About 98% of generated sequences converted back to OMOP.
    • Privacy attacks fell below the framework's low-risk threshold.
    • Coarser time tokens visibly broke time-sensitive cohorts. A CEHR-BERT-style representation produced a 100% synthetic heart-failure readmission rate, against about 25% in real data.
  • TransformEHR. Yang et al. (2023) built TransformEHR, an encoder-decoder pretrained on 6.5M Veterans Health Administration patients. It learns to generate all ICD codes of the next visit.
    • It beat BERT-style pretraining on AUPRC for pancreatic cancer onset (78.6 vs. 76.9).
    • It also beat it on self-harm among patients with PTSD (16.7 vs. 13.3).
    • Pretraining improved AUROC by 2.3% on external MIMIC-IV data.

Two lessons recur:

  • Time representation is not a detail. Blurred intervals put synthetic readmissions at the wrong times.
  • Set prediction saves rollouts. Predicting the next visit as a set (TransformEHR, RAVEN below) avoids long rollouts for visit-level questions.

Delphi-2M: The Natural History of Disease

Shmatko et al. (2025) trained Delphi-2M, a modified GPT, on about 0.4M UK Biobank participants (Nature, September 2025). It models the rates of more than 1,000 diseases as a function of each person's past history. The authors validated it, without changing parameters, on about 1.9M people in Danish registries.

Where ETHOS simulates a hospital stay token by token, Delphi simulates a lifetime of diagnoses. It can sample synthetic health trajectories up to 20 years ahead.

Technical details, as summarized in coverage of the paper (I could not open the full text, so treat these as secondary):

  • Vocabulary. About 1,270 tokens: three-character ICD-10 codes for 1,256 diseases, death, sex, lifestyle levels (BMI, smoking, alcohol), and "no-event" tokens that fill long gaps.
  • Architecture. GPT-2 with about 2.2M parameters. A continuous age encoding replaces positions, an extra output predicts the time to the next event, and masking stops simultaneous events from informing each other.
  • Results. Average AUC was around 0.76 in UK Biobank. It fell toward 0.70 at 10 years and was lower in Danish data.
  • Synthetic training and bias. Training only on synthetic trajectories cost a few AUC points. Explainability exposed biases from the training data.

Delphi predicts the waiting time directly rather than discretizing time into tokens. That makes it a neural version of the multi-state models from the lineage.

A May 2026 study, DT-Transformer (Zhu et al. 2026), trained a Delphi-style model on 1.7M patients at Mass General Brigham. It reported stronger near-term discrimination: a median age- and sex-stratified AUC of 0.871 across 896 diseases. It also decayed faster at long horizons, with a median AUC of 0.713 in a prospective 2024 evaluation. The authors caution that UK Biobank is a highly selected population and that cross-population comparisons are loose.

CoMET: Does Scale Help?

Waxler et al. (2025), a team from Epic, Microsoft Research and Yale, trained decoder-only models on Epic Cosmos and asked the scaling question directly. Cosmos is a de-identified dataset spanning more than 300M patient records from 310 health systems.

The paper is titled "Generative Medical Event Models Improve with Scale". The abbreviation CoMET stands for Cosmos Medical Event Transformer. The latest arXiv version (v3) calls the model family Curiosity.

  • Data. 118M adult patients, 115B events and 151B tokens (2012–2025). Notes and vitals were excluded.
  • Tokens. 7,105 a-priori tokens closely follow ETHOS:
    • ICD-10-CM and ATC codes in 1–3 pieces;
    • top CPT procedures;
    • the 1,000 most common labs, each as a test token plus one of 10 equal-frequency bins;
    • interval tokens from minutes to 3–6 months.
  • Models. Qwen2-architecture decoders trained from scratch, at 62M, 119M and 1B parameters, with an 8,192-token context.
  • Scaling. isoFLOP sweeps (runs at fixed compute that trade model size against data) gave power laws with exponents close to natural language. The compute-optimal ratio, however, was roughly 1,000 tokens per parameter. Lower loss predictably improved downstream scores.
  • Inference. Typically 20–80 simulations at temperature 1, with gains mostly plateauing around 64.
  • Results. Across 78 tasks, the 1B model generally matched or beat supervised baselines (mainly XGBoost) without fine-tuning. For example, 30-day readmission AUROC was 0.770 vs. 0.717. Hyperlipidemia outcomes and incident-disease AUROC were exceptions.
  • Stated limitations. No subgroup analysis, no temporal split or prospective validation, censoring not fully handled, and truncated histories.

2026: Beyond Token-by-Token

2026 work pushed in two directions: cheaper visit-level prediction, and checking that simulations reproduce the statistics of real care.

  • Cheaper visit-level prediction. Rajamohan et al. (2026) pretrained RAVEN on 1.29M NYU Langone patients to predict the full set of next-visit events. It down-weights repeated chronic codes so new onsets carry signal. The authors warn that repeats can inflate metrics. In their data-limited regime, more data helped more than more parameters.
  • Fidelity to real care. Akagi et al. (2026) pretrained a decoder-only simulator on hundreds of millions of records from the University of Tokyo Hospital (2011–2023). They judged it mainly on fidelity (full text), using 256 simulations per prompt:
    • event frequencies correlated with real data at \(r > 0.98\);
    • lab distributions matched closely;
    • observed-to-expected ratios for eight tasks stayed near 1 on a later test year, without recalibration.

Generative vs. Representation and Time-to-Event Models

Not every EHR foundation model is a world model. Three kinds coexist, and they trade sampling cost against flexibility. The choice depends on whether the task needs trajectories or just scores.

  • Representation models produce an embedding for a supervised head.
  • Time-to-event models learn hazards (instantaneous event rates over time) for many outcomes.
  • Generative models simulate.

Three systems mark the boundaries:

  • CLMBR. Steinberg et al. (2021) showed with CLMBR that next-code language modeling is an effective representation learner. The model is trained like a generator but used as an encoder, with a logistic-regression head per task.
  • MOTOR. Steinberg et al. (2024) built MOTOR, which replaces next-token prediction with thousands of time-to-event pretraining tasks under a piecewise-exponential survival likelihood. It handles censoring by construction and needs one forward pass per prediction. But it can only answer questions about the outcomes it was pretrained on, and it cannot generate a trajectory.
  • Event Stream GPT. The Event Stream GPT library (McDermott et al. 2023) formalized generative pretraining over continuous-time event sequences. It models what happens next and when.
ModelData and scaleTokenization and timeObjectiveInferenceMain evaluations
ETHOS (2024)MIMIC-IV, ~268K patientsSplit codes, decile labs, 13 interval tokensNext token20 rollouts, count outcomesMortality, readmission, LOS, SOFA, DRG
ETHOS-ARES (2025)MIMIC-IV + ED via MEDS, ~300K patients, ~361M tokensAs ETHOS, 19 interval tokensNext token (45M params)100 rollouts, top-p 0.9, risk trajectoriesHospital mortality, ICU admission, prolonged stay, ED tasks
Foresight (2024)3 UK/US sites, 811K patientsSNOMED concepts from text, 1-day bucketsNext conceptTop-k next concept, synthetic timelinesPrecision@k, clinician review
CEHR-GPT (2024)Columbia OMOP, 2.3M training patientsVisits, day-gap tokens up to 1,080 daysNext tokenSampling synthetic patientsFidelity, utility, privacy attacks
TransformEHR (2023)VHA, 6.5M patientsVisits of ICD codesGenerate all codes of next visit (enc-dec)Fine-tuned classifiersPancreatic cancer, self-harm; MIMIC-IV transfer
Delphi-2M (2025)UK Biobank ~0.4M; Danish ~1.9M externalICD-10 diseases + lifestyle, continuous ageNext disease + time to eventRates and sampled 20-year trajectoriesPer-disease AUC, external validation
CoMET (2025)Epic Cosmos, 118M patients, 151B tokensETHOS-like, 7,105 tokensNext token, 62M–1B params20–80 rollouts78 tasks, scaling laws
MOTOR (2024)EHR and claims, up to 55M patientsCoded eventsTime-to-event over thousands of codesOne pass, hazardsTime-dependent C-statistic

Table. Generative event models compared with a time-to-event foundation model. Scales are as reported in each paper (patient counts round differently across versions). Delphi-2M details are from secondary coverage. MOTOR's 55M records (about 9B events) and 143M parameters are from its abstract.

A practical way to choose follows from the question type:

  • Fixed outcome list. If every question is "risk of outcome \(c\) by time \(\tau\)" for a fixed list of \(c\), a time-to-event model is cheaper and handles censoring properly.
  • Open-ended questions. If questions are open-ended, involve sequences ("ICU then readmission"), or call for synthetic data, a generative model is the more general tool. That generality costs sampling compute and calibration work.

Physiological Dynamics and Digital Twins

Physiological world models simulate continuous signals such as heart rate, glucose or vitals. Digital twins aim to simulate one individual well enough to plan their care. The 2024–2026 evidence for both is mostly about forecasting accuracy, not decision support.

  • LSM. Narayanswamy et al. (2025) trained LSM, a wearable-sensor foundation model, on up to 40 million hours of minute-level data from more than 165,000 people. The signals are heart rate, heart-rate variability, accelerometry, electrodermal activity, skin temperature and altimeter.
    • It is trained to impute, interpolate and extrapolate across time and sensors.
    • The authors report scaling laws across compute, data and model size.
    • Extrapolation of masked future windows is a short-horizon physiological world model, though the paper frames it as representation learning.
  • DT-GPT. Makarov et al. (2025) built DT-GPT, which fine-tunes an LLM to forecast clinical variables directly from EHR text (npj Digital Medicine, 2025). On lung cancer, ICU and Alzheimer's datasets, it reduced scaled MAE by 1.3–3.4% against the best machine-learning baselines. It also preserved cross-variable correlations.
  • TwinWeaver. DT-GPT's successor framework TwinWeaver (ICML 2026) trained a "Genie Digital Twin" on 93,054 patients across 20 cancer types. It reported:
    • a median MASE (forecast error scaled by a naive baseline's error) of 0.87, vs. 0.97 for the best time-series baseline;
    • an average C-index (how well predicted risk orders patients by time to event) of 0.703 vs. 0.662 on survival, progression and therapy-switching tasks.

The margins over classical baselines are modest. A digital twin in the strong sense is accurate under hypothetical treatments for a specific patient. That needs the causal properties discussed below, which none of these systems claims.

Sleep, Wearable and Bed-Sensor Foundation Models

Sensor foundation models compress nights and days of physiology into vectors. That makes them the natural front end for a health world model. They turn signals sampled hundreds of times per second into something a timeline model can read one night at a time. Most of them are not world models themselves.

This section sorts sleep, wearable and ballistocardiography (BCG) models by how far they reach into the future. It then shows how their outputs can become tokens in an ETHOS-style timeline. The companion book on health foundation models covers these models as representation learners in more depth. Here the question is narrower: what do they let a simulator predict?

Representation Models, Mostly

Nearly every sensor foundation model released up to 2025 learns a representation of the present, not a transition model of the future. The two dominant pretraining objectives make this explicit:

  • Contrastive learning pulls together two views that should share information and pushes apart everything else. The views are two modalities recorded in the same window, or two windows from the same person.
  • Masked reconstruction hides patches of a signal and asks the model to fill them in.

Neither objective asks what happens next night, next month or after a treatment.

A model starts to behave like a world model when its output is about time that has not been observed yet. Four steps lead there, each a stronger claim than the last:

  • Imputing missing streams. Filling a gap inside an observed window (the watch was charging) is interpolation, a weak form of dynamics.
  • Forecasting signals. Extrapolating the final minutes or hours of a window, or generating the next tokens of a signal, is a short-horizon transition model.
  • Predicting future events from a snapshot. Attaching survival heads to one night's embedding forecasts disease years ahead, but with no intermediate states, so nothing can be rolled out.
  • Action-conditioned rollouts. Predicting how physiology changes under a chosen behavior or intervention is the Dreamer-style world model of the control half of this book.
Ladder from sensor representation models to sensor world models, with example models at each rung. representation of the present simulation of the future Embed contrastive same person/time Impute masked patches fill the gap Forecast extrapolate or next token Predict events survival heads years ahead Roll out action-conditioned latent dynamics Apple PPG/ECGWBMPaPaGei, Pulse-PPGSleepFM (2024)BCG-FM LSMLSM-2SensorFM SOTERHypnosLSM-2 extrapolation SleepFM (2026):130 conditionsfrom one night SensorWMNormWear-2 most published sensor models sit on the two left rungs; the right rung is mostly 2026 preprints and workshop papers
Fig. A ladder from representation to simulation for sensor models. Each rung makes a stronger claim about unobserved time. Placement reflects each paper's main evaluated capability; several models span two rungs. Original diagram.
ModelModalityPretraining objectivePredicts the future?Main evaluation
SleepFM (2024)PSG: brain, ECG, respiratoryLeave-one-out contrastiveNoStaging, sleep-disordered breathing, retrieval
SleepFM (2026)PSG, varied channel setsContrastive, then survival headsYes: disease onset from one nightC-index across 1,000+ conditions; held-out cohort
Hypnos (2026)8 PSG modalitiesNext-token prediction on quantized signalsNext signal tokens; used for embeddingsStaging, atrial fibrillation
Apple PPG/ECG (2023)Watch PPG and ECGParticipant-level contrastiveNoDemographics, ~50 conditions
WBM (2025)27 hourly behavioral metricsContrastiveNo (stated by authors)57 health tasks
LSM-2 (2025), SensorFM (2026)Minute-level wearable featuresMasked reconstruction with inherited missingnessExtrapolation of a final windowImputation, classification
SOTER (2026)Multichannel wearable signalsGenerative, continuous-time decoderYes: zero-shot forecastingRMSE/MAE on six datasets
SensorWM (2026)Wearable states and behaviorsLatent action-conditioned dynamicsYes: multi-week rolloutsForecasting vs. persistence
BCG-FM (2026)Bed BCG (piezoelectric)Participant-level contrastiveNo (cross-sectional)Age, 15 self-reported conditions

Table. Sensor foundation models through a world-model lens. "Predicts the future?" refers to what the paper evaluates, not what the architecture could be extended to do. Sources are linked in the subsections below.

SleepFM: One Night, Many Futures

SleepFM is the clearest case of a sensor representation model turned into a long-horizon risk forecaster. It encodes one night of polysomnography (PSG) and predicts which of hundreds of diseases will appear in the following years. PSG is the overnight sleep-lab recording of brain activity (EEG), eye movements, muscle tone, ECG and breathing, scored in 30-second epochs.

  • SleepFM (2024). Thapa et al. (2024) introduced SleepFM at ICML 2024. It was pretrained on more than 100,000 hours of PSG from over 14,000 Stanford Sleep Clinic participants, with separate encoders for brain activity, ECG and respiratory channels.
    • Its leave-one-out contrastive loss aligns each modality with the average of the others. It beat pairwise contrastive learning on staging and sleep-disordered breathing detection.
    • Logistic regression on frozen embeddings beat an end-to-end CNN on staging (macro AUROC 0.906 vs. 0.842 in the paper's table) and on breathing-disorder detection.
  • SleepFM (2026). Thapa et al. (2026) scaled SleepFM in Nature Medicine (vol. 32, published January 2026). The new version used over 585,000 hours of PSG from about 65,000 participants across several cohorts, with an encoder that accepts different channel configurations.
    • From a single night, 130 conditions reached a C-index of at least 0.75. Examples:
      • all-cause mortality (0.84) and dementia (0.85);
      • myocardial infarction (0.81) and heart failure (0.80);
      • chronic kidney disease (0.79), stroke (0.78) and atrial fibrillation (0.78).
    • The model transferred to the Sleep Heart Health Study, which was left out of pretraining, and stayed competitive with dedicated staging tools such as U-Sleep and YASA.
    • Press coverage reported follow-up of up to 25 years and over 1,041 disease categories screened.

In the vocabulary of this book, SleepFM 2026 is a time-to-event model on top of a representation, not a generative simulator. It outputs hazards, not trajectories. It cannot say what the next night will look like, or how risk evolves if sleep apnea is treated.

The C-indices are also associations from a sleep-clinic population referred for a reason. The confounding caveats of Prediction Is Not Intervention therefore apply in full.

Three 2026 sleep models push in different directions:

  • Hypnos: next-token prediction. Carter & Tarassenko (2026) trained Hypnos on over 20,000 overnight recordings. Residual vector quantization turns each of eight PSG modalities into discrete tokens. An autoregressive transformer then predicts the next token of all modalities at once.
    • It matched supervised staging baselines with 100× less labelled data.
    • It beat a dedicated ECG model on atrial fibrillation detection.
    • It is the first sleep model trained with a world-model-shaped objective, though the paper uses it for embeddings rather than for generating nights.
  • OSF: objectives and scale. Shuai et al. (2026) built OSF from 166,500 hours of public sleep recordings and compared four families of self-supervised objectives. Channel-invariant features proved essential when channels are missing at inference. Scaling data, model size and source mixture all helped.
  • SleepLM: language. Xu et al. (2026) aligned PSG with text in SleepLM (over 100,000 hours from more than 10,000 people). A caption decoder lets the model describe sleep physiology in language.

Wearable Models That Look Forward

Wearable foundation models learn from continuous, free-living data. That gives them something sleep-lab models lack: long sequences of the same person, day after day. The early models discarded that temporal structure. The 2025–2026 ones are starting to model it.

  • Contrastive embedders. These models learn embeddings of the present.
    • Abbaspourazad et al. (2023) at Apple pretrained PPG and ECG encoders on about 20 million PPG segments from 141,207 Apple Heart and Movement Study participants (presented at ICLR 2024). Pairs from the same participant served as positives.
    • Erturk et al. (2025) moved up a level of abstraction. Their Wearable Behavior Model encodes a week of 27 hourly HealthKit metrics (steps, resting heart rate, HRV, sleep, gait) from 161,855 people. The authors state plainly that it is not designed to forecast.
    • Open PPG models follow the same pattern. PaPaGei (Pillai et al. 2024) used 57,000 hours of public clinical PPG. Pulse-PPG (Saha, Xu et al. 2025) used about 55,000 hours of field PPG from 120 participants, and outperformed PaPaGei on 10 of 11 tasks.
  • Masked models that extrapolate. These fill hidden patches, including the end of a window.
    • Narayanswamy et al. (2025) trained LSM (ICLR 2025, discussed in Physiological Dynamics) to impute, interpolate and extrapolate.
    • Xu, Narayanswamy et al. (2025) made LSM-2 learn from the data's own gaps. Its adaptive and inherited masking treats real missingness and artificial masks with one learnable mask token. As a result, 40 million hours from 60,440 people need no imputation before training.
    • Narayanswamy, Xu et al. (2026) scaled this recipe into SensorFM, pretrained on over a trillion minutes from five million participants. It reported a 39.6% improvement over the best baseline on temporal extrapolation. It also uses infilling to fix daily step and sleep totals when data are missing.
  • Language-aligned models. Zhang et al. (2025) trained SensorLM (NeurIPS 2025) on about 59.7 million hours from over 103,000 people. Contrastive and caption-generation objectives let the model describe a day in words.
  • Generative forecasters. These predict future signal values directly.
    • Chen et al. (2026) pretrained SOTER on 226 billion time points. Its neural controlled differential equation decoder predicts and imputes at arbitrary timestamps. It had the best forecasting error on most of six held-out datasets.
    • Luo et al. (2026) built NormWear-2 across 8,026 subjects. It puts signals and intervention variables (for example dialysis or insulin settings) in one latent space and forecasts under them.
  • Action-conditioned world models. These predict how state changes under chosen behaviors.
    • Lee & Heydari (2026) proposed SensorWM in a NeurIPS 2026 workshop. It predicts transitions of a compact health state given behaviors and rolls out over multiple weeks. It beats persistence and time-series baselines and simulates alternative behavior paths.
    • Zhang et al. (2026) model EHR and wearable data jointly as one continuous-time latent process. They report the largest gains at long horizons.

The last two groups are where wearable models become world models in the sense of this book. The evidence is early on three counts:

  • the papers are workshop papers and preprints;
  • behavior "actions" are observational rather than randomized;
  • the metrics measure forecasting rather than decision outcomes.

Behavior-conditioned rollouts also inherit the confounding problem of treatment tokens: people who start exercising differ from those who do not.

Ballistocardiography and BCG Foundation Models

Ballistocardiography measures the tiny recoil of the body each time the heart ejects blood. A sensor under a mattress or in a chair can therefore track heart rate, heart-rate variability, breathing and movement every night, without anything being worn.

Reviews by Inan et al. (2015) and Sadek (2018) describe the signal:

  • Cardiac waves. Each beat produces a sequence of waves labelled H, I, J and K. The large J wave is used for beat detection.
  • Breathing adds a slow oscillation.
  • Movement adds large bursts.
Synthetic bed-sensor signal decomposed into respiration and cardiac components, with a motion artifact.
Fig. What a bed sensor records. The raw signal (top) mixes a slow respiratory oscillation (middle) with a small cardiac recoil whose J peaks (dots, bottom) give beat-to-beat intervals. A body movement (shaded) swamps both, and those seconds are usually discarded by a quality filter. Illustrative: synthetic waveforms, not a real recording; amplitudes are not to scale.

Devices. Sensors include piezoelectric films, electromechanical film, load cells under bed legs, hydraulic tubes and air bladders (Sadek 2018). Consumer examples:

  • The Withings Sleep Analyzer is a pneumatic under-mattress pad. Edouard et al. (2021) validated it against lab PSG in adults suspected of sleep apnea. They reported 88.0% sensitivity and 88.6% specificity for moderate-to-severe apnea (AHI ≥ 15, where AHI counts breathing pauses and shallow-breathing events per hour of sleep).
  • Eight Sleep reports its accuracy in a company blog post, which is not peer-reviewed. Against chest ECG over 474 nights from 163 people, it claims heart-rate error under 1 bpm. It also claims an RMSSD (a beat-to-beat HRV measure) mean absolute error of 5.7 ms.

Why BCG is hard. The cardiac recoil is weak, and the sensor sees everything else too. Sadek (2018) lists the recurring problems:

  • Motion artifacts drown the signal.
  • Posture and body position change the waveform shape.
  • Morphology differs between and within people.
  • Mixed components: cardiac, respiratory and movement components must be separated.
  • Labels require synchronized ECG or PSG and must be collected again when the protocol changes.

Even modern beat detectors show the gap. Yi et al. (2024) found that a transformer mapping BCG to ECG did well across shuffled segments but much worse on unseen older adults. Cai et al. (2025) combined template matching and deep learning with confidence scores, so low-quality beats are dropped rather than guessed.

Scarce labels, large unlabeled volumes and strong person-to-person variation are exactly the conditions where self-supervised pretraining should pay off.

What exists. Published BCG foundation-model work is thin. I found one model that calls itself a BCG foundation model, two transfer-learning systems and smaller self-supervised studies:

  • Kjaer et al. (2026) pretrained BCG-FM on 2.75 million hours of nightly recordings from 145,985 people, captured by a piezoelectric strip under the bed surface of the Eight Sleep Pod (full text).
    • Recipe. It mirrors Apple's PPG model. A small 1D EfficientNet runs over 60-second windows split into breathing and heart channels. InfoNCE (a contrastive loss) treats windows from the same person on different nights (up to 90 days apart) as positives. There are no augmentations, which the authors found hurt.
    • Label efficiency. Frozen embeddings estimated age with a 3.26-year mean absolute error. With pretraining, 500 labelled participants beat a fully supervised model trained on 3,372.
    • Disease results. All are cross-sectional and self-reported: mean AUROC 0.684 over 15 conditions, vs. 0.637 for demographics alone. Atrial fibrillation detection reached 0.954 AUROC in one small external cohort of 85 people. The paper does not forecast.
  • BCGNet (2025), a medRxiv preprint, pretrains on about 580,000 hours of PSG-derived heart-rate and respiration signals. It then fine-tunes on 15,081 hours of under-pillow BCG with PSG labels. Four-class staging reached Cohen's κ (agreement beyond chance) of 0.70–0.77 across three hospital cohorts. This is supervised transfer from PSG, not self-supervision on BCG.
  • Li et al. (2024) trained SleepNetZero only on heartbeat, breathing and movement components extracted from public PSG. They then applied it zero-shot to 265 real BCG nights, reaching five-class accuracy of about 0.70 and κ of about 0.59.
  • Wu, Qiu & Shen (2024) applied self-supervised learning to BCG-based HRV monitoring in Biomedical Signal Processing and Control. I could only access the record, not the methods.

The pattern is that BCG borrows from neighbors. It takes labels from PSG-derived cardiorespiratory signals and pretraining recipes from PPG/ECG. I found no published generative or forecasting BCG model. The closest generative work in cardiomechanics is Nikbakht et al. (2023), who generated synthetic seismocardiogram beats with a transformer for data augmentation.

A BCG World Model: Design Sketch

This subsection is a design sketch, not a description of published work. Bed sensors are unusually well suited to world modeling. They produce one long, regular, effortless sequence per person: every night, for years, with no adherence problem. A BCG world model would model the sequence of nights rather than the waveform within a night.

  1. Per-night state. Encode each night with a frozen BCG encoder (BCG-FM-like) into an embedding plus interpretable summaries. The summaries are sleep heart rate, RMSSD, respiratory rate, time in bed, movement index and a signal-quality fraction.
  2. Personal baselines. Express summaries as deviations from the person's own trailing 28-night baseline. This absorbs much of the inter-person variability that makes raw BCG hard to compare.
  3. Transition model. Train an autoregressive model over nights to predict the next night's state. Optional context includes bed temperature settings and travel or illness flags. Uncertainty matters more than point accuracy.
  4. Event coupling. Join nights to clinical events (diagnoses, medications, admissions) so the same model predicts both, as in the next subsection.
  5. Evaluation. Measure three things: forecast skill against a persistence baseline (tomorrow equals today), calibration of predicted deviations, and lead time for events such as an atrial fibrillation diagnosis or a heart-failure admission.

The obvious use is early warning. A model that knows what a person's next night should look like can flag nights that do not fit.

Whether nightly BCG adds lead time over existing wearables for any clinical event is untested. BCG-FM's authors themselves list longer per-person sequences as future work.

Plugging Sensors into a Health World Model

A GPT-style health world model can take sensor data in two ways: as discrete summary tokens that the model both reads and generates, or as embedding soft tokens projected into its input space. The first keeps the model a closed generative simulator. The second carries more information but cannot be rolled forward without an extra head. The diagram below extends the reference architecture with a sensor branch.

Sensor branch for a GPT-style health world model: sources, frozen encoders, nightly summary, two tokenization routes, and the timeline model. Wearable minute-level HR, steps, sleep Bed sensor (BCG) every night, no wear Polysomnography occasional clinic night Frozen encoder LSM-2 / SensorFM-like Frozen encoder BCG-FM-like Frozen encoder SleepFM-like Per-night summary embedding z · HR, HRV, respiratory rate, sleep time · deviation from personal baseline · quality flag Route A: summary tokens NIGHT · HRV_Q3 · TST_Q7 readable and generatable Route B: soft token linear projection of z readable, not generatable EHR events codes, labs, time gaps ETHOS vocabulary GPT-style timeline model one interleaved sequence of nights and clinical events · roll out futures and count outcomes
Fig. A sensor branch for a GPT-style health world model. Each source passes through a frozen encoder into one record per night. Route A turns it into discrete tokens the timeline model can also generate, Route B feeds the embedding directly. EHR events enter with the usual ETHOS vocabulary. Original diagram.

Route A follows the ETHOS vocabulary exactly. A night becomes a marker token followed by decile tokens for a few summaries. A time-gap token precedes it, as for any other event.

Because every token is in the vocabulary, a rollout generates future nights alongside future diagnoses. The model can be asked "what do the next 30 nights look like" as well as "how likely is heart failure in a year". Embeddings can join this route if they are vector-quantized into a codebook of "night types", the same trick Hypnos uses on raw signals.

Route B passes the embedding through a learned projection, like an image patch in a multimodal LLM. It keeps more information, but the model can only condition on it. Simulated futures therefore contain no sensor data unless a separate regression head predicts the next embedding.

Three practical issues decide whether either route helps:

  • Token budget. A year of nights at five or six tokens each is around 2,000 tokens, comparable to a long hospital stay. Many systems will therefore pool nights into weekly summaries.
  • Informative missingness. People stop wearing devices when they are ill or travelling. Absent nights should therefore be explicit tokens, in the spirit of LSM-2's inherited masks.
  • Population overlap. Sensor cohorts (device owners, research volunteers) and EHR cohorts rarely coincide. Joint wearable–EHR models such as Zhang et al. (2026) are still early preprints.
Deeper Tokenizing nightly sensor summaries into an ETHOS-style timeline

The sketch below converts per-night summaries into tokens using Route A. Four rules shape it:

  • decile edges are fitted on training patients only;
  • deviations are computed against a trailing personal baseline;
  • low-quality nights become an explicit token;
  • an optional k-means codebook maps the night embedding to one of \(C\) "night type" tokens.

Token names and thresholds are illustrative, written for this book.

import numpy as np
from sklearn.cluster import KMeans

FEATS = ["hr", "rmssd", "resp_rate", "sleep_min"]

def fit_tokenizer(train_nights, emb_train, n_codes=64):
    """train_nights: dict feat -> 1D array of personal deviations (training patients only)."""
    edges = {f: np.quantile(train_nights[f], np.linspace(0.1, 0.9, 9)) for f in FEATS}
    codebook = KMeans(n_clusters=n_codes, n_init=4, random_state=0).fit(emb_train)
    return edges, codebook

def personal_deviation(series, window=28, min_nights=7):
    """Deviation of each night from the mean of the previous `window` valid nights."""
    out = np.full(len(series), np.nan)
    for t in range(len(series)):
        past = series[max(0, t - window):t]
        past = past[~np.isnan(past)]
        if len(past) >= min_nights:
            out[t] = series[t] - past.mean()
    return out

def night_tokens(night, edges, codebook, quality_min=0.6):
    """night: dict with feature deviations, 'quality' in [0,1] and 'emb' vector."""
    if night["quality"] < quality_min:
        return ["NIGHT", "NIGHT_LOWQ"]            # absence is information, not a gap
    toks = ["NIGHT"]
    for f in FEATS:
        v = night[f]
        toks.append(f"{f.upper()}_DEV_UNK" if np.isnan(v)
                    else f"{f.upper()}_DEV_Q{int(np.searchsorted(edges[f], v)) + 1}")
    toks.append(f"NIGHT_C{int(codebook.predict(night['emb'][None])[0])}")
    return toks

def interleave(ehr_events, nights, gap_token):
    """Merge (time, tokens) lists from EHR and nights; insert time-gap tokens between events."""
    stream = sorted(ehr_events + nights, key=lambda e: e[0])
    seq, last_t = [], None
    for t, toks in stream:
        gap = gap_token(t - last_t) if last_t is not None else None
        if gap:                                  # None for gaps under the smallest bin
            seq.append(gap)
        seq.extend(toks)
        last_t = t
    return seq

Each night then costs six tokens (marker, four deviation deciles, one night type), or two when quality is low. Two choices matter more than the code:

  • Deviations, not raw values. Deciles of personal deviation are comparable across people and devices, which addresses the inter-subject variability of BCG. Keep one raw-level token (for example resting heart rate decile) per week so absolute physiology is not lost.
  • Leakage. The baseline uses only past nights. Decile edges and the codebook are fitted on training patients. This is the same patient-level and temporal split discipline as for EHR tokens.

To evaluate, compare a model trained with night tokens against one without them, on the same patients and outcomes. Use calibration and lead-time analysis rather than AUROC alone.

As of late 2026 the pieces exist separately:

  • large sensor encoders;
  • one sleep model that forecasts disease from a single night;
  • a first BCG foundation model;
  • workshop-stage action-conditioned wearable world models.

No published system I found yet joins nightly sensor tokens and clinical events in one generative timeline. None has shown that simulated sensor trajectories change a clinical decision.

ICU and Treatment Simulators

Treatment simulators take actions as input. Given a state and a proposed treatment, they predict the next state, so a policy can be trained or evaluated in simulation, as in model-based RL. Intensive care is the usual testbed because data are dense and decisions frequent.

  • AI Clinician. Komorowski et al. (2018) built the AI Clinician (Nature Medicine). It discretized ICU patients into states, estimated a transition model from MIMIC-III, and learned fluid and vasopressor policies for sepsis. It became the reference case for both the promise and pitfalls of retrospective policy learning.
  • Guidelines for RL in healthcare. Gottesman et al. (2019) warned in Nature Medicine that off-policy evaluation from observational data is fragile. Off-policy evaluation scores a new policy using data collected under clinicians' policy. Unmeasured confounding, small effective sample sizes and poorly specified rewards can make a bad policy look good.
  • medDreamer. Xu et al. (2025) proposed medDreamer, which carries the Dreamer recipe from the control half of this book into EHRs. It pairs a latent world model, including a module that treats missingness as signal, with policies trained on a mix of real and imagined rollouts. On sepsis (MIMIC-IV) and ventilation (eICU) it reported the lowest estimated mortality among baselines. But all results are off-policy estimates from a learned model, with no patients treated.
  • One Patient, Two Futures. Luo et al. (2026) presented this NeurIPS 2026 workshop paper. It combines four parts: a VAE, treatment-conditioned latent diffusion, a learned clinician policy for background care, and an intervention controller. Trained on MIMIC-IV, it simulated lactated Ringer's versus saline. The result pointed in the same direction as a randomized trial, with odds ratios closer to the trial than two conventional observational analyses.

The last example has the right shape of validation: it compares interventional predictions with a randomized trial. But it is one comparison in a workshop paper.

Prediction Is Not Intervention

A health world model trained on observational records learns \(p(\text{future} \mid \text{history})\). This is the distribution of what happened to patients like this one under the care they actually received. Appending a treatment token and resampling gives \(p(\text{future} \mid \text{history}, a)\): what happened to patients who received \(a\).

That is not the effect of giving \(a\), because in the data, who received \(a\) depended on how sick they were. This is confounding by indication (Catalogue of Bias 2018). It is the single most important caveat for anyone who wants to use a generative EHR model for "what if" questions.

Confounding by indication: severity drives both treatment and outcome. Severity partly unrecorded Treatment a e.g. vasopressor token Outcome e.g. death token sicker → treated sicker → worse causal effect of a What the world model learns p(death | history, a recorded) effect of a mixed with the reasons clinicians chose a What a treatment decision needs p(death | history, do(a)) needs adjustment, trial emulation or randomized data
Fig. Why conditioning is not intervening. Sicker patients are more likely to receive the treatment and more likely to die, so in observational data the treatment token predicts death even if the treatment helps. A generative model faithfully reproduces that association. Original diagram.

Inserting a vasopressor token mostly asks "what usually happens to patients sick enough to get one". van Geloven et al. (2024) describe three common modeling choices that create such causal blind spots in clinical prediction:

  • including treatment as a predictor;
  • restricting to treated patients;
  • ignoring treatment altogether.

Each yields risks that are easily misread as treatment-specific. Delphi's coverage notes it captures associations rather than causal relationships. ETHOS-ARES treats post-procedure risk jumps as severity markers.

What Counterfactual Use Requires

Turning a health world model into an interventional simulator requires assumptions and machinery beyond next-token prediction. The main routes, from most to least established:

  1. Target trial emulation. Hernán & Robins (2016) framed observational causal analysis as emulating a specific randomized trial: eligibility, strategies, time zero, follow-up, analysis plan. A world model can simulate outcomes under each strategy inside this design. The emulation discipline (aligned time zero, no immortal-time bias) is what makes the answer interpretable.
  2. Adjustment for confounding. Three assumptions are needed:
    • no unmeasured confounding: all confounders are in the history;
    • positivity: every patient could have received either option;
    • consistency: outcomes are well defined.
    If they hold, the interventional distribution equals an adjusted observational one, via inverse probability weighting or g-computation. The Causal Transformer (Melnychuk et al. 2022) learns representations that predict outcomes but not treatment assignment, to reduce time-varying confounding.
  3. Separating the clinician policy. Model the patient's response separately from clinicians' decisions. Then replace the learned policy with a fixed one for the treatment under study, as "One Patient, Two Futures" does. The no-unmeasured-confounding assumption still applies.
  4. Validation against trials. The direct check is agreement with randomized evidence. Keogh & van Geloven (2023) show how to evaluate "prediction under interventions" on observational data with artificial censoring and inverse probability weighting. Their method extends calibration and discrimination to the counterfactual setting.
Deeper Conditioning vs. intervening, in one formula

Let \(H\) be the recorded history, \(U\) unrecorded severity, \(A \in \{0,1\}\) the treatment and \(Y\) the outcome. A generative model trained on observational data estimates, at best,

\[ p(Y \mid H, A{=}a) = \int p(Y \mid H, U, A{=}a)\, p(U \mid H, A{=}a)\, dU . \]

The interventional quantity instead averages over severity as it is distributed before the treatment decision:

\[ p(Y \mid H, \mathrm{do}(A{=}a)) = \int p(Y \mid H, U, A{=}a)\, p(U \mid H)\, dU . \]

The two differ exactly when \(p(U \mid H, A{=}a) \neq p(U \mid H)\), that is, when receiving the treatment carries information about the unrecorded severity. If \(U\) is empty (all confounders are in \(H\)), the two coincide. That is the "no unmeasured confounding" assumption. A long, rich history makes it more plausible but never guarantees it.

Time-varying treatments make this harder. Earlier treatments change later covariates that also drive later treatments. Conditioning on those covariates blocks part of the effect, while not conditioning leaves confounding.

The g-formula handles this by simulating covariates and treatments forward in time, with the treatments set by the strategy under study. That is exactly a rollout of a world model with the clinician policy replaced. A generative event model is therefore a natural engine for the parametric g-formula, provided its covariate model is correct and the assumptions hold. The rollout machinery is the easy part; the assumptions are the hard part.

Positivity is the practical killer. If nobody with a given history ever received a treatment, the model has no data for that branch. It will generate whatever its inductive biases suggest. A simple safeguard is to check the empirical propensity \(\hat{p}(A{=}a \mid H)\) along simulated trajectories and refuse to answer where it is near zero.

As of late 2026, GPT-style health world models are good forecasters of care as usual. They are also plausible engines for causal analysis inside trial-emulation designs. They are not, by themselves, treatment simulators. The 2026 review by Liu et al. reaches the same conclusion. It calls for target-trial emulation, sensitivity analyses and prospective testing before interventional use.

Evaluating Health World Models

A health world model must be evaluated twice. As a predictor, it must give accurate, calibrated risks for the people it will serve. As a simulator, it must produce realistic timelines that do not leak training patients. Papers mostly report the first, usually as AUROC. Practice is thinnest on the second.

Discrimination

Discrimination asks whether the model ranks patients who will have the outcome above those who will not. AUROC (area under the ROC curve) is the standard summary. AUPRC (area under the precision-recall curve) is more informative at low prevalence. That is why the CoMET paper's incident-disease results look much better on AUPRC than on AUROC.

Generative models add two problems:

  • Ties. Scores from a small number of rollouts \(K\) tie (see Zero-Shot Inference).
  • Copied history. Next-event metrics can be inflated by recurrent codes that a model predicts by copying history, as the RAVEN authors note. Report new onsets separately.

Calibration

Calibration asks whether, among patients given a risk of 20%, about 20% have the outcome. The next-token loss is a proper scoring rule per token: it is minimized by the true probabilities. But rollouts compound per-step errors, and truncated sampling distorts frequencies.

Bedi, Fries & Shah (2026) list calibration first among the checks a generative EHR model should pass before its frequencies are read as probabilities. The Akagi et al. (2026) simulator is a positive example. It reached observed-to-expected ratios near 1 on a later test year, without recalibration.

Reliability diagram for simulated risks before and after recalibration.
Fig. A reliability diagram for simulated risks. Points bin patients by predicted risk \(\hat{p} = M/K\) and plot the observed outcome rate in each bin. Here the raw simulation frequencies are too extreme (an S-shaped curve crossing the diagonal), and a monotone recalibration map fitted on a held-out set pulls them back toward the diagonal. Illustrative: curves are generated from a logistic distortion, not from a real model.

Simulation Fidelity

Fidelity asks whether simulated timelines reproduce real statistics: incidence, event counts, lab values, inter-event times, code co-occurrence and length of stay. It catches what AUROC hides. One example is readmissions generated at the wrong times, which CEHR-GPT's time-token comparison exposed.

Kuo et al. (2026) add a warning. Generators can match population-level marginals while distorting subgroup distributions and dependency structure. Fidelity should therefore be checked within strata. Where possible, it should also be checked on the structure between variables, not only on marginals.

Subgroups and Fairness

A model that is accurate on average can be poorly calibrated for some subgroups. The risk is highest for groups that are rare in training data or whose care differs. The evidence so far is thin:

  • Delphi-2M. Its explainability analysis surfaced biases learned from UK Biobank, a population skewed toward healthier volunteers.
  • CoMET. Its authors list the absence of subgroup analysis as a limitation.
  • Federated ETHOS. The paper did not study fairness.

Minimum practice is to report discrimination and calibration with confidence intervals, broken down by sex, age, race and ethnicity, deprivation proxies and care setting.

Privacy and Memorization

A generative model can memorize and regurgitate a real patient's timeline, especially a rare one. Tonekaboni et al. (2025) proposed black-box tests for memorization in structured-EHR foundation models. The tests work at the level of both embeddings and generated outputs. They aim to separate harmful memorization from generalization, with attention to vulnerable subgroups. The authors released an open-source toolkit.

Synthetic-data papers such as CEHR-GPT report membership-inference attacks (guessing whether a patient was in training) and attribute-inference attacks (guessing a hidden field). Practical checks include:

  • Nearest-neighbor distances. Compare distances from synthetic timelines to training timelines versus held-out timelines.
  • Exact-continuation tests. Prompt with real records and check whether the model reproduces their continuations.
  • Rare-code scrutiny. Give extra attention to patients with rare codes. Foresight removed concepts seen fewer than 100 times partly for this reason.

Temporal and Site Shift

Coding practice, formularies and care pathways change. A model trained on 2015–2020 data may therefore simulate care that no longer exists. Guo et al. (2023) found that EHR foundation-model representations were more robust to temporal distribution shift than count-based features. MOTOR reported similar robustness.

Generative models still need two explicit tests:

  • Temporal split. Train on earlier years and test on later ones, as Akagi et al. did.
  • External validation. Test at another site, as Delphi-2M did in Danish registries and TransformEHR did on MIMIC-IV.

Site transfer for generative models is hard because vocabularies differ. RAVEN could use only about a quarter of rows when transferred zero-shot to the EHRSHOT benchmark.

Clinical Utility

Utility asks whether acting on the model improves outcomes. The evidence ladder has three rungs:

  1. Decision-curve analysis is the retrospective tool.
  2. Silent prospective deployment is the next step: the model runs on live patients without influencing care.
  3. Randomized evaluation is the bar for claims of benefit.

As of late 2026 I found no prospective clinical evaluation of a GPT-style health world model. ETHOS-ARES describes planned pilot simulations, and CoMET lists prospective validation as future work.

EvaluationMetricFailure it catches
DiscriminationAUROC, AUPRC, C-index; new-onset vs. recurrent splitModel cannot rank risk; metrics inflated by echoing chronic codes
CalibrationReliability diagram, calibration slope and intercept, observed/expected ratio, Brier scoreSimulation frequencies too extreme or shifted; sampling-temperature distortion
Rollout qualityTimeline completion rate, invalid-sequence rateRollouts truncated before outcome or horizon; censoring bias
Distribution fidelityIncidence and event-count comparison, KS distance on labs and gaps, co-occurrence statistics, LOS distributionPlausible-looking but statistically wrong futures; wrong timing
Subgroup performanceStratified AUROC and calibration with CIsGood average hides poor performance in under-represented groups
PrivacyMembership inference, nearest-neighbor distance, continuation-match testsSynthetic timelines leak training patients, especially rare ones
Temporal and site shiftPerformance on later years and external sitesModel simulates outdated or site-specific practice
Shortcut auditPerformance with leak-prone tokens masked (discharge codes, DRGs, post-outcome events)Model "predicts" from tokens recorded after the outcome was known
Interventional validityAgreement with randomized trials, counterfactual calibration under IPWConditioning mistaken for causation
Clinical utilityNet benefit, silent prospective evaluation, trialsAccurate predictions that do not change decisions or outcomes

Table. Evaluations for health world models, the metrics that implement them, and the failure each one catches. Rollout quality and shortcut audits follow the criteria proposed by Bedi, Fries & Shah (2026); interventional validity follows Keogh & van Geloven (2023).

Reference Architecture

A production GPT-style health world model is a pipeline of seven stages. Most of the engineering effort sits outside the transformer: getting records into a standard event format, building timelines, fitting the tokenizer, and evaluating and governing the outputs.

The diagram below is the architecture I would start from. It is assembled from the ETHOS-ARES, CoMET and MEDS designs.

Reference architecture for a GPT-style health world model. Data sources EHR, claims, registries → OMOP / MEDS events (subject, time, code, value) Timeline builder sort, harmonize codes patient-level splits temporal holdout Tokenizer code splitting, deciles time-gap tokens fit on train only Decoder-only model next-token pretraining long context checkpoints, versioned Sampler K rollouts, KV cache stop tokens, horizons temperature policy Outcome estimators task specs: prompt cut, stop rule, outcome tokens p̂ ± SE, LOS, counts Evaluation discrimination, calibration fidelity, subgroups privacy, shift Use risk dashboards synthetic data trial emulation GOVERNANCE · data use agreements · memorization tests · model cards · drift monitoring · regulatory pathway
Fig. Reference architecture. Records are standardized into an event format (OMOP or MEDS), built into patient timelines with patient-level and temporal splits, tokenized with a vocabulary fitted on training data, and used to pretrain a decoder. At inference a sampler runs \(K\) rollouts under task specifications; estimators turn rollouts into risks and quantities; evaluation gates every use. Governance spans all stages. Original diagram.

Two interfaces deserve to be stable contracts:

  • Event format, between data and timeline builder. The MEDS standard (McDermott et al., NEJM AI 2026) is a lightweight longitudinal event representation. It has been adopted across 21 institutions in 12 countries. It is designed to complement OMOP rather than replace it, and ETHOS-ARES runs on it.
  • Task specification, between sampler and estimators. This is a declarative definition of the prompt cut point, stop rule, horizon and outcome tokens. It is analogous to how ACES (Xu et al., ICLR 2025) defines cohorts and labels over event streams.

Keeping tasks declarative is what lets one model serve dozens of questions without new code per task.

Production Challenges and Solutions

The challenges below are the ones the papers in this half report, or that follow directly from their designs. Each maps to a concrete mitigation.

ChallengeWhy it bitesSolutions
Data standardizationEvery site codes differently; a vocabulary fitted at one hospital does not transferConvert to OMOP or MEDS first; map to standard vocabularies (ICD-10, ATC, LOINC); keep site-specific codes behind a mapping layer
Vocabulary sizeRaw code sets reach tens of thousands of tokens with a long tailHierarchical code splitting (ETHOS, CoMET); frequency cutoffs (Foresight dropped concepts seen under 100 times); decile tokens for numbers
Long contextsLifetime records exceed 2K–8K tokens; CoMET notes truncated historiesPin static tokens at the start of every window (ETHOS); summary tokens for distant history; longer-context architectures; next-visit set prediction (RAVEN)
ComputeTraining is data-hungry (about 1,000 tokens per parameter for CoMET); inference is K rollouts per questionSize the model to the data; KV caching and early stopping; read next-token probabilities when the outcome is one step away; adaptive K
Rare eventsMonte Carlo variance is large at low prevalence; rare codes are under-trainedMore samples for borderline patients; importance sampling; report AUPRC; consider time-to-event heads (MOTOR) for fixed rare outcomes
CalibrationRollout frequencies need not be probabilities; truncated sampling distorts themSample at temperature 1 for estimation; recalibrate on held-out data (isotonic or Platt); monitor observed/expected over time
Leakage and shortcutsTokens recorded after the outcome (DRGs, discharge codes) can leak the answerCut prompts strictly before the prediction time; audit with leak-prone tokens masked
PrivacyGenerated timelines can reproduce real patients; weights may memorizeMemorization tests before release; rare-code suppression; restricted weight sharing (ETHOS-ARES did not release weights); federated or synthetic training
Causal misuseUsers read "insert drug token" as a treatment effectExpose only forecasting outputs by default; route "what if" questions through trial-emulation designs; positivity checks
Regulatory statusClinical risk outputs can be regulated device software; model updates change behaviorClassify intended use early; in the US, plan updates under a predetermined change control plan per FDA's December 2024 final guidance

Table. Production challenges for GPT-style health world models and concrete solutions. Regulatory details vary by jurisdiction. The FDA guidance on predetermined change control plans for AI-enabled devices was finalized in December 2024 (Ropes & Gray 2024).

A Step-by-Step Playbook

The fastest path to a credible GPT-style health world model is to reproduce ETHOS-ARES on public data first. Then move to institutional data with the evaluation harness already in place. The steps below assume a team with access to MIMIC-IV and, later, an institutional EHR extract.

  1. Define the questions. Write 5–10 task specifications (prompt cut, stop rule, horizon, outcome tokens) and the decision each informs.
  2. Standardize the data. Extract to MEDS (or OMOP, then MEDS). Make patient-level splits and a temporal holdout year that no model sees until the end.
  3. Reproduce a baseline. Run the open ethos-ares pipeline on MIMIC-IV and match its reported AUROCs. Run a tabular baseline such as MEDS-Tab alongside it. Together they validate the infrastructure.
  4. Design the tokenizer. Choose time bins at the resolution the tasks need, decile edges per lab-unit pair, and code-splitting depth. Fit everything on training patients only.
  5. Size and train. CoMET's roughly 1,000 tokens per parameter is a starting heuristic, not a law. Track validation loss per token type.
  6. Build sampler and estimators. Batched rollouts with a KV cache, stop rules, time budgets, completion-rate logging, and \(K\) chosen from a standard-error target.
  7. Evaluate with the full table, recalibrate if needed, and re-check by subgroup.
  8. Deploy silently, then decide on clinical exposure under the applicable regulatory pathway, with drift monitoring.
Deeper Pre-release checklist for a health world model
  • Data. Splits are by patient. The temporal holdout is untouched. Tokenizer statistics are fitted on training patients only. The vocabulary version is pinned.
  • Tasks. Every task has a written specification. Prompts end strictly before the prediction time. Leak-prone tokens (DRG, discharge diagnoses) are excluded from prompts where they would not be available.
  • Sampling. Estimation uses temperature 1 without truncation, or the distortion is measured and corrected. \(K\) is justified by a standard-error target. The incomplete-rollout rate is reported per task.
  • Metrics. Every row of the evaluation table above is reported, with confidence intervals and a tabular baseline on the same cohort. Recalibration is fitted on validation data only.
  • Causal scope. Documentation states that outputs are forecasts under usual care. Any interventional use goes through a trial-emulation protocol with positivity checks.
  • Governance. A model card records data period, population, intended use and known failure modes. A monitoring plan covers observed/expected drift. The regulatory classification is recorded.

Order matters: starting from task specifications and an evaluation harness catches leakage, calibration and causal problems before results look good, not after.

Open Problems

World models in every domain share the same unsolved problems. Errors compound over long horizons. Models are trusted beyond their data. And nobody agrees on how to measure "understanding the world". The list below gathers the open problems from both halves.

  • Long-horizon consistency. Autoregressive simulators drift. Small errors in each frame or event compound, and memory of what is off-screen (or what happened years ago in a record) fades. Persistent 3D scenes and explicit memory help but trade away dynamics.
  • Evaluation that tracks usefulness. Next-step loss and FVD (Fréchet Video Distance) reward the wrong things. Closed-loop control, action-controllability and physics probes are better but fragmented. Health models are still judged mostly by AUROC on single tasks, not by the realism of whole simulated trajectories.
  • Planners exploit model errors. A policy or search procedure optimized inside a learned model finds the places where the model is wrong. Uncertainty-aware models, conservative planning and real-world feedback loops reduce but do not remove this.
  • Pixels or latents. Generative models are easy to inspect but spend capacity on unpredictable detail. JEPA-style latent models are efficient but hard to audit. Whether one approach wins, or both are needed, is unresolved.
  • Conditioning is not intervening. Health world models learn from observational care. Their answers to "what if we gave this drug" therefore describe the patients who got it. The central open problem for medical use is combining generative event models with causal identification, trial emulation and prospective validation.
  • Calibration, fairness and privacy at scale. Monte Carlo estimates are only as calibrated as the model. Performance varies across subgroups and sites. And models that generate timelines can memorize and leak real patients.
  • Scaling laws beyond language. CoMET found language-like scaling for medical events, with far more tokens per parameter. Whether similar laws hold for video, robotics and physiology world models is still being mapped, as is the data coverage they demand.
About the figures

All figures in this book are original illustrations or are adapted and redrawn from the cited papers, as noted in their captions. Charts marked "illustrative" use made-up parameters to show a concept, and the patient record in the tokenization figure is fictional. No figures are copied from the papers.

Citation

Cited as:

Cheng, Kevin. (Nov 2026). World Models: From Dreamer to Patient Timelines. Kevin's Notes.
@article{cheng2026worldmodels,
  title   = "World Models: From Dreamer to Patient Timelines",
  author  = "Cheng, Kevin",
  journal = "Kevin's Notes",
  year    = "2026",
  month   = "Nov"
}

References

  1. "BCGNet: An AI Model Trained on 600K Hours of Sleep Data for a Novel Under-Pillow Contactless Monitoring Device." medRxiv 2025 (preprint; author list not retrieved). medrxiv.org/content/10.1101/2025.08.23.25334218
  2. Abbaspourazad, S., Elachqar, O., Miller, A. C., Emrani, S., Nallasamy, U., Shapiro, I. "Large-scale Training of Foundation Models for Wearable Biosignals." ICLR 2024. arxiv.org/html/2312.05409v2 · iclr.cc/virtual/2024/poster/17787
  3. Akagi, Y., Seki, T., Ito, H., Takiguchi, T., Ohe, K., Kawazoe, Y. "High-Fidelity Longitudinal Patient Simulation Using Real-World Data." arXiv 2601.17310, 2026. arxiv.org/abs/2601.17310
  4. Alonso, E., et al. "Diffusion for World Modeling: Visual Details Matter in Atari." NeurIPS 2024. arxiv.org/abs/2405.12399
  5. Assran, M., et al. "Self-Supervised Learning from Images with a Joint-Embedding Predictive Architecture." CVPR 2023. arxiv.org/abs/2301.08243
  6. Assran, M., et al. "V-JEPA 2: Self-Supervised Video Models Enable Understanding, Prediction and Planning." arXiv 2025. arxiv.org/abs/2506.09985
  7. Bardes, A., et al. "Revisiting Feature Prediction for Learning Visual Representations from Video." TMLR 2024. arxiv.org/abs/2404.08471
  8. Bedi, S., Fries, J. A., Shah, N. H. "Why 'Zero-Shot' Clinical Predictions Are Risky." Stanford HAI 2026. hai.stanford.edu/news/why-zero-shot-clinical-predictions-are-risky
  9. Bruce, J., et al. "Genie: Generative Interactive Environments." ICML 2024. arxiv.org/abs/2402.15391
  10. Cai, D., Chen, X., Chen, Y., Xian, H., Yu, B., Zhang, H. "Confidence analysis-based hybrid heartbeat detection for ballistocardiogram using template matching and deep learning." arXiv 2512.22926, 2025. arxiv.org/pdf/2512.22926
  11. Carter, J. F., Tarassenko, L. "Next-Token Prediction Learns Generalisable Representations of Sleep Physiology." arXiv 2606.09605, 2026. arxiv.org/abs/2606.09605
  12. Catalogue of Bias Collaboration (Aronson, J. K., Bankhead, C., Mahtani, K. R., Nunan, D.). "Confounding by indication." Catalogue of Bias 2018. catalogofbias.org/biases/confounding-by-indication
  13. Chen, B., et al. "Diffusion Forcing: Next-token Prediction Meets Full-Sequence Diffusion." NeurIPS 2024. arxiv.org/abs/2407.01392
  14. Chen, F., Chen, S., Chen, W., Wei, Z. "SOTER: A Generative Time-Series Foundation Model for Wearable Human Physiological Signals." arXiv 2609.16804, 2026. arxiv.org/abs/2609.16804
  15. Chen, Z., et al. "Scaling Agent Learning via Experience Synthesis." ICLR 2026. arxiv.org/abs/2511.03773
  16. Choi, E., et al. "Doctor AI: Predicting Clinical Events via Recurrent Neural Networks." MLHC 2016. arxiv.org/abs/1511.05942
  17. Duan, H., et al. "WorldScore: A Unified Evaluation Benchmark for World Generation." ICCV 2025. arxiv.org/abs/2504.00983
  18. Edouard, P., Campo, D., Bartet, P., Yang, R.-Y., Bruyneel, M., Roisman, G., Escourrou, P. "Validation of the Withings Sleep Analyzer, an under-the-mattress device for the detection of moderate-severe sleep apnea syndrome." Journal of Clinical Sleep Medicine 17(6), 2021. pmc.ncbi.nlm.nih.gov/articles/PMC8314651
  19. Eight Sleep. "The Eight Sleep Pod Heart Rate and Heart Rate Variability Accuracy." Company blog (not peer-reviewed). eightsleep.com/blog/hrv-accuracy
  20. Erturk, E., Kamran, F., Abbaspourazad, S., Jewell, S., Sharma, H., Li, Y., Williamson, S., Foti, N. J., Futoma, J. "Beyond Sensor Data: Foundation Models of Behavioral Data from Wearables Improve Health Predictions." arXiv 2507.00191, 2025. arxiv.org/html/2507.00191v1
  21. Farkas, I. "A single night's sleep could predict your risk for more than 100 diseases." ScienceAlert 2026. sciencealert.com/a-single-nights-sleep-could-predict-your-risk…
  22. Google DeepMind. "Genie 2: A large-scale foundation world model." DeepMind Blog, Dec 2024. deepmind.google/discover/blog/genie-2-a-large-scale-foundation-world-model
  23. Google DeepMind. "Genie 3: A new frontier for world models." DeepMind Blog, Aug 2025. deepmind.google/discover/blog/genie-3-a-new-frontier-for-world-models
  24. Google. "Introducing Genie 4." Google Blog, Oct 2026. blog.google/…/introducing-genie-4
  25. Google. "Project Genie: Experimenting with infinite, interactive worlds." Google Blog, Jan 2026. blog.google/…/project-genie
  26. Gottesman, O., et al. "Guidelines for reinforcement learning in healthcare." Nature Medicine 2019. clinicalml.org/publication/gottesman-2019-guidelines
  27. Grimm, C., Barreto, A., Singh, S., & Silver, D. "The Value Equivalence Principle for Model-Based Reinforcement Learning." NeurIPS 2020. arxiv.org/abs/2011.03506
  28. Gu, Y., et al. "Is Your LLM Secretly a World Model of the Internet? Model-Based Planning for Web Agents." TMLR 2025. arxiv.org/abs/2411.06559
  29. Guo, L. L., et al. "EHR foundation models improve robustness in the presence of temporal distribution shift." Scientific Reports 2023. ncbi.nlm.nih.gov/pmc/articles/PMC9992466
  30. Gurnee, W., & Tegmark, M. "Language Models Represent Space and Time." ICLR 2024. arxiv.org/abs/2310.02207
  31. Ha, D., & Schmidhuber, J. "World Models." arXiv 2018; NeurIPS 2018 version "Recurrent World Models Facilitate Policy Evolution" (arXiv:1809.01999). arxiv.org/abs/1803.10122
  32. Hafner, D., et al. "Learning Latent Dynamics for Planning from Pixels." ICML 2019. arxiv.org/abs/1811.04551
  33. Hafner, D., Lillicrap, T., Ba, J., & Norouzi, M. "Dream to Control: Learning Behaviors by Latent Imagination." ICLR 2020. arxiv.org/abs/1912.01603
  34. Hafner, D., Lillicrap, T., Norouzi, M., & Ba, J. "Mastering Atari with Discrete World Models." ICLR 2021. arxiv.org/abs/2010.02193
  35. Hafner, D., Pasukonis, J., Ba, J., & Lillicrap, T. "Mastering Diverse Control Tasks through World Models." Nature 2025 (arXiv 2301.04104; project page). nature.com/articles/s41586-025-08744-2
  36. Hafner, D., Yan, W., & Lillicrap, T. "Training Agents Inside of Scalable World Models." arXiv 2025 (project page). arxiv.org/abs/2509.24527
  37. Hansen, N., Su, H., & Wang, X. "TD-MPC2: Scalable, Robust World Models for Continuous Control." ICLR 2024. arxiv.org/abs/2310.16828
  38. Hao, S., et al. "Reasoning with Language Model is Planning with World Model." EMNLP 2023. arxiv.org/abs/2305.14992
  39. Hernán, M. A., Robins, J. M. "Using Big Data to Emulate a Target Trial When a Randomized Trial Is Not Available." American Journal of Epidemiology 2016. pmc.ncbi.nlm.nih.gov/articles/PMC4832051
  40. Hu, A., et al. "GAIA-1: A Generative World Model for Autonomous Driving." arXiv 2023. arxiv.org/abs/2309.17080
  41. Huang, X., et al. "Self Forcing: Bridging the Train-Test Gap in Autoregressive Video Diffusion." NeurIPS 2025. arxiv.org/abs/2506.08009
  42. Huang, Z., et al. "VBench: Comprehensive Benchmark Suite for Video Generative Models." CVPR 2024. arxiv.org/abs/2311.17982
  43. Inan, O. T., Migeotte, P., Park, K., Etemadi, M., Tavakolian, K., Casanella, R., et al. "Ballistocardiography and Seismocardiography: A Review of Recent Advances." IEEE Journal of Biomedical and Health Informatics 19(4), 2015. upcommons.upc.edu/…/27ff7fe3-5bd9-48d3-ad4d-4a723fbe7ace
  44. Janner, M., Fu, J., Zhang, M., & Levine, S. "When to Trust Your Model: Model-Based Policy Optimization." NeurIPS 2019. arxiv.org/abs/1906.08253
  45. Johnson, A. E. W., et al. "MIMIC-IV, a freely accessible electronic health record dataset." Scientific Data 2023; PhysioNet. physionet.org/content/mimiciv
  46. Kalman, R. E. "A New Approach to Linear Filtering and Prediction Problems." Journal of Basic Engineering 1960. cs.yale.edu/homes/yry/readings/general/Kalman1960.pdf
  47. Kang, B., et al. "How Far is Video Generation from World Model: A Physical Law Perspective." arXiv 2024. arxiv.org/abs/2411.02385
  48. Keogh, R. H., van Geloven, N. "Prediction under interventions: evaluation of counterfactual performance using longitudinal observational data." arXiv 2304.10005, 2023. arxiv.org/abs/2304.10005
  49. Kjaer, M. R., Han, H., Neupane, A., Sun, D. Q. "BCG-FM: A Foundation Model for Ambient Cardiac Health Sensing." arXiv 2606.07692, 2026. arxiv.org/abs/2606.07692 · arxiv.org/html/2606.07692v1
  50. Komorowski, M., et al. "The Artificial Intelligence Clinician learns optimal treatment strategies for sepsis in intensive care." Nature Medicine 2018. spiral.imperial.ac.uk/…/b4fa2588
  51. Kraljevic, Z., Bean, D., Shek, A., et al. "Foresight—a generative pretrained transformer for modelling of patient timelines using electronic health records: a retrospective modelling study." Lancet Digital Health 6, 2024. discovery.ucl.ac.uk/10190262 · arxiv.org/abs/2212.08072
  52. Kuo, N. I.-H., Gallego, B., Jorm, L. "Synthetic but Not Realistic: The Evaluation Challenge in Generative Modelling for Structured Electronic Medical Records." arXiv 2606.08903, 2026. arxiv.org/html/2606.08903
  53. Lambert, N., Amos, B., Yadan, O., & Calandra, R. "Objective Mismatch in Model-based Reinforcement Learning." L4DC 2020. arxiv.org/abs/2002.04523
  54. LeCun, Y. "A Path Towards Autonomous Machine Intelligence." OpenReview 2022. openreview.net/forum?id=BZ5a1r-kVsf
  55. Lee, S., Heydari, A. A. "Developing World Models from Wearable Sensors." NeurIPS 2026 Workshop on Continual World Models. neurips.cc/virtual/2026/159522
  56. Li, K., et al. "Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Task." ICLR 2023. arxiv.org/abs/2210.13382
  57. Li, S., Chen, Y., Chen, X., Gao, R., Zhang, Y., Yu, C., Li, Y., Ye, Z., Huang, W., Yi, H., Leng, Y., Wu, Y. "SleepNetZero: Zero-Burden Zero-Shot Reliable Sleep Staging With Neural Networks Based on Ballistocardiograms." arXiv 2410.22646, 2024. arxiv.org/html/2410.22646v1
  58. Li, Y., et al. "BEHRT: Transformer for Electronic Health Records." Scientific Reports 2020. alphaxiv.org/abs/1907.09538
  59. Li, Y., et al. "BEHRT: Transformer for Electronic Health Records." Scientific Reports 2020. pmc.ncbi.nlm.nih.gov/articles/PMC7189231
  60. Li, Y., et al. "Simulating Environments with Reasoning Models for Agent Training." arXiv 2025. arxiv.org/abs/2511.01824
  61. Liu, K., Li, M., Bao, Y., Zhang, T., Chu, C., Bu, J., Wang, H. "Medical world models: representing medical states, modelling clinical dynamics and guiding intervention policies." arXiv 2606.16721, 2026. arxiv.org/html/2606.16721
  62. Luo, T., Chu, R., Shi, Z., Li, X., Li, Q., Jin, W. "One Patient, Two Futures: World Models for Clinical Trial Simulation." NeurIPS 2026 Workshop. neurips.cc/virtual/2026/175522
  63. Luo, Y., Chen, X., Chen, Y., et al. "Toward World Modeling of Physiological Signals with Chaos-Theoretic Balancing and Latent Dynamics." arXiv 2605.15465, 2026. arxiv.org/pdf/2605.15465
  64. Makarov, N., Bordukova, M., Quengdaeng, P., et al. "Large language models forecast patient health trajectories enabling digital twins." npj Digital Medicine 8, 2025. ctisus.com/learning/journalclub/345440
  65. Makarov, N., Bordukova, M., von Voithenberg, L., et al. "TwinWeaver: An LLM-Based Foundation Model Framework for Pan-Cancer Digital Twins." ICML 2026. icml.cc/virtual/2026/poster/61602
  66. McDermott, M. B. A., et al. "Event Stream GPT: A Data Pre-processing and Modeling Library for Generative, Pre-trained Transformers over Continuous-time Sequences of Complex Events." NeurIPS Datasets and Benchmarks 2023. arxiv.org/abs/2306.11547
  67. McDermott, M. B. A., et al. "MEDS — An Emerging Data Standard and Ecosystem for Health AI Research." NEJM AI 2026 (as reported by News-Medical). news-medical.net/news/20260529/Researchers-develop-open-source-framework…
  68. Melnychuk, V., Frauen, D., Feuerriegel, S. "Causal Transformer for Estimating Counterfactual Outcomes." ICML 2022. arxiv.org/abs/2204.07258
  69. Meta FAIR CodeGen Team. "CWM: An Open-Weights LLM for Research on Code Generation with World Models." arXiv 2025. arxiv.org/abs/2510.02387
  70. Micheli, V., Alonso, E., & Fleuret, F. "Transformers are Sample-Efficient World Models." ICLR 2023. arxiv.org/abs/2209.00588
  71. Mitchell, M. "LLMs and World Models, Part 1." AI: A Guide for Thinking Humans, Feb 2025. aiguide.substack.com/cp/157209202
  72. Motamed, S., et al. "Do Generative Video Models Understand Physical Principles?" WACV 2026. arxiv.org/abs/2501.09038
  73. Nanda, N., Lee, A., & Wattenberg, M. "Emergent Linear Representations in World Models of Self-Supervised Sequence Models." BlackboxNLP 2023. arxiv.org/abs/2309.00941
  74. Narayanswamy, G., Liu, X., Ayush, K., et al. "Scaling Wearable Foundation Models." Google Research 2025. research.google/pubs/scaling-wearable-foundation-models
  75. Narayanswamy, G., Liu, X., Ayush, K., Yang, Y., Xu, X., et al. "Scaling Wearable Foundation Models." ICLR 2025. ubicomplab.cs.washington.edu/publications/lsm_iclr25
  76. Narayanswamy, G., Xu, M. A., et al. "Towards a General Intelligence and Interface for Wearable Health Data." arXiv 2605.22759, 2026. alphaxiv.org/abs/2605.22759
  77. National Cancer Institute. "CISNET Modeling Approach." CISNET. cisnet.cancer.gov/modeling
  78. News-Medical. "AI model maps lifetime disease risks to transform future healthcare planning." News-Medical 2025. news-medical.net/news/20250918/AI-model-maps-lifetime-disease-risks…
  79. Nikbakht, M., Gazi, A. H., Zia, J., An, S., Lin, D. J., Inan, O. T., Kamaleswaran, R. "Synthetic seismocardiogram generation using a transformer-based neural network." JAMIA 30(7), 2023. pmc.ncbi.nlm.nih.gov/articles/PMC10280352
  80. NVIDIA. "Cosmos World Foundation Model Platform for Physical AI." arXiv 2025. arxiv.org/abs/2501.03575
  81. Oh, J., Guo, X., Lee, H., Lewis, R., & Singh, S. "Action-Conditional Video Prediction using Deep Networks in Atari Games." NeurIPS 2015. arxiv.org/abs/1507.08750
  82. OpenAI. "Video generation models as world simulators." OpenAI, Feb 2024. openai.com/index/video-generation-models-as-world-simulators
  83. Pang, C., Jiang, X., Pavinkurve, N. P., et al. "CEHR-GPT: Generating Electronic Health Records with Chronological Patient Timelines." arXiv 2402.04400, 2024. arxiv.org/abs/2402.04400
  84. Pillai, A., Spathis, D., Kawsar, F., Malekzadeh, M. "PaPaGei: Open Foundation Models for Optical Physiological Signals." ICLR 2025. arxiv.org/abs/2410.20542
  85. Putter, H., Fiocco, M., Geskus, R. B. "Tutorial in biostatistics: competing risks and multi-state models." Statistics in Medicine 2007. est.ufmg.br/~enricoc/pdf/sobre/Putter2007.pdf
  86. Rajamohan, H. R., Gao, X., Zhu, W., et al. "Scaling Recurrence-aware Foundation Models for Clinical Records via Next-Visit Prediction." arXiv 2603.24562, 2026. arxiv.org/html/2603.24562
  87. Rao, R. P. N., & Ballard, D. H. "Predictive coding in the visual cortex: a functional interpretation of some extra-classical receptive-field effects." Nature Neuroscience 1999. pubmed.ncbi.nlm.nih.gov/10195184
  88. Rasmy, L., et al. "Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction." npj Digital Medicine 2021. arxiv.org/pdf/2005.12833
  89. Renc, P., et al. "ETHOS-ARES: Adaptive Risk Estimation System" (code repository). GitHub, 2025. github.com/ipolharvard/ethos-ares
  90. Renc, P., et al. "Zero Shot Health Trajectory Prediction Using Transformer." npj Digital Medicine 2024. arxiv.org/abs/2407.21124
  91. Renc, P., Grzeszczyk, M. K., Oufattole, N., et al. "Foundation Model of Electronic Medical Records for Adaptive Risk Estimation." arXiv 2502.06124, 2025 (GigaScience 14, giaf107). arxiv.org/abs/2502.06124
  92. Renc, P., Grzeszczyk, M. K., Qian, L., Oufattole, N., Rasley, J., Sitek, A. "Federated Timeline Synthesis: Scalable and Private Methodology For Model Training and Deployment." arXiv 2506.23358, 2025. ar5iv.labs.arxiv.org/html/2506.23358
  93. Ropes & Gray. "FDA Finalizes Guidance on Predetermined Change Control Plans for AI-Enabled Devices." Ropes & Gray Alert, December 2024. ropesgray.com/en/insights/alerts/2024/12/…
  94. Runway. "Introducing Runway GWM-1." Runway Research, Dec 2025. runway.com/research/introducing-runway-gwm-1
  95. Russell, L., et al. "GAIA-2: A Controllable Multi-View Generative World Model for Autonomous Driving." arXiv 2025. arxiv.org/abs/2503.20523
  96. Sadek, I. "Ballistocardiogram Signal Processing: A Literature Review." arXiv 1807.00951, 2018. arxiv.org/pdf/1807.00951
  97. Saha, M., Xu, M. A., Mao, W., Neupane, S., Rehg, J. M., Kumar, S. "Pulse-PPG: An Open-Source Field-Trained PPG Foundation Model for Wearable Applications Across Lab and Field Settings." IMWUT 2025. arxiv.org/html/2502.01108v2
  98. Schmidt, D., & Jiang, M. "Learning to Act without Actions." ICLR 2024. arxiv.org/abs/2312.10812
  99. Schrittwieser, J., et al. "Mastering Atari, Go, Chess and Shogi by Planning with a Learned Model." Nature 2020. arxiv.org/abs/1911.08265
  100. Shmatko, A., et al. "Learning the natural history of human disease with generative transformers." Nature 2025. ukbiobank.ac.uk/publications/learning-the-natural-history-of-human-disease-with-generative-transformers
  101. Shuai, Z., Xu, Z., Yang, D., Wang, W., Yang, Y. "OSF: On Pre-training and Scaling of Sleep Foundation Models." arXiv 2603.00190, 2026. arxiv.org/abs/2603.00190
  102. SiliconANGLE. "World Labs launches Marble, a commercial world model generating entire virtual environments." Nov 2025. siliconangle.com/2025/11/12/world-labs-launches-marble…
  103. SiliconANGLE. "Yann LeCun's new startup AMI Labs raises $1.03B to train world models." Mar 2026. siliconangle.com/2026/03/10/yann-lecuns-new-startup-ami-labs…
  104. Skywork AI. "Matrix-Game 2.0: An Open-Source, Real-Time, and Streaming Interactive World Model." arXiv 2025. arxiv.org/abs/2508.13009
  105. Sonnenberg, F. A., Beck, J. R. "Markov models in medical decision making: a practical guide." Medical Decision Making 1993. pubmed.ncbi.nlm.nih.gov/8246705
  106. Steinberg, E., et al. "Language models are an effective representation learning technique for electronic health record data." Journal of Biomedical Informatics 2021. arxiv.org/abs/2001.05295
  107. Steinberg, E., et al. "MOTOR: A Time-To-Event Foundation Model For Structured Medical Records." ICLR 2024. arxiv.org/abs/2301.03150
  108. Sutton, R. S. "Integrated Architectures for Learning, Planning, and Reacting Based on Approximating Dynamic Programming." ICML 1990. cs.utexas.edu/~shivaram/readings/b2hd-Sutton1990.html
  109. Thapa, R., et al. "SleepFM: Multi-modal Representation Learning for Sleep Across Brain Activity, ECG and Respiratory Signals." ICML 2024. arxiv.org/html/2405.17766v1
  110. Thapa, R., Kjaer, M. R., He, B., Covert, I., Moore IV, H., Hanif, U., Ganjoo, G., Westover, M. B., Jennum, P., Brink-Kjaer, A., Mignot, E., Zou, J. "A multimodal sleep foundation model for disease prediction." Nature Medicine 32(2), 752–762, 2026. nature.com/articles/s41591-025-04133-4 · research.regionh.dk/…/a-multimodal-sleep-foundation-model-for-disease-prediction
  111. Tom's Hardware. "AI-powered Minecraft runs without a game engine, rendered in real time at a continuous 20 FPS." 2024. tomshardware.com/video-games/ai-powered-minecraft…
  112. Tonekaboni, S., Stempfle, L., Fallahpour, A., Gerych, W., Ghassemi, M. "An Investigation of Memorization Risk in Healthcare Foundation Models." NeurIPS 2025. proceedings.nips.cc/…/0f4f18102c0dad5156e11e85414ba2d2
  113. Unterthiner, T., et al. "Towards Accurate Generative Models of Video: A New Metric & Challenges." arXiv 2018. arxiv.org/abs/1812.01717
  114. Vafa, K., Chen, J. Y., Rambachan, A., Kleinberg, J., & Mullainathan, S. "Evaluating the World Model Implicit in a Generative Model." NeurIPS 2024. arxiv.org/abs/2406.03689
  115. Valevski, D., Leviathan, Y., Arar, M., & Fruchter, S. "Diffusion Models Are Real-Time Game Engines." ICLR 2025. arxiv.org/abs/2408.14837
  116. van Geloven, N., Keogh, R. H., van Amsterdam, W., et al. "The risks of risk assessment: causal blind spots when using prediction models for treatment decisions." arXiv 2402.17366, 2024. arxiv.org/abs/2402.17366
  117. Wang, R., et al. "Can Language Models Serve as Text-Based World Simulators?" ACL 2024. arxiv.org/abs/2406.06485
  118. Wang, Z., Xu, C., et al. "Agent World Model: Infinity Synthetic Environments for Agentic Reinforcement Learning." arXiv 2026. arxiv.org/abs/2602.10090
  119. Waxler, S., et al. (Epic Systems and Microsoft Research). "Generative Medical Event Models Improve with Scale." arXiv 2025. arxiv.org/abs/2508.12104
  120. Wu, C., Qiu, J., Shen, G. "Improving ballistocardiogram-based continuous heart rate variability monitoring: A self-supervised learning approach." Biomedical Signal Processing and Control 89, 105774, 2024. catalog record (DOI 10.1016/j.bspc.2023.105774)
  121. Xu, J., et al. "ACES: Automatic Cohort Extraction System for Event-Stream Datasets." ICLR 2025. arxiv.org/abs/2406.19653
  122. Xu, M. A., Narayanswamy, G., et al. "LSM-2: Learning from Incomplete Wearable Sensor Data." arXiv 2506.05321, 2025. arxiv.org/html/2506.05321v1
  123. Xu, Q., Perera, D., Habib, G., Feng, M. "medDreamer: Model-Based Reinforcement Learning with Latent Imagination on Complex EHRs for Clinical Decision Support." arXiv 2505.19785, 2025. arxiv.org/pdf/2505.19785
  124. Xu, Z., Shuai, Z., Mozaffari, E., Aysola, R. S., Kumar, R., Yang, Y. "SleepLM: Natural-Language Intelligence for Human Sleep." arXiv 2602.23605, 2026. alphaxiv.org/abs/2602.23605
  125. Yang, Z., Mitra, A., Liu, W., Berlowitz, D., Yu, H. "TransformEHR: transformer-based encoder-decoder generative model to enhance prediction of disease outcomes using electronic health records." Nature Communications 2023. nature.com/articles/s41467-023-43715-z
  126. Yi, R., Popescu, M., Keller, J. M., Scott, G., Despins, L., Heise, D., Skubic, M. "Heartbeat Detection from Ballistocardiogram using Transformer Network." arXiv 2412.14376, 2024. arxiv.org/pdf/2412.14376
  127. Zhang, J., et al. "World-in-World: World Models in a Closed-Loop World." ICLR 2026. arxiv.org/abs/2510.18135
  128. Zhang, Y., et al. "SensorLM: Learning the Language of Wearable Sensors." NeurIPS 2025. neurips.cc/virtual/2025/poster/117808 · research.google/blog/sensorlm-learning-the-language-of-wearable-sensors
  129. Zhang, Y., Zhou, H., Feng, L., Hong, Y., Li, S. "Learning Longitudinal Health Representations from EHR and Wearable Data." arXiv 2601.12227, 2026. arxiv.org/abs/2601.12227
  130. Zhou, G., Pan, H., LeCun, Y., & Pinto, L. "DINO-WM: World Models on Pre-trained Visual Features enable Zero-shot Planning." arXiv 2024. arxiv.org/abs/2411.04983
  131. Zhu, Y., Weckstein, A. R., Lin, K. J., Yang, J. "DT-Transformer: A Foundation Model for Disease Trajectory Prediction on a Real-world Health System." arXiv 2605.14227, 2026. arxiv.org/pdf/2605.14227