QUEST-AI: A System for Question Generation, Verification, and Refinement using AI for USMLE-Style Exams

Suhana Bedi, Scott L. Fleming, Chia‐Chun Chiang, Keith Morse, A. Kumar, Birju Patel, Jenelle Jindal, Conor Davenport, Craig Yamaguchi, Nigam H. Shah

Abstract

The United States Medical Licensing Examination (USMLE) is a critical step in assessing the competence of future physicians, yet the process of creating exam questions and study materials is both time-consuming and costly. While Large Language Models (LLMs), such as OpenAI’s GPT-4, have demonstrated proficiency in answering medical exam questions, their potential in generating such questions remains underexplored. This study presents QUEST-AI, a novel system that utilizes LLMs to (1) generate USMLE-style questions, (2) identify and flag incorrect questions, and (3) correct errors in the flagged questions. We evaluated this system’s output by constructing a test set of 50 LLM-generated questions mixed with 50 human-generated questions and conducting a two-part assessment with three physicians and two medical students. The assessors attempted to distinguish between LLM and human-generated questions and evaluated the validity of the LLM-generated content. A majority of exam questions generated by QUEST-AI were deemed valid by a panel of three clinicians, with strong correlations between performance on LLM-generated and human-generated questions. This pioneering application of LLMs in medical education could significantly increase the ease and efficiency of developing USMLE-style medical exam content, offering a cost-effective and accessible alternative for exam preparation.

Introduction

The United States Medical Licensing Examination (USMLE) serves as the high-stakes gateway for medical practice in the U.S. Developing high-quality practice materials for these exams is a massive undertaking that requires significant expert labor and time. Consequently, medical students often spend upwards of $4,000 on preparation materials. While recent research has focused on the ability of Large Language Models (LLMs) like GPT-4 to answer these complex questions, this study explores the inverse: the capacity for AI to generate realistic, valid medical cases to lower the cost and increase the accessibility of medical education.

Methodology: Prompt Chaining

To ensure high-quality output, the researchers utilized a technique known as prompt chaining. Rather than asking the model to generate a question from scratch with a single prompt, they employed a multi-step iterative process:

  1. Seed Input: GPT-4 was provided with a genuine human-generated USMLE Step 2 Clinical Knowledge (CK) question.
  2. Explanation Generation: The model was tasked with explaining why the correct answer was accurate and why the distractors (incorrect options) were wrong.
  3. New Question Synthesis: This explanation was fed back into the model, which then generated a completely new question following a similar logical structure and format.
The prompt chaining workflow used to generate new medical exam questions from existing seeds.

Evaluation Framework

The study utilized a bank of 120 publicly available USMLE Step 2 CK questions. From this, 50 were selected as a human control group and used as seeds for the AI-generated group. To evaluate the results, 50 human-written and 50 GPT-4-generated questions were shuffled and presented to three licensed physicians. The reviewers were asked to solve the questions and guess whether each was authored by a human or an AI.

Key Results and the "Medical Turing Test"

The results demonstrated that GPT-4 has mastered the technical formatting and "vibe" of professional medical exams. Physicians were essentially unable to distinguish between the two sources, achieving a detection accuracy of only 50.3%—statistically equivalent to a coin flip.

Examples of AI-generated questions that were either mistaken for human-authored or correctly identified.

Validity and Performance

  • Validity Rate: 64% (32 out of 50) of the AI-generated questions were deemed fully valid and correct by all reviewers.
  • Performance Parity: Physician performance on AI-generated questions was within a 4.6% margin of their performance on human-written questions, suggesting comparable difficulty levels.
  • Efficiency: Reviewing an AI-generated question took physicians approximately 3.2 minutes. This suggests that AI can serve as a "co-pilot," significantly speeding up the content creation workflow compared to writing questions from scratch.

Failure Modes

Of the 18 questions deemed "incorrect" or invalid, the most common issue was the inclusion of multiple plausible answers (9 cases). GPT-4 occasionally struggled to create distractors that were definitively incorrect. Other errors included the model selecting an incorrect "correct" answer or providing a question with no valid answer at all.

Conclusion

While GPT-4 is not yet ready to operate autonomously as a medical examiner, QUEST-AI demonstrates that it is a powerful tool for human-AI collaboration. By serving as a tireless draft-writer, LLMs can help medical educators keep pace with evolving clinical knowledge while drastically reducing the cost of high-quality educational resources. Future work will focus on aligning these models with specific exam blueprints and improving the logical distinctness of distractor options.

Summary updated

BibTeX
@misc{bedi2023quest,
  author = {Suhana Bedi and Scott L. Fleming and Chia‐Chun Chiang and Keith Morse and A. Kumar and Birju Patel and Jenelle Jindal and Conor Davenport and Craig Yamaguchi and Nigam H. Shah},
  title = {{QUEST-AI: A System for Question Generation, Verification, and Refinement using AI for USMLE-Style Exams}},
  year = {2023},
  doi = {10.1101/2023.04.25.23288588},
  howpublished = {medRxiv},
}
Figure