<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "journalpublishing.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="2.0" xml:lang="en" article-type="research-article"><front><journal-meta><journal-id journal-id-type="nlm-ta">JMIR Form Res</journal-id><journal-id journal-id-type="publisher-id">formative</journal-id><journal-id journal-id-type="index">27</journal-id><journal-title>JMIR Formative Research</journal-title><abbrev-journal-title>JMIR Form Res</abbrev-journal-title><issn pub-type="epub">2561-326X</issn><publisher><publisher-name>JMIR Publications</publisher-name><publisher-loc>Toronto, Canada</publisher-loc></publisher></journal-meta><article-meta><article-id pub-id-type="publisher-id">v10i1e97902</article-id><article-id pub-id-type="doi">10.2196/97902</article-id><article-categories><subj-group subj-group-type="heading"><subject>Original Paper</subject></subj-group></article-categories><title-group><article-title>Evaluating Retrieval-Augmented Large Language Models on Anesthesiology Board-Style Questions: Benchmark Study</article-title></title-group><contrib-group><contrib contrib-type="author"><name name-style="western"><surname>Phuong</surname><given-names>Nguyen Quang</given-names></name><degrees>BS</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author"><name name-style="western"><surname>Ruan</surname><given-names>Shanq-Jang</given-names></name><degrees>PhD</degrees><xref ref-type="aff" rid="aff1">1</xref></contrib><contrib contrib-type="author" corresp="yes"><name name-style="western"><surname>Chen</surname><given-names>Pei-Fu</given-names></name><degrees>MD, PhD</degrees><xref ref-type="aff" rid="aff2">2</xref></contrib></contrib-group><aff id="aff1"><institution>Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology</institution><addr-line>Taipei</addr-line><country>Taiwan</country></aff><aff id="aff2"><institution>Department of Anesthesia, University of Iowa</institution><addr-line>200 Hawkins Drive, 6 JCP</addr-line><addr-line>Iowa City</addr-line><addr-line>IA</addr-line><country>United States</country></aff><contrib-group><contrib contrib-type="editor"><name name-style="western"><surname>Mavragani</surname><given-names>Amaryllis</given-names></name></contrib></contrib-group><contrib-group><contrib contrib-type="reviewer"><name name-style="western"><surname>Shen</surname><given-names>Bairong</given-names></name></contrib><contrib contrib-type="reviewer"><name name-style="western"><surname>Liu</surname><given-names>Xing</given-names></name></contrib></contrib-group><author-notes><corresp>Correspondence to Pei-Fu Chen, MD, PhD, Department of Anesthesia, University of Iowa, 200 Hawkins Drive, 6 JCP, Iowa City, IA, 52242, United States, 1 319-356-2502; <email>pei-fu-chen@uiowa.edu</email></corresp></author-notes><pub-date pub-type="collection"><year>2026</year></pub-date><pub-date pub-type="epub"><day>11</day><month>8</month><year>2026</year></pub-date><volume>10</volume><elocation-id>e97902</elocation-id><history><date date-type="received"><day>11</day><month>04</month><year>2026</year></date><date date-type="rev-recd"><day>04</day><month>06</month><year>2026</year></date><date date-type="accepted"><day>01</day><month>07</month><year>2026</year></date></history><copyright-statement>&#x00A9; Nguyen Quang Phuong, Shanq-Jang Ruan, Pei-Fu Chen. Originally published in JMIR Formative Research (<ext-link ext-link-type="uri" xlink:href="https://formative.jmir.org">https://formative.jmir.org</ext-link>), 11.8.2026. </copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (<ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">https://creativecommons.org/licenses/by/4.0/</ext-link>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Formative Research, is properly cited. The complete bibliographic information, a link to the original publication on <ext-link ext-link-type="uri" xlink:href="https://formative.jmir.org">https://formative.jmir.org</ext-link>, as well as this copyright and license information must be included.</p></license><self-uri xlink:type="simple" xlink:href="https://formative.jmir.org/2026/1/e97902"/><abstract><sec><title>Background</title><p>Open-source, mid-scale large language models (LLMs) have emerged as scalable, privacy-preserving alternatives to ultra-large foundation models (eg, GPT-4) in health care systems. Techniques such as retrieval-augmented generation (RAG) enable sub-100-billion-parameter models to address highly specialized medical domains such as anesthesiology. However, studies evaluating RAG architectures on complex medical examinations remain scarce, highlighting the need for rigorous benchmarking to bridge the gap between raw parametric knowledge and clinically relevant application.</p></sec><sec><title>Objective</title><p>This study aimed to systematically evaluate RAG pipelines for answering anesthesiology board-style questions, quantify the effects of key design choices including hyperparameter settings, embedding models, source complexity, and chunking strategies, and compare the performance of reasoning-oriented models with that of conventional LLMs.</p></sec><sec sec-type="methods"><title>Methods</title><p>We conducted large-scale benchmarking using American Board of Anesthesiology-style multiple-choice questions to compare multiple RAG-enabled configurations with matched standalone LLM baselines. Configurations were first optimized on a 46-item diagnostic set and then validated on a 350-item corpus. Additional experiments on three 100-question subsets derived from the 350-item corpus were used to assess the effects of source selection, source complexity, information density, and chunking strategy on answer accuracy. Models including Llama-3-8B-Instruct, Llama-3.1-8B-Instruct, Llama-3.2-3B-Instruct, Llama-3.3-70B-Instruct, Qwen2.5-7B and Qwen2.5-72B, and Qwen3-8B and Qwen3-32B reasoning models were evaluated under this framework. Self-reflective RAG (self-RAG) with adaptive retrieval techniques was also implemented and evaluated. Cochran Q and McNemar tests were used to assess performance differences across configurations and model pairs.</p></sec><sec sec-type="results"><title>Results</title><p>The RAG framework increased the number of correct answers. System stability peaked under highly deterministic sampling configurations (temperature=0.1, top-p [nucleus sampling]=0.1). High-capacity general-text embeddings and applying context-preserving semantic chunking further improved accuracy. Standard RAG provided only modest gains over nonaugmented baselines, improving accuracy from 50.29% to 56.57%, and self-RAG yielded similarly limited gains of up to 4.85 percentage points. Overall, the Qwen family outperformed the Llama series. The 32-billion-parameter reasoning model Qwen-3-32B achieved an 89% correct ratio under complex distractor-heavy retrieval conditions and up to 96% with direct context, significantly outperforming the much larger 72-billion-parameter conventional model Qwen-2.5-72B-Instruct (84%). Smaller reasoning models also showed greater robustness to noise or suboptimal retrieved documents than larger conventional LLMs. Within the Llama family, increasing parameter size to 70 billion did not produce proportional performance gains on this benchmark.</p></sec><sec sec-type="conclusions"><title>Conclusions</title><p>RAG-based LLM systems improved performance on anesthesiology board-style questions, but gains depended strongly on retrieval design. Careful optimization of retrieval settings, embeddings, and chunking strategies improved robustness and answer accuracy. Reasoning-oriented models demonstrated that multistep reasoning can, in some settings, compensate for larger parameter scale. These findings provide a methodological foundation for developing locally deployable LLM systems for anesthesiology education within structured examination settings.</p></sec></abstract><kwd-group><kwd>retrieval-augmented generation</kwd><kwd>anesthesiology board examination</kwd><kwd>large language model</kwd><kwd>reasoning model</kwd><kwd>embedding model</kwd></kwd-group></article-meta></front><body><sec id="s1" sec-type="intro"><title>Introduction</title><p>Large language models (LLMs), ranging from millions to trillions of parameters, have evolved from general-purpose chatbots to tools under active study across health care delivery, research, and education, with early evidence synthesized across multiple domains [<xref ref-type="bibr" rid="ref1">1</xref>]. Reviews emphasize both the promise of LLMs to support clinical workflow and answer medical examination questions, as well as the need to mitigate risks such as bias and hallucinations [<xref ref-type="bibr" rid="ref2">2</xref>]. Methodological guidance calls for transparent, task-representative benchmarking, standardized reporting, and reproducible evaluation to determine clinical or educational utility [<xref ref-type="bibr" rid="ref3">3</xref>]. A meta-analysis of ChatGPT (OpenAI) versions across medical licensing examinations found that newer techniques tend to achieve higher pass rates, yet performance varied by different question types [<xref ref-type="bibr" rid="ref4">4</xref>].</p><p>A comprehensive review of 16 LLMs across 198 medical exams reported that GPT-4 outperformed many peers, passing 131 of 262 exam sets (50%) [<xref ref-type="bibr" rid="ref5">5</xref>]. On United States Medical Licensing Examination (USMLE) question sets (AMBOSS Step 1/2 and NBME Free Step 1/2), ChatGPT achieved 42%&#x2010;64.4% accuracy and exceeded the 60% passing threshold on NBME-Free-Step1 [<xref ref-type="bibr" rid="ref6">6</xref>]. In a separate analysis, ChatGPT approached or met the passing threshold across USMLE Steps 1, 2 CK, and 3, indicating potential for clinical education [<xref ref-type="bibr" rid="ref7">7</xref>]. More recently, GPT-4 Omni had outscored earlier models across USMLE disciplines and clinical skills but still showed content-area variability [<xref ref-type="bibr" rid="ref8">8</xref>]. Collectively, these findings indicate that even state-of-the-art models can experience performance declines as item difficulty increases, underscoring the need to validate robustness across difficulty strata and exam blueprints.</p><p>LLMs demonstrated strong performance on general medical exams, with accuracy very close to the pass threshold, which has motivated experiments in the discipline-specific medical domain, such as the American Board of Anesthesiology (ABA) exam. In the ABA-style exam, an early study found that GPT-4 outperformed GPT-3.5 and Bard on review-book questions, yet still fell short of the 70% passing threshold, offering explanations that were not consistently aligned with medical consensus. This highlights the need for domain-aligned methods and evaluation [<xref ref-type="bibr" rid="ref9">9</xref>]. In the Japanese Society of Anesthesiologists&#x2019; written exam, GPT-4 (~50%) outperformed GPT-3.5 but still fell below the passing cutoffs, with specialty-specific and item-format constraints limiting accuracy [<xref ref-type="bibr" rid="ref10">10</xref>]. A human-benchmarked study on the Chilean anesthesiology certification exam revealed that reasoning models led (GPT-o1, 88.7%), with accuracy declining as items became more challenging; most errors occurred in application or understanding tasks and involved flawed reasoning or incorrect application of knowledge [<xref ref-type="bibr" rid="ref11">11</xref>]. For the ABA exam specifically, GPT-4 was reported to pass BASIC and ADVANCED sections with scores of 78% and 80%, but performance still varied by topic area [<xref ref-type="bibr" rid="ref12">12</xref>]. In parallel, a letter from the Royal College of Anesthetists, reporting 27 questions, noted that GPT4 achieved a significantly higher average score of 67% correct than GPT3.5&#x2019;s 43%, and flagged concerns about bias, transparency, and the explainability of generated answers [<xref ref-type="bibr" rid="ref13">13</xref>]. While another study found LLMs exceeding the 70% threshold on ABA BASIC-style sets, these analyses, which use publicly available BASIC items and assumptions about item reuse, complicate inferences about actual ABA readiness and its effects on physicians&#x2019; training and assessment [<xref ref-type="bibr" rid="ref14">14</xref>,<xref ref-type="bibr" rid="ref15">15</xref>].</p><p>Augmenting models with domain-specific sources via retrieval-augmented generation (RAG) improved internal medicine board performance for GPT-3.5/4 by approximately 4.5%&#x2010;7.5% when accessed via the application programming interface. However, the interface choice itself affected scores, with application programming interface results 3.2%&#x2010;5.3% lower than chatbot results [<xref ref-type="bibr" rid="ref16">16</xref>]. A multilingual benchmark with gold rationales further showed that, even with state-of-the-art RAG, English accuracy plateaued around 75% and was about 10 percentage points lower in other languages, highlighting persistent challenges in retrieving the proper evidence and in evaluating reasoning quality [<xref ref-type="bibr" rid="ref17">17</xref>]. RAG can improve the accuracy of smaller models and narrow the gap to larger models; however, current evidence does not show consistent parity across medical exams [<xref ref-type="bibr" rid="ref16">16</xref>,<xref ref-type="bibr" rid="ref17">17</xref>]. Model sizes were not consistently reported, and neither study establishes size-based parity [<xref ref-type="bibr" rid="ref16">16</xref>,<xref ref-type="bibr" rid="ref17">17</xref>]. Smaller models can also support on-premises or locally hosted deployment, which may better align with privacy-preserving requirements and regulatory expectations in clinical settings [<xref ref-type="bibr" rid="ref18">18</xref>].</p><p>Together, these observations define the gap: comprehensive, reliability-focused studies in anesthesiology that directly test when and how advanced RAG, through source selection, source complexity, and chunking, improves performance on ABA-style questions remain scarce. Accordingly, we evaluate LLM performance on an extensive ABA-style question bank, quantify the incremental gains of RAG over bare generation, and systematically vary source selection and complexity while contrasting naive versus semantic chunking with exam-aligned materials [<xref ref-type="bibr" rid="ref19">19</xref>]. We also evaluate recently released reasoning models that integrate a unified, multistep reasoning approach to quantify their incremental value over conventional models, thereby strengthening the applicability and generalizability of our study [<xref ref-type="bibr" rid="ref20">20</xref>].</p><p>This study makes 3 main contributions. First, we provide a systematic procedure for tuning and optimizing retrieval hyperparameters, as well as for selecting and implementing chunking strategies in RAG-enabled systems for medical education, with a focus on anesthesiology. Second, we conduct a comprehensive benchmark on an ABA-style question bank, evaluating multiple RAG configurations under standardized prompts and across graded retrieval-complexity tiers (bare, direct, combined easy, medium, and hard). Third, we demonstrate the incremental value of reasoning models over conventional language models on the same benchmark, quantifying their added benefit for medical examination question answering.</p><p>Accordingly, the aim of this study is to systematically benchmark RAG pipelines for answering anesthesiology board-style multiple-choice questions. Specifically, we evaluate how key design choices, including hyperparameter settings, embedding models, retrieval strategies, and chunking approaches, influence model performance. In addition, we compare reasoning-oriented models with conventional LLMs under varying retrieval complexity conditions. This study is positioned as a controlled benchmarking evaluation rather than a clinical validation, with the goal of providing methodological insights into optimizing RAG systems for medical education tasks.</p></sec><sec id="s2" sec-type="methods"><title>Methods</title><sec id="s2-1"><title>Ethical Considerations</title><p>This study did not involve human participants, patient data, protected health information, biological specimens, or animal subjects. The study evaluated computational models using publicly available anesthesiology board-style educational materials. Therefore, institutional review board approval and informed consent were not required in accordance with institutional and applicable regulations. No personally identifiable information was collected, analyzed, or reported.</p></sec><sec id="s2-2"><title>Study Design</title><p>To identify optimal configurations and establish a comprehensive benchmark, we conducted comparative experiments between RAG pipeline configurations and their nonaugmented baseline counterparts. To ensure robust evaluation, the study implemented and tested a diverse range of retrieval techniques and current model advancements. <xref ref-type="fig" rid="figure1">Figure 1</xref> summarizes the overall experimental framework, benchmark datasets, and the relationship between the 5 experiments.</p><fig position="float" id="figure1"><label>Figure 1.</label><caption><p>Overview of the experimental framework and benchmark datasets used throughout the study. The flowchart summarizes the purpose of each experiment, the associated datasets, and the progression from diagnostic hyperparameter exploration to large-scale retrieval and reasoning-oriented benchmarking experiments. ABA: American Board of Anesthesiology; RAG: retrieval-augmented generation.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig01.png"/></fig></sec><sec id="s2-3"><title>Experiment 1: Searching for an Optimal Creativity Control</title><sec id="s2-3-1"><title>RAG Pipeline Architecture</title><p>The RAG architecture, illustrated in <xref ref-type="fig" rid="figure2">Figure 2B</xref>, comprised five components: document parsing, embedding generation, vector storage, prompt engineering, and response generation. The workflow began with a parser module that segments the source documents into discrete semantic chunks. Subsequently, the embedding model transformed these segments into high-dimensional vector representations, which were indexed in a vector database to facilitate efficient semantic similarity search [<xref ref-type="bibr" rid="ref21">21</xref>]. While higher vector dimensions correlate with increased text expressiveness, they also incur higher computational costs; therefore, our model selection balanced performance with efficiency. Relevant context is subsequently retrieved and integrated into the prompt template to guide the generation model.</p><fig position="float" id="figure2"><label>Figure 2.</label><caption><p>Schematic overview of the experimental system architectures used in this anesthesiology board-style question-answering benchmark study. LLM: large language model.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig02.png"/></fig><p>During the retrieval stage, input queries (exam questions) were projected into the vector space, and relevant document chunks were retrieved based on cosine similarity scores. These retrieved contexts were integrated into a structured prompt template and forwarded to the generation model. Generated answers were evaluated against the ground truth to calculate accuracy metrics (ie, the percentage of correct answers). For comparison, a baseline evaluation was conducted in a standalone setting (<xref ref-type="fig" rid="figure2">Figure 2A</xref>), relying solely on the LLM&#x2019;s internal parameters to generate responses.</p></sec><sec id="s2-3-2"><title>Hyperparameter Optimization and System Configuration</title><p>In knowledge-intensive domains such as clinical anesthesiology, it is essential that language models demonstrate strict adherence to instructions, ensure factual grounding in retrieved data, and maintain consistency and explainability. To optimize for these requirements, we implemented a grid search strategy across four parameters: top-probability (top-p), temperature (temp), retrieval depth (top-k<italic>)</italic>, and the embedding model (<xref ref-type="fig" rid="figure3">Figure 3</xref>).</p><fig position="float" id="figure3"><label>Figure 3.</label><caption><p>Configuration of experimental hyperparameters across the 46-question American Board of Anesthesiology-style validation subset. The generation model&#x2019;s performance was evaluated across a parameter space defined by varying temperature and top-p values, and the results were clustered into three stability zones (&#x201C;Normal,&#x201D; &#x201C;Fine,&#x201D; and &#x201C;Very Fine&#x201D;). For the retrieval-augmented generation pipeline, distinct retrieval settings were tested, including three top-k depths (4, 8, 12) and four distinct embedding models (stella-en_400M_v5, BioBERT-mnli-snli-scinli-scitail-mednli-stsb, MedEmbed-large-v0.1, and pubmedbert-base-embeddings). RAG: retrieval-augmented generation</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig03.png"/></fig><p>The combination of top-p (nucleus sampling) and temp (temperature) regulates the stochasticity and &#x201C;creativity&#x201D; of the generation model by reshaping the output logit distribution [<xref ref-type="bibr" rid="ref22">22</xref>,<xref ref-type="bibr" rid="ref23">23</xref>]. As illustrated in the heatmap in <xref ref-type="fig" rid="figure3">Figure 3</xref>, we stratified the parameter space into three stability zones: normal, fine, and very fine, which correspond to high, medium, and low levels of output variability, respectively. This stratification enables assessment of model reliability across varying degrees of deterministic constraint.</p><p>The retrieval component was tuned using the top-k parameter, which dictates the number of relevant document chunks retrieved and ranked by similarity. We evaluated three retrieval depths (top-k=4, 8, and 12) to analyze the trade-off between maximizing information recall and minimizing context noise. Additionally, four embedding models were benchmarked: a general-purpose text embedding (GTE) model (Stella_en_400M_v5) and 3 domain-specific models fine-tuned on clinical and biomedical corpora: BioBERT-mnli-snli-scinli-scitail-mednli-stsb, MedEmbed-large-v0.1, and pubmedbert-base-embeddings.</p><p>Meta-Llama-3-8B-Instruct was selected as the generation model for all RAG configurations. This model was chosen for its optimal balance of performance and efficiency, featuring a compact size of 8 billion parameters, support for prequantization, and state-of-the-art reasoning capabilities across diverse benchmarks [<xref ref-type="bibr" rid="ref24">24</xref>].</p><p>To identify the optimal configuration, we used the BASIC exam sample questions, a set of practice items designed for the American Board of Anesthesiology examination, as the ground-truth benchmark [<xref ref-type="bibr" rid="ref25">25</xref>]. The original dataset comprises 47 questions; however, question 25 was excluded due to its reliance on visual data interpretation, which is unsupported by the text-only structure of the Llama-3 models. Consequently, the final evaluation was performed on 46 validated items. (Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>) Because hyperparameter tuning was conducted on a relatively small 46-question subset, the selected parameter combinations should be interpreted as reference settings for the present experimental framework rather than universally optimal values. For the retrieval component, the textbook <italic>Miller&#x2019;s Anesthesia</italic> [<xref ref-type="bibr" rid="ref26">26</xref>] served as the external knowledge source, processed via a PDF parsing pipeline to facilitate vector indexing.</p></sec></sec><sec id="s2-4"><title>Experiment 2: Large-Scale Benchmark Evaluation of Embedding-and-Retrieval-Depth-Evaluation</title><p>To assess the external validity of the RAG configurations on a comprehensive dataset, we assembled a 350-item evaluation set from <italic>Anesthesiology Examination and Board Review (7th ed</italic>) [<xref ref-type="bibr" rid="ref19">19</xref>]. (Table S2 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>) The question pool was primarily derived from summary chapters 10 and 20, selected for their breadth and topical heterogeneity, and supplemented with items from other chapters to yield a balanced distribution. (<xref ref-type="table" rid="table1">Table 1</xref>)</p><table-wrap id="t1" position="float"><label>Table 1.</label><caption><p>Distribution of the 350-item evaluation set derived from Anesthesiology Examination and Board Review (7th ed) used for large-scale benchmarking of retrieval-augmented large language models.</p></caption><table id="table1" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Chapter</td><td align="left" valign="bottom">Topic</td><td align="left" valign="bottom">Total questions (n=350)</td><td align="left" valign="bottom">Question indices<sup><xref ref-type="table-fn" rid="table1fn1">a</xref></sup></td></tr></thead><tbody><tr><td align="left" valign="top">10</td><td align="left" valign="top">Practice test</td><td align="left" valign="top">132</td><td align="left" valign="top">1&#x2010;31, 35&#x2010;62, 65&#x2010;127, 130&#x2010;135, 138&#x2010;141</td></tr><tr><td align="left" valign="top">17</td><td align="left" valign="top">Anesthesia for miscellaneous procedures</td><td align="left" valign="top">10</td><td align="left" valign="top">397&#x2010;399, 404, 405, 410, 413&#x2010;414; 423&#x2010;424</td></tr><tr><td align="left" valign="top">18</td><td align="left" valign="top">Critical care medicine</td><td align="left" valign="top">5</td><td align="left" valign="top">457&#x2010;460, 462</td></tr><tr><td align="left" valign="top">19</td><td align="left" valign="top">Acute and chronic pain</td><td align="left" valign="top">70</td><td align="left" valign="top">531&#x2010;600</td></tr><tr><td align="left" valign="top">20</td><td align="left" valign="top">Practice test</td><td align="left" valign="top">133</td><td align="left" valign="top">1&#x2010;7, 9&#x2010;60, 63&#x2010;67, 69&#x2010;89, 92&#x2010;139</td></tr></tbody></table><table-wrap-foot><fn id="table1fn1"><p><sup>a</sup>Gaps in question indices (eg, questions requiring visual or tabular interpretation) were excluded from the dataset.</p></fn></table-wrap-foot></table-wrap><p>The prompt templates originally depicted in <xref ref-type="fig" rid="figure2">Figure 2</xref> were adapted to support a uniform 5-option format (A&#x2013;E), replacing the 3-option format (A&#x2013;C) used in the preliminary 46-item question set. To maintain structural consistency across the dataset, questions originally containing only four options (A&#x2013;D) were normalized by appending a null placeholder (&#x201C;E. Not a valid option&#x201D;). This ensured that the prompt structure remained invariant for all 350 items.</p><p>To facilitate direct comparison with Experiment 1, the core architecture was preserved, using the Meta-Llama-3-8B-Instruct generation model and the same retrieval corpus (Miller&#x2019;s Anesthesia).</p></sec><sec id="s2-5"><title>Experiment 3: Evaluation on the Self-RAG Pipeline</title><p>To assess the efficacy of adaptive retrieval strategies, we implemented a modified self-reflective RAG (self-RAG) architecture. This approach applies a single-generation model to answer questions and perform self-critique [<xref ref-type="bibr" rid="ref27">27</xref>]. For the purpose of controlled comparison, we simplified the setup by removing web-search and postgeneration critique modules, focusing solely on internal knowledge retrieval.</p><p>The workflow, illustrated in <xref ref-type="fig" rid="figure4">Figure 4A</xref>, uses a single LLM (Meta-Llama-3-8B) to function as both the relevance evaluator and the final answer generator. Consistent with previous experiments, the stella-en_400M_v5 embedding model is used for vector retrieval.</p><fig position="float" id="figure4"><label>Figure 4.</label><caption><p>Architecture of the simplified self-reflective retrieval-augmented generation (self-RAG) pipeline. (A) The inference workflow incorporates a document grader node that evaluates the semantic relevance of retrieved chunks. Based on the binary decision ('Yes&#x2019; or &#x2019;No&#x2019;), the system dynamically routes the query to either a context-augmented generation path or a context-free baseline path. (B) The prompt template used for the Document Grader, instructing the model to assess relevance and output a structured JSON response without external web search. RAG: retrieval-augmented generation.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig04.png"/></fig><p>Following the initial retrieval, a document grader module evaluates the semantic alignment between the user query and the retrieved document chunks. As detailed in the prompt template in <xref ref-type="fig" rid="figure4">Figure 4B</xref>, the grader is instructed to assign a binary relevance score (&#x201C;Yes&#x201D; or &#x201C;No&#x201D;) via a JSON output. This decision node dictates the generation strategy: if the retrieved content is deemed relevant (&#x201C;Yes&#x201D;), the system executes the &#x201C;Generate with Context&#x201D; protocol (standard RAG). Conversely, if the retrieved content is classified as irrelevant (&#x201C;No&#x201D;), the system triggers a fallback mechanism, executing &#x201C;Generate without Context&#x201D; (Baseline), thereby relying exclusively on the model&#x2019;s parametric knowledge to prevent hallucination induced by irrelevant context.</p></sec><sec id="s2-6"><title>Experiment 4: Investigation of Retrieval Dynamics and Model Scaling</title><p>This section details a granular analysis of the RAG pipeline&#x2019;s retrieval components to evaluate their impact on system performance and enhance explainability. To facilitate a controlled assessment, a representative subset of 10 questions is selected from the evaluation question set. These 10 questions were selected from the 350-question set (<xref ref-type="table" rid="table1">Table 1</xref>), where these specific questions were answered incorrectly (WRONG) across all or most settings (eg, question 139 is answered incorrectly across all tested RAG configurations) for deep retrieval analysis. The detailed locations for each question are presented in <xref ref-type="table" rid="table2">Table 2</xref> below.</p><table-wrap id="t2" position="float"><label>Table 2.</label><caption><p>Selection of the small 10-question set for deep retrieval analysis.</p></caption><table id="table2" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Question</td><td align="left" valign="bottom">Chapter</td><td align="left" valign="bottom">Topics</td><td align="left" valign="bottom">Question indices<break/>(in 350-question set)</td></tr></thead><tbody><tr><td align="left" valign="top">1</td><td align="left" valign="top">20</td><td align="left" valign="top" rowspan="7">Practice test</td><td align="left" valign="top">120</td></tr><tr><td align="left" valign="top">2</td><td align="left" valign="top">20</td><td align="left" valign="top">121</td></tr><tr><td align="left" valign="top">3</td><td align="left" valign="top">20</td><td align="left" valign="top">122</td></tr><tr><td align="left" valign="top">4</td><td align="left" valign="top">20</td><td align="left" valign="top">123</td></tr><tr><td align="left" valign="top">5</td><td align="left" valign="top">20</td><td align="left" valign="top">124</td></tr><tr><td align="left" valign="top">6</td><td align="left" valign="top">20</td><td align="left" valign="top">138</td></tr><tr><td align="left" valign="top">7</td><td align="left" valign="top">20</td><td align="left" valign="top">139</td></tr><tr><td align="left" valign="top">8</td><td align="left" valign="top">18</td><td align="left" valign="top" rowspan="2">Critical care medicine</td><td align="left" valign="top">457</td></tr><tr><td align="left" valign="top">9</td><td align="left" valign="top">18</td><td align="left" valign="top">458</td></tr><tr><td align="left" valign="top">10</td><td align="left" valign="top">20</td><td align="left" valign="top">Practice test</td><td align="left" valign="top">47</td></tr></tbody></table></table-wrap><p>Given the high complexity of the primary corpus (<italic>Miller&#x2019;s Anesthesia</italic>), we established a controlled environment to isolate the generation model&#x2019;s reasoning capabilities from retrieval noise. The corresponding answers and explanations from the <italic>Anesthesiology Examination and Board Review</italic> served as a new retrieval source, categorized into two experimental conditions:</p><list list-type="order"><list-item><p>Direct (oracle context): the correct explanation is injected directly into the prompt&#x2019;s context field. This serves as an upper-bound baseline, providing the model with explicit ground truth.</p></list-item><list-item><p>Combined (distractor analysis): all ten explanations are aggregated into a single text block. The system must use the embedding model to correctly retrieve the specific segment relevant to the query from this aggregated source, simulating a &#x201C;needle-in-a-haystack&#x201D; retrieval task.</p></list-item></list><p>Concurrently, we examined the impact of model scaling on performance. As illustrated in <xref ref-type="fig" rid="figure5">Figure 5</xref>, the experimental setup included large embedding models (scaling up to 1.5 billion parameters) and generation models (up to 72 billion parameters) to test the hypothesis that increased parameter count correlates with improved accuracy. For these experiments, generation hyperparameters were fixed at the optimal values identified from the result of experiment 1 (temperature=0.1; top-p=0.1).</p><fig position="float" id="figure5"><label>Figure 5.</label><caption><p>Configuration of retrieval and scaling experiments. The setup evaluates three dimensions: (Left) Generation model scaling, ranging from 8B to 72B parameters. (Center) Embedding model complexity, including general and clinical-specific encoders. (Right) Text processing strategies, comparing fixed-size recursive chunking against dynamic semantic chunking protocols. RAG: retrieval-augmented generation.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig05.png"/></fig><p>Finally, we evaluated the influence of text segmentation on retrieval quality. Beyond varying the retrieval depth (top-k), we compared two distinct chunking paradigms:</p><list list-type="order"><list-item><p>Naive recursive chunking: a mechanical approach that iteratively splits text using fixed character limits and overlap windows.</p></list-item><list-item><p>Semantic chunking: an advanced strategy designed to preserve semantic coherence. This method aggregates sentences based on cosine similarity scores and dynamic splitting thresholds defined by statistical measures (percentile, SD, or IQR) or gradient analysis. The latter specifically identifies boundaries by monitoring the rate of change in semantic dissimilarity between consecutive sentences. This approach mitigates the risk of fragmenting contextually related information [<xref ref-type="bibr" rid="ref28">28</xref>,<xref ref-type="bibr" rid="ref29">29</xref>]. In our study, percentile was selected as the threshold metric for its simplicity and practicality in our implementation in terms of graphics processing unit (GPU) video random access memory.</p></list-item></list></sec><sec id="s2-7"><title>Experiment 5: Evaluation of Reasoning Models Under Retrieval Complexity Constraints</title><p>Building upon the optimal configurations identified in Experiments 1&#x2010;4, this phase integrates the most effective RAG components to benchmark the next generation of reasoning-oriented LLMs. The pipeline uses the high-capacity embedding model, gte-Qwen2-1.5B-instruct, and uses semantic chunking (threshold set at the 95th percentile) to maximize context coherence.</p><p>As illustrated in <xref ref-type="fig" rid="figure6">Figure 6</xref>, the study evaluates two distinct model categories. Conventional instruction-tuned models include the Llama series (Llama-3 to 3.3) and Qwen2.5-72B. Reasoning-enhanced models include the Qwen3 series (8B and 32B), which incorporate advanced chain-of-thought capabilities.</p><fig position="float" id="figure6"><label>Figure 6.</label><caption><p>Experimental setup for benchmarking reasoning capabilities. The evaluation compares conventional instruction-tuned large language models (Yellow zone) against reasoning-enhanced models (Purple zone). Experiments use a high-capacity embedding model (gte-Qwen2-1.5B-instruct) and semantic chunking. Retrieval complexity is controlled by varying the density of irrelevant distractor text injected into the context window. LLM: large language model.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig06.png"/></fig><p>To ensure statistical robustness, evaluation was conducted on three randomly sampled subsets of 100 questions each, drawn from the 350-item corpus. (Table S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>) Unique random seeds were applied to ensure reproducible, independently generated sampling trials; because each 100-question subset was sampled from the same 350-item corpus, some questions could appear in more than one subset, and results are reported as the mean accuracy across the three trials. The combined 300-question analysis was used to provide more stable model-level comparisons across related retrieval-complexity conditions rather than to imply a single homogeneous statistical population.</p><p>To rigorously assess model robustness against retrieval noise, we designed a 6-level complexity spectrum. The &#x201C;Bare&#x201D; condition represents answers solely based on intrinsic parametric knowledge, without external context. The &#x201C;Direct&#x201D; condition injects the specific ground-truth explanation directly into the prompt. The &#x201C;Combined&#x201D; (needle-in-a-haystack) condition embeds the ground truth within a consolidated block of relevant clinical explanations. Because multiple questions in the 350-item corpus share the same source explanation block (eg, multipart vignette items that reference a common explanatory passage), the consolidated source corpus contains 263 unique explanations rather than 350. To simulate varying degrees of retrieval difficulty, the combined source is fused with increasing amounts of irrelevant distractor content (from unrelated ASA questions). This creates three graded difficulty tiers: easy, medium, and hard. With the above base combined set contains 263 explanations; we then inject 50, 125, and 274 additional (irrelevant) explanations, yielding totals of 313, 388, and 537 explanations for easy, medium, and hard, respectively. This stratification enables a granular analysis of how reasoning models distinguish relevant signals from clinical noise compared to conventional architectures.</p></sec><sec id="s2-8"><title>Statistical Analysis (Experiment 2 and 5)</title><p>The primary outcome measure was the accuracy rate, defined as the percentage of correctly answered questions. Evaluation results are presented as the mean across the randomized test subsets. To analyze performance differences across multiple model configurations, the Cochran Q test was first used to detect any overall statistically significant differences among the classifiers on the same dataset. Subsequently, the McNemar test was used for post-hoc pairwise comparisons to identify specific performance improvements between model pairs. To account for multiple hypothesis testing, a Bonferroni correction was applied to the significance threshold. All analyses were performed using Python (scipy.stats library), and a 2-tailed <italic>P</italic> value of &#x003C;.05 was considered statistically significant.</p><p>This statistical analysis was conducted on the results obtained from experiments 2 and 5. In experiment 2, we analyzed performance differences among RAG configurations that varied in embedding models, while holding the hyperparameters (top-k, top-p, and temperature) constant. For instance, Cochran Q and McNemar tests were applied to compare the answer patterns of 350 questions between the Baseline model and the RAG0 configuration, with the hyperparameters set to top-k=4, top-p=0.1, and temperature=0.1. In contrast, Experiment 5 involved three distinct 100-question test sets for each RAG configuration, each corresponding to a different LLM model. To enhance the statistical power, the answers from these three test sets were aggregated into a single array of 300 answers (wrong or correct), enabling a more robust statistical analysis. For each analysis (eg, comparing different embedding models under the same RAG hyperparameters), we report the post-hoc pairwise McNemar results, including each configuration&#x2019;s win count, Bonferroni-corrected &#x03B1;, and the computed <italic>P</italic> value.</p></sec><sec id="s2-9"><title>Computational Environment and Implementation</title><p>All retrieval and generation experiments were conducted in a Rocky Linux 8.4 environment using Python (version 3.6.8). The implementation of the RAG pipeline and model inference used a combination of the HuggingFace, Transformer, and LangChain libraries, along with the PyTorch framework. The workstation server was equipped with eight V100 GPUs (32 GB each) and 767 GB of RAM. Models with fewer than 32 billion parameters were executed on a single GPU, whereas larger models, such as the Qwen2.5-72B, required up to 4 V100 GPUs to run both the LLM and the embedding model concurrently.</p></sec></sec><sec id="s3" sec-type="results"><title>Results</title><sec id="s3-1"><title>Experiment 1: Searching for an Optimal Creativity Control</title><p>To provide an overview of the hyperparameter optimization results, we first summarize the distribution of top-performing temperature and top-p configurations across all experimental settings (<xref ref-type="fig" rid="figure7">Figure 7</xref>). Overall, the RAG-empowered framework consistently achieved higher accuracy, as indicated by the brighter colors in <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>. Across the 15 evaluated configurations, 30 maximum-performance occurrences were identified due to ties in peak accuracy; among these, 9 were observed at the (temperature, top-p) pair (0.1, 0.1) in the NORMAL zone. This finding is supported by the frequency distribution of optimal hyperparameter configurations (temperature and top-p) across different embedding models and <italic>top-k</italic> values (<xref ref-type="fig" rid="figure7">Figure 7</xref>). In general, peak performance aligned with the most conservative pair within each region: (0.1, 0.1), (0.05, 0.01), and (0.005, 0.001) for the normal, fine, and very fine zones, respectively. The (0.1, 0.1) pair achieves the maximum accuracy 9 times, which is significantly higher than any other configuration. Additionally, this pair achieves the highest overall accuracy of 71.74%, using the MedEmbed embedding model with a top-k of 8. Based on these comprehensive results, the 3 temperature and top-p pairs, (0.1, 0.1), (0.05, 0.01), and (0.005, 0.001), were selected for subsequent experiments.</p><fig position="float" id="figure7"><label>Figure 7.</label><caption><p>Frequency distribution of top-performing temperature and top-p configurations across the 46-question anesthesiology board-style benchmark subset used for hyperparameter optimization. The heatmap displays the number of times a specific combination of temperature (x-axis) and top-p (y-axis) yielded the highest correct ratio across all tested embedding models and retrieval depths (top-k). The color gradient and annotated cell values represent the total count of these maximum performance occurrences. Because multiple hyperparameter pairs could tie for the highest accuracy within a single experimental grid, the summed frequency across all cells was 30 rather than 15, the number of experimental grids evaluated.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig07.png"/></fig></sec><sec id="s3-2"><title>Experiment 2: Large-Scale Benchmark Evaluation of Embedding-and-Retrieval-Depth-Evaluation</title><p>In contrast to the strong performance observed on the 46-question set, the larger, more topic-diverse set yields markedly different results (<xref ref-type="fig" rid="figure8">Figure 8</xref>). The baseline (no-RAG) model achieved 50.29%, representing a decrease of 6.21 percentage points compared to its performance on the 46-question set (Table S1 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>). Furthermore, the performance gains achieved via RAG were modest on this corpus: the best configuration (stella-en_400M_v5 with top-k=12 across all three pairs of temperature and top-p) yielded a maximum improvement of 6.28 percentage points over the baseline, while other settings delivered marginal improvements ranging from 2 to less than 5 percentage points.</p><p>Although Experiment 1 indicated that a medical-tuned embedding (eg, MedEmbed-large-v0.1, top-k=12) could outperform a general-text embedding, Stella_en_400M_v5<italic>,</italic> on a narrower set (71.7% vs 65.2% for top-p=0.1, temperature=0.1, and top-k=8; <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>), this advantage did not transfer to the larger 350-question benchmark. Embeddings trained on published biomedical corpora or clinical-note&#x2013;style data may not be explicitly aligned with the specific nuances of anesthesiology question-answering, resulting in relative underperformance (<xref ref-type="fig" rid="figure8">Figure 8</xref>), which is consistent with a domain and topic mismatch.</p><p>Cochran Q and post-hoc McNemar test results for Experiment 2 under retrieval depths top-k=4, 8, and 12 are demonstrated in Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. For the most conservative retrieval setting (top-k=4) combined with the empirically stable sampling regime (temperature=0.1<italic>,</italic> top-p=0.1), Cochran Q was not significant (<italic>P</italic>=.06). This indicates that varying the embedding model does not produce a statistically detectable change in the 350-question answer pattern. By contrast, all other Cochran Q tests reached statistical significance.</p><p>After Bonferroni correction (corrected <italic>&#x03B1;</italic>=.005), most pairwise McNemar comparisons between Baseline and individual RAG configurations were not significant. (Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>) This indicates that conventional RAG does not consistently induce a statistically reliable shift relative to baseline (ie, unaugmented) generation on this heterogeneous 350-item set. Nevertheless, among the tested embedders, Stella exhibits the most pronounced divergence from the baseline in several settings (demonstrating larger discordant &#x201C;win&#x201D; counts and comparatively smaller McNemar <italic>P</italic> values), which is coherent with its generally higher observed accuracy across configurations. Specifically, at a retrieval depth of top-k=12, the performance of the Stella embedding model diverged significantly from the Baseline under the two more deterministic sampling regimes (<italic>P</italic> value&#x003C;.01 and <italic>P</italic> value&#x003C;.01, for temp=0.05 with top-p=0.01 and temp=0.005 with top-p=0.001, respectively), surviving the Bonferroni correction.</p><fig position="float" id="figure8"><label>Figure 8.</label><caption><p>Accuracy of retrieval-augmented generation (RAG) configurations across the 350-question anesthesiology board-style evaluation benchmark. The heatmap matrix displays the performance of the three selected deterministic hyperparameter pairs (temperature and top-p) across different embedding models (columns) and retrieval depths (top-k; rows) using Meta-Llama-3-8B-Instruct as the generation model. The color gradient indicates the system's accuracy, expressed as the percentage of correct responses (Correct Ratio %). The Baseline model does not use retrieval; therefore, its performance remains constant across different top-k columns.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig08.png"/></fig></sec><sec id="s3-3"><title>Experiment 3: Evaluation on the Self-RAG Pipeline</title><p>The performance of the Self-RAG pipeline compared with the baseline model is illustrated in <xref ref-type="fig" rid="figure9">Figure 9</xref>. As shown in <xref ref-type="fig" rid="figure9">Figure 9</xref>, the self-RAG implementation yielded only marginal improvements ranging from 2.28 to 4.85 percentage points, relative to the best baseline accuracy of 50.29%. This indicates no substantial benefit over the conventional RAG system (<xref ref-type="fig" rid="figure2">Figure 2B</xref>).</p><fig position="float" id="figure9"><label>Figure 9.</label><caption><p>Accuracy of the self-retrieval-augmented generation (RAG) pipeline across the 350-question anesthesiology board-style benchmark under varying retrieval depths and deterministic sampling configurations.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig09.png"/></fig></sec><sec id="s3-4"><title>Experiment 4: Investigation of Retrieval Dynamics and Model Scaling</title><sec id="s3-4-1"><title>Performance Across Different Configurations</title><p><xref ref-type="table" rid="table3">Table 3</xref> reports the accuracy for each configuration under direct and combined conditions. In the direct condition, Qwen2.5-72B-Instruct had higher accuracy than Llama-3.1-8B-Instruct and Qwen2.5-7B-Instruct. In the combined condition, pairing a large LLM with a high-capacity embedding model yielded the highest accuracy. Specifically, Qwen2.5-72B-Instruct attained an 80% accuracy rate with Stella (top-k=4), MedEmbed (top-k=4), and GTE-Qwen2 (top-k=1 and 2). Furthermore, its generated answers were identical to those of the direct condition (<xref ref-type="table" rid="table4">Table 4</xref>), demonstrating both effective retrieval and stable reasoning capabilities on this subset. By contrast, smaller LLMs and lower-capacity embeddings exhibited lower accuracy in the combined condition across the same settings. Specifically, Qwen2.5-7B-Instruct achieved an accuracy of 60% with Stella when top-k=4, 60% with MedEmbed when top-k=2, and 60% with GTE-Qwen2 when top-k=2. In this diagnostic experiment, large-scale LLMs demonstrated a substantial advantage in overall accuracy compared with smaller architectures.</p><table-wrap id="t3" position="float"><label>Table 3.</label><caption><p>Accuracy of generation models on the 10-question controlled retrieval subset. Performance is compared between direct ground-truth injection (Direct) and retrieval from a consolidated distractor source (combined). Results are broken down by retrieval depth (top-k) and embedding model configuration. Direct: The correct explanation was provided directly in the prompt. Combined: The model retrieved context from a single text string containing 10 distinct explanations. Stella: stella_en_400M_v5; BioBERT: BioBERT; MedEmbed: MedEmbed-large-v0.1; GTE-Qwen2: gte-Qwen2-1.5B-instruct.</p></caption><table id="table3" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom" rowspan="2">Generation model</td><td align="left" valign="bottom" rowspan="2">Direct</td><td align="left" valign="bottom" colspan="5">Combined</td></tr><tr><td align="left" valign="bottom">top-k</td><td align="left" valign="bottom">Stella</td><td align="left" valign="bottom">BioBERT</td><td align="left" valign="bottom">MedEmbed</td><td align="left" valign="bottom">GTE-Qwen2</td></tr></thead><tbody><tr><td align="left" valign="top" rowspan="3">Qwen2.5-7B-Instruct</td><td align="left" valign="top" rowspan="3">60%</td><td align="left" valign="top">1</td><td align="left" valign="top">50%</td><td align="left" valign="top">30%</td><td align="left" valign="top">40%</td><td align="left" valign="top">60%</td></tr><tr><td align="left" valign="top">2</td><td align="left" valign="top">60%</td><td align="left" valign="top">50%</td><td align="left" valign="top">60%</td><td align="left" valign="top">60%</td></tr><tr><td align="left" valign="top">4</td><td align="left" valign="top">60%</td><td align="left" valign="top">40%</td><td align="left" valign="top">50%</td><td align="left" valign="top">50%</td></tr><tr><td align="left" valign="top" rowspan="3">Llama-3.1-8B-Instruct</td><td align="left" valign="top" rowspan="3">70%</td><td align="left" valign="top">1</td><td align="left" valign="top">60%</td><td align="left" valign="top">40%</td><td align="left" valign="top">30%</td><td align="left" valign="top">60%</td></tr><tr><td align="left" valign="top">2</td><td align="left" valign="top">30%</td><td align="left" valign="top">30%</td><td align="left" valign="top">30%</td><td align="left" valign="top">60%</td></tr><tr><td align="left" valign="top">4</td><td align="left" valign="top">50%</td><td align="left" valign="top">60%</td><td align="left" valign="top">50%</td><td align="left" valign="top">60%</td></tr><tr><td align="left" valign="top" rowspan="3">Qwen2.5-72B-Instruct</td><td align="left" valign="top" rowspan="3">80%</td><td align="left" valign="top">1</td><td align="left" valign="top">70%</td><td align="left" valign="top">50%</td><td align="left" valign="top">60%</td><td align="left" valign="top">80%</td></tr><tr><td align="left" valign="top">2</td><td align="left" valign="top">70%</td><td align="left" valign="top">50%</td><td align="left" valign="top">70%</td><td align="left" valign="top">80%</td></tr><tr><td align="left" valign="top">4</td><td align="left" valign="top">80%</td><td align="left" valign="top">70%</td><td align="left" valign="top">80%</td><td align="left" valign="top">70%</td></tr></tbody></table></table-wrap><table-wrap id="t4" position="float"><label>Table 4.</label><caption><p>Item-level response comparison on the 10-question evaluation subset. The table maps the specific multiple-choice answers generated by the Qwen2.5-72B-Instruct model under the Direct (oracle context) and Combined (retrieval-augmented) conditions, both using the gte-Qwen2-1.5B-instruct embedding model, against the ground truth. The identical response patterns between the two experimental conditions demonstrate the model&#x2019;s stable reasoning capabilities despite the introduction of distractor text in the Combined setting.</p></caption><table id="table4" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Question</td><td align="left" valign="bottom">1</td><td align="left" valign="bottom">2</td><td align="left" valign="bottom">3</td><td align="left" valign="bottom">4</td><td align="left" valign="bottom">5</td><td align="left" valign="bottom">6</td><td align="left" valign="bottom">7</td><td align="left" valign="bottom">8</td><td align="left" valign="bottom">9</td><td align="left" valign="bottom">10</td></tr></thead><tbody><tr><td align="left" valign="top">Ground truth</td><td align="left" valign="top">E</td><td align="left" valign="top">D</td><td align="left" valign="top">E</td><td align="left" valign="top">B</td><td align="left" valign="top">D</td><td align="left" valign="top">C</td><td align="left" valign="top">B</td><td align="left" valign="top">C</td><td align="left" valign="top">D</td><td align="left" valign="top">E</td></tr><tr><td align="left" valign="top">Direct</td><td align="left" valign="top">E</td><td align="left" valign="top">D</td><td align="left" valign="top">D</td><td align="left" valign="top">B</td><td align="left" valign="top">D</td><td align="left" valign="top">C</td><td align="left" valign="top">B</td><td align="left" valign="top">C</td><td align="left" valign="top">D</td><td align="left" valign="top">A</td></tr><tr><td align="left" valign="top">Combined</td><td align="left" valign="top">E</td><td align="left" valign="top">D</td><td align="left" valign="top">D</td><td align="left" valign="top">B</td><td align="left" valign="top">D</td><td align="left" valign="top">C</td><td align="left" valign="top">B</td><td align="left" valign="top">C</td><td align="left" valign="top">D</td><td align="left" valign="top">A</td></tr></tbody></table></table-wrap></sec><sec id="s3-4-2"><title>Retrieval Inspection</title><p>To evaluate retrieval precision, we assessed top-1 retrieval accuracy on the 10-item diagnostic set (top-k=1) using a medical-tuned embedder (BioBERT) and a high-capacity general-text embedder (GTE-Qwen2). As presented in <xref ref-type="table" rid="table5">Table 5</xref>, the bracketed indices indicate the specific explanation passage retrieved from the Anesthesiology Examination and Board Review for each question. GTE-Qwen2 achieved a 90% (9 out of 10) match rate, with a single error in which it retrieved the first question&#x2019;s explanation for the second question. In contrast, BioBERT retrieved only 40% (4 out of 10) of the correct documents. Consequently, we adopted GTE-Qwen2 as the default embedding model for subsequent comparisons between conventional and reasoning-oriented LLM pipelines.</p><table-wrap id="t5" position="float"><label>Table 5.</label><caption><p>Top-1 document retrieval accuracy on the 10-question evaluation subset. The table displays the specific document indices retrieved by the BioBERT (RAG 1) and GTE-Qwen2 (RAG 3) embedding models at a retrieval depth of top-k=1. Bracketed numbers indicate the index of the retrieved explanation passage.</p></caption><table id="table5" frame="hsides" rules="groups"><thead><tr><td align="left" valign="bottom">Questions</td><td align="left" valign="bottom">1</td><td align="left" valign="bottom">2</td><td align="left" valign="bottom">3</td><td align="left" valign="bottom">4</td><td align="left" valign="bottom">5</td><td align="left" valign="bottom">6</td><td align="left" valign="bottom">7</td><td align="left" valign="bottom">8</td><td align="left" valign="bottom">9</td><td align="left" valign="bottom">10</td></tr></thead><tbody><tr><td align="left" valign="top">Ground truth</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref1">1</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref2">2</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref3">3</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref4">4</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref5">5</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref6">6</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref7">7</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref8">8</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref9">9</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref10">10</xref>]</td></tr><tr><td align="left" valign="top">BioBERT</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref9">9</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref1">1</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref3">3</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref7">7</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref5">5</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref6">6</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref6">6</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref8">8</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref1">1</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref9">9</xref>]</td></tr><tr><td align="left" valign="top">GTE-Qwen2</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref1">1</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref1">1</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref3">3</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref4">4</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref5">5</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref6">6</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref7">7</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref8">8</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref9">9</xref>]</td><td align="left" valign="top">[<xref ref-type="bibr" rid="ref10">10</xref>]</td></tr></tbody></table></table-wrap></sec><sec id="s3-4-3"><title>Chunking Strategies and Semantic Chunking</title><p>We compared na&#x00EF;ve recursive chunking (fixed chunk size and overlap) with semantic chunking (context-aware segmentation) on the <italic>Miller&#x2019;s Anesthesia</italic> textbook, which is highly formatted and prone to page-layout artifacts [<xref ref-type="bibr" rid="ref26">26</xref>]. As demonstrated by a representative question (<xref ref-type="fig" rid="figure10">Figure 10</xref>), na&#x00EF;ve recursive chunking produced fragmented out-of-context segments (eg, clipped phrases and header remnants) that propagate into the vector store and prompts, thereby diluting retrieval precision. In contrast, semantic chunking yielded a contextually coherent paragraph (page 1781) that is topically aligned with and adjacent to the gold-standard evidence for Question 6 (page 1782). Although primarily illustrative, this example highlights the expected advantages of preserving discourse boundaries in complex medical texts: fewer spurious tokens, greater passage relevance, and cleaner context injection. Accordingly, we adopted semantic chunking as the default strategy in subsequent experiments and evaluated its broader impact in the following sections.</p><p>To further quantify retrieval quality, we performed a focused retrieval relevance comparison using the 10-question diagnostic retrieval subset. (<xref ref-type="table" rid="table2">Table 2</xref>) Under identical retrieval settings, semantic chunking achieved successful retrieval in all 10 questions (10/10, 100%), whereas recursive chunking achieved successful retrieval in 8 of 10 questions (8/10, 80%). In addition, semantic chunking consistently retrieved more contextually complete passages with higher overlap to the reference explanations, whereas recursive chunking frequently produced fragmented or only partially overlapping text segments. (Table S5 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p><fig position="float" id="figure10"><label>Figure 10.</label><caption><p>Qualitative comparison of retrieved document context between naive recursive and semantic chunking strategies. The figure illustrates the raw text chunks retrieved for Question 6 of the diagnostic subset. (<xref ref-type="table" rid="table2">Table 2</xref>) The naive recursive approach (left) yields a fragmented, artifact-laden text segment containing clipped headers and layout markers, whereas semantic chunking (right) successfully extracts a contextually coherent and relevant paragraph from Miller&#x2019;s Anesthesia.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig10.png"/></fig></sec></sec><sec id="s3-5"><title>Experiment 5: Evaluation of Reasoning Models Under Retrieval Complexity Constraints</title><p><xref ref-type="fig" rid="figure11">Figure 11</xref> reports the mean accuracy across three 100-item sets for 7 LLMs as retrieval complexity increases. As demonstrated in the figure, accuracy consistently declined as the retrieved evidence became longer and contextually denser, progressing from the direct to the combined (hard) conditions.</p><fig position="float" id="figure11"><label>Figure 11.</label><caption><p>Accuracy of conventional and reasoning-oriented large language models across progressively complex retrieval conditions in the anesthesiology board-style benchmark. Retrieval complexity increased from direct oracle-context injection to distractor-heavy retrieval settings (easy, medium, and hard), enabling evaluation of robustness to noisy contextual inputs. The matrix compares the performance (Correct Ratio %) of seven large language models across progressively difficult context retrieval conditions. The models evaluated include both conventional architecture and reasoning-oriented models. Model 0 = Llama-3-8B-Instruct; Model 1 = Llama-3.1-8B-Instruct; Model 2 = Llama-3.2-3B-Instruct; Model 3 = Llama-3.3-70B-Instruct; Model 4 = Qwen2.5-72B-Instruct; Model 5 = Qwen3-8B; Model 6 = Qwen3-32B.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig11.png"/></fig><p>The reasoning-oriented Qwen3-32B model achieved the highest accuracy, exceeding the largest tested conventional model, Qwen2.5-72B-Instruct by 1&#x2010;6 percentage points across conditions (eg, increasing from 92% to 96% in the Direct, from 86% to 89% in the combined, and from 81% to 87% in the Combined Medium setting). Following Qwen2.5-72B-Instruct, the Qwen3-8B model also demonstrated strong performance, achieving 67% in the Bare, 90% in the direct, and 84% in the combined setting, higher than all models in the Llama family. Within the Llama family, while the Llama-3.3-70B model outperformed the smaller Llama-3-8B-Instruct<italic>,</italic> Llama-3.1-8B-Instruct, and Llama-3.2-3B-Instruct models across all conditions (eg 80% vs 70%, 76%, and 56% in the combined condition; 69% vs 63% and 67%, and 48% in the hard condition), the gains were diminished when the retrieval difficulty increased, especially against Llama-3.1-8B-Instruct variant.</p><p><xref ref-type="fig" rid="figure12">Figure 12</xref> shows the relationship between model scale, reasoning capability, and accuracy across all retrieval conditions. Across the evaluated settings, larger models generally achieved higher correct ratios than smaller models within the same model family (ie, Llama or Qwen). This performance gap by model size became more pronounced as retrieval complexity increased. In addition, reasoning-enabled models maintained accuracy levels comparable to those of larger conventional models and exhibited a more stable accuracy across different retrieval conditions.</p><fig position="float" id="figure12"><label>Figure 12.</label><caption><p>Relationship between model size, reasoning-oriented architecture, and accuracy across varying retrieval-complexity conditions in the anesthesiology board-style benchmark. The figure illustrates the correct ratio (%) for models of different sizes and types, including conventional and reasoning models. The 8B size appears twice within each retrieval-complexity condition because both Llama-3-8B-Instruct and Llama-3.1-8B-Instruct have 8 billion parameters.</p></caption><graphic alt-version="no" mimetype="image" position="float" xlink:type="simple" xlink:href="formative_v10i1e97902_fig12.png"/></fig><p>Experiment 5&#x2019;s Cochran Q and post hoc McNemar comparisons across the 7 LLM-based RAG systems at multiple retrieval-complexity tiers are reported in Table S6 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. Cochran Q was highly significant across all tiers (<italic>P</italic>&#x003C;.05). Pairwise McNemar results demonstrated that the Qwen family, especially the reasoning models (Qwen3-8B and Qwen3-32B), exhibited the most consistent and substantial divergence from the Llama series. Specifically, Qwen3-32B significantly outperformed 4 nonreasoning models (Llama-3-8B-Instruct, Llama-3.1-8B-Instruct, Llama-3.2-3B-Instruct, and Llama-3.3-70B-Instruct) in bare, combined, and easy conditions, 5 models in direct, medium, and hard conditions (Llama-3-8B-Instruct, Llama-3.1-8B-Instruct, Llama-3.2-3B-Instruct, Llama-3.3-70B-Instruct, and Qwen3-8B), but nonsignificantly outperformed nonreasoning Qwen2.5-72B-Instruct model.</p></sec></sec><sec id="s4" sec-type="discussion"><title>Discussion</title><sec id="s4-1"><title>Principal Findings</title><p>We compared a RAG pipeline with an unaugmented baseline LLM and evaluated variations in core components (generator scale, embedding model, chunking strategy, sampling hyperparameters, and reasoning capability). On our benchmarks, the RAG framework delivered higher and more consistent accuracy than baseline generation when sampling temperature and top-p were tuned for stability; among the tested low-stochasticity configurations, temperature=0.1 and top-p=0.1 frequently yielded comparatively stable performance across experiments, although the exact optimal configuration varied across retrieval settings and embedding models. (<xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> and <xref ref-type="fig" rid="figure7">Figure 7</xref>) These findings suggest that lower-stochasticity sampling settings may improve performance stability in structured medical question-answering benchmarks, as excessively high parameter values can introduce variability that compromises factual consistency, whereas overly restrictive settings may reduce necessary inferential flexibility.</p><p>Retrieval quality emerged as the primary determinant of overall performance. As retrieval depth increased, configuration-dependent differences in model reasoning were amplified, highlighting the delicate balance between information recall and context noise. Although medical-tuned embedders demonstrated strong performance on narrow topical subsets, their advantage did not transfer to the broader 350-item corpus, a finding that is consistent with a domain and task mismatch. In contrast, a high-capacity GTE model (gte-Qwen2-1.5B-instruct) achieved higher retrieval precision and improved end-to-end accuracy. Table S4 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref> suggests that model capacity, combined with broad pretraining, can outweigh narrow biomedical fine-tuning when the target data distribution shifts, providing richer, more discriminative vector representations for precise knowledge extraction.</p><p>The choice of chunking strategy also critically influenced context quality. Na&#x00EF;ve recursive chunking (fixed windows) produced fragmented, out-of-context segments from the <italic>Miller&#x2019;s Anesthesia</italic> textbook [<xref ref-type="bibr" rid="ref26">26</xref>], injecting headers and incomplete sentences into the vector store. Semantic chunking reduced these fragmentary chunks and retrieved passages with greater semantic alignment to the gold-standard evidence in illustrative cases. (<xref ref-type="fig" rid="figure10">Figure 10</xref> and Table S5 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>) Consequently, we adopted it as the default processing method in subsequent experiments. Furthermore, our evaluation of a simplified Self-RAG variant demonstrated that simply increasing the architectural complexity of the pipeline does not necessarily yield clinically meaningful improvements, as the underlying generation models often inherit fundamental limitations in deep medical knowledge representation. (<xref ref-type="fig" rid="figure9">Figure 9</xref>) Therefore, within the present implementation, optimization of retrieval quality and contextual refinement appeared to contribute more substantially to performance than the additional postretrieval grading mechanism.</p><p>Reasoning-oriented LLMs demonstrated robust competitive performance. Among the conventional (nonreasoning) models, Qwen2.5-72B-Instruct served as the strongest baseline, achieving higher scores than its Llama model family counterparts, which is consistent with prior anesthesia benchmarks [<xref ref-type="bibr" rid="ref30">30</xref>]. On the studied datasets, the reasoning-centric Qwen3-32B achieved even higher accuracy than the conventional Qwen2.5-72B-Instruct model. (<xref ref-type="fig" rid="figure11">Figures 11</xref> and <xref ref-type="fig" rid="figure12">12</xref>) These findings suggest that reasoning-oriented training and related model characteristics may improve robustness under complex retrieval settings, as increases in raw parameter capacity do not guarantee proportional performance gains on highly specialized anesthesiology examination benchmarks. Across increasing levels of retrieval difficulty, reasoning-oriented models demonstrated greater robustness to noisier and denser contextual inputs. This points to a complementary architectural approach, where a reasoning model, combined with optimized retrieval, can improve performance in structured medical question-answering benchmarks and may inform future development of medically oriented retrieval systems. However, these differences should not be interpreted as arising solely from reasoning capability, as variations in architecture, pretraining data, instruction tuning, and posttraining optimization may also contribute.</p><p>To further characterize failure modes, we reviewed all eligible cases in which Qwen3-32B answered correctly under the Direct condition but incorrectly under the Combined condition in Experiment 5. Among the 24 reviewed cases, 19 were associated with retrieval mismatch, in which the retrieved passages did not contain the key evidence needed to support the correct answer. Four additional cases reflected insufficient or only partially relevant retrieval, while 1 case reflected failure to correctly use partially relevant retrieved information despite the presence of related contextual evidence. These findings suggest that most residual errors under retrieval-complexity settings were primarily associated with retrieval quality and distractor-heavy contextual inputs rather than solely reflecting lack of underlying question-answering capability. Detailed examples and retrieved contexts are provided in Table S7 (<xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>).</p></sec><sec id="s4-2"><title>Comparison With Prior Work</title><p>Initial explorations of LLMs in anesthesiology primarily evaluated the intrinsic parametric knowledge of standalone models. For instance, Shay et al [<xref ref-type="bibr" rid="ref31">31</xref>] assessed ChatGPT-3.5 on ABA&#x2013;style practice questions, reporting an overall accuracy of 56.2%, falling short of standard passing thresholds. Similarly, Angel et al [<xref ref-type="bibr" rid="ref12">12</xref>] demonstrated that while early models like Bard (46.7%) and GPT-3 (58.3%) failed to pass the ABA written examination, the advanced closed-source GPT-4 achieved 78.3%. These findings closely mirror our baseline results; our unaugmented, open-source Llama-3-8B-Instruct, Llama-3.1-8B-Instruct, and Llama-3.2-3B models achieved comparable 49%, 54%, and 42% accuracies, respectively. (<xref ref-type="fig" rid="figure8">Figure 8</xref>) In addition, our larger-scale Qwen2.5-72B-Instruct also achieved a comparable 72% accuracy. (<xref ref-type="fig" rid="figure8">Figure 8</xref>) This comparison confirms that the raw parametric knowledge of smaller models aligns with earlier foundation models and is insufficient for complex anesthesiology examinations.</p><p>More recently, the literature has demonstrated how RAG and reasoning can elevate model accuracy on medical licensing thresholds. Recent research by Elkin et al [<xref ref-type="bibr" rid="ref32">32</xref>] on the USMLE revealed that while large Llama-3-70B models passed the exams natively and achieved up to 92% accuracy with RAG, integrating semantic clinical knowledge was necessary to help a smaller Llama-2-13B model cross the 60% passing threshold on Step 3 (scoring 60.2%). This scale-dependent benefit closely aligns with our findings: our unaugmented Llama-3.1-8B-Instruct baseline (54%) saw only modest gains with RAG (76%), whereas our larger conventional Qwen2.5-72B-Instruct model equipped with RAG achieved 72% and 86% accuracies without and with RAG, respectively (<xref ref-type="fig" rid="figure8">Figure 8</xref>). Concurrently, meta-analyses of global medical exams show that advanced reasoning models dominate medical examination benchmarks, with models like GPT-o1 and DeepSeek-R1 achieving overall accuracy rates of 95.4% and 92%, respectively [<xref ref-type="bibr" rid="ref33">33</xref>]. This emphasizes the critical role of robust test-time reasoning in specialized medical contexts [<xref ref-type="bibr" rid="ref30">30</xref>]. Similarly, our reasoning Qwen3-32B model integrated with an optimized RAG pipeline achieved up to 89% accuracy on complex, distractor-heavy retrieval tasks (<xref ref-type="fig" rid="figure11">Figure 11</xref>).</p></sec><sec id="s4-3"><title>Limitations</title><p>Although this work evaluates model accuracy on curated anesthesia question sets, it does not constitute clinical validation in real-world patient care scenarios. In terms of document complexity control, the Direct context setting estimates a theoretical performance ceiling under perfect retrieval and is not deployable in practical applications. Several findings (eg, table-level retrieval metrics or single-question chunking illustrations) are based on small diagnostic subsets; broader replication is needed to confirm generalizability. Moreover, this study did not exhaustively audit failure modes (eg, hallucination typology and reasoning chain validity) or conduct clinical expert adjudication of the generated rationales. Finally, evaluations of model safety, bias, and calibration were out of scope and require a significant dedicated study before any clinical deployment can be considered. In addition, the evaluated benchmark consisted of structured text-based anesthesiology board-style questions. Accordingly, the present findings are most directly applicable to controlled medical question-answering benchmarks and may not generalize to open-ended clinical dialogue, real-time guideline retrieval, or multimodal anesthesiology tasks involving images, physiologic waveforms, or tabular data.</p></sec><sec id="s4-4"><title>Conclusions</title><p>In conclusion, our results demonstrate that a RAG-powered LLM pipeline can achieve greater than 80% accuracy on complex anesthesiology board-style examinations under controlled retrieval conditions (oracle or curated context in experiments 4 and 5), whereas under open RAG retrieval on the heterogeneous 350-question benchmark in experiment 2, gains over the unaugmented baseline were modest (50.29% to 56.57%). These findings suggest its potential utility in benchmark-oriented evaluation settings. The relatively compact size of the evaluated open-source models (eg, 8 billion to 72 billion parameters), compared with massive, proprietary foundation LLMs like GPT-4, may facilitate local deployment and real-time responses. This mitigates critical infrastructural issues such as network latency, server overload, and patient privacy concerns. Moreover, the RAG framework facilitates dynamic knowledge updates, allowing new medical guidelines to be integrated into the document corpus without requiring expensive, computationally intensive model retraining. By explicitly outputting both the generated reasoning steps and the retrieved context, the system provides partial transparency into the mechanisms driving its final answer. However, optimizing a RAG system requires significant methodological effort to tune hyperparameters and test retrieval strategies to ensure reliable, accurate results in structured benchmarking settings.</p></sec></sec></body><back><ack><p>The authors attest that there was no use of generative artificial intelligence (AI) technology in the generation of text, figures, or other informational content of this manuscript.</p></ack><notes><sec><title>Funding</title><p>This study was supported by grants from Far Eastern Memorial Hospital, Taiwan (grants FEMH-2024-C-052 and FEMH-2025-C-017). The funders had no role in study design; data collection, analysis, or interpretation; manuscript writing; or the decision to submit for publication.</p></sec><sec><title>Data Availability</title><p>The 46-question, 350-question, and three 100-question benchmark sets can be found in Table S1-S3 in <xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>. The small 46-question set was taken from the 47-question BASIC exam sample questions [<xref ref-type="bibr" rid="ref25">25</xref>], whereas the 350-item set and its random 100-item subsets are sourced from Anesthesiology Examination and Board Review [<xref ref-type="bibr" rid="ref19">19</xref>]. All detailed experimental outputs, evaluation logs, retrieval sources, and statistical analysis results are publicly available at [<xref ref-type="bibr" rid="ref34">34</xref>].</p></sec></notes><fn-group><fn fn-type="con"><p>NQP helped with investigation, visualization, methodology, formal analysis, data curation, writing the original draft, and writing review and editing. SJR helped with supervision, writing review and editing. PC helped with conceptualization, methodology, investigation, resources, validation, writing review and editing, and funding acquisition.</p></fn><fn fn-type="conflict"><p>None declared.</p></fn></fn-group><glossary><title>Abbreviations</title><def-list><def-item><term id="abb1">ABA</term><def><p>American Board of Anesthesiology</p></def></def-item><def-item><term id="abb2">GPU</term><def><p>graphics processing unit</p></def></def-item><def-item><term id="abb3">GTE</term><def><p>general-text embedding</p></def></def-item><def-item><term id="abb4">Llama</term><def><p>Large Language Model Meta AI</p></def></def-item><def-item><term id="abb5">LLM</term><def><p>large language model</p></def></def-item><def-item><term id="abb6">RAG</term><def><p>retrieval-augmented generation</p></def></def-item><def-item><term id="abb7">USMLE</term><def><p>United States Medical Licensing Examination</p></def></def-item></def-list></glossary><ref-list><title>References</title><ref id="ref1"><label>1</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Iqbal</surname><given-names>U</given-names> </name><name name-style="western"><surname>Tanweer</surname><given-names>A</given-names> </name><name name-style="western"><surname>Rahmanti</surname><given-names>AR</given-names> </name><name name-style="western"><surname>Greenfield</surname><given-names>D</given-names> </name><name name-style="western"><surname>Lee</surname><given-names>LTJ</given-names> </name><name name-style="western"><surname>Li</surname><given-names>YCJ</given-names> </name></person-group><article-title>Impact of large language model (ChatGPT) in healthcare: an umbrella review and evidence synthesis</article-title><source>J Biomed Sci</source><year>2025</year><month>05</month><day>7</day><volume>32</volume><issue>1</issue><fpage>45</fpage><pub-id pub-id-type="doi">10.1186/s12929-025-01131-z</pub-id><pub-id pub-id-type="medline">40335969</pub-id></nlm-citation></ref><ref id="ref2"><label>2</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Omiye</surname><given-names>JA</given-names> </name><name name-style="western"><surname>Gui</surname><given-names>H</given-names> </name><name name-style="western"><surname>Rezaei</surname><given-names>SJ</given-names> </name><name name-style="western"><surname>Zou</surname><given-names>J</given-names> </name><name name-style="western"><surname>Daneshjou</surname><given-names>R</given-names> </name></person-group><article-title>Large language models in medicine: the potentials and pitfalls: a narrative review</article-title><source>Ann Intern Med</source><year>2024</year><month>02</month><volume>177</volume><issue>2</issue><fpage>210</fpage><lpage>220</lpage><pub-id pub-id-type="doi">10.7326/M23-2772</pub-id><pub-id pub-id-type="medline">38285984</pub-id></nlm-citation></ref><ref id="ref3"><label>3</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bedi</surname><given-names>S</given-names> </name><name name-style="western"><surname>Liu</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Orr-Ewing</surname><given-names>L</given-names> </name><etal/></person-group><article-title>Testing and evaluation of health care applications of large language models</article-title><source>JAMA</source><year>2025</year><month>01</month><day>28</day><volume>333</volume><issue>4</issue><fpage>319</fpage><lpage>328</lpage><pub-id pub-id-type="doi">10.1001/jama.2024.21700</pub-id><pub-id pub-id-type="medline">39405325</pub-id></nlm-citation></ref><ref id="ref4"><label>4</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Liu</surname><given-names>M</given-names> </name><name name-style="western"><surname>Okuhara</surname><given-names>T</given-names> </name><name name-style="western"><surname>Chang</surname><given-names>X</given-names> </name><etal/></person-group><article-title>Performance of ChatGPT across different versions in medical licensing examinations worldwide: systematic review and meta-analysis</article-title><source>J Med Internet Res</source><year>2024</year><month>07</month><day>25</day><volume>26</volume><fpage>e60807</fpage><pub-id pub-id-type="doi">10.2196/60807</pub-id><pub-id pub-id-type="medline">39052324</pub-id></nlm-citation></ref><ref id="ref5"><label>5</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Zong</surname><given-names>H</given-names> </name><name name-style="western"><surname>Wu</surname><given-names>R</given-names> </name><name name-style="western"><surname>Cha</surname><given-names>J</given-names> </name><etal/></person-group><article-title>Large language models in worldwide medical exams: platform development and comprehensive analysis</article-title><source>J Med Internet Res</source><year>2024</year><month>12</month><day>27</day><volume>26</volume><fpage>e66114</fpage><pub-id pub-id-type="doi">10.2196/66114</pub-id><pub-id pub-id-type="medline">39729356</pub-id></nlm-citation></ref><ref id="ref6"><label>6</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Gilson</surname><given-names>A</given-names> </name><name name-style="western"><surname>Safranek</surname><given-names>CW</given-names> </name><name name-style="western"><surname>Huang</surname><given-names>T</given-names> </name><etal/></person-group><article-title>How does ChatGPT perform on the United States Medical Licensing Examination (USMLE)? The implications of large language models for medical education and knowledge assessment</article-title><source>JMIR Med Educ</source><year>2023</year><month>02</month><day>8</day><volume>9</volume><fpage>e45312</fpage><pub-id pub-id-type="doi">10.2196/45312</pub-id><pub-id pub-id-type="medline">36753318</pub-id></nlm-citation></ref><ref id="ref7"><label>7</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kung</surname><given-names>TH</given-names> </name><name name-style="western"><surname>Cheatham</surname><given-names>M</given-names> </name><name name-style="western"><surname>Medenilla</surname><given-names>A</given-names> </name><etal/></person-group><article-title>Performance of ChatGPT on USMLE: potential for AI-assisted medical education using large language models</article-title><source>PLOS Digit Health</source><year>2023</year><month>02</month><volume>2</volume><issue>2</issue><fpage>e0000198</fpage><pub-id pub-id-type="doi">10.1371/journal.pdig.0000198</pub-id><pub-id pub-id-type="medline">36812645</pub-id></nlm-citation></ref><ref id="ref8"><label>8</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Bicknell</surname><given-names>BT</given-names> </name><name name-style="western"><surname>Butler</surname><given-names>D</given-names> </name><name name-style="western"><surname>Whalen</surname><given-names>S</given-names> </name><etal/></person-group><article-title>ChatGPT-4 omni performance in USMLE disciplines and clinical skills: comparative analysis</article-title><source>JMIR Med Educ</source><year>2024</year><month>11</month><day>6</day><volume>10</volume><fpage>e63430</fpage><pub-id pub-id-type="doi">10.2196/63430</pub-id><pub-id pub-id-type="medline">39504445</pub-id></nlm-citation></ref><ref id="ref9"><label>9</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Khan</surname><given-names>AA</given-names> </name><name name-style="western"><surname>Yunus</surname><given-names>R</given-names> </name><name name-style="western"><surname>Sohail</surname><given-names>M</given-names> </name><etal/></person-group><article-title>Artificial intelligence for anesthesiology board-style examination questions: role of large language models</article-title><source>J Cardiothorac Vasc Anesth</source><year>2024</year><month>05</month><volume>38</volume><issue>5</issue><fpage>1251</fpage><lpage>1259</lpage><pub-id pub-id-type="doi">10.1053/j.jvca.2024.01.032</pub-id><pub-id pub-id-type="medline">38423884</pub-id></nlm-citation></ref><ref id="ref10"><label>10</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kinoshita</surname><given-names>M</given-names> </name><name name-style="western"><surname>Komasaka</surname><given-names>M</given-names> </name><name name-style="western"><surname>Tanaka</surname><given-names>K</given-names> </name></person-group><article-title>ChatGPT&#x2019;s performance on JSA-certified anesthesiologist exam</article-title><source>J Anesth</source><year>2024</year><month>04</month><volume>38</volume><issue>2</issue><fpage>282</fpage><lpage>283</lpage><pub-id pub-id-type="doi">10.1007/s00540-023-03275-4</pub-id><pub-id pub-id-type="medline">37902835</pub-id></nlm-citation></ref><ref id="ref11"><label>11</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Altermatt</surname><given-names>FR</given-names> </name><name name-style="western"><surname>Neyem</surname><given-names>A</given-names> </name><name name-style="western"><surname>Sumonte</surname><given-names>NI</given-names> </name><name name-style="western"><surname>Villagr&#x00E1;n</surname><given-names>I</given-names> </name><name name-style="western"><surname>Mendoza</surname><given-names>M</given-names> </name><name name-style="western"><surname>Lacassie</surname><given-names>HJ</given-names> </name></person-group><article-title>Evaluating the performance of large language models on the CONACEM anesthesiology certification exam: a comparison with human participants</article-title><source>Appl Sci</source><year>2025</year><volume>15</volume><issue>11</issue><fpage>6245</fpage><pub-id pub-id-type="doi">10.3390/app15116245</pub-id></nlm-citation></ref><ref id="ref12"><label>12</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Angel</surname><given-names>MC</given-names> </name><name name-style="western"><surname>Rinehart</surname><given-names>JB</given-names> </name><name name-style="western"><surname>Cannesson</surname><given-names>MP</given-names> </name><name name-style="western"><surname>Baldi</surname><given-names>P</given-names> </name></person-group><article-title>Clinical knowledge and reasoning abilities of AI large language models in anesthesiology: a comparative study on the American Board of Anesthesiology Examination</article-title><source>Anesth Analg</source><year>2024</year><month>08</month><day>1</day><volume>139</volume><issue>2</issue><fpage>349</fpage><lpage>356</lpage><pub-id pub-id-type="doi">10.1213/ANE.0000000000006892</pub-id><pub-id pub-id-type="medline">38640076</pub-id></nlm-citation></ref><ref id="ref13"><label>13</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Aldridge</surname><given-names>MJ</given-names> </name><name name-style="western"><surname>Penders</surname><given-names>R</given-names> </name></person-group><article-title>Artificial intelligence and anaesthesia examinations: exploring ChatGPT as a prelude to the future</article-title><source>Br J Anaesth</source><year>2023</year><month>08</month><volume>131</volume><issue>2</issue><fpage>e36</fpage><lpage>e37</lpage><pub-id pub-id-type="doi">10.1016/j.bja.2023.04.033</pub-id><pub-id pub-id-type="medline">37244834</pub-id></nlm-citation></ref><ref id="ref14"><label>14</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Patel</surname><given-names>S</given-names> </name><name name-style="western"><surname>Ngo</surname><given-names>V</given-names> </name><name name-style="western"><surname>Wilhelmi</surname><given-names>B</given-names> </name></person-group><article-title>Evaluating large language models on American Board of Anesthesiology-style anesthesiology questions: accuracy, domain consistency, and clinical implications</article-title><source>J Cardiothorac Vasc Anesth</source><year>2025</year><month>09</month><volume>39</volume><issue>9</issue><fpage>2511</fpage><lpage>2515</lpage><pub-id pub-id-type="doi">10.1053/j.jvca.2025.05.033</pub-id><pub-id pub-id-type="medline">40518333</pub-id></nlm-citation></ref><ref id="ref15"><label>15</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Macario</surname><given-names>A</given-names> </name><name name-style="western"><surname>Minhaj</surname><given-names>MM</given-names> </name><name name-style="western"><surname>Keegan</surname><given-names>MT</given-names> </name><name name-style="western"><surname>Harman</surname><given-names>AE</given-names> </name></person-group><article-title>Large language models and the American Board of Anesthesiology Examination</article-title><source>Anesth Analg</source><year>2025</year><month>01</month><day>1</day><volume>140</volume><issue>1</issue><fpage>e7</fpage><lpage>e8</lpage><pub-id pub-id-type="doi">10.1213/ANE.0000000000007322</pub-id><pub-id pub-id-type="medline">39680997</pub-id></nlm-citation></ref><ref id="ref16"><label>16</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Tarabanis</surname><given-names>C</given-names> </name><name name-style="western"><surname>Zahid</surname><given-names>S</given-names> </name><name name-style="western"><surname>Mamalis</surname><given-names>M</given-names> </name><name name-style="western"><surname>Zhang</surname><given-names>K</given-names> </name><name name-style="western"><surname>Kalampokis</surname><given-names>E</given-names> </name><name name-style="western"><surname>Jankelson</surname><given-names>L</given-names> </name></person-group><article-title>Performance of publicly available large language models on internal medicine board-style questions</article-title><source>PLOS Digit Health</source><year>2024</year><month>09</month><volume>3</volume><issue>9</issue><fpage>e0000604</fpage><pub-id pub-id-type="doi">10.1371/journal.pdig.0000604</pub-id><pub-id pub-id-type="medline">39288137</pub-id></nlm-citation></ref><ref id="ref17"><label>17</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Alonso</surname><given-names>I</given-names> </name><name name-style="western"><surname>Oronoz</surname><given-names>M</given-names> </name><name name-style="western"><surname>Agerri</surname><given-names>R</given-names> </name></person-group><article-title>MedExpQA: Multilingual benchmarking of large language models for medical question answering</article-title><source>Artif Intell Med</source><year>2024</year><month>09</month><volume>155</volume><fpage>102938</fpage><pub-id pub-id-type="doi">10.1016/j.artmed.2024.102938</pub-id><pub-id pub-id-type="medline">39121544</pub-id></nlm-citation></ref><ref id="ref18"><label>18</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Minssen</surname><given-names>T</given-names> </name><name name-style="western"><surname>Vayena</surname><given-names>E</given-names> </name><name name-style="western"><surname>Cohen</surname><given-names>IG</given-names> </name></person-group><article-title>The challenges for regulating medical use of ChatGPT and other large language models</article-title><source>JAMA</source><year>2023</year><month>07</month><day>25</day><volume>330</volume><issue>4</issue><fpage>315</fpage><lpage>316</lpage><pub-id pub-id-type="doi">10.1001/jama.2023.9651</pub-id><pub-id pub-id-type="medline">37410482</pub-id></nlm-citation></ref><ref id="ref19"><label>19</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Dershwitz</surname><given-names>M</given-names> </name><name name-style="western"><surname>Walz</surname><given-names>JM</given-names> </name></person-group><source>Anesthesiology Examination and Board Review 7/E</source><year>2014</year><publisher-name>McGraw Hill Professional</publisher-name><pub-id pub-id-type="other">978-0-07-180153-9</pub-id></nlm-citation></ref><ref id="ref20"><label>20</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Yang</surname><given-names>A</given-names> </name><name name-style="western"><surname>Li</surname><given-names>A</given-names> </name><name name-style="western"><surname>Yang</surname><given-names>B</given-names> </name><etal/></person-group><article-title>QWEN3 technical report</article-title><source>arXiv</source><comment>Preprint posted online on  May 14, 2025</comment><pub-id pub-id-type="doi">10.48550/arXiv.2505.09388</pub-id></nlm-citation></ref><ref id="ref21"><label>21</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Gao</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Xiong</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Gao</surname><given-names>X</given-names> </name><etal/></person-group><article-title>Retrieval-augmented generation for large language models: a survey</article-title><source>arXiv</source><comment>Preprint posted online on  Dec 18, 2023</comment><pub-id pub-id-type="doi">10.48550/arXiv.2312.10997</pub-id></nlm-citation></ref><ref id="ref22"><label>22</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Holtzman</surname><given-names>A</given-names> </name><name name-style="western"><surname>Buys</surname><given-names>J</given-names> </name><name name-style="western"><surname>Du</surname><given-names>L</given-names> </name><name name-style="western"><surname>Forbes</surname><given-names>M</given-names> </name><name name-style="western"><surname>Choi</surname><given-names>Y</given-names> </name></person-group><article-title>The curious case of neural text degeneration</article-title><source>arXiv</source><comment>Preprint posted online on  Apr 22, 2019</comment><pub-id pub-id-type="doi">10.48550/arXiv.1904.09751</pub-id></nlm-citation></ref><ref id="ref23"><label>23</label><nlm-citation citation-type="confproc"><person-group person-group-type="author"><name name-style="western"><surname>Al-Onaizan</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Bansal</surname><given-names>M</given-names> </name><name name-style="western"><surname>Chen</surname><given-names>YN</given-names> </name></person-group><article-title>Findings of the association for computational linguistics: EMNLP 2024</article-title><conf-name>The 2024 Conference on Empirical Methods in Natural Language Processing | Findings of the Association for Computational Linguistics</conf-name><conf-date>Nov 12-16, 2024</conf-date><pub-id pub-id-type="doi">10.18653/v1/2024.findings-emnlp</pub-id></nlm-citation></ref><ref id="ref24"><label>24</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Grattafiori</surname><given-names>A</given-names> </name><name name-style="western"><surname>Dubey</surname><given-names>A</given-names> </name><name name-style="western"><surname>Jauhri</surname><given-names>A</given-names> </name><etal/></person-group><article-title>The llama 3 herd of models</article-title><source>arXiv</source><comment>Preprint posted online on  Jul 31, 2024</comment><pub-id pub-id-type="doi">10.48550/arXiv.2407.21783</pub-id></nlm-citation></ref><ref id="ref25"><label>25</label><nlm-citation citation-type="web"><article-title>BASIC exam sample questions</article-title><source>The American Board of Anesthesiology</source><year>2022</year><access-date>2026-07-14</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://www.theaba.org/wp-content/uploads/2022/12/BASIC_Questions.pdf">https://www.theaba.org/wp-content/uploads/2022/12/BASIC_Questions.pdf</ext-link></comment></nlm-citation></ref><ref id="ref26"><label>26</label><nlm-citation citation-type="book"><person-group person-group-type="author"><name name-style="western"><surname>Gropper</surname><given-names>MA</given-names> </name><name name-style="western"><surname>Eriksson</surname><given-names>LI</given-names> </name><name name-style="western"><surname>Fleisher</surname><given-names>LA</given-names> </name><name name-style="western"><surname>Cohen</surname><given-names>NH</given-names> </name><name name-style="western"><surname>Wiener-Kronish</surname><given-names>JP</given-names> </name><name name-style="western"><surname>Leslie</surname><given-names>K</given-names> </name></person-group><source>Miller&#x2019;s Anesthesia, 2-Volume Set</source><year>2019</year><publisher-name>Elsevier</publisher-name><pub-id pub-id-type="other">978-0323596046</pub-id></nlm-citation></ref><ref id="ref27"><label>27</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Asai</surname><given-names>A</given-names> </name><name name-style="western"><surname>Wu</surname><given-names>Z</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>Y</given-names> </name><name name-style="western"><surname>Sil</surname><given-names>A</given-names> </name><name name-style="western"><surname>Hajishirzi</surname><given-names>H</given-names> </name></person-group><article-title>Self-RAG: learning to retrieve, generate, and critique through self-reflection</article-title><source>arXiv</source><comment>Preprint posted online on  Oct 17, 2023</comment><pub-id pub-id-type="doi">10.48550/arXiv.2310.11511</pub-id></nlm-citation></ref><ref id="ref28"><label>28</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>McCormick</surname><given-names>Z</given-names> </name></person-group><article-title>Solving the out-of-context chunk problem for RAG</article-title><source>D-Star Solutions</source><year>2024</year><month>07</month><day>17</day><access-date>2026-01-04</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://d-star.ai/solving-the-out-of-context-chunk-problem-for-rag/">https://d-star.ai/solving-the-out-of-context-chunk-problem-for-rag/</ext-link></comment></nlm-citation></ref><ref id="ref29"><label>29</label><nlm-citation citation-type="web"><article-title>Semantic chunker</article-title><source>LlamaIndex</source><year>2024</year><month>01</month><day>11</day><access-date>2026-01-04</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://developers.llamaindex.ai/python/examples/node_parsers/semantic_chunking/">https://developers.llamaindex.ai/python/examples/node_parsers/semantic_chunking/</ext-link></comment></nlm-citation></ref><ref id="ref30"><label>30</label><nlm-citation citation-type="other"><person-group person-group-type="author"><name name-style="western"><surname>Feng</surname><given-names>X</given-names> </name><name name-style="western"><surname>Jiang</surname><given-names>W</given-names> </name><name name-style="western"><surname>Wang</surname><given-names>Z</given-names> </name><etal/></person-group><article-title>AnesSuite: a comprehensive benchmark and dataset suite for anesthesiology reasoning in LLMs</article-title><source>arXiv</source><comment>Preprint posted online on  Apr 3, 2025</comment><pub-id pub-id-type="doi">10.48550/arXiv.2504.02404</pub-id></nlm-citation></ref><ref id="ref31"><label>31</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Shay</surname><given-names>D</given-names> </name><name name-style="western"><surname>Kumar</surname><given-names>B</given-names> </name><name name-style="western"><surname>Bellamy</surname><given-names>D</given-names> </name><etal/></person-group><article-title>Assessment of ChatGPT success with specialty medical knowledge using anaesthesiology board examination practice questions</article-title><source>Br J Anaesth</source><year>2023</year><month>08</month><volume>131</volume><issue>2</issue><fpage>e31</fpage><lpage>e34</lpage><pub-id pub-id-type="doi">10.1016/j.bja.2023.04.017</pub-id><pub-id pub-id-type="medline">37210278</pub-id></nlm-citation></ref><ref id="ref32"><label>32</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Elkin</surname><given-names>PL</given-names> </name><name name-style="western"><surname>Mehta</surname><given-names>G</given-names> </name><name name-style="western"><surname>LeHouillier</surname><given-names>F</given-names> </name><etal/></person-group><article-title>Semantic clinical artificial intelligence vs native large language model performance on the USMLE</article-title><source>JAMA Netw Open</source><year>2025</year><month>04</month><day>1</day><volume>8</volume><issue>4</issue><fpage>e256359</fpage><pub-id pub-id-type="doi">10.1001/jamanetworkopen.2025.6359</pub-id><pub-id pub-id-type="medline">40261653</pub-id></nlm-citation></ref><ref id="ref33"><label>33</label><nlm-citation citation-type="journal"><person-group person-group-type="author"><name name-style="western"><surname>Kasagga</surname><given-names>A</given-names> </name><name name-style="western"><surname>Sapkota</surname><given-names>A</given-names> </name><name name-style="western"><surname>Changaramkumarath</surname><given-names>G</given-names> </name><etal/></person-group><article-title>Performance of CHATGPT and large language models on medical licensing exams worldwide: a systematic review and network meta-analysis with meta-regression</article-title><source>Cureus</source><year>2025</year><month>10</month><volume>17</volume><issue>10</issue><fpage>e94300</fpage><pub-id pub-id-type="doi">10.7759/cureus.94300</pub-id><pub-id pub-id-type="medline">41230320</pub-id></nlm-citation></ref><ref id="ref34"><label>34</label><nlm-citation citation-type="web"><person-group person-group-type="author"><name name-style="western"><surname>Chen</surname><given-names>P</given-names> </name></person-group><article-title>RAG-LLM-anesthesia-benchmark</article-title><source>GitHub</source><access-date>2026-04-07</access-date><comment><ext-link ext-link-type="uri" xlink:href="https://github.com/andy698087/RAG-LLM-Anesthesia-Benchmark">https://github.com/andy698087/RAG-LLM-Anesthesia-Benchmark</ext-link></comment></nlm-citation></ref></ref-list><app-group><supplementary-material id="app1"><label>Multimedia Appendix 1</label><p>Question sets, retrieval and chunking analyses, statistical comparisons, and item-level failure analyses for benchmarking retrieval-augmented large language models on anesthesiology board-style questions.</p><media xlink:href="formative_v10i1e97902_app1.xlsx" xlink:title="XLSX File, 24897 KB"/></supplementary-material><supplementary-material id="app2"><label>Multimedia Appendix 2</label><p>Heatmap visualization of hyperparameter optimization results (Experiment 1). This appendix includes the heatmap visualization for the correct ratio between different RAG system configuration. The grid is organized by embedding model (columns) and retrieval depth (top-k; rows). Within each individual heatmap, the horizontal and vertical axes represent the temperature (temp) and top-p values, respectively. The color gradient indicates the model&#x2019;s accuracy, expressed as the percentage of correct responses out of 46 benchmark questions. (correct ratio %).</p><media xlink:href="formative_v10i1e97902_app2.png" xlink:title="PNG File, 854 KB"/></supplementary-material></app-group></back></article>