Study design · Research feature

HypothesisMed improves reliability and parseability in biomedical AI question answering

A new framework evaluates biomedical question-answering models by measuring accuracy, parseability, and structured reliability beyond simple correctness.

Adapted from research by Md Motaleb Hossen Manik, Ge Wang.

arXiv preprint revision · 2026-05-31 · Attribution & reuse
In this article
Editorial illustration of aperture mechanism.

Editor’s introduction

The study evaluates HypothesisMed on MedQA, MedMCQA, and PubMedQA using four models, measuring answer accuracy, parse coverage, and structured reliability via SPACE labels. The framework combines direct and chain-of-thought prompting with answer fusion, improving both parse coverage and structured reliability reporting. Qwen2.5-7B fusion achieves full parse and SPACE coverage with reduced false commitments, while Phi-4-mini shows significant accuracy gains. However, the system struggles with diagnosing answer spaces under stress tests, with SPACE accuracy remaining low at 0.3074 and 0.4168 for Qwen2.5-7B and Phi-4-mini respectively. This demonstrates that accuracy and reliability metrics are distinct and separable. The research introduces a reproducible inference-time pipeline for auditing model behavior under structured constraints, without claiming universal performance superiority.

Introduction

Large language models (LLMs) are increasingly evaluated for biomedical and clinical question answering, medical education support, and biomedical literature reasoning. Recent medical LLM studies have moved beyond general natural language processing benchmarks and have evaluated models on medical examination questions, biomedical research questions, and consumer health questions. In these settings, the usual benchmark objective is to select the correct answer. However, correctness alone is not sufficient for reliability-sensitive biomedical workflows. A model may select the right option but produce an output that cannot be parsed automatically. It may also confidently select an answer even when the available options are incomplete, duplicated, ambiguous, or internally inconsistent.

Biomedical multiple-choice question answering is a useful setting for studying these issues because it requires both domain knowledge and constrained reasoning over a defined answer space. Benchmarks such as MedQA, MedMCQA, and PubMedQA are widely used to evaluate biomedical question answering systems. MedQA uses professional medical board examination questions, MedMCQA contains large-scale medical entrance examination questions, and PubMedQA focuses on biomedical research questions derived from PubMed abstracts. However, many benchmark evaluations primarily report final answer accuracy. Accuracy is necessary, but it does not fully characterize whether a model can follow structured output instructions, provide machine-parseable responses, expose uncertainty, or avoid high-confidence incorrect commitments.

This gap is important because recent LLM evaluation work argues that model assessment should include multiple dimensions beyond accuracy, including calibration, robustness, transparency, and other reliability-oriented properties. In biomedical applications, these concerns are amplified because fluent but incorrect model outputs can appear plausible and may be difficult to detect without additional reliability checks. Prior work on hallucination and LLM reliability has similarly emphasized that plausible but unsupported outputs remain a major obstacle to safe deployment. These concerns motivate evaluation protocols that measure not only whether an answer is correct, but also whether the answer is parseable, auditable, and accompanied by structured reliability information.

This paper addresses these questions through HypothesisMed, an inference-time pipeline for biomedical hypothesis-space reporting. In this paper, SPACE refers to the structured answer-space status field used by HypothesisMed-v3; it is a label name rather than a model name or performance metric. The core idea is to separate answer selection from reliability reporting. Direct prompting and chain-of-thought prompting provide answer candidates. HypothesisMed-v3 provides structured SPACE metadata, where SPACE describes whether the answer space is VALID, INCOMPLETE, or CONTRADICTED. The proposed method then uses answer fusion for final answer selection while retaining HypothesisMed-v3 outputs for reliability analysis. This design is related to prior inference-time reasoning strategies such as chain-of-thought prompting and self-consistency, but it targets structured biomedical reliability reporting rather than reasoning accuracy alone.

Biomedical Question Answering Benchmarks

Biomedical question answering benchmarks provide standardized tasks for evaluating medical knowledge, clinical reasoning, and biomedical evidence interpretation. MedQA introduced a multilingual medical question answering benchmark based on professional medical board examinations. MedMCQA provides a large-scale multiple-choice dataset derived from medical entrance examinations and covers a broad range of healthcare topics and medical subjects. PubMedQA evaluates biomedical research question answering over PubMed abstracts and requires yes, no, or maybe answers grounded in the corresponding abstract context. These datasets are frequently used in medical LLM evaluation because they cover complementary aspects of biomedical reasoning: examination-style medical knowledge, multi-subject medical question answering, and biomedical literature interpretation.

