Papers › Can large language models reason about medical questions?

Can large language models reason about medical questions?

17 Jul 2022arXiv:2207.08143archive 2025-07-28

Valentin Liévin, Christoffer Egeberg Hother, Andreas Geert Motzfeldt, Ole Winther

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. 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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2207.08143")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

vlievin/medical-reasoning officialmentioned in papermentioned on GitHubApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from vlievin/medical-reasoning. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

apply_nested vlievin/medical-reasoning/medical_reasoning/datasets/stats.py official repository unverified Apache-2.0 (permissive) · e00ec4061635a1a5 · report
cast_array vlievin/medical-reasoning/medical_reasoning/indexes/base.py official repository unverified Apache-2.0 (permissive) · 08223a733e27670c · report
extend_flows vlievin/medical-reasoning/medical_reasoning/models/reasoner.py official repository unverified Apache-2.0 (permissive) · b1696b58ac7e4489 · report
flatten vlievin/medical-reasoning/medical_reasoning/models/reasoner.py official repository unverified Apache-2.0 (permissive) · 8b228645da52c2c6 · report
format_option vlievin/medical-reasoning/medical_reasoning/models/templates.py official repository unverified Apache-2.0 (permissive) · c0f0d52e034a947f · report
format_option_2 vlievin/medical-reasoning/medical_reasoning/models/templates.py official repository unverified Apache-2.0 (permissive) · f2cf23afa58c83f0 · report
get_start_indices vlievin/medical-reasoning/medical_reasoning/models/templates.py official repository unverified Apache-2.0 (permissive) · afc1f30f1de37668 · report
keep_only_alpha vlievin/medical-reasoning/medical_reasoning/indexes/elasticsearch.py official repository unverified Apache-2.0 (permissive) · dbb023963ab5e75c · report
set_precision vlievin/medical-reasoning/medical_reasoning/datasets/stats.py official repository unverified Apache-2.0 (permissive) · 79b2000863b40433 · report
summarize vlievin/medical-reasoning/medical_reasoning/datasets/stats.py official repository unverified Apache-2.0 (permissive) · 58f5668b6dbca399 · report

Tasks

Multiple Choice Question Answering (MCQA)Multiple-choicePrompt EngineeringQuestion AnsweringReading ComprehensionRetrieval

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Multiple Choice Question Answering (MCQA) MedMCQA Codex 5-shot CoT Dev Set (Acc-%) 0.597 #5 of 22 Archive leaderboard report
Multiple Choice Question Answering (MCQA) MedMCQA Codex 5-shot CoT Test Set (Acc-%) 0.627 #5 of 22 Archive leaderboard report
Question Answering MedQA Codex 5-shot CoT Accuracy 60.2 #13 of 27 Archive leaderboard report
Question Answering PubMedQA Codex 5-shot CoT Accuracy 78.2 #7 of 30 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AdamAttentionAttention DropoutBPECosine AnnealingDense ConnectionsDropoutGPT-3Layer NormalizationLinear LayerLinear Warmup With Cosine AnnealingMulti-Head AttentionResidual ConnectionSoftmaxWeight Decay

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections