Sequential diagnosis with language models

· Science

7 min read Original article ↗

Editor’s summary

AI applications for clinical medicine continue to advance but often rely on written vignettes. Unfortunately, these are not a realistic representation of clinical medicine, where patients do not come in with a tidy write-up of key symptoms and pertinent laboratory findings. To address this issue, Nori et al. made their AI system start from the patient’s chief complaint and decide what follow-up questions to ask and what testing to order to collect the information needed for a diagnosis. In multiple test settings, this system achieved higher accuracy than human responders and at a lower total cost, demonstrating its potential as a tool to assist physicians. —Yevgeniya Nusinovich

Abstract

We explored the capabilities of frontier language models in sequential diagnosis, a diagnostic paradigm that captures the iterative nature of clinical reasoning. Given a brief clinical presentation, clinicians selectively acquired information to reach a diagnosis, enabling assessment of diagnostic accuracy and workup cost. We developed an interactive benchmark and an artificial intelligence (AI) system that simulates a panel of physicians, continually revising the differential diagnosis and selecting cost-effective tests. Using this benchmark, the system achieved 83.2% accuracy on New England Journal of Medicine clinicopathological conference cases and 80.3% on MIMIC-IV-ED emergency department admissions, outperforming generalist physicians (36.1 and 46.8%, respectively). Although these findings were obtained in a controlled benchmark setting, they highlight the promise of language models for supporting more accurate, lower-cost diagnoses.

Access the full article

View all access options to continue reading this article.

Supplementary Materials

The PDF file includes:

Materials and Methods

Supplementary Text

Figs. S1 to S9

Tables S1 to S13

References (13–29)

Other Supplementary Material for this manuscript includes the following:

MDAR Reproducibility Checklist

References and Notes

1

H. Nori, Y. T. Lee, S. Zhang, D. Carignan, R. Edgar, N. Fusi, N. King, J. Larson, Y. Li, W. Liu, R. Luo, S. M. McKinney, R. O. Ness, H. Poon, T. Qin, N. Usuyama, C. White, E. Horvitz, Can generalist foundation models outcompete special-purpose tuning? Case study in medicine. arXiv:2311.16452 [cs.CL] (2023).

2

H. Nori, N. King, S. M. McKinney, D. Carignan, E. Horvitz, Capabilities of GPT-4 on medical challenge problems. arXiv:2303.13375 [cs.CL] (2023).

3

H. Nori, N. Usuyama, N. King, S. M. McKinney, X. Fernandes, S. Zhang, E. Horvitz, From Medprompt to o1: Exploration of run-time strategies for medical challenge problems and beyond. arXiv:2411.03590 [cs.CL] (2024).

4

D. McDuff, M. Schaekermann, T. Tu, A. Palepu, A. Wang, J. Garrison, K. Singhal, Y. Sharma, S. Azizi, K. Kulkarni, L. Hou, Y. Cheng, Y. Liu, S. S. Mahdavi, S. Prakash, A. Pathak, C. Semturs, S. Patel, D. R. Webster, E. Dominowska, J. Gottweis, J. Barral, K. Chou, G. S. Corrado, Y. Matias, J. Sunshine, A. Karthikesalingam, V. Natarajan, Towards accurate differential diagnosis with large language models. Nature 642, 451–457 (2025).

5

S. Cabral, D. Restrepo, Z. Kanjee, P. Wilson, B. Crowe, R.-E. Abdulnour, A. Rodman, Clinical reasoning of a generative artificial intelligence model compared with physicians. JAMA Intern. Med. 184, 581–583 (2024).

6

E. Goh, R. Gallo, J. Hom, E. Strong, Y. Weng, H. Kerman, J. A. Cool, Z. Kanjee, A. S. Parsons, N. Ahuja, E. Horvitz, D. Yang, A. Milstein, A. P. J. Olson, A. Rodman, J. H. Chen, Large language model influence on diagnostic reasoning: A randomized clinical trial. JAMA Netw. Open 7, e2440969 (2024).

7

P. G. Brodeur, T. A. Buckley, Z. Kanjee, E. Goh, E. B. Ling, P. Jain, S. Cabral, R.-E. Abdulnour, A. D. Haimovich, J. A. Freed, A. Olson, D. J. Morgan, J. Hom, R. Gallo, L. G. McCoy, H. Mombini, C. Lucas, M. Fotoohi, M. Gwiazdon, D. Restifo, D. Restrepo, E. Horvitz, J. Chen, A. K. Manrai, A. Rodman, Performance of a large language model on the reasoning tasks of a physician. Science 392, 524–527 (2026).

11

S. S. Everett, B. J. Bunning, P. Jain, I. Lopez, A. Agarwal, M. Desai, R. Gallo, E. Goh, V. B. Kadiyala, Z. Kanjee, J. M. Koshy, A. Olson, A. Rodman, K. Schulman, E. Strong, J. H. Chen, E. Horvitz, From tool to teammate in a randomized controlled trial of clinician-AI collaborative workflows for diagnosis. NPJ Digit. Med. 9, 409 (2026).

13

R. K. Arora, J. Wei, R. S. Hicks, P. Bowman, J. Quiñonero-Candela, F. Tsimpourlas, M. Sharman, M. Shah, A. Vallone, A. Beutel, J. Heidecke, K. Singhal, HealthBench: Evaluating large language models towards improved human health. arXiv:2505.08775 [cs.CL] (2025).

14

M. J. Wood, C. A. Maraboto Gonzalez, R. J. Goiffon, E. D. Jacobsen, B. M. Hutchison, Case 18-2025: A 63-year-old woman with dyspnea on exertion. N. Engl. J. Med. 392, 2459–2470 (2025).

15