Several medical LLM studies have combined these datasets into broader evaluation suites. For example, MultiMedQA includes existing medical question answering datasets and additional consumer medical questions to evaluate medical knowledge and answer quality along multiple axes. Med-PaLM 2 further showed that medical-domain adaptation, prompting strategies, and ensemble-style refinement can substantially improve medical question answering performance. These studies demonstrate the value of biomedical QA benchmarks, but they also show that medical LLM evaluation increasingly requires more than a single accuracy score. The present work builds on these benchmark traditions while focusing on parseability, structured answer-space reporting, and false-commitment behavior.

Prompting, Reasoning, and Inference-Time Ensembling

Prompting strategies are central to LLM-based question answering. Direct prompting asks the model to produce an answer with minimal intermediate reasoning. Chain-of-thought prompting elicits intermediate reasoning steps before the final answer and has been shown to improve performance on multi-step reasoning tasks. Self-consistency extends chain-of-thought prompting by sampling multiple reasoning paths and selecting the most consistent answer, improving reasoning performance across several benchmark settings. These methods show that inference-time procedures can change model behavior without modifying model weights.

Biomedical question answering can benefit from inference-time reasoning and ensembling, but medical workflows also require reliable formatting and interpretable output behavior. A chain-of-thought response may improve final answer accuracy while producing long or inconsistent text that is harder to parse automatically. Similarly, majority-based answer fusion may improve answer selection but does not by itself indicate whether the model recognized a weak, incomplete, or contradicted answer space. HypothesisMed builds on the inference-time prompting tradition but separates final answer selection from structured reliability reporting.

Medical LLMs and Domain-Specialized Models

Medical LLM research has explored both general-purpose instruction-tuned models and biomedical-domain models. Med-PaLM and Med-PaLM 2 showed that large general-purpose models can be adapted and prompted for medical question answering, with evaluation spanning professional medical exams, biomedical research questions, and consumer health questions. Open-weight general-purpose model families such as Qwen2.5 and Phi-4 provide instruction-following baselines that can be evaluated locally and reproducibly. Reasoning-oriented models such as DeepSeek-R1 introduce another model class in which reinforcement learning is used to strengthen reasoning behavior. Biomedical-domain models such as BioMistral are adapted from general language models using biomedical corpora and evaluated on medical QA tasks.

These model families may differ not only in answer accuracy but also in instruction following, output format compliance, and structured reasoning behavior. This distinction is important for the present study because a model can have biomedical knowledge but still fail to produce parseable structured outputs. Conversely, a general instruction-tuned model may behave more reliably in an automated workflow even if it is not explicitly biomedical-domain specialized. Therefore, this paper evaluates models as workflow components, not only as answer generators.

Structured Output, Calibration, and Reliability Evaluation

Modern LLM evaluation increasingly emphasizes reliability dimensions beyond accuracy. The Holistic Evaluation of Language Models framework argues for multi-metric evaluation, including accuracy, calibration, robustness, fairness, bias, toxicity, and efficiency. This perspective is especially relevant in biomedical settings because a correct final answer does not guarantee that the response is parseable, calibrated, or safe to integrate into downstream workflows.

Structured output reliability is also important for automated biomedical evaluation. When a model is expected to produce a machine-readable answer, an unparseable output can become an operational failure even if the text contains useful information. More broadly, hallucination research has shown that LLMs can generate fluent but factually unsupported or inconsistent outputs, which motivates explicit reliability checks and uncertainty-aware evaluation. In medicine, uncertainty communication is especially important because incorrect confidence can mislead users and obscure model limitations. HypothesisMed contributes to this reliability-oriented direction by evaluating answer accuracy together with parse coverage, SPACE-label coverage, SPACE accuracy, calibration behavior, and false-commitment behavior.

Datasets and Evaluation Splits

