Few shot chain-of-thought driven reasoning to prompt LLMs for open ended medical question answering

Saeel Sandeep Nachane, Ojas Gramopadhye, Prateek Chanda, Ganesh Ramakrishnan, Kshitij Sharad Jadhav, Yatin Nandwani, Dinesh Raghu, Sachindra Joshi

TL;DR

Researchers have developed CLINICR, a new prompting strategy that enables Large Language Models (LLMs) to answer open-ended medical questions by mimicking the incremental reasoning process of real doctors. By moving away from multiple-choice "elimination" logic and introducing a reward-model-based verifier, they significantly improved the accuracy and reliability of medical advice generated by models like Llama-2.

What Problem Does This Paper Address?

Most current benchmarks for medical AI, such as the popular MedQA-USMLE dataset, are formatted as multiple-choice questions (MCQs). While useful for exams, this doesn't reflect real-world clinical practice. A doctor doesn't start with four options; they start with a patient's history and must build a diagnosis step-by-step.

Existing "Chain-of-Thought" (CoT) prompting techniques—where a model is asked to "think step-by-step"—often rely on an eliminative approach. In this style, the model looks at the provided options and explains why A, B, and C are wrong before concluding D is right. When you remove the options to create an open-ended scenario, this logic falls apart. The authors sought to bridge this gap by creating a prompting style that mirrors "prospective reasoning": forming a mental model, considering differentials, and refining the diagnosis as new information (like lab results) appears.

Methods

The authors introduced two primary innovations:

  1. CLINICR (Clinical Reasoning Prompt): This is a 5-shot prompt (providing five high-quality examples to the model) that follows a structured clinical pathway. Instead of evaluating options, the reasoning process copies a piece of patient history, suggests a potential diagnosis, updates that diagnosis as more history is added, and finally incorporates laboratory findings to reach a conclusion. Overview of prompting strategies for MCQ vs Open-ended versions
  2. Forward-Backward Approach: To further boost accuracy, the team implemented a two-step process.
  3. Forward Step: Use CLINICR to sample multiple potential answers from the LLM.
  4. Backward Step (The Verifier): They trained a separate "reward model" (a verifier) to score these candidate answers. The verifier evaluates the triplet of [Question, Reasoning, Answer] and picks the most likely correct one. This mimics a clinician double-checking their initial gut feeling against the evidence.
Overview of prompting strategies for MCQ vs Open-ended versions

Datasets

  • MEDQA-OPEN: The authors' primary contribution to benchmarking. They took the MedQA-USMLE dataset, removed the multiple-choice options, and worked with medical experts to create verified, reasoning-based answers for the open-ended questions.
  • CLINICIANCASES: A small, high-quality set of 25 complex, real-life medical cases provided by practicing physicians to test the models on "in-the-wild" scenarios.
  • MedQA-MCQ: The original multiple-choice version used for baseline comparisons and for training the reward model verifier.

Key Insights and Ideas

  • Prompting Matters More for Smaller Models: The performance gap between the old "Eliminative" prompt and the new "CLINICR" prompt was massive for the Llama-2-7B model but much smaller for the 70B version. This suggests that larger models have enough internal "knowledge density" to overcome poor prompting, whereas smaller models need a strict reasoning structure to succeed.
  • The "Elimination" Bias: The authors found that MCQ-based training makes models lazy. When prompted with an eliminative style in an open-ended setting, the model often just recites the patient's history without actually reasoning through it. CLINICR forces the model to draw inferences at every step. Comparison of reasoning styles between Eliminative and CLINICR
  • MCQs are "Distractor" Heavy: The paper hypothesizes that MCQs are actually harder for models in some ways because they contain "distractors" designed to trick human students. Open-ended questions allow the model to explore a wider range of diagnostic possibilities without being led astray by a cleverly written wrong answer.
Comparison of reasoning styles between Eliminative and CLINICR

Key Results

The researchers hired final-year medical students to evaluate the model's outputs on a 3-point Likert scale (Agree, Neutral, Disagree).

  • Open-Ended Superiority: On the MEDQA-OPEN dataset using Llama-2-7B, the CLINICR prompt achieved an 83% agreement rate from medical experts, compared to just 56% for the standard Eliminative prompt.
  • Verifier Boost: Adding the reward-model verifier (the Forward-Backward approach) pushed the 7B model's performance up to 87%, matching the performance of the much larger 70B model.
  • Real-World Performance: On the CLINICIANCASES (real-life cases), CLINICR maintained high performance, showing that the method generalizes beyond exam-style questions.

Limitations and Future Work

  • Model Specificity: The study focused exclusively on the Llama-2 family. The authors acknowledge that these techniques need to be tested on other open-source and proprietary LLMs to ensure generalizability.
  • Static Knowledge: The models rely entirely on their pre-trained parameters. The authors suggest that integrating Retrieval Augmented Generation (RAG)—allowing the model to look up information in real-time medical textbooks or journals—could further improve accuracy.
  • No Human Interaction: The system was tested on static datasets, not in a live clinical environment with actual patients, which would require much stricter ethical oversight and safety testing.

Summary updated

Abstract

In this paper, we propose a modified version of the MedQA-USMLE dataset, named MEDQA-OPEN, which contains open-ended medical questions without options to mimic clinical scenarios, along with clinician-approved reasoned answers. Additionally, we implement a prompt driven by Chain of Thought (CoT) reasoning, CLINICR, to mirror the prospective process of incremental reasoning, reaching a correct response to medical questions. We empirically demonstrate how CLINICR outperforms the state-of-the-art 5-shot CoT-based prompt (Liévin et al., 2022). We also present an approach that mirrors real-life clinical practice by first exploring multiple differential diagnoses through MCQ-CLINICR and subsequently narrowing down to a final diagnosis using MCQ-ELIMINATIVE. Finally, emphasizing the importance of response verification in medical settings, we utilize a reward model mechanism, replacing the elimination process performed by MCQ-ELIMINATIVE.
BibTeX
@inproceedings{nachane2024few,
  author = {Saeel Sandeep Nachane and Ojas Gramopadhye and Prateek Chanda and Ganesh Ramakrishnan and Kshitij Sharad Jadhav and Yatin Nandwani and Dinesh Raghu and Sachindra Joshi},
  title = {{Few shot chain-of-thought driven reasoning to prompt LLMs for open ended medical question answering}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=u0yXsRnkwN},
}
Figure