MS-Exam-Gen: Source-Grounded Benchmark Construction for Evaluating LLMs on Textual Multiple Sclerosis MRI Knowledge

Abdul Basit, Muhammad Abdullah Hanif, Muhammad ShafiquearXiv 2026

TL;DR

MS-Exam-Gen is a new reproducible framework designed to build auditable, source-grounded benchmarks for specialized medical knowledge, specifically Multiple Sclerosis MRI (MS-MRI). By combining automated generation with rigorous "anti-cue" audits and empirical calibration across a panel of 12 LLMs, the authors created a 3,058-item challenge that exposes the strengths and specific reasoning failures of modern AI in a high-stakes clinical domain.

What Problem Does This Paper Address?

While Large Language Models (LLMs) are passing general medical exams with flying colors, these broad benchmarks often fail to capture a model's ability to handle subspecialty knowledge. In fields like MS-MRI, clinical guidelines (such as the McDonald criteria) are narrow, document-heavy, and constantly evolving.

Existing benchmarks are either too general (MedQA) or focused purely on image analysis (segmentation). There is a critical gap in evaluating how well LLMs reason over the textual rules of radiology: diagnostic criteria, acquisition protocols, and the complex differential diagnosis of "mimics." Furthermore, fully automated benchmark generation is risky; models often leave "shallow cues" (like making the correct answer significantly longer than distractors) that allow other models to "cheat" without actually understanding the medical content.

Methods

The authors propose a multi-stage pipeline to transform a raw corpus of medical documents into a "locked" and audited benchmark:

  1. Corpus Indexing & Topic Induction: They indexed 66 expert sources (guidelines, reviews, protocols) into ~4,300 retrieval chunks. They then used seeded retrieval to induce a taxonomy of 16 major topics and 53 subtopics.
  2. Source-Grounded Generation: Using Retrieval-Augmented Generation (RAG), the system generates four-option MCQs. Every question is tied to specific source evidence IDs to ensure auditability.
  3. Automated Quality Audits: This is the "hardening" phase. The framework deterministicly rejects items with schema errors, redundancy, or superficial cues. For example, it enforces strict limits on option length ratios to prevent models from simply picking the most detailed-looking answer.
  4. Same-Family Consistency Screen: A model from the same family as the generator reviews the items to ensure they are actually answerable and consistent with the provided evidence.
  5. Empirical Calibration: Instead of trusting the generator's "Easy/Hard" labels, the authors evaluated a panel of 12 different LLMs to determine item difficulty based on how many models got the answer wrong.
Fig. 1. MS-Exam-Gen construction and audit workflow. Sources are indexed with metadata, sampled through seeded retrieval, organized into an exam-oriented taxonomy, used for source-grounded MCQ generation, and filtered by automated audits and a same-family consistency screen with regeneration of malformed or cueable items. Algorithm 1 additionally details benchmark locking, model evaluation, and empirical calibration. Construction labels are metadata; the locked bank is a candidate benchmark, not a clinical examination.

Datasets

  • Curated MS-MRI Corpus: A new collection of 66 indexed sources, including the 2017 McDonald criteria, 2021 MAGNIMS recommendations, and the recent 2024 McDonald revisions.
  • MS-Exam-Gen Benchmark: The primary output is a locked bank of 3,058 MCQs. It is categorized into Easy, Medium, Hard, and Multi-source Synthesis strata.

Key Insights and Ideas

  • The "Longest Answer" Bias is Real: The authors found that without strict audits, 68.1% of "Hard" questions had a uniquely longest correct answer—a massive cue for LLMs. Their "refreshed" generation process successfully crushed this prevalence down to just 6.6%.
  • Generator Labels $\neq$ Actual Difficulty: A model labeling a question as "Hard" during construction is not a reliable indicator of psychometric difficulty. The authors argue for empirical calibration—using the disagreement between a diverse panel of models to identify truly challenging items.
  • Reasoning Over Mimics is the Frontier: Models performed worst on topics like Radiologically Isolated Syndrome (RIS) and MS mimics. These areas require "exclusionary reasoning"—knowing not just what MS looks like, but what it isn't.

Key Results

The framework was tested against a panel of 12 primary LLM endpoints (including Gemini 2.5 Flash, Llama 4 Maverick, and Claude Haiku 4.5), generating nearly 37,000 predictions.

  • Performance Gap: There was a massive 42.8-percentage-point range in accuracy between the best and worst models (89.7% for Gemini 2.5 Flash vs. 46.9% for Phi-4 mini).
  • High Disagreement: 25.5% of the items were missed by at least four models, creating a valuable "stress-test" subset for future development.
  • Audit Success: The "Shallow-Cue Audit" (Figure 2A) showed that by hardening the generation process, they significantly reduced the ability of models to guess correctly based on structure alone.
Shallow-Cue Audit: Legacy vs Refreshed

Limitations and Future Work

  • No Human "Gold Standard": The benchmark is currently an "automatically filtered candidate set." The authors emphasize that it has not yet been adjudicated by human MS imaging experts, which is a requirement for clinical certification.
  • Human vs. AI: The study does not compare LLM performance against radiologists or medical trainees.
  • Option-Order Sensitivity: While the authors tested for it in a pilot, full-bank counterbalancing of option orders (A, B, C, D) remains future work to ensure scores aren't biased by position.
  • Domain Transfer: The next step is applying this reproducible workflow to other neuroimaging subspecialties to see if the audit lessons hold true across medicine.

Summary updated

Abstract

Biomedical large language model (LLM) evaluation requires auditable assessment of narrow, evolving, source-grounded subspecialty knowledge. Multiple sclerosis MRI (MS-MRI) provides a high-stakes textual-knowledge test case because correct reasoning requires current diagnostic criteria, standardized acquisition and reporting knowledge, longitudinal monitoring concepts, lesion morphology, and recognition of difficult mimics. We present MS-Exam-Gen, a reproducible framework for constructing and auditing a text-based multiple-choice question (MCQ) benchmark for MS-MRI knowledge; it does not evaluate direct MRI image interpretation. MS-Exam-Gen targets source-grounded criteria, protocols, reporting, and differential diagnosis. The framework combines expert-source indexing, exam-oriented topic induction, evidence-grounded MCQ generation, automated quality audits, a same-family consistency screen, and empirical calibration. From a 66-source corpus indexed into 4,289 retrieval chunks, the pipeline produced a locked 3,058-item candidate benchmark spanning 16 topics and 53 subtopics. Evaluation across 12 primary LLM endpoints yielded 36,696 item-level predictions and separated performance over a 42.8-percentage-point accuracy range (89.7% to 46.9%). Across these endpoints, 25.5% of items were missed by at least four. Post-generation audits showed that refreshed construction reduced measurable answer cues, while option-order testing showed that absolute MCQ scores remain position-sensitive. Generated construction labels remain metadata rather than validated psychometric categories. Because expert adjudication and full option-order counterbalancing remain future work, MS-Exam-Gen is not a clinically certified examination. It should be interpreted as an automatically filtered, source-grounded candidate benchmark and reproducible audit workflow for item-level and topic-specific LLM evaluation.
BibTeX
@misc{basit2026ms,
  author = {Abdul Basit and Muhammad Abdullah Hanif and Muhammad Shafique},
  title = {{MS-Exam-Gen: Source-Grounded Benchmark Construction for Evaluating LLMs on Textual Multiple Sclerosis MRI Knowledge}},
  year = {2026},
  eprint = {2610.06170},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.06170},
}
Figure