Does Your Trial Simulator Know What the Drug Does? An Intervention-Blind Test of Interventional Validity on 7,207 Registered Trials

Alicem KoyunarXiv 2026 · arXiv

TL;DR

This paper introduces interventional skill, a new metric that measures whether clinical trial simulators actually understand what a drug does, rather than just guessing outcomes based on the disease or patient population. By testing models against an "intervention-blind" version of themselves, the authors reveal that while standard machine learning models fail to grasp drug effects, frontier language models have a modest but measurable understanding of pharmacology.

What Problem Does This Paper Address?

Researchers are increasingly building "patient world models" to simulate clinical trials. Currently, these simulators are evaluated on held-out accuracy—how well they predict the outcome of a single trial arm.

However, the authors argue this is a flawed metric. A model can predict a high responder rate in an ulcerative colitis trial simply because it knows what typical patients look like, without knowing anything about the drug being tested. For a simulator to be useful for decision support, it must demonstrate interventional validity: it needs to accurately predict the difference (the contrast) between the treatment and control arms. Until now, this capability was assumed based on reading papers rather than being rigorously measured.

Methods

The authors propose a "null-by-construction" reference to isolate the effect of knowing the intervention:

  1. Interventional Skill (IS): This metric is defined as $1 - \frac{MSE(FULL)}{MSE(BLIND)}$. It calculates how much error is removed when the model is given the intervention details compared to when it is "blinded."
  2. The Blind Control: For every simulator, they create a "BLIND" version. For a machine learning model, this means training it without any intervention-identifying fields. For a Large Language Model (LLM), it means prompting it with the trial protocol but replacing drug names and descriptions with a "withheld" marker.
  3. Contrast Prediction: Instead of predicting single-arm outcomes, models are tasked with predicting the within-trial contrast (e.g., treatment arm risk minus placebo arm risk).
  4. Perturbation Tests: To ensure models aren't just "getting lucky," the authors perform "arm swaps" (exchanging treatment and control) and "drug substitutions" (replacing the real drug with an unrelated one like Claritin) to see if the model's predictions change logically.

Datasets

The authors released a new, public benchmark called ivbench:

  • Source: 30,119 completed phase 2/3 trials from ClinicalTrials.gov.
  • Content: 9,996 audited within-trial contrasts from 7,207 trials.
  • Splits: A temporal split (trials posted before vs. after 2023) to test how models handle "future" data they haven't seen during training.

Key Insights and Ideas

  • Held-out accuracy is a "leaderboard trap": As shown in Figure 1, standard accuracy metrics make registry-trained models (GBT) and language models (LM) look similar. Only the blind control reveals that the GBT model has zero interventional skill.
  • Registry data isn't enough: Models trained only on trial registries (like the GBT model) often have negative interventional skill. Adding drug info actually makes them worse because they overfit to noise in the text rather than learning pharmacological principles.
  • LLMs have a "pharmacological foothold": Frontier models like Claude 3.5 Sonnet show positive interventional skill (IS = 0.20). This suggests they are leveraging pre-trained knowledge of biology and chemistry that isn't present in trial registries alone.
  • The "Blind" baseline is surprisingly smart: Even when drug names are hidden, LLMs can guess the drug class 45% of the time just from the trial's eligibility criteria and endpoints. This makes "interventional skill" a conservative lower bound of what the model actually knows.
Figure 1: Held-out accuracy does not separate the systems; the blind control does. (a) Benchmark construction. (b) Skill against the global training mean on the 878 binary test contrasts with the intervention shown or withheld; GBT = registry-trained gradient boosting (five-seed mean), LM = large language model (protocol-only prompt, single run); whiskers 95% trial-bootstrap intervals; dashed line noise ceiling.

Key Results

The quantitative results, summarized in Table 1, highlight a stark divide:

  • Registry-trained GBT: Achieved an IS of -0.12. It is literally better at predicting trial outcomes when you don't tell it what the drug is.
  • Frontier LLM (Claude 3.5 Sonnet): Achieved an IS of 0.20 using only the registered protocol. When given the more detailed "posted record" (which might leak some outcome vocabulary), its skill rose to 0.27.
  • Perturbation Consistency: The large LLM is genuinely "reading" the intervention; swapping the arms reversed the sign of its prediction in 86% of cases.
  • Overconfidence: Despite their skill, LLMs are dangerously overconfident. Their self-stated 90% confidence intervals only covered the true result about 70% of the time.
Table 1

Limitations and Future Work

  • Data Leakage: While the authors tested "uncontaminated" trials (completed after the models' training cutoffs), the sample sizes were small, making it hard to completely rule out memorization for some models.
  • Registry Bias: The benchmark inherits the reporting biases of ClinicalTrials.gov, where results are often missing for failed or industry-sponsored trials.
  • Individual-Level Data: This study focuses on trial-level aggregates. True "world models" will eventually need to predict individual patient trajectories using Electronic Health Record (EHR) data, which is currently much harder to benchmark at scale.

The authors conclude that while we aren't ready to replace control arms with "digital twins," measuring interventional skill provides a necessary reality check for the field.

Summary updated

Abstract

Patient world models are increasingly proposed as simulators of clinical trials, and recent surveys rank their capabilities on a ladder from temporal prediction to counterfactual rollouts. Position on that ladder is currently assigned by reading papers rather than by measurement. We turn the counterfactual rung into a measured quantity. From 30,119 completed phase 2/3 trials with results posted to ClinicalTrials.gov we construct 9,996 audited within-trial contrasts from 7,207 trials, and we score a simulator on how much of its accuracy depends on knowing which intervention was tested. The instrument is an intervention-blind reference: the same model, trained on the same trials, with every intervention-identifying field withheld. Interventional skill is the error the full model removes relative to that reference. On a temporal split (878 test contrasts from 655 trials) a registry-trained gradient-boosting simulator removes a fifth of the error of a trivial baseline, but its interventional skill is -0.12 (95% CI -0.21 to -0.05): withholding the intervention makes it better, and no alternative featurisation, stratum, temporal cut or same-molecule retrieval yields an interval above zero. A frontier language model reading only the registered protocol has interventional skill 0.20 [0.08, 0.31]; smaller and open-weight models sit at the limit of detection. Perturbation tests show the large model uses the intervention as such: swapping the arms reverses the sign of its prediction in 86% of contrasts. The blind reference is itself not drug-blind (a language model recovers the withheld drug class 45% of the time from the blind prompt), so interventional skill is a conservative lower bound. A reliability layer shows that ranking by predicted error lowers it but that calibrated error control does not transfer under temporal shift. Benchmark, code, prompts and per-call model outputs are released.
BibTeX
@misc{koyun2026does,
  author = {Alicem Koyun},
  title = {{Does Your Trial Simulator Know What the Drug Does? An Intervention-Blind Test of Interventional Validity on 7,207 Registered Trials}},
  year = {2026},
  eprint = {2611.05907},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.05907},
}
Figure