MCP
arXivarXiv
Preprint
Published: November 27, 2026
cs.AI

Similar patients make language models predict death less often, not better

111111*
1 Department of Radiation and Cellular Oncology, The University of Chicago, Chicago, IL, USA
* Corresponding authors
Abstract
Large language models can estimate prognosis from clinical notes without task-specific training, and showing them the notes and outcomes of similar patients, a strategy known as dynamic few-shot prompting, reportedly improves such predictions. This comparison, however, changes the wording of the prompt, the presence of labelled examples and their similarity to the patient at once, and in-context examples can shift a model's answers through the labels they display. Here we show, in a controlled replication across 11 cancer cohorts (14,164 records; 2,282 deaths) from a publicly accessible single-centre database, that similar patients did not help a language model rank patients by their risk of death within 90 days of discharge. With the retriever of the original method, similar examples were equivalent within the pre-specified margin to random ones, and both lowered discrimination relative to the discharge summary alone; a stronger retriever and a larger model reduced this loss but did not reverse it. Examples nonetheless raised accuracy at the default threshold because the zero-shot prompt over-predicted death and examples made that prediction less frequent, and a threshold fitted to zero-shot scores raised accuracy further. The model's answers followed the number of deaths among the examples shown. Evaluations of retrieval-based prompting therefore need random-example and wording-matched controls and threshold-free metrics.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first