Editor’s introduction
The research finds that all models exhibit severe deficiencies in medical entity extraction, with entity F1 scores below 3% in zero-shot settings. Despite high semantic similarity scores, the models frequently fail to correctly identify key medical terms, creating a significant gap between fluency and factual accuracy. This discrepancy suggests that current evaluation methods relying solely on semantic similarity do not capture critical safety risks. The analysis also identifies performance disparities in topics related to chronic conditions in older and minority populations, indicating potential algorithmic bias. These findings suggest that architectural limitations in current models prevent reliable medical entity extraction, even when retrieval-augmented generation is used, and highlight the need for more rigorous, component-specific evaluation in medical AI systems.
Introduction
Patient facing healthcare applications increasingly utilize large language models (LLMs) to assist patients with questions about their medical condition or providing information on how to treat their symptoms. Although the potential of LLMs is to provide equal access to health-related information, they also pose a significant threat to both the safety and equity of our patients’ health. Vulnerable populations are likely to seek AI-generated health information as a primary means of obtaining medical guidance instead of as a complement to professional medical care. This reliance on AI-generated medical guidance can create harm for these vulnerable populations through delay in treatment, utilizing improper self-care actions, causing medication errors, and ultimately leading to serious health ramifications.
Recent research on prompt engineering has shown that strategic design of inputs can significantly impact how well a model performs. The use of chain-of-thought (CoT) prompts has improved model performance on complex reasoning tasks; Application of few-shot and in-context learning techniques has shown promise in enabling domain adaptation; and finally, RAG helps generates factual answers to knowledge-intensive tasks. Also, it has recently been shown that when researchers give explicit instructions to models to improve their accuracy, model performance can actually decline. In these cases, the models are putting more emphasis on following directions rather than generating factually correct responses. Current evaluation methods for AI have significant and systematic shortcomings in their assessment of equity because they do not appropriately reflect stratified performance for specific diseases, health topics or populations as a whole. Disparities in health information quality based on model performance across condition types represent a form of algorithmic bias that exists without explicit demographic consideration. This occurs because differential AI performance across health conditions correlates with age, socioeconomic status, and race/ethnicity due to historical patterns of chronic disease burden.
Related Work
LLMs are an increasing source of Medical Question/Answering (QA) systems to provide patient education, support for triage, and access to Public Health information. Research has compared and contrasted General Purpose LLMs and Medically Designed LLMs using various current benchmarks, like PubMedQA. Although these benchmarks provide a standardised signal of LLM medical knowledge, many rely on exam-type or multiple-choice questions designed for clinician assessment. This approach tends to overlook risks in patient-facing QA, failing to account for entity-level errors, omissions, or partial correctness. Such errors may cause harm when LLMs provide fluent yet semantically misleading responses. The evaluation methods of LLMs for medicine follow the same patterns that were established in the research of Natural Language Generation using metrics such as BLEU, ROUGE, and METEOR, as well as metrics based on embedding models (BERTScore). Current strategies evaluate models based on output similarity to reference documents, yet they do not address medically relevant issues. These include entity misreferencing, conflicting information compared to clinical guidelines, and insufficient safety-related detail. Responding to these challenges, recent evaluations have been established that incorporate new metrics such as evaluating the degree of factuality using dependency parsing, question generation from reference texts, and utilization of a variety of natural language inferencing methods. Several tools have been developed for extracting and confirming clinically relevant entities to verify LLM factual accuracy. However, these methods are typically applied independently, without integration to determine how medically relevant errors interact or trade off against each other.
Recent surveys provide comprehensive overviews of QA evaluation metrics. Lexical metrics (BLEU, ROUGE) and embedding-based measures (BERTScore) capture surface-level similarity but cannot detect entity omissions or factual contradictions. Factuality metrics (FactCC, QAGS) address truthfulness but not medical entity precision. VB-Score integrates these dimensions with explicit entity extraction and structured completeness for comprehensive medical QA auditing. There has been significant scholarly attention paid to issues of fairness and equity within AI-enabled healthcare through predictive and decision-support systems. Researchers have demonstrated how a) biased datasets, b) proxy variables; and c) context of deployment create systematic disadvantages for marginalised individuals. A number of studies have resulted in established auditing frameworks for classification and regression models. However; these frameworks are not necessarily applicable to generative systems such as QA for medicine. In addition to differing demographic treatment, some people may also experience harm from uneven condition/topic-specific performance across medical knowledge domains (i.e.; types of medical knowledge), which can have an adverse impact on marginalised populations. There is existing scholarly research on bias present within generative language models, including stereotyping and racism-based medical reasoning; however, most evaluations fail to analyse whether condition-specific performance disparities will result in the indirect reproduction or exacerbation of health inequities experienced by marginalised communities.
This research expands the current body of literature by providing a domain-specific and weighted evaluation methodology as well as allowing the user to identify specific failure points through component-level evaluation rather than through an aggregated similarity score. The study provides an analysis of differences in the components of performance across the various disease population categories and types of questions in order to develop additional insight into disease-specific inequities. This study provides an empirical analysis of how the use of different prompt methods change failure profiles, so that assumptions can be made regarding the potential increase in failure modes. Also, we’ve tested free and paid versions of our LLMs in a controlled testing environment to determine if both types of LLMs could provide the same access to, and therefore equitable, high-quality answers to questions regarding health care.
VB-Score Framework
VB Score (Verification-Based Score) was created to address three critical weaknesses of semantic similarity metrics when being used in a clinical environment. First, semantic similarity metrics measure how closely and consistently two documents’ concepts align but do not measure how accurately a response matches the actual entity for that concept, because “medication” is totally different from “acetaminophen 500 mg every 6 hours” in terms of clinical applicability, although they will have similar semantic features. Second, even though two documents’ concepts may be semantically aligned, they might also have contradictory facts. Third, medical guidance often includes a structured enumeration of symptoms, the progression of treatment, and the potential contraindications to that treatment, and if any of these areas are incomplete, there could be a significant risk of unsafe treatment, even if the recommendation you made is semantically aligned with an appropriate response. Therefore, our goal in developing VB Score was to develop a composite metric that independently measures and appropriately weighs the importance of these three dimensions when assessing safety in the medical QA process.
Entity Extraction Pipeline Details
We validated the extraction pipeline on 20 samples with 127 manually-identified key medical entities, successfully detecting 78 of these entities (recall = 61%). The pipeline intentionally extracts broadly, so precision against our curated list is low by design where the goal is to ensure medically-relevant terms are not missed. The low LLM Entity F1 scores (mean 6.2%) reflect genuine model behavior, not extraction pipeline failure. Models generate vague paraphrases instead of specific entities, omit dosages, frequencies, and contraindications, and use generic terms (“medication”) instead of specific names (“ibuprofen”). This behavior is precisely what our framework is designed to detect i.e. fluent responses that lack clinical precision.
Semantic-Entity Gap Analysis (RQ3)
Analysis of overlapping failure rates reveals numerous dangerous combinations. Specifically, of the high similarity / low recognition sample sets, 56.3% of the sample responses from GPT-4 exhibited dangerous combinations of high similarity / low entity recognition with 66.7% of the sample responses from Claude and 43.8% from Gemini. In these samples with high semantic similarity, 44% to 67% were topically relevant but were still not precise enough to be classified as medically appropriate-i.e., the gap between semantic and entity definitions caused these samples not to meet a standard for medical AI evaluation. Conversely, of the samples with high semantic similarity BUT contradictions of factual information, the highest percentage of responses was found in the sample responses from GPT-4, which contained 37.5%, followed by responses from Claude (64.6%) and responses from Gemini (only 14.6%).
The gap between semantic meaning and the recognition of entities in each model creates fluent responses but lacks precision in meaning. A user can see the response from GPT-4 as fluent and helpful whereas the response from Gemini is more factual but sounds less fluent and sophisticated.
Discussion
Our study demonstrates that current general-purpose LLMs are fundamentally misaligned with the requirements of medical question answering, exhibiting severe failures in medical entity extraction despite moderate semantic fluency. Across models and prompt configurations, Entity F1 scores remained below 3% in zero-shot settings while semantic similarity exceeded 45%, revealing a large semantic–entity gap that produces fluent but potentially harmful misinformation. Although retrieval-augmented generation improves overall performance and reduces contradictions, entity-level accuracy remains below 10% even under perfect retrieval, indicating architectural limitations rather than prompt or retrieval deficiencies. Prompt engineering and few-shot learning were similarly ineffective and sometimes degraded performance, underscoring that medical QA cannot be solved through instruction tuning alone. These failures have significant equity implications, as performance disparities across disease categories disproportionately affect populations with higher chronic disease burdens. Notably, within our benchmark, a free model (Gemini 2.5 Flash) achieved higher VB-Scores than paid alternatives. Though we discuss potential explanations for this finding below there remains challenging assumptions about cost and quality and reinforcing the need for independent empirical validation. Collectively, these findings highlight the necessity of purpose-built medical AI systems with explicit entity extraction, factual verification, and fairness-aware evaluation, rather than relying on fluent general-purpose LLMs for patient-facing medical guidance. Gemini 2.5 Flash’s higher VB-Scores relative to alternatives warrant careful interpretation. Our DeBERTa-based NLI model may favor certain response patterns, and Gemini’s outputs may align more closely with its training data. Gemini also produces more conservative, hedged responses that score as less contradictory even if less actionable. Our 48-topic benchmark detects large effects but may not distinguish smaller differences, so rankings should be interpreted as benchmark-specific. Gemini is also the most recent model, potentially benefiting from newer training data. These explanations do not diminish our primary contribution that is demonstrating systematic entity extraction failures across all models with a caution against over-interpreting cross-model rankings. We rely on automated metrics without clinician annotation. Human evaluation by medical professionals would strengthen validity. The 48-topic benchmark does not represent the full breadth of medical knowledge, and results may not generalize to specialized clinical domains, rare diseases, or non-English languages. Our entity matching does not match medical synonyms or paraphrases, which may underestimate performance when clinically equivalent terms are used.
B.3. Cost-Effectiveness Analysis (RQ4)
Gemini 2.5 Flash is a no-cost model that, under our evaluation protocol, achieved higher VB-Scores than paid alternatives. While this observation warrants further investigation across larger benchmarks, it raises questions about whether cost is a reliable proxy for quality in medical AI.
Within our benchmark, Gemini showed advantages in several performance categories relative to GPT-4: factual consistency (0.696 vs 0.338, +106%), overall VB-Score (0.340 vs 0.271, +25.4%), and contradiction rate (18.8% vs 54.2%). However, these differences may partially reflect evaluator bias, response style differences, or sample-specific effects rather than inherent model superiority.
Paid medical AI systems exhibit some slight advantages over free systems in certain areas where all current AI systems fail. While GPT-4 achieves higher Entity F1 than Gemini (0.071 vs. 0.050, a 41% difference), both systems score below 10%, making the difference not clinically relevant. For semantic similarity, GPT-4 scored 0.535 while Gemini scored 0.494 (an 8% difference), reflecting a slight advantage in fluency. For structured overlap, Claude scored 0.059 while Gemini scored 0.020 (a 201% difference), but again, due to both systems scoring less than 10%, their combined differences do not provide meaningful clinical implications. These findings show that paid models provide marginal advantages in areas where all systems underperform; however, within our benchmark, Gemini achieves substantially higher scores in factual consistency as well as in overall VB-Score.
These findings have implications for equitable access to medical QA. If our benchmark results generalize, financial barriers may not be necessary for deploying effective medical QA systems. Organizations with limited resources (such as community health centers, NGOs, and global health organizations) could potentially access high-performing models without cost. Small clinics may deploy these systems as zero-cost API systems, health education platforms may reach millions of users, and global health applications may be deployable in resource-limited settings with internet connectivity. However, we emphasize that deployment decisions should be based on rigorous validation beyond our benchmark.
B.4. Disease Category Performance Disparities (RQ5)
Within our 48-topic benchmark, we observed that model performance was consistently higher for infectious disease topics compared to chronic disease topics. While this pattern warrants attention, we present these findings as bounded observations within our specific evaluation protocol rather than definitive evidence of systemic algorithmic discrimination.
Of the 48 samples we included in our analysis, 19 represented infectious diseases (acute respiratory illnesses such as COVID-19, influenza, pneumonia, and tuberculosis, for example; other types of bacterial infections; vaccine-preventable diseases, for example, measles and chickenpox; other types of vector-borne diseases such as dengue; and chronic infections such as HIV and hepatitis B) and chronic conditions (metabolic disorders such as diabetes, obesity; cardiovascular diseases such as hypertension and heart disease; respiratory disease such as asthma, COPD; musculoskeletal diseases such as arthritis; mental health disorders such as depression; maternal and nutritional health; environmental health impacts; and general cancer-related).
The Component Analysis shows that the difference is primarily in Factual Consistency. The Infectious diseases achieved an Entity F1 of 0.0658, Semantic Similarity of 0.5145, Factual Consistency of 0.4234 and Structured Overlap of 0.0345. The Chronic conditions achieved an Entity F1 of 0.0607, Semantic Similarity of 0.5162, Factual Consistency of 0.3790 and Structured Overlap of 0.0365. The difference shows for Entity F1, +0.0051; for Semantic Similarity, -0.0017; but for Factual Consistency, +0.0444 (Factual consistency +11.7% higher for Infectious diseases); for Structured Overlap, -0.0020. The advantage of Infectious diseases is primarily due to their better Factual Consistency and not to their better Entity Recognition or Similarity. This indicates that the authoritative guidance on Infectious diseases is likely to be more standardized and thus easier for the models to follow.
Patterns are highlighted using topic-level examples; the outstanding levels of “factual consistency” found in the following infectious diseases include CDC Tuberculosis (Gemini VB-Score:0.5201, Factual Consistency: 1.00); CDC Cancer (Gemini VB-Score: 0.5557, Factual Consistency: 1.00); WHO Nutrition (Gemini VB-Score: 0.5636, Factual Consistency: 1.00); and NHS Pneumonia (Gemini VB-Score: 0.5048, Factual Consistency: 1.00). However, the chronic diseases, represented by the following examples, provided weak performance levels: Mayo Clinic Diabetes Type I (GPT-4 VB-Score: 0.0342, Factual Consistency: 0.00 contradiction); NHS Anxiety (GPT-4: 0.0691, Factual Consistency: 0.00); CDC Flu Vaccinations (All Models: <0.10 and Factual Consistency: 0.00 to 0.50); NHS Obesity (Claude VB-Score: 0.1136; Factual Consistency: 0.00).