We evaluate HypothesisMed on three biomedical question answering benchmarks: MedQA, MedMCQA, and PubMedQA. MedQA contains medical examination-style multiple-choice questions, MedMCQA contains large-scale medical multiple-choice questions spanning multiple medical subjects, and PubMedQA contains biomedical research questions derived from PubMed abstracts.

The primary four-model experiment uses fixed 1,000-example subsets from each dataset, yielding 3,000 examples per model. These deterministic subsets are named medqa_original1000, medmcqa_original1000, and pubmedqa_original1000. Each example contains a question, candidate answer options, and the benchmark gold answer. The reported aggregate metrics are weighted by the number of examples, which is equal across datasets in the primary experiment.

To address the limited size of the 1,000-example subsets, we also conduct a scaled evaluation on the two strongest structured-output models, Qwen2.5-7B-Instruct and Phi-4-mini-instruct. This scaled evaluation uses 5,000 MedQA examples, 4,183 MedMCQA examples, and 1,000 PubMedQA examples, for a total of 10,183 examples per model. The scaled evaluation is used to test whether the main conclusions persist beyond the original fixed 1,000-example subsets.

Because the original benchmark examples contain unmodified answer options, the gold SPACE label for these main benchmark evaluations is VALID. Therefore, SPACE accuracy on the original benchmark examples measures whether the model correctly recognizes standard benchmark answer spaces as valid when a SPACE label is extracted. This design tests whether structured reliability prompting introduces spurious claims of incompleteness or contradiction on standard biomedical QA inputs.

Expanded SPACE Stress Test

The original benchmark evaluation alone cannot fully validate whether SPACE labels detect genuinely defective answer spaces, because all original benchmark items are treated as VALID. We therefore construct an expanded controlled SPACE stress test from MedQA, MedMCQA, and PubMedQA. For each selected original item, we generate four answer-space variants: the original VALID item, an INCOMPLETE item created by removing the correct answer option, a CONTRADICTED item created by duplicating the correct answer under another option letter, and a second CONTRADICTED item created by making the answer space non-unique through another duplicated correct option. The stress test uses 1,000 base examples from each dataset, yielding 12,000 stress-test examples per model. This stress test is balanced by stress type rather than by SPACE label, because two contradiction-style perturbations are included for each base item.

Evaluation Metrics

Parse coverage is the fraction of examples for which the evaluation parser extracts a valid answer option from the model output. Low parse coverage indicates that a model may have generated text that is difficult to use in an automated workflow, even if the text contains useful reasoning.

SPACE coverage is the fraction of examples for which a valid SPACE label is extracted. In the main benchmark experiments, all original unmodified questions have gold SPACE label VALID. In the expanded SPACE stress test, gold SPACE labels are assigned by the controlled perturbation type.

SPACE accuracy is the fraction of extracted SPACE labels that match the gold SPACE label. On original benchmark examples, this measures whether the model avoids incorrectly labeling standard benchmark questions as INCOMPLETE or CONTRADICTED. On the expanded SPACE stress test, it measures whether the model identifies controlled answer-space defects.

False commitment measures high-confidence wrong-answer behavior. For structured Hypothe-sisMed-v3 outputs, an incorrect response is counted as a false commitment when the extracted confidence score is at least 0.5. For direct and chain-of-thought baselines, a parseable final answer without an extracted uncertainty signal is treated as a committed answer. Lower false commitment is better. This metric is intended to measure whether a method makes wrong answers while still appearing decisive.

Discussion, Limitations, and Future Work

The results show that answer accuracy, parseability, structured SPACE reporting, confidence behavior, and false commitment are separable capabilities in biomedical QA. In the primary four-model experiment, the proposed answer-fusion plus HypothesisMed-v3 SPACE pipeline improves weighted answer accuracy over each model’s best direct or chain-of-thought baseline while also increasing machine-parseable reliability reporting. The scaled evaluation provides a more nuanced conclusion. For Phi-4-mini, fusion substantially improves weighted accuracy over the best direct or chain-of-thought baseline, from 0.4296 to 0.5192 across 10,183 examples. For Qwen2.5-7B, chain-of-thought prompting remains slightly higher in scaled answer accuracy, with 0.6079 compared with 0.5953 for fusion. Nevertheless, the Qwen2.5-7B fusion pipeline provides complete parse coverage, complete SPACE coverage, and a much lower false-commitment rate than the direct and chain-of-thought baselines. Thus, the proposed pipeline should not be interpreted only as an accuracy-improvement method. Its broader contribution is to make biomedical QA outputs more observable, parseable, and auditable.