H. R. Warner, A. F. Toronto, L. G. Veasy, Experience with Bayes’ theorem for computer diagnosis of congenital heart disease. Ann. N. Y. Acad. Sci. 115, 558–567 (1964).

16

G. A. Gorry, G. O. Barnett, Experience with a model of sequential diagnosis. Comput. Biomed. Res. 1, 490–507 (1968).

17

E. J. Horvitz, D. E. Heckerman, B. N. Nathwani, L. M. Fagan, “ Diagnostic Strategies in the Hypothesis-Directed PATHFINDER System” in Proceedings of the First IEEE Conference on Artificial Intelligence Applications (IEEE Computer Society Press, 1984), pp. 630–636.

18

D. E. Heckerman, E. J. Horvitz, B. N. Nathwani, Toward normative expert systems: Part I. The Pathfinder project. Methods Inf. Med. 31, 90–105 (1992).

19

E. Horvitz, A. Seiver, “ Time-Critical Action: Representations and Application”, in Proceedings of the Thirteenth Conference on Uncertainty in Artificial Intelligence (Morgan Kaufmann Publishers, 1997), pp. 250–257.

20

R. S. Ledley, L. B. Lusted, Reasoning foundations of medical diagnosis; symbolic logic, probability, and value theory aid our understanding of how physicians reason. Science 130, 9–21 (1959).

21

G. A. Gorry, G. O. Barnett, Sequential diagnosis by computer. JAMA 205, 849–854 (1968).

22

S. Chakraborty, E. Bisong, S. Bhatt, T. Wagner, R. Elliott, F. Mosconi, “BioMedBERT: A Pre-trained Biomedical Language Model for QA and IR”, in Proceedings of the 28th International Conference on Computational Linguistics, D. Scott, N. Bel, C. Zong, Eds. (International Committee on Computational Linguistics, 2020), pp. 669–679; https://aclanthology.org/2020.coling-main.59.

23

Y. Gu, R. Tinn, H. Cheng, M. Lucas, N. Usuyama, X. Liu, T. Naumann, J. Gao, H. Poon, Domain-specific language model pretraining for biomedical natural language processing. ACM Trans. Comput. Healthc. 3, 1–23 (2021).

24

A. Gilson, C. W. Safranek, T. Huang, V. Socrates, L. Chi, R. A. Taylor, D. Chartash, How does ChatGPT perform on the United States Medical Licensing Examination (USMLE)? The implications of large language models for medical education and knowledge assessment. JMIR Med. Educ. 9, e45312 (2023).

25

D. Brin, V. Sorin, A. Vaid, A. Soroush, B. S. Glicksberg, A. W. Charney, G. Nadkarni, E. Klang, Comparing ChatGPT and GPT-4 performance in USMLE soft skill assessments. Sci. Rep. 13, 16492 (2023).

26

K. Singhal, S. Azizi, T. Tu, S. S. Mahdavi, J. Wei, H. W. Chung, N. Scales, A. Tanwani, H. Cole-Lewis, S. Pfohl, P. Payne, M. Seneviratne, P. Gamble, C. Kelly, A. Babiker, N. Schärli, A. Chowdhery, P. Mansfield, D. Demner-Fushman, B. Agüera Y Arcas, D. Webster, G. S. Corrado, Y. Matias, K. Chou, J. Gottweis, N. Tomasev, Y. Liu, A. Rajkomar, J. Barral, C. Semturs, A. Karthikesalingam, V. Natarajan, Large language models encode clinical knowledge. Nature 620, 172–180 (2023).

27

S. Bedi, H. Cui, M. Fuentes, A. Unell, M. Wornow, J. M. Banda, N. Kotecha, T. Keyes, Y. Mai, M. Oez, H. Qiu, S. Jain, L. Schettini, M. Kashyap, J. A. Fries, A. Swaminathan, P. Chung, F. N. Haredasht, I. Lopez, A. Aali, G. Tse, A. Nayak, S. Vedak, S. S. Jain, B. Patel, O. Fayanju, S. Shah, E. Goh, D.-H. Yao, B. Soetikno, E. Reis, S. Gatidis, V. Divi, R. Capasso, R. Saralkar, C.-C. Chiang, J. Jindal, T. Pham, F. Ghoddusi, S. Lin, A. S. Chiou, H. J. Hong, M. Roy, M. F. Gensheimer, H. Patel, K. Schulman, D. Dash, D. Char, L. Downing, F. Grolleau, K. Black, B. Mieso, A. Zahedivash, W.-W. Yim, H. Sharma, T. Lee, H. Kirsch, J. Lee, N. Ambers, C. Lugtu, A. Sharma, B. Mawji, A. Alekseyev, V. Zhou, V. Kakkar, J. Helzer, A. Revri, Y. Bannett, R. Daneshjou, J. Chen, E. Alsentzer, K. Morse, N. Ravi, N. Aghaeepour, V. Kennedy, A. Chaudhari, T. Wang, S. Koyejo, M. P. Lungren, E. Horvitz, P. Liang, M. A. Pfeffer, N. H. Shah, Holistic evaluation of large language models for medical tasks with MedHELM. Nat. Med. 32, 943–951 (2026).

28

S. S. Li, V. Balachandran, S. Feng, J. S. Ilgen, E. Pierson, P. W. Koh, Y. Tsvetkov, MediQ: Question-asking LLMs and a benchmark for reliable interactive clinical reasoning. Adv. Neural Inf. Process. Syst. 37, 28858–28888 (2024).

29

M. Hunter, I. L. Saubidet, T. Amerio, M. V. Leone, Case 15-2025: A 52-Year-Old Man with Fever, Nausea, and Respiratory Failure. N. Engl. J. Med. 392, 2049–2057 (2025).