Can large language models reason about medical questions?

Valentin Liévin, Christoffer Egeberg Hother, Andreas Geert Motzfeldt, Ole Winther
7/17/2022
530 citations
cs.CLcs.AIcs.LG

Official code: vlievin/medical-reasoning (95 stars, HTML, Apache-2.0, last commit 2024-01-09).

Abstract

Although large language models (LLMs) often produce impressive outputs, it remains unclear how they perform in real-world scenarios requiring strong reasoning skills and expert domain knowledge. We set out to investigate whether close- and open-source models (GPT-3.5, LLama-2, etc.) can be applied to answer and reason about difficult real-world-based questions.

Show full abstract

We focus on three popular medical benchmarks (MedQA-USMLE, MedMCQA, and PubMedQA) and multiple prompting scenarios: Chain-of-Thought (CoT, think step-by-step), few-shot and retrieval augmentation. Based on an expert annotation of the generated CoTs, we found that InstructGPT can often read, reason and recall expert knowledge. Last, by leveraging advances in prompt engineering (few-shot and ensemble methods), we demonstrated that GPT-3.5 not only yields calibrated predictive distributions, but also reaches the passing score on three datasets: MedQA-USMLE 60.2%, MedMCQA 62.7% and PubMedQA 78.2%. Open-source models are closing the gap: Llama-2 70B also passed the MedQA-USMLE with 62.5% accuracy.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Medical reasoning using large language models

959HTML, PythonMay 31, 20222 years agoApache-2.0

Similar Papers

Cite this paper

@article{livin2022large,
  title  = {Can large language models reason about medical questions?},
  author = {Valentin Liévin and Christoffer Egeberg Hother and Andreas Geert Motzfeldt and Ole Winther},
  year   = {2022},
  eprint = {2207.08143},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.08143v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.08143.svg)](https://codeofpaper.com/paper/2207.08143)

Discussion