These findings extend prior inference-time reasoning work by showing that answer aggregation and reasoning prompts are not sufficient by themselves for reliability-sensitive biomedical workflows. Chain-of-thought prompting and self-consistency-style inference can improve answer selection, but they do not directly measure whether an output is machine-parseable, whether the answer space appears valid, or whether an incorrect answer is delivered with high confidence. The results also support broader multi-metric evaluation perspectives, which argue that accuracy should be evaluated alongside other reliability dimensions such as calibration, robustness, and transparency. In the biomedical setting, this distinction is important because a fluent or correct-looking response may still be difficult to audit or unsafe to use in an automated workflow.

The fusion ablation clarifies the role of each component. HypothesisMed-v3 alone is not consistently the strongest answer selector. Its main value is structured reliability reporting through SPACE labels and confidence values. Answer fusion contributes to answer selection by combining direct, chain-of-thought, and structured candidates, while HypothesisMed-v3 contributes answer-space metadata and false-commitment observability. This supports the design choice of separating answer selection from reliability reporting. The scaled fallback-order analysis further shows that the deterministic fallback order can affect accuracy, especially for Phi-4-mini. However, the larger pattern remains stable: fusion improves parseability and structured observability, while answer accuracy depends on model, dataset, and fallback behavior.

The expanded SPACE stress test addresses a key limitation of the original all-VALID benchmark setting. The original benchmark evaluation measures whether models avoid falsely labeling standard questions as incomplete or contradicted, but it cannot fully test whether SPACE labels detect genuine answer-space defects. The expanded stress test introduces controlled INCOMPLETE and CONTRADICTED variants by removing the correct option or making the correct option non-unique. The results show that both Qwen2.5-7B and Phi-4-mini usually produce SPACE labels, but correct SPACE classification remains difficult. Qwen2.5-7B reaches 0.3074 SPACE accuracy on 12,000 stress-test examples, while Phi-4-mini reaches 0.4168. This finding shows that structured answer-space diagnosis is measurable, but it is not solved by prompt-only instruction following.

Conclusion

This paper presented HypothesisMed, an inference-time reliability pipeline for biomedical multiple-choice question answering. The method separates answer selection from reliability reporting by combining direct prompting, chain-of-thought prompting, HypothesisMed-v3 structured prompting, and answer fusion. In the primary four-model evaluation across MedQA, MedMCQA, and PubMedQA, the proposed answer-fusion plus HypothesisMed-v3 SPACE method improves weighted answer accuracy over each model’s best direct or chain-of-thought baseline while adding structured SPACE reporting, parseability measurement, confidence metadata, and false-commitment analysis.

The scaled evaluation shows a more precise conclusion. For Phi-4-mini, fusion improves weighted accuracy substantially over the best direct or chain-of-thought baseline while also improving parse coverage and SPACE observability. For Qwen2.5-7B, chain-of-thought prompting remains slightly stronger in scaled answer accuracy, but fusion provides complete parse coverage, complete SPACE coverage, and substantially lower false commitment. Thus, HypothesisMed is best understood not simply as an accuracy-improvement method, but as a reliability and observability framework for biomedical QA workflows.

The expanded SPACE stress test further shows that SPACE-label prediction is not merely circular validation on all-VALID benchmark items. By introducing controlled incomplete and contradicted answer spaces, the stress test demonstrates that current open-weight models can produce structured SPACE labels but still struggle to classify defective answer spaces reliably. This supports the broader finding that biomedical answer selection and structured answer-space diagnosis are distinct capabilities.

Overall, biomedical LLM reliability cannot be reduced to answer accuracy alone. Answer accuracy, parseability, SPACE-label coverage, SPACE-label accuracy, calibration behavior, and false commitment represent distinct evaluation axes. HypothesisMed provides a reproducible framework for evaluating biomedical LLMs as auditable workflow components rather than only as answer generators, and the results show both the promise and the current limitations of prompt-based structured reliability reporting.