EveryQuery: A Promptable Foundation Model for Clinical Prediction Tasks over Electronic Health Records
Not on the map. Why?
Abstract (arXiv)
Autoregressive foundation models for electronic health records can make predictions for diverse clinical tasks without finetuning. These methods work by generating possible "synthetic futures" for patients, and then inferring downstream predictions over these simulated trajectories. Despite their strong capabilities, these methods have several flaws. (1) Inference is extremely computationally expensive, as each prediction requires simulating many trajectories, each with many observations. (2) Their performance is noisy due to the variance inherent to simulation, which in particular reduces efficacy on rare events, which are often of high importance clinically. (3) They are not promptable, as their only input is the patient's medical history, requiring indirect aggregation at inference time. We introduce EveryQuery, a promptable foundation model for structured EHR data. Building on the insight that clinical prediction tasks can be written in a structured query language, EveryQuery takes a query as a prompt alongside the patient's history and estimates the outcome directly. This allows EveryQuery to make predictions across diverse clinical tasks, such as classification and survival modeling, without simulation or finetuning. Across three EHR datasets, EveryQuery outperforms a competitive autoregressive baseline on clinically relevant classification and time-to-event tasks, with mean AUROC gains of 14.3% and 12.7% on MIMIC-IV and a large academic medical center and comparable performance on the smaller NWICU dataset. Its advantage is largest for rare outcomes, and it requires 580x less inference compute.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 17 of its 27 references that are in the map. First posted on arXiv 9 Mar 2026.
Builds on
17 of 27 references.
References · 17
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 368
- 2017Multitask learning and benchmarking with clinical time series datacited by 287
- 2023EHRSHOT: An EHR Benchmark for Few-Shot Evaluation of Foundation Modelscited by 101
- 2020Language Models Are An Effective Patient Representation Learning Technique For Electronic Health Record Datacited by 85
- 2021CEHR-BERT: Incorporating temporal information from structured EHR data to improve prediction taskscited by 75
- 2023MOTOR: A Time-To-Event Foundation Model For Structured Medical Recordscited by 75
- 2024Zero Shot Health Trajectory Prediction Using Transformercited by 74
- 2022GenHPF: General Healthcare Predictive Framework with Multi-task Multi-source Learningcited by 35
- 2025Generative Medical Event Models Improve with Scalecited by 24
- 2025Foundation Model of Electronic Medical Records for Adaptive Risk Estimationcited by 17
- 2022Multimodal spatiotemporal graph neural networks for improved prediction of 30-day all-cause hospital readmissioncited by 14
5 more
- 2024ACES: Automatic Cohort Extraction System for Event-Stream Datasetscited by 8
- 2025FoMoH: A clinically meaningful foundation model evaluation for structured electronic health recordscited by 6
- 2026Tokenization Tradeoffs in Structured EHR Foundation Modelscited by 6
- 2025Foundation Models for Clinical Records at Health System Scalecited by 3
- 2024M3H: Multimodal Multitask Machine Learning for Healthcarecited by 2
Built on by
Not cited yet.