SIMILAR PATIENTS, NO BETTER PROGNOSIS
When a patient with cancer leaves hospital, the care team must decide how soon to schedule follow-up, and whether conversations about supportive care can wait. Sometimes they cannot: death may come before the next planned visit. Much of what signals that risk, such as how the patient is functioning and how the disease is responding, is written only in free text, in the discharge letter.
Large language models can read such letters and estimate a prognosis without any special training. A published method, dynamic few-shot prompting, goes further. Before the patient’s own letter, it shows the model the letters of the five most similar patients from a labelled archive, each with its outcome: survived or died. It mirrors how doctors reason from past cases, and in its original study, on breast cancer and glioma patients at one institution, it improved on prompting without examples.
But that comparison changes three things at once: the wording of the question, the presence of labelled examples of any kind, and how similar those examples are to the patient. Only the last one reflects the idea of learning from similar patients.
A controlled replication
Pengyu Zhan, Xiaofeng Yang and colleagues at the University of Chicago kept the parts that define the original method (the tool that finds similar patients, the wording of the prompts and the way the model’s answer becomes a score) and applied them to new data: 14,164 records from 11 cancer cohorts in MIMIC-IV, a public, de-identified database from a single hospital in Boston. The task: predict death within 90 days of discharge from the discharge letter alone. Overall, 16.1% of the records ended in death, from 6.5% for breast cancer to 27.4% for pancreatic cancer. The model, Qwen3-8B, ran on hardware under the team’s control; no patient text was sent to an outside service.
They then added the controls the original comparison lacked: five patients drawn at random instead of the five most similar; a prompt without examples but with matching wording; and similar patients with their outcomes shuffled. The main question, similar against random, and the margin for calling them equivalent were fixed before the final test, on 5,666 records set aside.
The score that matters here is the AUROC: the probability that a patient who died is ranked as riskier than one who survived. It measures how well the model sorts patients, regardless of any cut-off.
Similar or random, no difference
Similar patients did not help the model rank risk. The difference between similar and random examples was +0.006 (95% interval: −0.006 to +0.018), inside the pre-set margin of ±0.03: the two were equivalent.
Worse, examples of either kind lowered the ranking compared with the patient’s letter alone, which reached a mean AUROC of 0.858: by 0.034 with similar patients and by 0.043 with random ones. A stronger tool for finding similar patients did beat random examples, by 0.021 in an exploratory analysis, so the tie holds only for the original method’s tool; it also recovered about half of that loss, but not all; shorter summaries in place of full letters shrank it further; a larger model, Qwen3-32B, still lost ground with examples. In no setting tried did examples beat the letter alone.

Per-cancer and pooled differences in AUROC on the held-out test set: (A) similar minus random examples, with the pre-specified equivalence margin of ±0.03 shaded; (B) similar examples minus the patient’s note alone with matched wording. Numbers in parentheses are patients / deaths. — Figure 2, Zhan et al. (2026), arXiv:2611.38231.
Accuracy that came from saying “death” less
Yet the original finding was reproduced in one sense. With a cut-off at 0.5 (a score of 0.5 or more counts as a prediction of death), accuracy, the share of outcomes called correctly, rose with examples: from 75.1% for the letter alone to 82.7% with random examples and 82.8% with similar ones. The gain was the same whichever examples were shown.
The reason lies in how often the model predicted death. With the original wording and no examples, it predicted death for 69% of patients; with the matched wording, 36%; with any five examples, 18%, against an observed 16%. The model without examples over-called death, and examples simply curbed that habit. Moving the cut-off does the same job without examples: one threshold per cancer, fitted on separate data, raised accuracy to 86.5%, better than examples in all 11 cancers. But even that is no clinical win: predicting survival for everyone already scores 83.6%, and the fitted thresholds flagged only 9% of patients as at risk.
The answer follows the deaths on display
Why don’t similar patients help? Retrieval worked: the five neighbours shared the patient’s type of admission (43% against 24%) and discharge destination (39% against 27%) more often than random patients did, and the share of deaths among them predicted the patient’s outcome with an AUROC of about 0.72, against 0.52 for five random patients. But the patient’s own letter was a much stronger clue, read by the model at about 0.86.
Analysing the answers, the team found that with similar examples the model gave the patient’s letter only about half its usual weight (0.55), and gave a large weight (0.43) to the number of deaths among the five examples shown. Even with random examples, drawn independently of the patient, that count still pushed the answer: showing more patients who died moved the prediction towards death, whoever the patient was. In the authors’ reading, swapping part of a strong signal for a weaker one, or for noise, can be expected to lower the ranking. Prompt length may also play a part: five full letters made the text given to the model about six times longer (from about 2,700 to 16,000 tokens).
What future studies should include
The authors stress that their work does not contradict the original study, whose cohorts, outcomes and models were different. Their recommendation is about method: any test of “show the AI similar patients” should include a random-example control, a prompt without examples worded the same way, a measure of ranking alongside accuracy and the share of positive predictions, and a threshold fitted on separate data. Their own limits are clear too: one hospital, one type of note, one family of models, a 90-day horizon, and no review of the prompts or cases by clinicians.
