<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.0 20040830//EN" "http://dtd.nlm.nih.gov/publishing/2.0/journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.0" xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">JMI</journal-id>
      <journal-id journal-id-type="nlm-ta">JMIR Med Inform</journal-id>
      <journal-title>JMIR Medical Informatics</journal-title>
      <issn pub-type="epub">2291-9694</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">v14i1e103912</article-id>
      <article-id pub-id-type="pmid"/>
      <article-id pub-id-type="doi">10.2196/103912</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Original Paper</subject>
        </subj-group>
        <subj-group subj-group-type="article-type">
          <subject>Original Paper</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Reducing Annotation Costs Using Knowledge Distillation for Label‑Efficient Negation Detection in Radiology Reports: Multisite Internal Validation Study</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="editor">
          <name>
            <surname>Coristine</surname>
            <given-names>Andrew</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Lin</surname>
            <given-names>Kuan-Hsun</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Hossain</surname>
            <given-names>Md Zakir</given-names>
          </name>
        </contrib>
        <contrib contrib-type="reviewer">
          <name>
            <surname>Liang</surname>
            <given-names>Xiaolong</given-names>
          </name>
        </contrib>
      </contrib-group>
      <contrib-group>
        <contrib id="contrib1" contrib-type="author">
          <name name-style="western">
            <surname>Weng</surname>
            <given-names>Kung-Hsun</given-names>
          </name>
          <degrees>MSc, MD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0003-4207-1512</ext-link>
        </contrib>
        <contrib id="contrib2" contrib-type="author">
          <name name-style="western">
            <surname>Huang</surname>
            <given-names>Bo-Lin</given-names>
          </name>
          <degrees>MD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0009-0006-6728-0010</ext-link>
        </contrib>
        <contrib id="contrib3" contrib-type="author">
          <name name-style="western">
            <surname>Kuo</surname>
            <given-names>Yu-Ting</given-names>
          </name>
          <degrees>MD, PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <xref rid="aff2" ref-type="aff">2</xref>
          <xref rid="aff3" ref-type="aff">3</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-8704-0739</ext-link>
        </contrib>
        <contrib id="contrib4" contrib-type="author">
          <name name-style="western">
            <surname>Chou</surname>
            <given-names>Yi-Chen</given-names>
          </name>
          <degrees>MD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0002-2630-9773</ext-link>
        </contrib>
        <contrib id="contrib5" contrib-type="author">
          <name name-style="western">
            <surname>Hsieh</surname>
            <given-names>Tsyh-Jyi</given-names>
          </name>
          <degrees>MD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-9076-6584</ext-link>
        </contrib>
        <contrib id="contrib6" contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Liu</surname>
            <given-names>Chung-Feng</given-names>
          </name>
          <degrees>PhD</degrees>
          <xref rid="aff1" ref-type="aff">1</xref>
          <address>
            <institution>Department of Medical Imaging</institution>
            <institution>Chi Mei Medical Center</institution>
            <addr-line>No. 901, Zhonghua Rd., Yongkang District</addr-line>
            <addr-line>Tainan, 710</addr-line>
            <country>Taiwan</country>
            <phone>886 6 2812811</phone>
            <email>chungfengliu@gmail.com</email>
          </address>
          <ext-link ext-link-type="orcid">https://orcid.org/0000-0001-6698-0273</ext-link>
        </contrib>
      </contrib-group>
      <aff id="aff1">
        <label>1</label>
        <institution>Department of Medical Imaging</institution>
        <institution>Chi Mei Medical Center</institution>
        <addr-line>Tainan</addr-line>
        <country>Taiwan</country>
      </aff>
      <aff id="aff2">
        <label>2</label>
        <institution>Institute of Precision Medicine</institution>
        <institution>College of Medicine</institution>
        <institution>National Sun Yat-sen University</institution>
        <addr-line>Kaohsiung</addr-line>
        <country>Taiwan</country>
      </aff>
      <aff id="aff3">
        <label>3</label>
        <institution>Department of Radiology</institution>
        <institution>School and College of Medicine</institution>
        <institution>Kaohsiung Medical University</institution>
        <addr-line>Kaohsiung</addr-line>
        <country>Taiwan</country>
      </aff>
      <author-notes>
        <corresp>Corresponding Author: Chung-Feng Liu <email>chungfengliu@gmail.com</email></corresp>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2026</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>22</day>
        <month>10</month>
        <year>2026</year>
      </pub-date>
      <volume>14</volume>
      <elocation-id>e103912</elocation-id>
      <history>
        <date date-type="received">
          <day>7</day>
          <month>6</month>
          <year>2026</year>
        </date>
        <date date-type="rev-request">
          <day>28</day>
          <month>6</month>
          <year>2026</year>
        </date>
        <date date-type="rev-recd">
          <day>4</day>
          <month>10</month>
          <year>2026</year>
        </date>
        <date date-type="accepted">
          <day>7</day>
          <month>10</month>
          <year>2026</year>
        </date>
      </history>
      <copyright-statement>©Kung-Hsun Weng, Bo-Lin Huang, Yu-Ting Kuo, Yi-Chen Chou, Tsyh-Jyi Hsieh, Chung-Feng Liu. Originally published in JMIR Medical Informatics (https://medinform.jmir.org), 22.10.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 (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on https://medinform.jmir.org/, as well as this copyright and license information must be included.</p>
      </license>
      <self-uri xlink:href="https://medinform.jmir.org/2026/1/e103912" xlink:type="simple"/>
      <abstract>
        <sec sec-type="background">
          <title>Background</title>
          <p>Negation in radiology reports (eg, “no evidence of dissection”) is essential for accurately conveying diagnostic information. Clinical natural language processing systems, however, often fail to determine whether findings occur within negated or speculative contexts, leading to excessive false keyword alerts, noise in information extraction, and reduced precision in downstream clinical or research applications. Transformer models have advanced detection capabilities but require costly expert labeling. Large language models (LLMs) may provide label-efficient alternatives through few-shot prompting or knowledge distillation.</p>
        </sec>
        <sec sec-type="objective">
          <title>Objective</title>
          <p>This study aims to systematically evaluate LLMs and transformer models under different supervision strategies, including comparisons of expert-labeled and LLM-distilled transformers, teacher LLMs (GPT-5.3 Chat, Gemma 4, and Qwen3.6-Plus), sampling approaches, and direct few-shot LLM inference, to determine whether LLM inference or LLM-based distillation can substitute for human labeling in radiology-report negation detection while reducing annotation costs.</p>
        </sec>
        <sec sec-type="methods">
          <title>Methods</title>
          <p>We reused and analyzed 6000 deidentified English-language radiology reports from 3 hospital branches. Three LLMs—GPT-5.3 Chat, Gemma 4, and Qwen3.6-Plus—performed 0-, 5-, and 10-shot inference to identify negations and speculations unrelated to abnormal findings and generate pseudo-labels for transformer fine-tuning (Bio_ClinicalBERT [Bio + Clinical BERT model], BERT [Bidirectional Encoder Representations from Transformers], and ALBERT [A Lite Bidirectional Encoder Representations from Transformers]). We trained models using human-labeled or LLM-distilled supervision across 28 training data scales (n=42-4200) and 3 data sampling seeds and compared them across multiple supervision and training conditions encompassing backbone, label source, and sampling strategy. We assessed performance using keyword-level precision, recall, and F1-score with paired bootstrap tests (10,000 replicates).</p>
        </sec>
        <sec sec-type="results">
          <title>Results</title>
          <p>We refined 1000 report annotations (interrater κ=0.957) and fine-tuned 1260 transformer models. Human-labeled transformers consistently outperformed distillation-labeled ones, with the largest gap at small training scales (ΔF1-score ≈0.042; adjusted <italic>P</italic>&lt;.001), which narrowed at larger scales (ΔF1-score ≈0.022; adjusted <italic>P</italic>&lt;.001). Teacher model choice had minimal effect on distilled performance. All 3 human-labeled transformer backbones (BERT, ALBERT, and Bio_ClinicalBERT) achieved high keyword-level F1-scores (0.982-0.985 under their best conditions; n=4200). In the 10-shot setting, GPT-5.3 Chat (F1-score 0.974) modestly underperformed human-labeled transformers in the large-sample range (ΔF1-score=0.009; adjusted <italic>P</italic>=.047) and significantly outperformed Gemma 4 (F1-score 0.957; adjusted <italic>P</italic>=.01) and Qwen3.6-Plus (F1-score 0.950; adjusted <italic>P</italic>&lt;.001) in the bootstrap analysis. GPT-5.3 Chat labeled reports at approximately US $0.018 per report and became less expensive than manual annotation when expert hourly wages exceeded US $0.64-1.50.</p>
        </sec>
        <sec sec-type="conclusions">
          <title>Conclusions</title>
          <p>Human-supervised transformers remain the strongest baseline, but frontier LLMs such as GPT-5.3 Chat offer comparable performance with minimal supervision. LLM-based distillation offers a cost-effective alternative with only minor performance loss. Dataset scale proved more influential than sampling strategy. Additionally, superior teacher performance yielded no proportional gains through distillation, as open-weight or low-cost teachers achieved comparable results. If supported by external validation, the proposed label-efficient framework could enable accurate and affordable negation detection and rapid domain adaptation.</p>
        </sec>
      </abstract>
      <kwd-group>
        <kwd>radiology report</kwd>
        <kwd>natural language processing</kwd>
        <kwd>negation</kwd>
        <kwd>deep learning</kwd>
        <kwd>transfer learning</kwd>
        <kwd>supervised learning</kwd>
        <kwd>validation study</kwd>
        <kwd>transformers</kwd>
        <kwd>BERT</kwd>
        <kwd>knowledge distillation</kwd>
        <kwd>clinical application</kwd>
        <kwd>radiology</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec sec-type="introduction">
      <title>Introduction</title>
      <sec>
        <title>Background</title>
        <p>Negation in radiology reports (eg, “No evidence of aortic dissection”) is crucial for excluding critical conditions and conveying diagnostic information. However, natural language processing (NLP) systems still struggle to determine whether medical concepts occur in negated or speculative contexts that do not indicate abnormal findings. Such errors may lead to downstream consequences that adversely affect health care, such as redundant keyword alerts and reduced clinician trust—the “cry-wolf” effect—when up to 40% of highlighted terms are false positives [<xref ref-type="bibr" rid="ref1">1</xref>]. Ignoring negation also diminishes the precision of information extraction [<xref ref-type="bibr" rid="ref2">2</xref>], leading to additional manual review and errors in downstream clinical, research, and educational tasks.</p>
        <p>Transformer-based models have markedly advanced negation detection [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref3">3</xref>,<xref ref-type="bibr" rid="ref4">4</xref>], but their performance depends on large, expert-annotated corpora and may decline under domain shifts [<xref ref-type="bibr" rid="ref5">5</xref>] as reporting styles change. By contrast, large language models (LLMs) demonstrate strong semantic understanding and can achieve competitive results through few-shot learning without full retraining [<xref ref-type="bibr" rid="ref6">6</xref>]. LLMs may also serve as teacher models for knowledge distillation (KD) [<xref ref-type="bibr" rid="ref7">7</xref>], reducing annotation costs and enhancing scalability. This study therefore investigates frontier LLMs and label-efficient supervision strategies that leverage LLMs to support reliable clinical NLP systems for radiology report negation detection.</p>
      </sec>
      <sec>
        <title>Review of Literature</title>
        <sec>
          <title>Historical Approaches to Negation and Speculation Detection</title>
          <p>Negation and speculation detection in clinical text has progressed from rule-based algorithms [<xref ref-type="bibr" rid="ref8">8</xref>-<xref ref-type="bibr" rid="ref13">13</xref>] to modern deep learning–based approaches [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref3">3</xref>,<xref ref-type="bibr" rid="ref4">4</xref>,<xref ref-type="bibr" rid="ref14">14</xref>-<xref ref-type="bibr" rid="ref21">21</xref>]. Early rule-based tools [<xref ref-type="bibr" rid="ref8">8</xref>-<xref ref-type="bibr" rid="ref13">13</xref>] used lexical patterns, with or without syntactic parsing, to define negation scope but struggled with text containing unusual grammar or requiring cross-sentence analysis. Machine learning methods [<xref ref-type="bibr" rid="ref22">22</xref>-<xref ref-type="bibr" rid="ref26">26</xref>] learned statistical cues from labeled corpora and outperformed rule-based models, yet remained constrained by handcrafted features and annotation demands.</p>
          <p>With deep learning [<xref ref-type="bibr" rid="ref14">14</xref>-<xref ref-type="bibr" rid="ref17">17</xref>,<xref ref-type="bibr" rid="ref19">19</xref>-<xref ref-type="bibr" rid="ref21">21</xref>], convolutional neural networks learned salient local context, whereas recurrent neural network–based models (eg, long short-term memory and gated recurrent unit models) better captured sequential dependencies and broader semantic relationships. Recent studies [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref3">3</xref>,<xref ref-type="bibr" rid="ref4">4</xref>,<xref ref-type="bibr" rid="ref18">18</xref>] show that fine-tuned transformers achieve strong performance in negation detection; however, their performance may depend on large human-labeled datasets. For instance, our previous work [<xref ref-type="bibr" rid="ref1">1</xref>] used 6000 annotated radiology reports, including 4500 training samples.</p>
        </sec>
        <sec>
          <title>KD and Label Efficiency in Clinical NLP</title>
          <p>KD transfers the predictive behavior of a large “teacher” model to a smaller “student” model, enabling compact architectures to retain accuracy while reducing computational requirements [<xref ref-type="bibr" rid="ref27">27</xref>,<xref ref-type="bibr" rid="ref28">28</xref>]. Widely adopted in NLP, KD enables smaller transformers to approximate larger models by mimicking their output distributions or internal representations. For example, DistilBERT (Distilled version of Bidirectional Encoder Representations from Transformers) reduces BERT’s (Bidirectional Encoder Representations from Transformers) number of parameters by approximately 40% while retaining most of its linguistic capabilities [<xref ref-type="bibr" rid="ref29">29</xref>].</p>
          <p>The rise of LLMs extends KD into a new paradigm in which powerful models such as GPT-3 generate high-quality pseudo-labels without task-specific fine-tuning [<xref ref-type="bibr" rid="ref7">7</xref>]. Transformers trained on these labels can approach human-labeled baselines while reducing annotation costs by up to 50%-96% [<xref ref-type="bibr" rid="ref7">7</xref>], although LLM-derived labels remain less reliable than expert annotations [<xref ref-type="bibr" rid="ref30">30</xref>].</p>
          <p>Recent studies have introduced KD into clinical NLP, including the compression of clinical transformers [<xref ref-type="bibr" rid="ref28">28</xref>] and the enhancement of information extraction from biomedical text [<xref ref-type="bibr" rid="ref31">31</xref>,<xref ref-type="bibr" rid="ref32">32</xref>] and public health communication [<xref ref-type="bibr" rid="ref33">33</xref>]. However, none of these studies has systematically evaluated KD as a label-efficient supervision strategy for radiology report negation detection or directly compared few-shot LLMs with human-labeled transformers for this specific task.</p>
        </sec>
      </sec>
      <sec>
        <title>Study Aim</title>
        <p>This study systematically evaluated LLMs and transformers under multiple supervision strategies to detect negation and speculation unrelated to abnormal findings in radiology reports across different training data scales. We investigated the following:</p>
        <list list-type="bullet">
          <list-item>
            <p>Whether KD from LLMs can substitute for expert labeling;</p>
          </list-item>
          <list-item>
            <p>How teacher model choice affects student performance;</p>
          </list-item>
          <list-item>
            <p>How sampling strategy influences overall F1-score and recall for negation subtypes;</p>
          </list-item>
          <list-item>
            <p>How student transformers compare with their LLM teachers;</p>
          </list-item>
          <list-item>
            <p>How human-labeled transformers compare with few-shot LLMs; and</p>
          </list-item>
          <list-item>
            <p>How different LLMs—including open-weight and state-of-the-art black-box models—perform under a fixed few-shot setting.</p>
          </list-item>
        </list>
        <p>By analyzing multiple supervision conditions and data scales, we aimed to determine when direct LLM deployment, distillation-based transformer fine-tuning, or human-labeled fine-tuning is most effective and to provide practical guidance for implementing and maintaining negation detection systems in health care settings.</p>
      </sec>
    </sec>
    <sec sec-type="methods">
      <title>Methods</title>
      <sec>
        <title>Ethical Considerations</title>
        <p>The Chi Mei Hospital Institutional Review Board (approval number 11410-020) approved the study. We deidentified all data for this retrospective analysis, obtained a waiver of informed consent, and provided no compensation to participants.</p>
      </sec>
      <sec>
        <title>Study Design</title>
        <p><xref rid="figure1" ref-type="fig">Figure 1</xref> illustrates the study workflow. The first author (KHW) analyzed 6000 labeled radiology reports from our previous dataset [<xref ref-type="bibr" rid="ref1">1</xref>]. The second author (BLH) independently annotated 1000 samples to assess interrater agreement, after which both authors resolved discrepancies. Multiple LLMs and transformer-based models processed the reports to identify negations and speculations unrelated to abnormal findings. We compared their keyword-level performance against human-annotated gold-standard labels.</p>
        <fig id="figure1" position="float">
          <label>Figure 1</label>
          <caption>
            <p>Study workflow.</p>
          </caption>
          <graphic xlink:href="medinform_v14i1e103912_fig1.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
        </fig>
      </sec>
      <sec>
        <title>Inclusion and Exclusion Criteria</title>
        <p>Our reused dataset comprised English-language X-ray, computed tomography (CT), magnetic resonance imaging (MRI), ultrasound, and special radiology examinations collected between 2012 and 2022 from the 3 hospital branches. We excluded Chinese-language reports and patients younger than 20 years, consistent with the applicable legal age of majority during the data collection period [<xref ref-type="bibr" rid="ref34">34</xref>]. We compiled the dataset using the following keyword searches: bleeding, consolidation, dissection, extravasation, fracture, infarct, metastasis, pneumoperitoneum, pneumothorax, pulmonary TB, thrombosis, and tumor. We derived these keywords from the institution’s predefined list of alert terms that trigger highlighting or pager notifications in radiology reports.</p>
      </sec>
      <sec>
        <title>Dataset Preparation</title>
        <sec>
          <title>Deidentification</title>
          <p>We deidentified all included radiology reports by removing identifying information, including medical record numbers, application numbers, examination dates, ordering departments, and examination times.</p>
        </sec>
        <sec>
          <title>Interrater Agreement Assessment</title>
          <p>We inherited the dataset from our previous study, in which the primary annotator (KHW) generated the original labels. For this study, we formalized the previous annotation guidelines without substantively changing the annotation criteria to enable independent annotation by a second annotator.</p>
          <p>After finalizing the annotation guidelines, we randomly selected 1000 reports from our dataset to assess interrater agreement using Cohen κ.</p>
          <p>Author BLH, a physician coauthor in postgraduate training, independently annotated the reports, while the primary annotator (KHW) reannotated the same cases. KHW and BLH calculated word-level agreement, resolved discrepancies by consensus, and revised the labels accordingly.</p>
        </sec>
        <sec>
          <title>Human and Computational Cost Estimation</title>
          <sec>
            <title>Overview of Break-Even Cost Analysis</title>
            <p>We performed an illustrative break-even analysis comparing manual expert annotation with LLM-assisted pseudo-label generation for the full training dataset (n=4200). The LLM-assisted workflow included prompt engineering, GPT-5.3 Chat inference, and 2-pass dynamic programming (DP)–based text alignment. For manual annotation, we extrapolated the total annotation time from a small subset of expert-annotated samples, considering scenarios with and without familiarity-related efficiency gains. We defined the break-even hourly wage as the expert wage at which the 2 approaches incurred equal estimated costs. As annotation efficiency gains, prompt-engineering effort, API pricing, and computational infrastructure vary across settings, we considered these estimates context-specific rather than universal. We report transformer fine-tuning costs separately because both workflows required fine-tuning, leaving the break-even threshold unchanged.</p>
          </sec>
          <sec>
            <title>Annotation and Prompt Engineering Time Estimation</title>
            <p>The primary annotator (KHW) optimized the prompts for LLM inference. As this time was not recorded prospectively, we retrospectively estimated the total prompt engineering effort from experimental logs by multiplying the number of optimization iterations by the estimated time per iteration. The primary annotator estimated the average duration of each iteration.</p>
            <p>The second annotator (BLH) recorded the labeling time, which we extrapolated to 4200 reports to estimate the total time, assuming an efficiency gain of up to 100% with task familiarity [<xref ref-type="bibr" rid="ref35">35</xref>]. We also conducted a sensitivity analysis assuming no familiarity-related efficiency gains.</p>
          </sec>
          <sec>
            <title>Computational Cost Estimation for Transformer Models and Text Alignment</title>
            <p>We rented a cloud instance from Vast.ai (Intel Core i5-14400F CPU, 32 GB RAM, NVIDIA RTX 5080 GPU, and 2.5 TB SSD [solid-state drive]) at US $0.633 per hour. We estimated the computational costs of 3 processes by multiplying the execution time of each process by the hourly rental rate: training ALBERT (A Lite Bidirectional Encoder Representations from Transformers) on the largest human-labeled training dataset (n=4200 reports), running ALBERT inference on the full test dataset (n=1200 reports), and performing 2-pass DP text alignment on the 10-shot GPT-5.3 Chat inference results for the full test dataset (n=1200 reports).</p>
          </sec>
          <sec>
            <title>GPT-5.3 Chat Inference Cost Estimation</title>
            <p>We recorded the input, cached input, and output tokens consumed by GPT-5.3 Chat on the test dataset. We calculated inference costs by multiplying the numbers of uncached input tokens (total input tokens minus cached input tokens), cached input tokens, and output tokens by their respective per-token prices at the time of the study (US $1.75, US $0.18, and US $14.00 per million tokens, respectively) and summing the resulting costs. We then calculated the mean cost per report and extrapolated the total cost to the full training dataset (n=4200 reports).</p>
            <p>We performed LLM inference, excluding 2-pass DP text alignment, on the authors’ existing local, consumer-grade PC rather than the rented Vast.ai instance, thereby avoiding additional Vast.ai rental costs.</p>
          </sec>
        </sec>
        <sec>
          <title>Data Annotation</title>
          <p>We refined the labels for negations and speculations unrelated to abnormal findings using our in-house software, which served as the gold standard for analysis. Annotators labeled spans throughout the entire report rather than only the predefined target keywords. We labeled each token as either category 0 (positive or speculative statements potentially related to abnormal findings) or category 1 (negative or speculative statements unrelated to abnormal findings), as in our previous study (<xref ref-type="table" rid="table1">Table 1</xref>) [<xref ref-type="bibr" rid="ref1">1</xref>].</p>
          <table-wrap position="float" id="table1">
            <label>Table 1</label>
            <caption>
              <p>Classification of words and tokens in our study.</p>
            </caption>
            <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
              <col width="30"/>
              <col width="400"/>
              <col width="390"/>
              <col width="180"/>
              <thead>
                <tr valign="bottom">
                  <td colspan="2">Type and subtypes</td>
                  <td>Example<sup>a</sup></td>
                  <td>Token classification<sup>b</sup></td>
                </tr>
              </thead>
              <tbody>
                <tr valign="top">
                  <td colspan="4">
                    <bold>Negative</bold>
                  </td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td>Sentential negation</td>
                  <td>
                    <list list-type="bullet">
                      <list-item>
                        <p>Tibial shaft fractures <italic>without displacement</italic>.</p>
                      </list-item>
                    </list>
                  </td>
                  <td>1</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td>Symbolic or telegraphic-style negation</td>
                  <td>
                    <list list-type="bullet">
                      <list-item>
                        <p>
                          <italic>(–) Metastasis</italic>
                        </p>
                      </list-item>
                      <list-item>
                        <p>
                          <italic>Dense MCA sign: No</italic>
                        </p>
                      </list-item>
                    </list>
                  </td>
                  <td>1</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td>Morphological negation</td>
                  <td>
                    <list list-type="bullet">
                      <list-item>
                        <p>
                          <italic>Nontumoral lesion</italic>
                        </p>
                      </list-item>
                    </list>
                  </td>
                  <td>1</td>
                </tr>
                <tr valign="top">
                  <td colspan="4">
                    <bold>Speculative</bold>
                  </td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td>Speculation unrelated to abnormal findings</td>
                  <td>
                    <list list-type="bullet">
                      <list-item>
                        <p>
                          <italic>No CT evidence of acute infarct. Suggest MRI to exclude hyperacute infarct if indicated.</italic>
                        </p>
                      </list-item>
                    </list>
                  </td>
                  <td>1</td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td>Speculation potentially related to abnormal findings</td>
                  <td>
                    <list list-type="bullet">
                      <list-item>
                        <p>Rt parietal lobe acute infarct cannot be excluded.</p>
                      </list-item>
                      <list-item>
                        <p>R/O pneumonia</p>
                      </list-item>
                    </list>
                  </td>
                  <td>0</td>
                </tr>
                <tr valign="top">
                  <td colspan="4">
                    <bold>Positive</bold>
                  </td>
                </tr>
                <tr valign="top">
                  <td>
                    <break/>
                  </td>
                  <td>
                    <break/>
                  </td>
                  <td>
                    <list list-type="bullet">
                      <list-item>
                        <p>Rt parietal lobe acute infarct.</p>
                      </list-item>
                    </list>
                  </td>
                  <td>0</td>
                </tr>
              </tbody>
            </table>
            <table-wrap-foot>
              <fn id="table1fn1">
                <p><sup>a</sup>The token class indicates the italicized text only. All nonitalicized text is assigned to category 0.</p>
              </fn>
              <fn id="table1fn2">
                <p><sup>b</sup>Category 0 represents positive statements or speculations potentially associated with abnormal findings, and category 1 represents negation or speculations unrelated to abnormal findings.</p>
              </fn>
            </table-wrap-foot>
          </table-wrap>
          <p>As in our previous work, we designed the annotation scheme to optimize downstream clinical workflows, including clinical alerts, keyword highlighting, and case retrieval, rather than general-purpose negation detection. Accordingly, we used a task-specific annotation scheme.</p>
          <p>For our downstream task, explicit negations and speculations unrelated to abnormal findings both indicate the absence of disease presence or suspicion in radiology reports. We therefore annotated them as a single category to align with the downstream clinical objective.</p>
          <p>For secondary analysis, we further divided category 1 tokens into 4 linguistic patterns but treated them as a single class during model evaluation. Following our previous work [<xref ref-type="bibr" rid="ref1">1</xref>], we categorized negations as sentential, symbolic, or morphological. We identified speculation unrelated to abnormal findings in 2 situations: (1) when the radiologist explicitly denied a finding, for example, “No evidence of A; suggest exam B to rule out A if indicated,” or (2) when a diagnosis could not be evaluated or excluded because of study limitations, such as motion artifacts, technical issues, or suboptimal contrast.</p>
        </sec>
        <sec>
          <title>Dataset Partition</title>
          <p>We reshuffled the dataset and split it into training, validation, and test sets at a ratio of 7:1:2 (4200, 600, and 1200 reports, respectively). The validation set was used solely for early stopping during transformer fine-tuning.</p>
          <p>We split the test dataset without enforcing patient-level separation, allowing follow-up studies from the same individuals to appear across subsets. This design reflects real-world practice, in which new data naturally include patients who undergo multiple examinations.</p>
          <p>We also constructed an engineering dataset comprising approximately 80 training samples for iterative LLM prompt refinement.</p>
        </sec>
      </sec>
      <sec>
        <title>Model Development</title>
        <sec>
          <title>Overview of the Model Development and KD Framework</title>
          <p><xref rid="figure2" ref-type="fig">Figure 2</xref> summarizes the model development and KD framework.</p>
          <fig id="figure2" position="float">
            <label>Figure 2</label>
            <caption>
              <p>Model-development and knowledge-distillation framework. ALBERT: A Lite Bidirectional Encoder Representations from Transformers; BERT: Bidirectional Encoder Representations from Transformers; Bio_ClinicalBERT: Bio + Clinical BERT model; LLM: large language model.</p>
            </caption>
            <graphic xlink:href="medinform_v14i1e103912_fig2.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
          <p>We fine-tuned 3 transformer backbones across 28 training data sizes and 3 data-sampling seeds, using expert labels with random or stratified sampling or pseudo-labels generated by 3 LLMs through 10-shot prompting with random sampling. We also evaluated the LLMs through direct 0-, 5-, and 10-shot inference, using 3 example-selection seeds for the 5- and 10-shot settings. <xref rid="figure3" ref-type="fig">Figure 3</xref> illustrates the keyword-level evaluation process for all models.</p>
          <fig id="figure3" position="float">
            <label>Figure 3</label>
            <caption>
              <p>Model evaluation process. We replaced each underlined segment with white space of equal length to keep text alignment. The system predicted matched keywords in filtered text as class 0 and white space–replaced keywords as class 1. We compared predicted classes (ŷ) with gold labels (y) to compute word‑level performance metrics. LLM: large language model.</p>
            </caption>
            <graphic xlink:href="medinform_v14i1e103912_fig3.png" alt-version="no" mimetype="image" position="float" xlink:type="simple"/>
          </fig>
        </sec>
        <sec>
          <title>Large Language Models</title>
          <sec>
            <title>Prompt Development and Optimization</title>
            <p>We designed a structured, rule-guided prompt (<xref ref-type="supplementary-material" rid="app1">Multimedia Appendix 1</xref>) to instruct LLMs to remove negations and speculations unrelated to abnormal findings while keeping all other content unchanged. A board-certified radiologist iteratively optimized the prompt using GPT-5.3 Chat and the engineering dataset, adjusting errors until zero-shot performance plateaued. We abstracted common linguistic patterns and avoided reproducing original sentences. The final prompt contained no test-specific patterns or phrases.</p>
            <p>The prompt defined 4 mutually exclusive negation and speculation categories (<xref ref-type="table" rid="table1">Table 1</xref>), with representative example phrases, and directed the LLM to provide reasoning for each removal, including the negation type, trigger words, justification, and confidence (0-1). If the LLM detected no negation, it returned the original text unchanged with an empty reasoning array.</p>
            <p>For sensitivity analysis, we also performed lightweight, model-specific prompt adaptation using the engineering dataset to evaluate its impact on LLM performance. We incorporated brief clarifications describing the linguistic patterns most frequently missed by each model into the original GPT-5.3 Chat–optimized prompt while preserving its overall structure. The adapted prompts were used only for this analysis and not to generate pseudo-labels for subsequent KD experiments or to conduct few-shot experiments on the full test dataset.</p>
          </sec>
          <sec>
            <title>Stratified Few-Shot Sample Selection</title>
            <p>We constructed few-shot samples from the training dataset and grouped all reports into 4 predefined negation subtypes (<xref ref-type="table" rid="table1">Table 1</xref>) to balance minority patterns. For a given number of shots (N), we evenly distributed examples across categories—for example, 3, 3, 2, and 2 reports for n=10. Reports could belong to multiple groups if they contained multiple negation subtypes. Within each group, we shuffled reports using 3 fixed random seeds (1000, 1357, and 5566) and selected unique samples sequentially without duplication to maintain balanced representation, reproducibility, and sample uniqueness.</p>
          </sec>
          <sec>
            <title>Model Selection and Implementation</title>
            <p>We evaluated 3 LLMs using a standardized, API-based inference pipeline: GPT-5.3 Chat (OpenAI), Qwen3.6-Plus (Alibaba), and the open-weight Gemma 4 31B Instruct (Google).</p>
            <p>We accessed GPT-5.3 Chat through the OpenAI API and the other 2 models through OpenRouter (Stripe, Inc). We applied uniform prompting, few-shot sampling, and output parsing across models, setting the temperature to 0 and the random seed to 5566 when supported to ensure consistent, deterministic inference.</p>
          </sec>
          <sec>
            <title>Word‑Level Alignment of Filtered Texts</title>
            <p>We aligned LLM outputs with the original text using a 2-pass DP algorithm to enable accurate performance evaluation and generate distilled labels for transformer training. The first pass calculated the minimum edit distance, and the second minimized word-boundary breaks among optimal edit paths to avoid fragmenting words.</p>
            <p>During backtracking, the algorithm discarded text inserted by the LLM because it had no corresponding character positions in the original report, whereas deleted source text was replaced with white space at the corresponding positions. Consequently, keyword-level evaluation used only the filtered original report and was therefore unaffected by text inserted by the LLM. As the algorithm solved a global edit-distance optimization problem and deterministically selected 1 optimal alignment in the second pass, it always produced at least one valid alignment, even when the LLM removed every source character and generated entirely hallucinated text; in such cases, the deleted source positions were represented as white space.</p>
            <p>This process established a consistent character-position mapping between the raw and filtered texts. For example, aligning “You candy” with “You cannot eat candy” produces “You (space) candy” rather than “You can (space) dy,” ensuring that the word “candy” remains contiguous. Our planned hospital information system implementation uses algorithmically filtered text rather than raw LLM output.</p>
          </sec>
        </sec>
        <sec>
          <title>Transformer Models</title>
          <sec>
            <title>Token-Character Mapping</title>
            <p>We implemented a tokenizer-independent training and inference pipeline. During both stages, we used the tokenizer’s offset mapping to associate each subword token with its corresponding character span. During fine-tuning, we assigned class 1 to subword tokens whose character spans overlapped with labeled spans and class 0 to all other tokens. During inference, we projected predicted class 1 subword tokens back to character-level masks using the same offset mapping. We then performed keyword matching and evaluation using predicted and gold character–level masks rather than tokenizer-specific subword sequences, ensuring consistent evaluation across different transformer tokenizers.</p>
          </sec>
          <sec>
            <title>Model Selection and Implementation</title>
            <p>We fine-tuned transformer models using the Hugging Face (Hugging Face, Inc) framework with 3 fixed random seeds (1000, 1357, and 5566) to ensure reproducibility. For each seed, the training subset was resampled according to the assigned sampling strategy, and the model was fine-tuned separately on each sampled dataset.</p>
            <p>Each model processed sequences of up to 512 tokens with a batch size of 8 and was trained for up to 60 epochs (learning rate 2.0 × 10<sup>–5</sup>, weight decay 0.01, and linear warmup 0.1), with early stopping after 3 validation rounds. We did not perform hyperparameter searches; instead, we used identical hyperparameters across all transformer backbone models to ensure fair comparisons among backbone models and supervision strategies.</p>
            <p>We fine-tuned 3 pretrained models: Bio_ClinicalBERT (Bio + Clinical BERT model) (emilyalsentzer/Bio_ClinicalBERT), BERT-Large-Uncased (bert-large-uncased), and ALBERT-XXLarge-v2 (albert-xxlarge-v2). For long reports, we segmented the text into chunks of up to 384 tokens while preserving sentence boundaries.</p>
          </sec>
          <sec>
            <title>Multifactor Model Training Design</title>
            <p>We systematically investigated transformer-based filtering of radiology reports using a controlled multifactorial design, examining how training size, model architecture, label source, sampling strategy, and data sampling seeds influenced performance.</p>
            <p>We trained ALBERT, BERT, and Bio_ClinicalBERT across data scales ranging from 1% (42/4200) to 20% (840/4200), in 1% (42/4200) increments, and from 30% (1260/4200) to 100% (4200/4200), in 10% (420/4200) increments. Labels came from expert annotations or distillations from GPT-5.3 Chat, Gemma 4, and Qwen3.6-Plus using 10-shot prompting. Sampling was either stratified or random; stratified sampling was used only for human-labeled data because LLM-predicted negation subtypes lacked human verification. Each fine-tuned transformer model represented a unique combination of backbone, data size, label source, sampling strategy, and data seed.</p>
          </sec>
        </sec>
        <sec>
          <title>Assessment of Keyword-Level Filtering Performance</title>
          <p>As shown in <xref rid="figure3" ref-type="fig">Figure 3</xref>, our experiment followed a structured 3-stage workflow to assess keyword-level filtering performance.</p>
          <p>First, we removed negations and speculations unrelated to abnormal findings using both LLMs and transformers to process all test-set reports. Each model aimed to detect and remove tokens labeled as class 1 by experts.</p>
          <p>Second, we performed text realignment. After filtering, we realigned each LLM output with the original report using the aforementioned 2-pass DP algorithm.</p>
          <p>Third, we performed keyword matching and evaluation. Although annotators labeled spans throughout each report, we evaluated performance at the predefined keyword level because this evaluation reflects the intended clinical workflows, such as keyword highlighting and case retrieval. For each target high-priority keyword (bleeding, consolidation, dissection, extravasation, fracture, infarct, metastasis, pneumoperitoneum, pneumothorax, pulmonary TB, thrombosis, and tumor) [<xref ref-type="bibr" rid="ref1">1</xref>], we determined, based on the prefiltered text, whether it occurred within a negated or speculative context unrelated to abnormal findings (y=1) and whether the model masked it (ŷ=1). We then computed keyword-level precision, recall, and <italic>F</italic><sub>1</sub>-scores and derived subtype-specific recall across 4 negation subtypes to assess model performance. All performance metrics in our study reflect keyword-level filtering performance for predefined clinical alert keywords, not general span-level negation detection, unless otherwise specified.</p>
        </sec>
      </sec>
      <sec>
        <title>Statistical Analysis</title>
        <sec>
          <title>Overview of the Analytical Framework</title>
          <p>This study included 2 complementary analytical frameworks. Primary and secondary comparative analyses (comparison families A-G) used 10,000 paired bootstrap resamples of held-out test reports to estimate paired differences in <italic>F</italic><sub>1</sub>-scores and, for subtype-specific analyses, recall, along with 95% CIs and multiplicity-adjusted <italic>P</italic> values.</p>
          <p>Descriptive performance and sensitivity analyses were conducted directly on the original test dataset without bootstrap resampling. These analyses included performance under maximal-data conditions, sensitivity analyses of patient overlap, and variability across data sampling seeds.</p>
        </sec>
        <sec>
          <title>Bootstrapped Paired Evaluation</title>
          <p>We performed all statistical analyses in Python 3.13.5 (Python Foundation). We set the significance level to α=.05 and used 2-sided tests unless stated otherwise.</p>
          <p>Using a paired bootstrap framework, we compared the primary outcome (keyword-based <italic>F</italic><sub>1</sub>-score) and the secondary outcome (recall for each of the 4 negation subtypes).</p>
          <p>We generated 10,000 bootstrap replicates by sampling with replacement from the 1200-report test dataset and computed group performance on the same set of replicates to ensure strict pairing across all comparison families.</p>
          <p>For each contrast between groups A and B within a fixed training-size range, we defined the paired difference as Δr = metric<sub>A,r</sub> − metric<sub>B,r</sub>. The metrics for groups A and B (metric<sub>A,r</sub> and metric<sub>B,r</sub>, respectively) were averaged across all compatible seed-specific model configurations, including training data size, backbone architecture, label source, sampling strategy, and data seeds, as applicable.</p>
          <p>The empirical distribution of Δr yielded the mean difference, the 95% percentile CI, and the 2-sided empirical <italic>P</italic> value: 2 × min(P[Δr≥0], P[Δr≤0]). We controlled for multiplicity using the Holm-Bonferroni procedure and rejected the null hypothesis (Δ=0) when the adjusted <italic>P</italic> value was &lt;α. The 95% CIs were not adjusted for multiplicity.</p>
        </sec>
        <sec>
          <title>Definition of Comparison Families</title>
          <sec>
            <title>Overview</title>
            <p>We organized the statistical comparisons into 7 families across predefined training-size ranges. Each family assessed specific contrasts in model performance.</p>
          </sec>
          <sec>
            <title>Comparison Family A: Human-Labeled Versus Distill-Labeled Transformers</title>
            <p>We compared mean <italic>F</italic><sub>1</sub>-scores between transformers trained on human-labeled data and those trained on LLM-distilled labels, both using random sampling.</p>
          </sec>
          <sec>
            <title>Comparison Family B: Distill-Labeled Transformers by Teacher Source</title>
            <p>We performed pairwise contrasts among transformers trained on labels distilled from GPT-5.3 Chat, Qwen3.6-Plus, and Gemma 4 to examine the influence of the teacher LLM on student performance.</p>
          </sec>
          <sec>
            <title>Comparison Family C: Sampling Strategy Under Human Labeling</title>
            <p>We compared the mean <italic>F</italic><sub>1</sub>-scores of human-labeled transformers trained using stratified and random sampling.</p>
          </sec>
          <sec>
            <title>Comparison Family D: Student Group Versus Corresponding Teacher</title>
            <p>We compared each distilled transformer with its corresponding teacher LLM.</p>
          </sec>
          <sec>
            <title>Comparison Family E: Human-Labeled Versus Each LLM</title>
            <p>We compared human-labeled transformers trained using both stratified and random sampling, with each LLM evaluated under a fixed 10-shot setting.</p>
          </sec>
          <sec>
            <title>Comparison Family F: Among LLMs</title>
            <p>We conducted pairwise comparisons among the LLMs (GPT-5.3 Chat, Qwen3.6-Plus, and Gemma 4) to identify differences in performance.</p>
          </sec>
          <sec>
            <title>Comparison Family G: Per-Category Recall Under Human Labeling</title>
            <p>We compared mean recall across all negation subtypes between stratified and random sampling to assess subtype-specific recall.</p>
          </sec>
        </sec>
        <sec>
          <title>Definition of Training‑Sample Size Ranges</title>
          <p>In this study, we considered training sample sizes below 1000 to represent relatively small-scale transformer training [<xref ref-type="bibr" rid="ref36">36</xref>]. We selected 840 as the cutoff, as it is close to 1000 and corresponds to 20% (840/4200) of the full training set, to distinguish between small- and large-sample conditions.</p>
          <p>For analyses A, B, C, D, E, and G, primary inferences were made across the small-sample (n=42-840) and large-sample (n=1260-4200) ranges, followed by secondary exploratory analyses at each training size.</p>
        </sec>
        <sec>
          <title>Post Hoc Error-Pattern Analysis Under Best-Case Pseudo-Label Supervision</title>
          <p>We conducted a post hoc descriptive analysis of residual limitations at the case level under best-case pseudo-label supervision. We selected the 10-shot LLM with the highest <italic>F</italic><sub>1</sub>-score as the teacher and, at the maximum training set size, identified the transformer architecture with the smallest <italic>F</italic><sub>1</sub>-score reduction under pseudo-label supervision relative to its human-supervised counterpart. Both models used the same backbone, 4200 training reports, and sampling strategy. We then manually reviewed test cases that the human-supervised transformer classified correctly but the pseudo-label–supervised transformer misclassified, along with the corresponding predictions from the LLM teacher.</p>
        </sec>
        <sec>
          <title>Sensitivity Analysis for Patient Overlap</title>
          <p>We conducted a descriptive sensitivity analysis by excluding patients in the test dataset who also appeared in the training or validation sets and recalculating <italic>F</italic><sub>1</sub>-scores for models evaluated under maximal-data conditions. For each model configuration, <italic>F</italic><sub>1</sub>-scores were averaged across 3 data sampling seeds before and after exclusion, and the corresponding difference (Δ<italic>F</italic><sub>1</sub>-score) was reported. We did not perform bootstrap resampling or hypothesis testing for this analysis.</p>
        </sec>
        <sec>
          <title>Sensitivity Analysis of Data Seed Variability</title>
          <p>We conducted a descriptive sensitivity analysis of multiseed variability on the original test dataset without bootstrap resampling. We evaluated 5- and 10-shot LLM inference across 3 few-shot example selection seeds and all transformer configurations across 3 training-data sampling seeds used during fine-tuning. For each configuration, we calculated keyword-level <italic>F</italic><sub>1</sub>-scores for each seed and reported the mean and sample SD of the 3 seed-specific <italic>F</italic><sub>1</sub>-scores (<xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>).</p>
        </sec>
      </sec>
    </sec>
    <sec sec-type="results">
      <title>Results</title>
      <sec>
        <title>Demographics</title>
        <p>Following our previous study [<xref ref-type="bibr" rid="ref1">1</xref>], we used a dataset of 6000 radiology reports authored by 78 residents and attending physicians in the radiology department. The dataset included 2538 plain radiography reports, 2163 CT reports, 668 MRI reports, 483 ultrasound reports, 97 angiography reports, and 51 reports from other modalities.</p>
        <p>The corpus comprised 78,901 sentences and 704,512 words. After refining the annotations, we labeled 105,140 (14.92%) words, corresponding to 19,465 span-based labels, as negative or speculative statements unrelated to abnormal findings. We defined a “word” as the longest contiguous sequence of non–white space characters; for example, “(–) hypertension” =2 words. Of these labels, 16,362 (84.06%) were classified as sentential, 2770 (14.23%) as symbolic, 135 (0.69%) as morphological negations, and 198 (1.02%) as speculations unrelated to abnormal findings (<xref ref-type="table" rid="table1">Table 1</xref>).</p>
        <p><xref ref-type="table" rid="table2">Table 2</xref> summarizes the distribution of the 12 target keyword occurrences across the training, validation, and test datasets. All target keywords appeared in every dataset partition, although their frequencies varied. We used the same version of spaCy [<xref ref-type="bibr" rid="ref37">37</xref>] and the same keyword-counting procedure as in our previous study [<xref ref-type="bibr" rid="ref1">1</xref>] to calculate keyword occurrence frequencies for descriptive characterization of the dataset.</p>
        <table-wrap position="float" id="table2">
          <label>Table 2</label>
          <caption>
            <p>Distribution of target keyword occurrences across the training, validation, and test datasets. Values represent the total occurrences and frequencies of each target keyword in each dataset partition. Repeated keywords within a report were counted separately because performance was evaluated at the individual keyword-occurrence level.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="230"/>
            <col width="280"/>
            <col width="280"/>
            <col width="210"/>
            <thead>
              <tr valign="top">
                <td>Keywords</td>
                <td>Training (n=8017), n (%)</td>
                <td>Validation (n=1107), n (%)</td>
                <td>Test (n=2385), n (%)</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Bleeding</td>
                <td>92 (1.15)</td>
                <td>19 (1.72)</td>
                <td>6 (0.25)</td>
              </tr>
              <tr valign="top">
                <td>Consolidation</td>
                <td>316 (3.94)</td>
                <td>38 (3.43)</td>
                <td>74 (3.10)</td>
              </tr>
              <tr valign="top">
                <td>Dissection</td>
                <td>477 (5.95)</td>
                <td>54 (4.88)</td>
                <td>141 (5.91)</td>
              </tr>
              <tr valign="top">
                <td>Extravasation</td>
                <td>149 (1.86)</td>
                <td>12 (1.08)</td>
                <td>21 (0.88)</td>
              </tr>
              <tr valign="top">
                <td>Fracture</td>
                <td>1554 (19.38)</td>
                <td>216 (19.51)</td>
                <td>410 (17.19)</td>
              </tr>
              <tr valign="top">
                <td>Infarct</td>
                <td>970 (12.10)</td>
                <td>126 (11.38)</td>
                <td>268 (11.24)</td>
              </tr>
              <tr valign="top">
                <td>Metastasis</td>
                <td>1275 (15.90)</td>
                <td>162 (14.63)</td>
                <td>438 (18.36)</td>
              </tr>
              <tr valign="top">
                <td>Pneumoperitoneum</td>
                <td>44 (0.55)</td>
                <td>7 (0.63)</td>
                <td>12 (0.50)</td>
              </tr>
              <tr valign="top">
                <td>Pneumothorax</td>
                <td>902 (11.25)</td>
                <td>142 (12.83)</td>
                <td>263 (11.03)</td>
              </tr>
              <tr valign="top">
                <td>Pulmonary TB</td>
                <td>9 (0.11)</td>
                <td>4 (0.36)</td>
                <td>2 (0.08)</td>
              </tr>
              <tr valign="top">
                <td>Thrombosis</td>
                <td>416 (5.19)</td>
                <td>65 (5.87)</td>
                <td>137 (5.74)</td>
              </tr>
              <tr valign="top">
                <td>Tumor</td>
                <td>1813 (22.61)</td>
                <td>262 (23.67)</td>
                <td>613 (25.70)</td>
              </tr>
            </tbody>
          </table>
        </table-wrap>
      </sec>
      <sec>
        <title>Interrater Agreement Assessment</title>
        <p>We randomly sampled 1000 radiology reports (116,405 words) for independent annotation, yielding an interannotator agreement of κ=0.957.</p>
      </sec>
      <sec>
        <title>Human and Computational Cost Estimation</title>
        <p><xref ref-type="table" rid="table3">Table 3</xref> summarizes the estimated human labor and computational costs of the evaluated workflows.</p>
        <table-wrap position="float" id="table3">
          <label>Table 3</label>
          <caption>
            <p>Estimated human labor and computational costs of the evaluated workflows.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="250"/>
            <col width="110"/>
            <col width="160"/>
            <col width="300"/>
            <col width="180"/>
            <thead>
              <tr valign="top">
                <td>Tasks</td>
                <td>Dataset</td>
                <td>Effort/cost</td>
                <td>Basis</td>
                <td>Assumption</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Prompt engineering</td>
                <td>Engineering<sup>a</sup></td>
                <td>6-12 hours</td>
                <td>6 optimization iterations</td>
                <td>1-2 hours per iteration</td>
              </tr>
              <tr valign="top">
                <td>Manual labeling</td>
                <td>Training<sup>b</sup></td>
                <td>63-126 hours</td>
                <td>3 hours for 100 reports</td>
                <td>100% efficiency gain with task familiarity</td>
              </tr>
              <tr valign="top">
                <td>GPT-5.3 Chat inference</td>
                <td>Training</td>
                <td>US $76.4</td>
                <td>N/A<sup>c</sup></td>
                <td>Extrapolated<sup>d</sup></td>
              </tr>
              <tr valign="top">
                <td>GPT-5.3 Chat inference</td>
                <td>Test<sup>e</sup></td>
                <td>US $21.8</td>
                <td>7,864,252 input; 30,016 cached input; and 580,468 output tokens (35 minutes and 11 seconds)</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>Two-pass dynamic programming</td>
                <td>Training</td>
                <td>US $0.31</td>
                <td>N/A</td>
                <td>Extrapolated</td>
              </tr>
              <tr valign="top">
                <td>Two-pass dynamic programming</td>
                <td>Test</td>
                <td>US $0.09</td>
                <td>498.5 seconds</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>ALBERT<sup>f</sup> fine-tuning</td>
                <td>Training</td>
                <td>US $0.37</td>
                <td>2,091.3 seconds</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>ALBERT inference</td>
                <td>Test</td>
                <td>US $0.01</td>
                <td>57.0 seconds</td>
                <td>N/A</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table3fn1">
              <p><sup>a</sup>The engineering dataset (about 80 reports).</p>
            </fn>
            <fn id="table3fn2">
              <p><sup>b</sup>The maximal training dataset (n=4200 reports).</p>
            </fn>
            <fn id="table3fn3">
              <p><sup>c</sup>N/A: not applicable.</p>
            </fn>
            <fn id="table3fn4">
              <p><sup>d</sup>Extrapolated values were estimated from the test dataset.</p>
            </fn>
            <fn id="table3fn5">
              <p><sup>e</sup>The test dataset (n=1200 reports).</p>
            </fn>
            <fn id="table3fn6">
              <p><sup>f</sup>ALBERT: A Lite Bidirectional Encoder Representations from Transformers.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>Based on the costs included in this analysis, GPT-5.3 Chat–assisted annotation—which required 6-12 hours of expert work for prompt engineering, US $76.40 for GPT-5.3 Chat inference on the training dataset, and US $0.31 for 2-pass DP on the training dataset—became less expensive than manual annotation (63-126 hours of expert work) when expert hourly wages exceeded US $0.64-1.50.</p>
        <p>After model training, ALBERT inference on the full test dataset cost only US $0.01, compared with US $21.80 for GPT-5.3 Chat.</p>
      </sec>
      <sec>
        <title>Model Performance Under Maximal Data Conditions</title>
        <p>To provide an intuitive performance benchmark, we summarized keyword-level <italic>F</italic><sub>1</sub>-scores and subtype-specific recall under maximal training conditions (n=4200 for transformers and 10-shot prompting for LLMs) in <xref ref-type="table" rid="table4">Table 4</xref>.</p>
        <table-wrap position="float" id="table4">
          <caption>
            <p>Model performance under maximal data conditions with sensitivity analysis in the test dataset, with transformers trained on the full training set (n=4200) and large language models evaluated using the 10‑shot setting.<sup>a</sup></p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="120"/>
            <col width="130"/>
            <col width="80"/>
            <col width="130"/>
            <col width="110"/>
            <col width="90"/>
            <col width="80"/>
            <col width="90"/>
            <col width="80"/>
            <col width="90"/>
            <col width="0"/>
            <thead>
              <tr valign="top">
                <td>Model</td>
                <td>Label source</td>
                <td>Sampling</td>
                <td><italic>F</italic><sub>1</sub>-score (full)<sup>b</sup></td>
                <td><italic>F</italic><sub>1</sub>-score (excluded)<sup>c</sup></td>
                <td>Δ<italic>F</italic><sub>1</sub>-score<sup>d</sup></td>
                <td>Recall (S)<sup>e</sup></td>
                <td>Recall (T)<sup>f</sup></td>
                <td>Recall (P)<sup>g</sup></td>
                <td>Recall (M)<sup>h</sup></td>
                <td>
                  <break/>
                </td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td>Gemma 4</td>
                <td>Human</td>
                <td>Stratified</td>
                <td>0.957</td>
                <td>0.963</td>
                <td>0.006</td>
                <td>0.974</td>
                <td>0.815</td>
                <td>1.000</td>
                <td>N/A<sup>i</sup></td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>GPT-5.3 Chat</td>
                <td>Human</td>
                <td>Stratified</td>
                <td>0.974</td>
                <td>0.973</td>
                <td>–0.001</td>
                <td>0.988</td>
                <td>0.972</td>
                <td>0.926</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>Qwen3.6-Plus</td>
                <td>Human</td>
                <td>Stratified</td>
                <td>0.950</td>
                <td>0.955</td>
                <td>0.005</td>
                <td>0.949</td>
                <td>0.937</td>
                <td>0.926</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="11">
                  <bold>BERT<sup>j</sup></bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human</td>
                <td>Stratified</td>
                <td>0.981</td>
                <td>0.981</td>
                <td>0.000</td>
                <td>0.993</td>
                <td>0.949</td>
                <td>0.889</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human</td>
                <td>Random</td>
                <td>0.985</td>
                <td>0.985</td>
                <td>0.000</td>
                <td>0.995</td>
                <td>0.968</td>
                <td>0.889</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Gemma 4</td>
                <td>Random</td>
                <td>0.962</td>
                <td>0.960</td>
                <td>–0.002</td>
                <td>0.994</td>
                <td>0.870</td>
                <td>0.963</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat</td>
                <td>Random</td>
                <td>0.949</td>
                <td>0.951</td>
                <td>0.002</td>
                <td>0.990</td>
                <td>0.661</td>
                <td>0.519</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Qwen3.6-Plus</td>
                <td>Random</td>
                <td>0.924</td>
                <td>0.928</td>
                <td>0.004</td>
                <td>0.977</td>
                <td>0.690</td>
                <td>0.778</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="11">
                  <bold>ALBERT<sup>k</sup></bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human</td>
                <td>Stratified</td>
                <td>0.982</td>
                <td>0.982</td>
                <td>0.000</td>
                <td>0.992</td>
                <td>0.968</td>
                <td>0.778</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human</td>
                <td>Random</td>
                <td>0.977</td>
                <td>0.978</td>
                <td>0.000</td>
                <td>0.993</td>
                <td>0.951</td>
                <td>0.667</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Gemma 4</td>
                <td>Random</td>
                <td>0.970</td>
                <td>0.970</td>
                <td>0.000</td>
                <td>0.987</td>
                <td>0.931</td>
                <td>0.963</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat</td>
                <td>Random</td>
                <td>0.972</td>
                <td>0.973</td>
                <td>0.001</td>
                <td>0.989</td>
                <td>0.937</td>
                <td>0.778</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Qwen3.6-Plus</td>
                <td>Random</td>
                <td>0.947</td>
                <td>0.946</td>
                <td>–0.001</td>
                <td>0.943</td>
                <td>0.945</td>
                <td>0.889</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="11">
                  <bold>Bio_ClinicalBERT<sup>l</sup></bold>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human</td>
                <td>Stratified</td>
                <td>0.984</td>
                <td>0.985</td>
                <td>0.001</td>
                <td>0.993</td>
                <td>0.968</td>
                <td>1.000</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human</td>
                <td>Random</td>
                <td>0.984</td>
                <td>0.985</td>
                <td>0.001</td>
                <td>0.993</td>
                <td>0.968</td>
                <td>1.000</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Gemma 4</td>
                <td>Random</td>
                <td>0.963</td>
                <td>0.963</td>
                <td>–0.001</td>
                <td>0.994</td>
                <td>0.907</td>
                <td>0.815</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat</td>
                <td>Random</td>
                <td>0.969</td>
                <td>0.968</td>
                <td>0.000</td>
                <td>0.992</td>
                <td>0.919</td>
                <td>0.704</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Qwen3.6-Plus</td>
                <td>Random</td>
                <td>0.967</td>
                <td>0.965</td>
                <td>–0.002</td>
                <td>0.990</td>
                <td>0.931</td>
                <td>0.815</td>
                <td>N/A</td>
                <td>
                  <break/>
                </td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table4fn1">
              <p><sup>a</sup><italic>F</italic><sub>1</sub>-scores and subtype-specific recalls were averaged across 3 data seeds. For direct large language model inference, “Label Source” and “Sampling” indicate the source and sampling strategy for few-shot exemplars, respectively, and the 3 data seeds correspond to different selections of few-shot exemplars. We did not fine-tune large language models.</p>
            </fn>
            <fn id="table4fn2">
              <p><sup>b</sup>Performance on the full test dataset.</p>
            </fn>
            <fn id="table4fn3">
              <p><sup>c</sup>Performance on the test dataset after excluding patients overlapping with the training and validation dataset.</p>
            </fn>
            <fn id="table4fn4">
              <p><sup>d</sup>Performance difference: <italic>F</italic><sub>1</sub>-score (excluded) – <italic>F</italic><sub>1</sub>-score (full).</p>
            </fn>
            <fn id="table4fn5">
              <p><sup>e</sup>Recall (S): Recall of sentential negation (n=982).</p>
            </fn>
            <fn id="table4fn6">
              <p><sup>f</sup>Recall (T): Recall of symbolic or telegraphic-style negation (n=169).</p>
            </fn>
            <fn id="table4fn7">
              <p><sup>g</sup>Recall (P): Recall of speculation unrelated to abnormal findings (n=9).</p>
            </fn>
            <fn id="table4fn8">
              <p><sup>h</sup>Recall (M): Recall of morphological negation; keyword absent in the test dataset (n=0), precluding calculation.</p>
            </fn>
            <fn id="table4fn9">
              <p><sup>i</sup>N/A: not applicable.</p>
            </fn>
            <fn id="table4fn10">
              <p><sup>j</sup>BERT: Bidirectional Encoder Representations from Transformers.</p>
            </fn>
            <fn id="table4fn11">
              <p><sup>k</sup>ALBERT: A Lite Bidirectional Encoder Representations from Transformers.</p>
            </fn>
            <fn id="table4fn12">
              <p><sup>l</sup>Bio_ClinicalBERT: Bio + Clinical BERT model.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>All 3 human-labeled transformer backbones (BERT, ALBERT, and Bio_ClinicalBERT) achieved comparably high keyword-level <italic>F</italic><sub>1</sub>-scores (0.982-0.985 under their best sampling conditions). Transformers trained on distilled labels performed slightly below their human-labeled counterparts. For LLMs in the 10-shot setting, GPT-5.3 Chat scored highest (<italic>F</italic><sub>1</sub>-score 0.974), followed by Gemma 4 (<italic>F</italic><sub>1</sub>-score 0.957) and Qwen3.6-Plus (<italic>F</italic><sub>1</sub>-score 0.950). These results provide a practical benchmark and complement the formal bootstrap-based comparative analyses presented below.</p>
        <p>For subtype-specific recall, sentential-negation recall remained high (0.943-0.995) across configurations, whereas recall of symbolic or telegraphic-style negation varied by backbone and label source. Relative to human-labeled models trained using random sampling, recall decreased by 0.098-0.307 for BERT, 0.006-0.020 for ALBERT, and 0.037-0.061 for Bio_ClinicalBERT across different pseudo-label sources, with ALBERT showing the smallest decrease in recall.</p>
        <p>Recall of speculation unrelated to abnormal findings ranged from 0.519 to 1.000 but should be interpreted with caution, as only 9 related keywords were present in the test dataset. No morphological-negation keywords were present in the test dataset, precluding calculation of recall. Subtype-specific precision and <italic>F</italic><sub>1</sub>-scores were unavailable because false positives in transformer output lacked subtype assignments.</p>
      </sec>
      <sec>
        <title>Post Hoc Error-Pattern Analysis Under Best-Case Pseudo-Label Supervision</title>
        <p>We selected ALBERT because replacing expert labels with GPT-5.3 Chat–generated pseudo-labels produced the smallest reduction in mean <italic>F</italic><sub>1</sub>-scores across multiple seeds under maximal-data random sampling (n=4200 reports; 0.977 vs 0.972). For feasibility, we selected the paired human-supervised and distilled runs corresponding to data sampling seed 5566 without comparing the seed-specific performance or error profiles of the 3 paired runs.</p>
        <p>Among 29 keyword occurrences across 22 test reports that the human-supervised ALBERT classified correctly but the distilled student misclassified, 13 (45%) were teacher-concordant errors, in which the teacher and student made the same incorrect classification. The remaining student-specific errors comprised 11 (38%) false positives in which only the student incorrectly filtered the keyword, 4 (14%) student false negatives involving symbolic or telegraphic-style negation, and 1 (3%) student false negative involving sentential negation.</p>
      </sec>
      <sec>
        <title>Sensitivity Analyses</title>
        <sec>
          <title>Overview of Sensitivity Analysis</title>
          <p><xref ref-type="table" rid="table5">Table 5</xref> summarizes 4 sensitivity analyses addressing assumed gains in annotation efficiency, patient overlap, model-specific prompt adaptation, and random seed selection. The following subsections report the corresponding quantitative results and methodological details.</p>
          <table-wrap position="float" id="table5">
            <label>Table 5</label>
            <caption>
              <p>Summary of major sensitivity analyses.</p>
            </caption>
            <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
              <col width="310"/>
              <col width="360"/>
              <col width="330"/>
              <thead>
                <tr valign="top">
                  <td>Methodological concern</td>
                  <td>Sensitivity analysis</td>
                  <td>Effect on study findings</td>
                </tr>
              </thead>
              <tbody>
                <tr valign="top">
                  <td>Assumption of annotation efficiency gain</td>
                  <td>No familiarity-related improvement in manual labeling efficiency</td>
                  <td>Break-even cost conclusion remained similar</td>
                </tr>
                <tr valign="top">
                  <td>Patient overlap</td>
                  <td>Exclusion of test-set patients overlapping with the training or validation sets</td>
                  <td>Negligible effect on performance estimates</td>
                </tr>
                <tr valign="top">
                  <td>Model-specific prompt sensitivity</td>
                  <td>Lightweight model-specific prompt adaptation</td>
                  <td>Minor and inconsistent changes in large language model performance</td>
                </tr>
                <tr valign="top">
                  <td>Dependence on specific seed selection</td>
                  <td>Evaluation across 3 data or few-shot example-selection seeds</td>
                  <td>Generally limited variability, with greater instability at smaller training sizes</td>
                </tr>
              </tbody>
            </table>
          </table-wrap>
        </sec>
        <sec>
          <title>Sensitivity Analysis of the Annotation Efficiency Assumption</title>
          <p>Assuming no efficiency gain from labeling familiarity, GPT-5.3 Chat–assisted labeling (requiring 6-12 hours of prompt engineering) became less expensive than 126 hours of expert annotation at hourly wages above US $0.64-0.67.</p>
        </sec>
        <sec>
          <title>Sensitivity Analysis to Patient Overlap</title>
          <p>We evaluated potential patient-level data leakage by reassessing the <xref ref-type="table" rid="table4">Table 4</xref> models after removing 253 out of 1111 (22.77% in the test dataset) unique patients who overlapped with the training and validation datasets. Δ<italic>F</italic><sub>1</sub>-scores ranged from –0.002 to 0.006, with mixed directions, consistent with random variation and suggesting a negligible impact of patient overlap on performance evaluation.</p>
        </sec>
        <sec>
          <title>Sensitivity Analysis of Prompt Adaptation</title>
          <p>The lightweight adaptation yielded only minor and inconsistent changes in performance (<italic>F</italic><sub>1</sub>-scores: Gemma 4, 0.878-0.858; Qwen3.6-Plus, 0.836-0.858). This analysis used only the engineering dataset (about 80 reports) under the zero-shot setting rather than 10-shot performance on the held-out test dataset. We developed and evaluated the adapted prompts using the same engineering dataset; therefore, the evaluation was not independent of prompt development.</p>
        </sec>
        <sec>
          <title>Sensitivity Analysis of Data Seed Variability</title>
          <p>We evaluated 1260 transformer seed-specific configurations, comprising 420 base configurations defined by training set size, backbone, label source, and sampling strategy, each evaluated using 3 training data sampling seeds.</p>
          <p>Keyword-level <italic>F</italic><sub>1</sub>-scores showed low but nonnegligible variability (<xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref>). On the full test set, the median SD was 0.012 (IQR 0.005-0.022; range 0.000-0.077). Small-sample configurations (n=42-840; 300 base configurations) showed greater variability (median SD 0.015; IQR 0.008-0.025) than large-sample configurations (n=1260-4200; 120 base configurations; median SD 0.006; IQR 0.003-0.012).</p>
          <p>Most base configurations showed limited seed-related variability: 295 of 420 (70.2%) base configurations had an SD ≤0.020, calculated from unrounded values. However, a minority, predominantly those with smaller training sizes, showed greater variability. The largest SD occurred for ALBERT trained on Qwen3.6-Plus–distilled labels with n=252 under random sampling (mean <italic>F</italic><sub>1</sub>-score 0.897; SD 0.077). Overall, transformer performance remained generally stable across seeds, although some configurations showed substantial seed-related variability, especially in the small-sample regime.</p>
          <p>Across the 3 evaluated LLMs, observed SDs were numerically higher with 5-shot prompting (median 0.010; range 0.003-0.021) than with 10-shot prompting (median 0.007; range 0.006-0.008).</p>
        </sec>
      </sec>
      <sec>
        <title>Primary Comparative Analysis</title>
        <p><xref ref-type="table" rid="table6">Table 6</xref> summarizes the primary comparisons across the small-sample (n=42-840) and large-sample (n=1260-4200) ranges (see per-N results in <xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>).</p>
        <table-wrap position="float" id="table6">
          <label>Table 6</label>
          <caption>
            <p>Mean differences (ΔF1-score or ΔRecall) with 95% bootstrap CIs<sup>a</sup>.</p>
          </caption>
          <table width="1000" cellpadding="5" cellspacing="0" border="1" rules="groups" frame="hsides">
            <col width="30"/>
            <col width="270"/>
            <col width="230"/>
            <col width="130"/>
            <col width="230"/>
            <col width="110"/>
            <thead>
              <tr valign="bottom">
                <td colspan="2">Families<sup>b</sup></td>
                <td colspan="2">Small samples (n=42-840)</td>
                <td colspan="2">Large samples (n=1260-4200)</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <break/>
                </td>
                <td>Mean difference (95% CI)</td>
                <td><italic>P</italic> value</td>
                <td>Mean difference (95% CI)</td>
                <td><italic>P</italic> value</td>
              </tr>
            </thead>
            <tbody>
              <tr valign="top">
                <td colspan="2">
                  <bold>A. Human<sup>c</sup>—distill<sup>d</sup></bold>
                </td>
                <td>0.042 (0.011 to 0.076)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
                <td>0.022 (0.011 to 0.031)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Gemma 4</td>
                <td>0.045 (0.001 to 0.076)</td>
                <td>
                  <italic>.02</italic>
                </td>
                <td>0.021 (0.012 to 0.040)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat</td>
                <td>0.041 (0.009 to 0.083)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
                <td>0.016 (0.006 to 0.027)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Qwen3.6-Plus</td>
                <td>0.040 (0.018 to 0.077)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
                <td>0.029 (0.012 to 0.044)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>B. Among distill</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat-Gemma 4</td>
                <td>0.004 (–0.039 to 0.028)</td>
                <td>&gt;.99</td>
                <td>0.005 (–0.004 to 0.016)</td>
                <td>.88</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat-Qwen3.6-Plus</td>
                <td>–0.001 (–0.026 to 0.026)</td>
                <td>&gt;.99</td>
                <td>0.013 (–0.002 to 0.028)</td>
                <td>.47</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Qwen3.6-Plus-Gemma 4</td>
                <td>0.005 (–0.022 to 0.035)</td>
                <td>&gt;.99</td>
                <td>–0.008 (–0.023 to 0.016)</td>
                <td>.88</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <italic>C. Human: stratified sampling—random sampling</italic>
                </td>
                <td>0.011 (–0.005 to 0.028)</td>
                <td>.15</td>
                <td>–0.002 (–0.007 to 0.002)</td>
                <td>.80</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>D. Student—teacher</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Gemma 4</td>
                <td>–0.043 (–0.082 to –0.013)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
                <td>0.006 (–0.011 to 0.020)</td>
                <td>.86</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat</td>
                <td>–0.056 (–0.100 to –0.017)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
                <td>–0.007 (–0.020 to 0.003)</td>
                <td>.74</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Qwen3.6-Plus</td>
                <td>–0.032 (–0.081 to 0.009)</td>
                <td>.22</td>
                <td>0.005 (–0.010 to 0.021)</td>
                <td>.86</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>E. Human—large language model</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human-Gemma 4</td>
                <td>0.007 (–0.044 to 0.028)</td>
                <td>.91</td>
                <td>0.026 (0.014 to 0.040)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human-GPT-5.3 Chat</td>
                <td>–0.010 (–0.061 to 0.008)</td>
                <td>.91</td>
                <td>0.009 (0.000 to 0.017)</td>
                <td>
                  <italic>.047</italic>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Human-Qwen3.6-Plus</td>
                <td>0.014 (–0.037 to 0.035)</td>
                <td>.91</td>
                <td>0.033 (0.020 to 0.046)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>F. Among large language models</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat-Qwen3.6-Plus</td>
                <td>0.024 (0.014 to 0.034)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
                <td>0.024 (0.014 to 0.034)</td>
                <td>
                  <italic>&lt;.001</italic>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>GPT-5.3 Chat-Gemma 4</td>
                <td>0.017 (0.005 to 0.031)</td>
                <td>
                  <italic>.01</italic>
                </td>
                <td>0.017 (0.005 to 0.031)</td>
                <td>
                  <italic>.01</italic>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Qwen3.6-Plus-Gemma 4</td>
                <td>–0.007 (–0.021 to 0.007)</td>
                <td>.34</td>
                <td>–0.007 (–0.021 to 0.007)</td>
                <td>.34</td>
              </tr>
              <tr valign="top">
                <td colspan="2">
                  <bold>G. Recall of negation subtypes</bold>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
                <td>
                  <break/>
                </td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Sentential</td>
                <td>–0.002 (–0.013 to 0.002)</td>
                <td>&gt;.99</td>
                <td>0.000 (–0.003 to 0.001)</td>
                <td>&gt;.99</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Telegraphic</td>
                <td>0.105 (0.002 to 0.408)</td>
                <td>.16</td>
                <td>0.003 (–0.017 to 0.023)</td>
                <td>&gt;.99</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Pseudo-speculation</td>
                <td>0.137 (N/A<sup>e</sup>)</td>
                <td>N/A</td>
                <td>–0.036 (N/A)</td>
                <td>N/A</td>
              </tr>
              <tr valign="top">
                <td>
                  <break/>
                </td>
                <td>Morphological</td>
                <td>N/A</td>
                <td>N/A</td>
                <td>N/A</td>
                <td>N/A</td>
              </tr>
            </tbody>
          </table>
          <table-wrap-foot>
            <fn id="table6fn1">
              <p><sup>a</sup>Performance was averaged across eligible model configurations (training size, architecture, label source, sampling strategy, and data seeds) and then computed paired differences. A positive Δ<italic>F</italic><sub>1</sub>-score indicates a higher mean <italic>F</italic><sub>1</sub>-score for the first setting. We performed 2-sided paired bootstrap tests (10,000 replicates) and controlled multiplicity using the Holm-Bonferroni procedure. Italicized values indicate results were significant at α=.05 after adjustment. The 95% CIs were not adjusted for multiplicity. Families A–F report differences in <italic>F</italic><sub>1</sub>-score (Δ<italic>F</italic><sub>1</sub>-score), whereas family G reports differences in subtype-specific recall (ΔRecall).</p>
            </fn>
            <fn id="table6fn2">
              <p><sup>b</sup>Comparison families A-G correspond to those defined in the “Statistical Analysis” section. See <xref ref-type="supplementary-material" rid="app2">Multimedia Appendix 2</xref> for the complete list of model configurations. In the test dataset, morphological negation was absent (n=0), precluding calculation of the corresponding statistics. Given the rarity of pseudo-speculation (n=9), we report its point estimates descriptively and recommend cautious interpretation.</p>
            </fn>
            <fn id="table6fn3">
              <p><sup>c</sup>Human: Transformers trained with human labels.</p>
            </fn>
            <fn id="table6fn4">
              <p><sup>d</sup>Distill: Transformers trained with distilled labels.</p>
            </fn>
            <fn id="table6fn5">
              <p><sup>e</sup>N/A: not applicable.</p>
            </fn>
          </table-wrap-foot>
        </table-wrap>
        <p>Transformers trained on human annotations outperformed those trained on distilled labels, with a larger performance gap at small sample sizes. In post hoc analyses, all 3 sources showed statistically significant differences under both small-sample conditions (Gemma 4, adjusted <italic>P</italic>=.02; GPT-5.3 Chat, adjusted <italic>P</italic>&lt;.001; Qwen3.6-Plus, adjusted <italic>P</italic>&lt;.001) and large-sample conditions (all 3 sources, adjusted <italic>P</italic>&lt;.001).</p>
        <p>Performance did not differ significantly among distilled students from different teachers. By contrast, GPT-5.3 Chat outperformed Gemma 4 (Δ<italic>F</italic><sub>1</sub>-score 0.017, 95% CI 0.005-0.031; adjusted <italic>P</italic>=.01) and Qwen3.6-Plus (Δ<italic>F</italic><sub>1</sub>-score 0.024, 95% CI 0.014-0.034; adjusted <italic>P</italic>&lt;.001). Stratified sampling did not improve <italic>F</italic><sub>1</sub>-score or recall for any negation subtype.</p>
        <p>GPT-5.3 Chat–distilled (Δ<italic>F</italic><sub>1</sub>-score –0.056, 95% CI –0.100 to –0.017; adjusted <italic>P</italic>&lt;.001) and Gemma 4–distilled (Δ<italic>F</italic><sub>1</sub>-score –0.043, 95% CI –0.082 to –0.013; adjusted <italic>P</italic>&lt;.001) transformers underperformed their teacher models at small sample sizes but converged at larger scales.</p>
        <p>When compared with LLMs, human-labeled transformers slightly but significantly outperformed GPT-5.3 Chat in the large-sample range (Δ<italic>F</italic><sub>1</sub>-score 0.009, 95% CI 0.000-0.017; adjusted <italic>P</italic>=.047). However, the statistical significance was borderline, warranting cautious interpretation. By contrast, the advantages over Gemma 4 (Δ<italic>F</italic><sub>1</sub>-score 0.026, 95% CI 0.014-0.040; adjusted <italic>P</italic>&lt;.001) and Qwen3.6-Plus (Δ<italic>F</italic><sub>1</sub>-score 0.033, 95% CI 0.020-0.046; adjusted <italic>P</italic>&lt;.001) were more pronounced. No significant differences were observed under small-sample conditions (adjusted <italic>P</italic>=.91 for all comparisons).</p>
      </sec>
      <sec>
        <title>Secondary Analysis</title>
        <sec>
          <title>Comparison Family A: Human-Labeled Versus Distill-Labeled Transformers</title>
          <p>Across training sizes, human-labeled transformers outperformed those trained on LLM-distilled labels, with the largest gap at small sample sizes (n=42-840); this gap narrowed but persisted up to n=4200 (see Figure S1A in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>). Post hoc analyses confirmed that all distilled students (GPT-5.3 Chat, Gemma 4, and Qwen3.6-Plus) underperformed their human-labeled counterparts (see Figure S1A, post hoc analyses, in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>), indicating that the performance loss was independent of the teacher model. Overall, KD yielded lower performance than expert supervision, and larger datasets mitigated but did not eliminate the limitations of LLM-generated labels.</p>
        </sec>
        <sec>
          <title>Comparison Family B: Distill-Labeled Transformers By Teacher Source</title>
          <p>Transformers trained on distilled labels from GPT-5.3 Chat, Gemma 4, and Qwen3.6-Plus showed overlapping performance across training sizes (see Figure S1B in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>), with per-N differences fluctuating around zero and no consistent teacher advantage (<xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). This pattern mirrored the primary comparative analysis, which found no significant differences among distilled transformers under either small-sample conditions (adjusted <italic>P</italic>&gt;.99 for all 3 pairwise comparisons) or large-sample conditions (GPT-5.3 Chat vs Gemma 4, adjusted <italic>P</italic>=.88; GPT-5.3 Chat vs Qwen3.6-Plus, adjusted <italic>P</italic>=.47; Qwen3.6-Plus vs Gemma 4, adjusted <italic>P</italic>=.88). Although GPT-5.3 Chat performed best in the bootstrap evaluation (comparison family F), its distilled students did not outperform those trained on labels from other teachers, suggesting that interteacher differences were attenuated after distillation.</p>
        </sec>
        <sec>
          <title>Comparison Family C: Sampling Strategy Under Human Labeling</title>
          <p>Stratified and random sampling produced overlapping performance curves across training sizes (see Figure S2C in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>), with per-N differences centered around zero (<xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>). Stratified sampling showed minor, inconsistent advantages at small training sizes that did not persist across data points. Overall, the sampling strategy had little effect on <italic>F</italic><sub>1</sub>-scores under expert supervision, whereas training data size appeared to play a more substantial role.</p>
        </sec>
        <sec>
          <title>Comparison Family D: Student Group Versus Corresponding Teacher</title>
          <p>At small training sizes, student models achieved slightly lower <italic>F</italic><sub>1</sub>-scores than their teachers. As training size increased, the performance gap progressively narrowed, and student models achieved performance comparable to that of their teachers across all 3 LLMs (see Figure S2D in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref> and its zoomed view). Overall, teacher-student differences remained modest and diminished further with larger datasets (<xref ref-type="supplementary-material" rid="app3">Multimedia Appendix 3</xref>).</p>
        </sec>
        <sec>
          <title>Comparison Family E: Human-Labeled Versus Each LLM</title>
          <p>Across training sizes, human-labeled transformers showed a steady upward performance curve (see Figure S3 in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>). At small sample sizes, they underperformed GPT-5.3 Chat but quickly surpassed Gemma 4 and Qwen3.6-Plus.</p>
          <p>In large samples, they consistently outperformed Gemma 4 and Qwen3.6-Plus and converged toward GPT-5.3 Chat, with closely overlapping curves and small differences. These results agree with the primary comparative analysis, which showed larger performance advantages over Gemma 4 (adjusted <italic>P</italic>&lt;.001) and Qwen3.6-Plus (adjusted <italic>P</italic>&lt;.001) and a small but statistically significant advantage over GPT-5.3 Chat (adjusted <italic>P</italic>=.047) in the large-sample range.</p>
        </sec>
        <sec>
          <title>Comparison Family F: Among LLMs</title>
          <p>As LLMs were evaluated under a fixed 10-shot configuration, their performance was independent of transformer training size (see Figure S3 in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>) and therefore did not warrant per-N secondary analysis.</p>
        </sec>
        <sec>
          <title>Comparison Family G: Per-Category Recall Under Human Labeling</title>
          <p>Sentential negation, the dominant pattern in the test set (n=982), showed almost identical recall curves under stratified and random sampling (see Figure S3 in <xref ref-type="supplementary-material" rid="app4">Multimedia Appendix 4</xref>). Morphological negation was absent from the test dataset (n=0), precluding the calculation of recall. Symbolic or telegraphic negation (n=169) varied moderately, without consistent separation between sampling strategies. Speculation unrelated to abnormal findings (n=9) fluctuated substantially, and these small counts warrant caution in interpretation. Overall, stratified sampling did not show a statistically significant recall advantage for sentential negation (adjusted <italic>P</italic>&gt;.99 under both small- and large-sample conditions) or symbolic or telegraphic negation (adjusted <italic>P</italic>=.16 under small-sample conditions and <italic>P</italic>&gt;.99 under large-sample conditions). <italic>P</italic> values were not calculated for pseudo-speculation or morphological negation.</p>
        </sec>
      </sec>
    </sec>
    <sec sec-type="discussion">
      <title>Discussion</title>
      <sec>
        <title>Principal Findings</title>
        <p>We systematically evaluated direct LLM deployment and distillation-based training as scalable alternatives to human-labeled transformers for radiology negation detection across diverse training data scales, supervision sources, model architectures, and sampling strategies. The key findings are summarized below.</p>
      </sec>
      <sec>
        <title>Human Supervision Remains the Strongest Baseline for Transformer Fine‑Tuning</title>
        <p>Human-labeled supervision consistently outperformed distillation-based training across all teachers, especially with limited data. ALBERT closely matched larger backbones, supporting prior findings that lightweight models perform well with large-scale expert annotations [<xref ref-type="bibr" rid="ref1">1</xref>]. High interannotator agreement (κ&gt;0.9) supported the reproducibility of the annotation procedure.</p>
        <p>Although increasing the amount of data narrowed the human-distillation gap, it persisted at larger scales, suggesting a systematic bias in LLM-generated labels that scaling alone cannot resolve. Such residual bias may also explain prediction errors in few-shot LLMs, suggesting that LLM-based labeling still lags behind expert supervision in label fidelity and quality.</p>
        <p>The sensitivity analysis of data seed variability showed limited seed-related variability across transformer configurations, suggesting that it was unlikely to fully account for the overall performance patterns across training data sizes. However, individual performance estimates, particularly in small-sample settings, warrant cautious interpretation. The patient-overlap sensitivity analysis showed a negligible impact on performance.</p>
      </sec>
      <sec>
        <title>Few-Shot GPT-5.3 Chat Achieved Near Human-Labeled Transformer Performance Without Fine-Tuning</title>
        <p>GPT-5.3 Chat showed only a modest performance difference from human-labeled transformers (Δ<italic>F</italic><sub>1</sub>-score 0.009, 95% CI 0.000-0.017; adjusted <italic>P</italic>=.047; large-sample regime) with 10-shot prompting and no task-specific fine-tuning, suggesting that frontier LLMs offer a practical option when human-annotated data are limited. However, real-world deployment remains cost-constrained: inference cost averaged approximately US $0.018 per report, which could scale substantially for large archives. For example, our institutional archive contained millions of reports. Empirical evidence of continued declines in LLM token prices [<xref ref-type="bibr" rid="ref38">38</xref>] suggests that few-shot deployment may eventually become economically feasible for large-scale clinical applications.</p>
      </sec>
      <sec>
        <title>Limited Transfer of Teacher Superiority in Distillation</title>
        <p>Teacher superiority did not reliably transfer through distillation. Although GPT-5.3 Chat outperformed other LLMs in direct evaluation—and its 10-shot performance was only modestly below that of human-labeled transformers—the distilled students did not outperform those trained on labels from weaker teachers. Even at larger training scales, student models converged to similar performance levels that remained below those of their human-labeled counterparts.</p>
        <p>This attenuation of interteacher differences suggests that distillation compresses variability among high-performing teachers. Given that all teacher LLMs achieved strong baseline performance (<italic>F</italic><sub>1</sub>-score ≥0.950; <xref ref-type="table" rid="table4">Table 4</xref>), differences in teacher quality were probably too small to affect student outcomes, whereas training data size had a greater influence.</p>
        <p>Thus, when candidate teachers already demonstrate high performance, using marginally better but much costlier frontier models may not yield proportional gains. More affordable teachers may serve as viable alternatives if their downstream performance is validated. Even so, frontier models such as GPT-5.3 Chat remain economically competitive, costing less than expert annotation when experts’ hourly wages exceed US $0.64-1.50, based on our reconstructed estimates of labeling and prompt engineering time.</p>
      </sec>
      <sec>
        <title>Limited Observed Impact of Stratified Sampling</title>
        <p>Contrary to expectations, the sampling strategy had little effect on <italic>F</italic><sub>1</sub>-score or subtype-specific recall under expert supervision.</p>
        <p>Secondary analysis (comparison family G) showed that common subtypes (sentential and symbolic negation) converged at small training sizes (approximately n=500), indicating early learning and limited room for further improvement. Rare subtypes (speculation unrelated to abnormal findings and morphological negation) were sparse or absent in the test set, limiting their impact on <italic>F</italic><sub>1</sub>-score regardless of sampling strategy. The absence of significant improvement should not be taken to indicate that stratified sampling is ineffective; rather, the low prevalence of these subtypes and small counts likely reduced statistical power. Future studies may use larger corpora containing more rare instances to clarify this effect.</p>
        <p>By contrast, our findings show that at the scale of thousands of samples, overall data volume may influence performance more than subtype-based sampling. In clinical practice, this suggests that expanding randomly sampled datasets may offer greater benefit than labor-intensive early oversampling of specific subtypes. These findings apply to transformer training and do not extend to few-shot LLM prompting.</p>
      </sec>
      <sec>
        <title>Residual Error Patterns Under Best-Case Pseudo-Label Supervision</title>
        <p>The controlled ALBERT comparison showed a modest performance reduction when GPT-5.3 Chat–generated pseudo-labels replaced expert labels under otherwise identical conditions, supporting the attribution of the aggregate reduction to the change in supervision source.</p>
        <p>Of the 29 selected error occurrences, 13 (45%) were teacher-concordant errors, in which the teacher and student misclassified the same test occurrence. This pattern suggests the possible transfer of systematic teacher error tendencies but cannot establish the propagation of individual errors because the student never encountered the teacher’s test-set predictions during training. The remaining 16 (55%) discrepancies occurred despite correct teacher predictions, consistent with incomplete teacher-student knowledge transfer.</p>
        <p>Among the 16 student-specific errors, 11 were false positives, consistent with over-filtering of keywords, and 5 were false negatives; 4 of the 5 false negatives involved symbolic or telegraphic-style negation. Consistent with this pattern, recall for this subtype decreased from 0.951 with human-supervised ALBERT to 0.937 with GPT-5.3 Chat–distilled ALBERT, with larger reductions for some backbones, such as BERT (from 0.968 to 0.661). These findings suggest reduced robustness to compact or atypical negation forms under pseudo-label supervision. Potential contributors may include systematic pseudo-label noise, information loss from hard labels [<xref ref-type="bibr" rid="ref27">27</xref>], and stochastic fine-tuning variation. Given the scope and methodology of our study, these descriptive findings suggest candidate mechanisms rather than definitively identifying causal mechanisms.</p>
      </sec>
      <sec>
        <title>Generalizability and Cross-Institutional Adaptation</title>
        <sec>
          <title>Task-Specific Annotation Scheme</title>
          <p>We grouped speculative statements unrelated to abnormal findings with explicit negations because both have the same operational consequence in our downstream applications: neither should trigger keyword highlighting or clinical alerts or be returned by a case-finding application designed to identify positive or potentially positive cases. Thus, we defined labels according to the downstream clinical objective rather than conventional linguistic taxonomy.</p>
          <p>We do not propose this task-specific scheme as a universal standard; institutions may tailor annotation policies to local workflows. Transformer-based models can accommodate such policies through retraining on locally annotated data, whereas LLM-based approaches can use institution-specific prompts and few-shot examples without retraining. Therefore, our study emphasizes that annotation policies may be tailored to clinical objectives rather than that our scheme should be strictly followed.</p>
        </sec>
        <sec>
          <title>Interpretation of Keyword-Based Performance Metrics</title>
          <p>Our keyword-based metrics may differ from those used for general-purpose negation detection. Although we trained the models on span-based annotations, we primarily evaluated whether they correctly filtered predefined clinical alert keywords. General-purpose evaluations at the character, token, word, or span level may instead penalize discrepancies in negation scope boundaries. Thus, our high keyword-level performance should not be extrapolated to tasks requiring exact scope agreement. For example, the negation spans “No US evidence of thrombosis at bilateral lower extremities” and “No US evidence of thrombosis” both correctly identify the clinically important term “thrombosis” as negated but may receive different token- or word-level scores depending on their agreement with the expert-annotated scope.</p>
        </sec>
        <sec>
          <title>Institution-Specific Domain Shifts</title>
          <p>Even with an identical annotation scheme and evaluation framework, institution-specific differences, such as note types, authors, and linguistic characteristics, may cause domain shifts and degrade model performance [<xref ref-type="bibr" rid="ref39">39</xref>]. We therefore expect cross-institutional variation in radiology reporting styles, formats, terminology, and radiologist-specific writing patterns to affect model performance.</p>
          <p>Institutions may benefit from fine-tuning transformer-based negation detection models on locally annotated data to accommodate differences in annotation schemes and linguistic distributions simultaneously. This need also highlights the practical value of our KD framework, which can efficiently generate large-scale pseudo-labels for training institution-specific models or for subsequent expert refinement, provided that task requirements are similar and modest performance loss is acceptable.</p>
        </sec>
      </sec>
      <sec>
        <title>Comparison to Prior Works</title>
        <p>This study presents the first systematic evaluation of few-shot LLMs combined with a KD framework for radiology negation detection. Prior transformer research, including our work [<xref ref-type="bibr" rid="ref1">1</xref>,<xref ref-type="bibr" rid="ref4">4</xref>], demonstrated strong performance but did not examine LLM capabilities or address training costs and annotation efficiency.</p>
        <p>We extend the application of KD to radiology report negation detection for the first time. Our findings align with prior evidence that LLMs such as GPT-3 can serve as cost-efficient labeling teachers [<xref ref-type="bibr" rid="ref7">7</xref>] and further extend KD’s application through an alignment-based algorithm that enables token-level prediction with precise entity boundaries and positions—a capability previously recognized as challenging [<xref ref-type="bibr" rid="ref30">30</xref>]. This fine-grained prediction supports practical clinical applications, including keyword highlighting in laboratory information systems.</p>
        <p>We further compared frontier and open-weight LLMs (GPT-5.3 Chat, Gemma 4, and Qwen3.6-Plus) under direct inference and label-distillation conditions. We evaluated KD and data-scale effects to develop a reproducible and clinically feasible framework.</p>
        <p>Finally, our work used a large-scale dataset of 6000 real-world radiology reports to assess robustness and scalability.</p>
      </sec>
      <sec>
        <title>Practical Guidelines for Clinical Deployment</title>
        <sec>
          <title>Clinical Deployment Considerations and Practical Recommendations</title>
          <p>While absolute performance is critical, clinical deployment should also consider inference cost and latency, model and API stability, data governance and privacy, output reliability, and system integration.</p>
          <p>Fine-tuned transformers provide efficient, predictable output formatting and can be deployed using fixed model versions and local inference on consumer-grade hardware without relying on cloud APIs.</p>
          <p>By contrast, proprietary, closed-weight frontier LLMs such as GPT-5.3 Chat offer strong performance but incur API costs and raise cloud-related privacy concerns. Open-weight LLMs, if deployed locally, offer greater control over data and model versions but require substantial infrastructure. However, the evaluated open-weight LLMs underperformed GPT-5.3 Chat in our study. LLM outputs may also require strict validation (eg, 2-pass DP text alignment to ensure accurate character-position mapping to the original unfiltered reports for keyword highlighting) before integration into existing systems.</p>
          <p>Based on performance requirements, inference volume, and available annotation and computational resources, we provide practical recommendations for the following deployment scenarios.</p>
        </sec>
        <sec>
          <title>High-Performance, High-Volume Scenarios</title>
          <p>For high-volume negation filtering requiring high performance, human-labeled transformers achieved the highest overall performance, with substantially lower recurring inference costs and latency than direct frontier LLM inference. On 1200 test reports, ALBERT required 57.0 seconds and approximately US $0.01, compared with 35 minutes 11 seconds and approximately US $21.8 for GPT-5.3 Chat.</p>
          <p>Thus, with sufficient annotation resources, they remain the most practical option for large-scale institutional deployment.</p>
        </sec>
        <sec>
          <title>High-Performance, Low-Volume Scenarios</title>
          <p>Direct few-shot frontier LLM inference offers a viable alternative for high-performance, low-volume applications, such as filtering CT and MRI impression sections for subsequent retrieval.</p>
          <p>With only 10-shot prompting and no task-specific fine-tuning, GPT-5.3 Chat achieved performance close to that of transformers trained on thousands of expert-labeled reports (Δ<italic>F</italic><sub>1</sub>-score 0.009, 95% CI 0.000-0.017; large-sample regime). Its higher per-report cost may be acceptable at low volumes because it avoids the need to construct large task-specific datasets, fine-tune models, and maintain dedicated models, provided that other institutional requirements are met.</p>
          <p>However, our results still favor transformers for high-volume institutional deployment, although declining LLM inference prices over time [<xref ref-type="bibr" rid="ref38">38</xref>] may broaden the range of workloads for which direct frontier LLM inference becomes economically feasible.</p>
        </sec>
        <sec>
          <title>Annotation- and Inference Resource–Constrained Scenarios</title>
          <p>When both expert-annotation resources and recurring inference budgets are limited, LLM-based KD offers an affordable alternative with a modest performance trade-off. LLM-generated pseudo-labels enable transformer fine-tuning, shifting LLM expenditure from recurring inference to largely one-time annotation costs while retaining the low cost and latency of transformer inference.</p>
          <p>Our results showed no consistent performance differences among students trained with different LLM teachers when all teachers achieved strong performance (<italic>F</italic><sub>1</sub>-score ≥0.950; <xref ref-type="table" rid="table4">Table 4</xref>). Thus, lower-cost LLMs may serve as practical alternatives to more expensive frontier proprietary models for pseudo-label generation, provided that downstream transformer performance is carefully validated. This strategy may particularly benefit institutions with limited expert-annotation and inference resources.</p>
        </sec>
        <sec>
          <title>Hybrid Annotation Workflows</title>
          <p>Given the strong few-shot performance of frontier LLMs, a hybrid workflow that combines LLM-generated outputs with clinician review can balance scalability and oversight. With high baseline accuracy in LLM outputs, experts need to only revise a limited number of negation spans rather than to annotate everything from scratch, reducing workload while maintaining label quality. Clear guidelines and structured reviews remain critical to avoid anchoring bias and error propagation from LLM predictions.</p>
        </sec>
      </sec>
      <sec>
        <title>Future Work</title>
        <sec>
          <title>Enabling Token-Level NLP Tasks Through Algorithmic Alignment</title>
          <p>We found that integrating a string-alignment algorithm into the distillation pipeline can create word-level correspondence between LLM outputs and source texts, extending model predictions to individual words. Future studies can apply this framework to sequence-labeling or information-extraction tasks, such as named entity recognition [<xref ref-type="bibr" rid="ref40">40</xref>], where each word’s position may convey important context.</p>
        </sec>
        <sec>
          <title>Improving Label Quality and Knowledge Transfer</title>
          <p>Our analysis of error patterns in models using distilled labels, compared with human-supervised models, identifies 2 targets for improving LLM-based KD.</p>
          <p>First, future studies could test causal mechanisms of downstream performance loss by replacing erroneous LLM-generated labels for selected instances, such as those involving symbolic or telegraphic-style negation, with human labels while holding all other labels and experimental factors constant. Performance recovery would support a causal contribution of these errors rather than a mere association.</p>
          <p>Second, studies could apply distillation methods with richer teacher information, such as replacing hard pseudo-labels with confidence-aware or probabilistic teacher signals to determine whether richer supervision improves transfer. Such interventions could further distinguish limitations in the teacher’s predictive performance from those introduced by the distillation method.</p>
        </sec>
        <sec>
          <title>Role of Parameter-Efficient Fine-Tuning</title>
          <p>Our study did not employ parameter-efficient fine-tuning (PEFT). PEFT methods, such as LoRA (low-rank adaptation) [<xref ref-type="bibr" rid="ref41">41</xref>], may reduce the computational and memory requirements of model adaptation, particularly for larger models such as LLMs. However, full fine-tuning of our transformers required modest computational resources, making data annotation a greater resource burden than model training. As PEFT reduces model adaptation costs rather than labeled-data requirements, it complements rather than replaces our KD framework.</p>
          <p>Regarding model performance, PEFT may offer additional gains beyond few-shot inference when sufficient task-specific data are available [<xref ref-type="bibr" rid="ref42">42</xref>]. However, given the high performance of 10-shot GPT-5.3 Chat (<italic>F</italic><sub>1</sub>-score 0.974), we did not further fine-tune the LLMs using either full-parameter fine-tuning or PEFT. Future studies could assess the benefits of PEFT for larger models.</p>
        </sec>
      </sec>
      <sec>
        <title>Limitations</title>
        <p>This study has several limitations. We set temperature=0 to promote deterministic inference, but GPT-5.3 Chat does not expose temperature control via its API, leaving some stochasticity partially uncontrolled. The large test set (n=1200), multiseed few-shot experiment, and 10,000-replicate bootstrap still reduced random effects and stabilized results.</p>
        <p>We performed only light prompt adaptation for Qwen3.6-Plus and Gemma 4, rather than exhaustive model-specific optimization. Thus, we cannot rule out the possibility that further prompt engineering may improve individual LLM performance and influence direct LLM comparisons. The direct LLM comparison should be interpreted as a comparison under standardized prompting rather than maximal performance for individual models.</p>
        <p>Our bootstrap-based comparative analyses incorporated performance estimates across multiple seeds, reducing the influence of seed-specific fluctuations. Nevertheless, using more seeds could further improve the precision and stability of individual model performance estimates, particularly in small-sample settings. We also did not assess sensitivity to few-shot example ordering.</p>
        <p>Budget constraints led to a single deterministic data split, preventing the full removal of data-partition bias. Bootstrapping reduced but did not eliminate this constraint; for example, rare negation subtypes in comparison family G still limited the statistical power of the secondary analysis. The original dataset split also did not enforce patient-level separation, potentially introducing information leakage and affecting performance estimates for unseen patients. However, this setting also reflects an aspect of routine clinical practice, where clinical NLP systems naturally encounter radiology reports from the same patients, particularly during follow-up. Sensitivity analysis also suggested a limited impact.</p>
        <p>A single board-certified radiologist performed primary annotations without periodic quality-control review, risking subtle systematic bias, including consistent handling of ambiguous cases, intrarater drift, and fatigue-related undercalling. However, independent reannotation yielded high interrater reliability (κ=0.957), reducing concerns about annotation inconsistency and substantial rater-specific bias, although potential shared systematic bias cannot be completely excluded.</p>
        <p>Compared with our previous study [<xref ref-type="bibr" rid="ref1">1</xref>], a minor discrepancy in keyword occurrence counts remained despite reconstructing the original software environment and using the same version of spaCy. As the reconstructed pipeline reproduced the previously reported keyword counts on the dataset used in our previous study, the discrepancy (55 of 11,509, 0.48%, occurrences) likely reflects subtle differences in automatic text segmentation. As spaCy served only for descriptive dataset characterization, this discrepancy did not affect model development, performance evaluation, or the study conclusions.</p>
        <p>We did not perform backbone-specific hyperparameter search for transformer fine-tuning and instead used a shared set of hyperparameters across all backbone models. Nevertheless, the strong performance achieved under the shared hyperparameter setting (eg, the best-performing BERT achieved an <italic>F</italic><sub>1</sub>-score of 0.985) suggests that this configuration was sufficient for the comparative objective of this study.</p>
        <p>We evaluated performance at the predefined keyword level; the reported metrics may not fully characterize general span- or concept-level negation detection performance. In addition, we did not quantify LLM insertion or hallucination rates because they fell outside our keyword-level evaluation, and our planned hospital information system implementation uses algorithmically filtered text rather than raw LLM output. These errors remain distinct considerations when evaluating general free-text generation quality beyond filtering performance. Moreover, keyword occurrences were unevenly distributed in the test dataset, and common keywords contributed disproportionately to the aggregate <italic>F</italic><sub>1</sub>-score. Thus, the aggregate <italic>F</italic><sub>1</sub>-score should be interpreted cautiously when assessing performance on rare terms.</p>
        <p>Our economic analysis has limitations. We estimated transformer costs using a consumer-grade service rate, whereas clinical deployment may require costlier institutionally approved infrastructure, potentially altering the relative economic advantage. However, our analysis still characterized the cost-saving potential of transformer-based KD, and such a workload is feasible on on-premises consumer-grade hardware. We also retrospectively estimated prompt-engineering time from experimental logs and per-iteration estimates, thereby introducing uncertainty in labor costs.</p>
        <p>Lastly, our data originated from 3 branches of a single institution, which may limit linguistic diversity and generalizability across institutions. Without external validation, we cannot quantify performance degradation from cross-institutional domain shifts or assume that our reported performance generalizes to external health care systems.</p>
      </sec>
      <sec>
        <title>Conclusions</title>
        <p>Human-supervised transformers remained the strongest baseline for negation detection, while frontier LLMs such as GPT-5.3 Chat achieved only modestly lower performance without task-specific fine-tuning.</p>
        <p>Under limited resources, LLM-based distillation provided a cost-effective option with only modest performance loss. Marginal teacher advantages did not benefit student transformers proportionally, as open-weight or low-cost teachers yielded comparable results for distillation. Maintaining large training sets proved more beneficial than early subtype-specific sampling.</p>
        <p>If supported by external validation, our framework enables accurate and affordable keyword-based negation detection for smaller institutions and may extend word-level distillation to broader clinical applications and research.</p>
      </sec>
    </sec>
  </body>
  <back>
    <app-group>
      <supplementary-material id="app1">
        <label>Multimedia Appendix 1</label>
        <p>Final GPT-5.3 Chat prompt, output schema, and modified representative few-shot examples.</p>
        <media xlink:href="medinform_v14i1e103912_app1.docx" xlink:title="DOCX File , 49 KB"/>
      </supplementary-material>
      <supplementary-material id="app2">
        <label>Multimedia Appendix 2</label>
        <p>All transformer base configurations with sensitivity analysis of data seed variability and patient overlap.</p>
        <media xlink:href="medinform_v14i1e103912_app2.docx" xlink:title="DOCX File , 90 KB"/>
      </supplementary-material>
      <supplementary-material id="app3">
        <label>Multimedia Appendix 3</label>
        <p>Detailed per-N results of secondary analysis of all comparison families (except family F).</p>
        <media xlink:href="medinform_v14i1e103912_app3.docx" xlink:title="DOCX File , 59 KB"/>
      </supplementary-material>
      <supplementary-material id="app4">
        <label>Multimedia Appendix 4</label>
        <p>Per-N secondary analysis of comparison families A-G.</p>
        <media xlink:href="medinform_v14i1e103912_app4.docx" xlink:title="DOCX File , 915 KB"/>
      </supplementary-material>
    </app-group>
    <glossary>
      <title>Abbreviations</title>
      <def-list>
        <def-item>
          <term id="abb1">ALBERT</term>
          <def>
            <p>A Lite Bidirectional Encoder Representations from Transformers</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb2">BERT</term>
          <def>
            <p>Bidirectional Encoder Representations from Transformers</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb3">Bio_ClinicalBERT</term>
          <def>
            <p>Bio + Clinical BERT model</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb4">CT</term>
          <def>
            <p>computed tomography</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb5">DistilBERT</term>
          <def>
            <p>Distilled version of Bidirectional Encoder Representations from Transformers</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb6">DP</term>
          <def>
            <p>dynamic programming</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb7">KD</term>
          <def>
            <p>knowledge distillation</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb8">LLM</term>
          <def>
            <p>large language model</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb9">LoRA</term>
          <def>
            <p>low-rank adaptation</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb10">MRI</term>
          <def>
            <p>magnetic resonance imaging</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb11">NLP</term>
          <def>
            <p>natural language processing</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb12">PEFT</term>
          <def>
            <p>parameter-efficient fine-tuning</p>
          </def>
        </def-item>
        <def-item>
          <term id="abb13">SSD</term>
          <def>
            <p>solid-state drive</p>
          </def>
        </def-item>
      </def-list>
    </glossary>
    <ack>
      <p>The authors used Grammarly (Grammarly, Inc), DeepL Write (DeepL SE), and ChatGPT (OpenAI) to refine English and translate Chinese content. They developed code with Opencode (Anomaly Innovations, Inc) and Claude Code (Anthropic), incorporating AI assistance, and carefully reviewed and revised all text and outputs, taking full responsibility for the final manuscript.</p>
    </ack>
    <notes>
      <title>Data Availability</title>
      <p>The source code, including training and evaluation scripts, the string-alignment algorithm, and the GPT-based prompting templates, is publicly available in a GitHub repository [<xref ref-type="bibr" rid="ref43">43</xref>]. The deidentified radiology report data underlying this study are not publicly available due to institutional privacy regulations but can be obtained from the authors upon reasonable request and institutional approval.</p>
    </notes>
    <notes>
      <title>Funding</title>
      <p>This research was funded by Chi Mei Medical Center (grant CMFHR115044).</p>
    </notes>
    <fn-group>
      <fn fn-type="con">
        <p>Conceptualization: KHW</p>
        <p>Data curation: KHW, BLH</p>
        <p>Formal analysis: KHW, CFL</p>
        <p>Funding acquisition: YTK</p>
        <p>Investigation: KHW</p>
        <p>Methodology: KHW, CFL</p>
        <p>Project administration: CFL</p>
        <p>Resources: KHW, YTK</p>
        <p>Software: KHW</p>
        <p>Supervision: CFL, YTK</p>
        <p>Validation: CFL, BLH</p>
        <p>Writing – original draft: KHW</p>
        <p>Writing – review &amp; editing: BLH, CFL, TJH, YCC, YTK</p>
      </fn>
      <fn fn-type="conflict">
        <p>None declared.</p>
      </fn>
    </fn-group>
    <ref-list>
      <ref id="ref1">
        <label>1</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Weng</surname>
              <given-names>KH</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>CF</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>CJ</given-names>
            </name>
          </person-group>
          <article-title>Deep learning approach for negation and speculation detection for automated important finding flagging and extraction in radiology report: internal validation and technique comparison study</article-title>
          <source>JMIR Med Inform</source>
          <year>2023</year>
          <month>04</month>
          <day>25</day>
          <volume>11</volume>
          <fpage>e46348</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://medinform.jmir.org/2023//e46348/"/>
          </comment>
          <pub-id pub-id-type="doi">10.2196/46348</pub-id>
          <pub-id pub-id-type="medline">37097731</pub-id>
          <pub-id pub-id-type="pii">v11i1e46348</pub-id>
          <pub-id pub-id-type="pmcid">PMC10170361</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>Wu</surname>
              <given-names>AS</given-names>
            </name>
            <name name-style="western">
              <surname>Do</surname>
              <given-names>BH</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Rubin</surname>
              <given-names>DL</given-names>
            </name>
          </person-group>
          <article-title>Evaluation of negation and uncertainty detection and its impact on precision and recall in search</article-title>
          <source>J Digit Imaging</source>
          <year>2011</year>
          <month>04</month>
          <volume>24</volume>
          <issue>2</issue>
          <fpage>234</fpage>
          <lpage>42</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/19902298"/>
          </comment>
          <pub-id pub-id-type="doi">10.1007/s10278-009-9250-4</pub-id>
          <pub-id pub-id-type="medline">19902298</pub-id>
          <pub-id pub-id-type="pmcid">PMC3056979</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref3">
        <label>3</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Khandelwal</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sawant</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>NegBERT: a transfer learning approach for negation detection and scope resolution</article-title>
          <year>2020</year>
          <conf-name>The Twelfth Language Resources and Evaluation Conference</conf-name>
          <conf-date>May 11-16, 2020</conf-date>
          <conf-loc>Marseille, France</conf-loc>
          <publisher-loc>Paris, France</publisher-loc>
          <publisher-name>European Language Resources Association</publisher-name>
          <fpage>5739</fpage>
          <lpage>5748</lpage>
        </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>Su</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Babore</surname>
              <given-names>YB</given-names>
            </name>
            <name name-style="western">
              <surname>Kahn</surname>
              <given-names>CE</given-names>
            </name>
          </person-group>
          <article-title>A large language model to detect negated expressions in radiology reports</article-title>
          <source>J Imaging Inform Med</source>
          <year>2025</year>
          <month>06</month>
          <day>25</day>
          <volume>38</volume>
          <issue>3</issue>
          <fpage>1297</fpage>
          <lpage>1303</lpage>
          <pub-id pub-id-type="doi">10.1007/s10278-024-01274-9</pub-id>
          <pub-id pub-id-type="medline">39322813</pub-id>
          <pub-id pub-id-type="pii">10.1007/s10278-024-01274-9</pub-id>
          <pub-id pub-id-type="pmcid">PMC12092861</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>He</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Somayajula</surname>
              <given-names>SA</given-names>
            </name>
            <name name-style="western">
              <surname>Xie</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>Transformer architecture search for improving out-of-domain generalization in machine translation</article-title>
          <source>Transact Mach Learn Res</source>
          <year>2024</year>
          <month>12</month>
          <volume>2024</volume>
          <fpage>e1</fpage>
          <pub-id pub-id-type="medline">40822983</pub-id>
          <pub-id pub-id-type="pii">https://openreview.net/forum?id=8M6cn6lfrJ</pub-id>
          <pub-id pub-id-type="pmcid">PMC12356094</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref6">
        <label>6</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Brown</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Mann</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Ryder</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Subbiah</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Kaplan</surname>
              <given-names>JD</given-names>
            </name>
            <name name-style="western">
              <surname>Dhariwal</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Neelakantan</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Shyam</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Sastry</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Askell</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Agarwal</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Herbert-Voss</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Krueger</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Henighan</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Child</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Ramesh</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Ziegler</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Wu</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Winter</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Hesse</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Sigler</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Litwin</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Gray</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Chess</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Clark</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Berner</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>McCandlish</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Radford</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sutskever</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Amodei</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Language models are few-shot learners</article-title>
          <year>2020</year>
          <conf-name>Conference on Neural Information Processing Systems</conf-name>
          <conf-date>Dec 6-12, 2020</conf-date>
          <conf-loc>Virtual Conference</conf-loc>
          <fpage>1877</fpage>
          <lpage>1901</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref7">
        <label>7</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Wang</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>Xu</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Zhu</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Zeng</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Want to reduce labeling cost? GPT-3 can help</article-title>
          <year>2021</year>
          <month>11</month>
          <conf-name>Conference on Empirical Methods in Natural Language Processing</conf-name>
          <conf-date>November 7-11, 2021</conf-date>
          <conf-loc>Punta Cana, Dominican Republic</conf-loc>
          <fpage>4195</fpage>
          <lpage>4205</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/2021.findings-emnlp.354</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>Chapman</surname>
              <given-names>WW</given-names>
            </name>
            <name name-style="western">
              <surname>Bridewell</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Hanbury</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Cooper</surname>
              <given-names>GF</given-names>
            </name>
            <name name-style="western">
              <surname>Buchanan</surname>
              <given-names>BG</given-names>
            </name>
          </person-group>
          <article-title>A simple algorithm for identifying negated findings and diseases in discharge summaries</article-title>
          <source>J Biomed Inform</source>
          <year>2001</year>
          <month>10</month>
          <volume>34</volume>
          <issue>5</issue>
          <fpage>301</fpage>
          <lpage>10</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="http://linkinghub.elsevier.com/retrieve/pii/S1532-0464(01)91029-9"/>
          </comment>
          <pub-id pub-id-type="doi">10.1006/jbin.2001.1029</pub-id>
          <pub-id pub-id-type="medline">12123149</pub-id>
          <pub-id pub-id-type="pii">S1532-0464(01)91029-9</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>Mutalik</surname>
              <given-names>PG</given-names>
            </name>
            <name name-style="western">
              <surname>Deshpande</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Nadkarni</surname>
              <given-names>PM</given-names>
            </name>
          </person-group>
          <article-title>Use of general-purpose negation detection to augment concept indexing of medical documents: a quantitative study using the UMLS</article-title>
          <source>J Am Med Inform Assoc</source>
          <year>2001</year>
          <month>11</month>
          <day>01</day>
          <volume>8</volume>
          <issue>6</issue>
          <fpage>598</fpage>
          <lpage>609</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/11687566"/>
          </comment>
          <pub-id pub-id-type="doi">10.1136/jamia.2001.0080598</pub-id>
          <pub-id pub-id-type="medline">11687566</pub-id>
          <pub-id pub-id-type="pmcid">PMC130070</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>Gindl</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Kaiser</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Miksch</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Syntactical negation detection in clinical practice guidelines</article-title>
          <source>Stud Health Technol Inform</source>
          <year>2008</year>
          <volume>136</volume>
          <fpage>187</fpage>
          <lpage>92</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/18487729"/>
          </comment>
          <pub-id pub-id-type="medline">18487729</pub-id>
          <pub-id pub-id-type="pmcid">PMC2855380</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>Aronow</surname>
              <given-names>DB</given-names>
            </name>
            <name name-style="western">
              <surname>Fangfang</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Croft</surname>
              <given-names>WB</given-names>
            </name>
          </person-group>
          <article-title>Ad hoc classification of radiology reports</article-title>
          <source>J Am Med Inform Assoc</source>
          <year>1999</year>
          <month>09</month>
          <day>01</day>
          <volume>6</volume>
          <issue>5</issue>
          <fpage>393</fpage>
          <lpage>411</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/10495099"/>
          </comment>
          <pub-id pub-id-type="doi">10.1136/jamia.1999.0060393</pub-id>
          <pub-id pub-id-type="medline">10495099</pub-id>
          <pub-id pub-id-type="pmcid">PMC61382</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>Mehrabi</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Krishnan</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Sohn</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Roch</surname>
              <given-names>AM</given-names>
            </name>
            <name name-style="western">
              <surname>Schmidt</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Kesterson</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Beesley</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Dexter</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Max Schmidt</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Palakal</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>DEEPEN: a negation detection system for clinical text incorporating dependency relation into NegEx</article-title>
          <source>J Biomed Inform</source>
          <year>2015</year>
          <month>04</month>
          <volume>54</volume>
          <fpage>213</fpage>
          <lpage>9</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://linkinghub.elsevier.com/retrieve/pii/S1532-0464(15)00043-X"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.jbi.2015.02.010</pub-id>
          <pub-id pub-id-type="medline">25791500</pub-id>
          <pub-id pub-id-type="pii">S1532-0464(15)00043-X</pub-id>
          <pub-id pub-id-type="pmcid">PMC5863758</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>Peng</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Lu</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Bagheri</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Summers</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Lu</surname>
              <given-names>Z</given-names>
            </name>
          </person-group>
          <article-title>NegBio: a high-performance tool for negation and uncertainty detection in radiology reports</article-title>
          <source>AMIA Jt Summits Transl Sci Proc</source>
          <year>2018</year>
          <volume>2017</volume>
          <fpage>188</fpage>
          <lpage>196</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/29888070"/>
          </comment>
          <pub-id pub-id-type="medline">29888070</pub-id>
          <pub-id pub-id-type="pmcid">PMC5961822</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref14">
        <label>14</label>
        <nlm-citation citation-type="book">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Lazib</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Zhao</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Qin</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Negation scope detection with recurrent neural networks models in review texts</article-title>
          <source>Social Computing</source>
          <year>2016</year>
          <month>07</month>
          <day>31</day>
          <publisher-loc>Singapore</publisher-loc>
          <publisher-name>Springer</publisher-name>
          <fpage>494</fpage>
          <lpage>508</lpage>
        </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>Taylor</surname>
              <given-names>SJ</given-names>
            </name>
            <name name-style="western">
              <surname>Harabagiu</surname>
              <given-names>SM</given-names>
            </name>
          </person-group>
          <article-title>The role of a deep-learning method for negation detection in patient cohort identification from electroencephalography reports</article-title>
          <source>AMIA Annu Symp Proc</source>
          <year>2018</year>
          <volume>2018</volume>
          <fpage>1018</fpage>
          <lpage>1027</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/30815145"/>
          </comment>
          <pub-id pub-id-type="medline">30815145</pub-id>
          <pub-id pub-id-type="pmcid">PMC6371289</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>Sergeeva</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Zhu</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Prinsen</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Tahmasebi</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>Negation scope detection in clinical notes and scientific abstracts: a feature-enriched LSTM-based approach</article-title>
          <source>AMIA Jt Summits Transl Sci Proc</source>
          <year>2019</year>
          <volume>2019</volume>
          <fpage>212</fpage>
          <lpage>221</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://europepmc.org/abstract/MED/31258973"/>
          </comment>
          <pub-id pub-id-type="medline">31258973</pub-id>
          <pub-id pub-id-type="pmcid">PMC6568093</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>Sykes</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Grivas</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Grover</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Tobin</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Sudlow</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Whiteley</surname>
              <given-names>W</given-names>
            </name>
            <name name-style="western">
              <surname>Mcintosh</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Whalley</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Alex</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Comparison of rule-based and neural network models for negation detection in radiology reports</article-title>
          <source>Nat Lang Eng</source>
          <year>2020</year>
          <month>11</month>
          <day>18</day>
          <volume>27</volume>
          <issue>2</issue>
          <fpage>203</fpage>
          <lpage>224</lpage>
          <pub-id pub-id-type="doi">10.1017/s1351324920000509</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref18">
        <label>18</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Khandelwal</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Britto</surname>
              <given-names>BK</given-names>
            </name>
          </person-group>
          <article-title>Multitask learning of negation and speculation using transformers</article-title>
          <source>Proceedings of the 11th International Workshop on Health Text Mining and Information Analysis (LOUHI 2020)</source>
          <year>2020</year>
          <month>11</month>
          <conf-name>11th International Workshop on Health Text Mining and Information Analysis (LOUHI 2020)</conf-name>
          <conf-date>November 20, 2020</conf-date>
          <conf-loc>Virtual Conference</conf-loc>
          <fpage>79</fpage>
          <lpage>87</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/2020.louhi-1.9</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref19">
        <label>19</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Fancellu</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Lopez</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Webber</surname>
              <given-names>B</given-names>
            </name>
          </person-group>
          <article-title>Neural networks for negation scope detection</article-title>
          <source>Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>
          <year>2016</year>
          <month>08</month>
          <conf-name>54th Annual Meeting of the Association for Computational Linguistics (ACL 2016)</conf-name>
          <conf-date>August 7-12, 2016</conf-date>
          <conf-loc>Berlin, Germany</conf-loc>
          <fpage>495</fpage>
          <lpage>504</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/P16-1047</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref20">
        <label>20</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gautam</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Maharjan</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Banjade</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Tamang</surname>
              <given-names>LJ</given-names>
            </name>
            <name name-style="western">
              <surname>Rus</surname>
              <given-names>V</given-names>
            </name>
          </person-group>
          <article-title>Long short term memory based models for negation handling in tutorial dialogues</article-title>
          <source>Proceedings of the Thirty-First International Florida Artificial Intelligence Research Society Conference (FLAIRS-31)</source>
          <year>2018</year>
          <month>05</month>
          <day>21</day>
          <conf-name>31st International Florida Artificial Intelligence Research Society Conference</conf-name>
          <conf-date>May 21-23, 2018</conf-date>
          <conf-loc>Melbourne, FL</conf-loc>
          <fpage>14</fpage>
          <lpage>19</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref21">
        <label>21</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Qian</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Zhu</surname>
              <given-names>Q</given-names>
            </name>
            <name name-style="western">
              <surname>Zhou</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Luo</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Luo</surname>
              <given-names>W</given-names>
            </name>
          </person-group>
          <article-title>Speculation and negation scope detection via convolutional neural networks</article-title>
          <source>Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing (EMNLP 2016)</source>
          <year>2016</year>
          <month>11</month>
          <conf-name>2016 Conference on Empirical Methods in Natural Language Processing</conf-name>
          <conf-date>November 1-5, 2016</conf-date>
          <conf-loc>Austin, TX</conf-loc>
          <fpage>815</fpage>
          <lpage>825</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/d16-1078</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref22">
        <label>22</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Medlock</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Briscoe</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>Weakly supervised learning for Hedge classification in scientific literature</article-title>
          <source>Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics (ACL 2007)</source>
          <year>2007</year>
          <month>06</month>
          <conf-name>45th Annual Meeting of the Association for Computational Linguistics</conf-name>
          <conf-date>June 23-30, 2007</conf-date>
          <conf-loc>Prague, Czech Republic</conf-loc>
          <fpage>992</fpage>
          <lpage>999</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref23">
        <label>23</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Rokach</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Romano</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Maimon</surname>
              <given-names>O</given-names>
            </name>
          </person-group>
          <article-title>Negation recognition in medical narrative reports</article-title>
          <source>Inf Retrieval</source>
          <year>2008</year>
          <month>06</month>
          <day>07</day>
          <volume>11</volume>
          <issue>6</issue>
          <fpage>499</fpage>
          <lpage>538</lpage>
          <pub-id pub-id-type="doi">10.1007/s10791-008-9061-0</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref24">
        <label>24</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Morante</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Liekens</surname>
              <given-names>A</given-names>
            </name>
            <name name-style="western">
              <surname>Daelemans</surname>
              <given-names>W</given-names>
            </name>
          </person-group>
          <article-title>Learning the scope of negation in biomedical texts</article-title>
          <source>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing (EMNLP 2008)</source>
          <year>2008</year>
          <month>10</month>
          <conf-name>2008 Conference on Empirical Methods in Natural Language Processing</conf-name>
          <conf-date>October 25-27, 2008</conf-date>
          <conf-loc>Honolulu, HI</conf-loc>
          <fpage>715</fpage>
          <lpage>724</lpage>
          <pub-id pub-id-type="doi">10.3115/1613715.1613805</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref25">
        <label>25</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Morante</surname>
              <given-names>R</given-names>
            </name>
            <name name-style="western">
              <surname>Daelemans</surname>
              <given-names>W</given-names>
            </name>
          </person-group>
          <article-title>A metalearning approach to processing the scope of negation</article-title>
          <source>Proceedings of the Thirteenth Conference on Computational Natural Language Learning (CoNLL-2009)</source>
          <year>2009</year>
          <month>06</month>
          <conf-name>Thirteenth Conference on Computational Natural Language Learning (CoNLL-2009)</conf-name>
          <conf-date>June 4-5, 2009</conf-date>
          <conf-loc>Boulder, CO</conf-loc>
          <fpage>21</fpage>
          <lpage>29</lpage>
          <pub-id pub-id-type="doi">10.3115/1596374.1596381</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref26">
        <label>26</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ou</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Patrick</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Automatic negation detection in narrative pathology reports</article-title>
          <source>Artif Intell Med</source>
          <year>2015</year>
          <month>05</month>
          <volume>64</volume>
          <issue>1</issue>
          <fpage>41</fpage>
          <lpage>50</lpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://doi.org/10.1016/j.artmed.2015.03.001"/>
          </comment>
          <pub-id pub-id-type="doi">10.1016/j.artmed.2015.03.001</pub-id>
          <pub-id pub-id-type="medline">25990897</pub-id>
          <pub-id pub-id-type="pii">S0933-3657(15)00015-9</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref27">
        <label>27</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hinton</surname>
              <given-names>G</given-names>
            </name>
            <name name-style="western">
              <surname>Vinyals</surname>
              <given-names>O</given-names>
            </name>
            <name name-style="western">
              <surname>Dean</surname>
              <given-names>J</given-names>
            </name>
          </person-group>
          <article-title>Distilling the knowledge in a neural network</article-title>
          <year>2014</year>
          <month>12</month>
          <day>12</day>
          <conf-name>Deep Learning and Representation Learning Workshop, NIPS 2014</conf-name>
          <conf-date>December 12, 2014</conf-date>
          <conf-loc>Montreal, QC, Canada</conf-loc>
          <pub-id pub-id-type="doi">10.48550/arXiv.1503.02531</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref28">
        <label>28</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Rohanian</surname>
              <given-names>O</given-names>
            </name>
            <name name-style="western">
              <surname>Nouriborji</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Jauncey</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Kouchaki</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Nooralahzadeh</surname>
              <given-names>F</given-names>
            </name>
            <name name-style="western">
              <surname>Clifton</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Merson</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Clifton</surname>
              <given-names>DA</given-names>
            </name>
          </person-group>
          <article-title>Lightweight transformers for clinical natural language processing</article-title>
          <source>Nat Lang Eng</source>
          <year>2024</year>
          <month>01</month>
          <day>12</day>
          <volume>30</volume>
          <issue>5</issue>
          <fpage>887</fpage>
          <lpage>914</lpage>
          <pub-id pub-id-type="doi">10.1017/s1351324923000542</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref29">
        <label>29</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Sanh</surname>
              <given-names>V</given-names>
            </name>
            <name name-style="western">
              <surname>Debut</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Chaumond</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Wolf</surname>
              <given-names>T</given-names>
            </name>
          </person-group>
          <article-title>DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter</article-title>
          <year>2019</year>
          <month>12</month>
          <day>13</day>
          <conf-name>5th edition of the EMC² Workshop (Energy Efficient Machine Learning and Cognitive Computing)</conf-name>
          <conf-date>December 13, 2019</conf-date>
          <conf-loc>Vancouver, BC, Canada</conf-loc>
          <pub-id pub-id-type="doi">10.48550/arXiv.1910.01108</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref30">
        <label>30</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Ding</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Qin</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Liu</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Chia</surname>
              <given-names>YK</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>B</given-names>
            </name>
            <name name-style="western">
              <surname>Joty</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Bing</surname>
              <given-names>L</given-names>
            </name>
          </person-group>
          <article-title>Is GPT-3 a good data annotator?</article-title>
          <source>Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)</source>
          <year>2023</year>
          <month>07</month>
          <conf-name>61st Annual Meeting of the Association for Computational Linguistics</conf-name>
          <conf-date>July 9-14, 2023</conf-date>
          <conf-loc>Toronto, ON, Canada</conf-loc>
          <fpage>11173</fpage>
          <lpage>11195</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/2023.acl-long.626</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref31">
        <label>31</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Agrawal</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Hegselmann</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Lang</surname>
              <given-names>H</given-names>
            </name>
            <name name-style="western">
              <surname>Kim</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Sontag</surname>
              <given-names>D</given-names>
            </name>
          </person-group>
          <article-title>Large language models are few-shot clinical information extractors</article-title>
          <source>Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing (EMNLP 2022)</source>
          <year>2022</year>
          <month>12</month>
          <conf-name>2022 Conference on Empirical Methods in Natural Language Processing (EMNLP 2022)</conf-name>
          <conf-date>December 7-11, 2022</conf-date>
          <conf-loc>Abu Dhabi, United Arab Emirates</conf-loc>
          <fpage>1998</fpage>
          <lpage>2022</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/2022.emnlp-main.130</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref32">
        <label>32</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Gu</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Usuyama</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Woldesenbet</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Wong</surname>
              <given-names>C</given-names>
            </name>
            <name name-style="western">
              <surname>Sanapathi</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Wei</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Valluri</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Strandberg</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Naumann</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Poon</surname>
              <given-names>H</given-names>
            </name>
          </person-group>
          <article-title>Distilling large language models for biomedical knowledge extraction: a case study on adverse drug events</article-title>
          <source>arXiv. Preprint published July 12, 2023</source>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://arxiv.org/abs/2307.06439">https://arxiv.org/abs/2307.06439</ext-link>
          </comment>
        </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>Khan</surname>
              <given-names>SH</given-names>
            </name>
            <name name-style="western">
              <surname>Lybarger</surname>
              <given-names>K</given-names>
            </name>
          </person-group>
          <article-title>Efficient information extraction using LLMs and knowledge distillation: a study on HPV health communication</article-title>
          <source>PLOS Digit Health</source>
          <year>2026</year>
          <month>03</month>
          <volume>5</volume>
          <issue>3</issue>
          <fpage>e0001275</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://dx.plos.org/10.1371/journal.pdig.0001275"/>
          </comment>
          <pub-id pub-id-type="doi">10.1371/journal.pdig.0001275</pub-id>
          <pub-id pub-id-type="medline">41805771</pub-id>
          <pub-id pub-id-type="pii">PDIG-D-25-00609</pub-id>
          <pub-id pub-id-type="pmcid">PMC12974803</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref34">
        <label>34</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <collab>法務部</collab>
          </person-group>
          <article-title>民法部分條文修正對照表</article-title>
          <source>法務部全球資訊網</source>
          <year>2021</year>
          <access-date>2026-08-09</access-date>
          <publisher-loc>臺北市</publisher-loc>
          <publisher-name>法務部</publisher-name>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://tinyurl.com/66hztvkm">https://tinyurl.com/66hztvkm</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref35">
        <label>35</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kokhan</surname>
              <given-names>O</given-names>
            </name>
          </person-group>
          <article-title>7 proven ways to increase annotation throughput at scale (freelancers vs. teams)</article-title>
          <source>Tinko Group website</source>
          <access-date>2026-05-17</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://tinkogroup.com/annotation-throughput-freelancers-vs-teams-guide/">https://tinkogroup.com/annotation-throughput-freelancers-vs-teams-guide/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref36">
        <label>36</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Grießhaber</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Maucher</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Vu</surname>
              <given-names>NT</given-names>
            </name>
          </person-group>
          <article-title>Fine-tuning BERT for low-resource natural language understanding via active learning</article-title>
          <source>Proceedings of the 28th International Conference on Computational Linguistics (COLING 2020)</source>
          <year>2020</year>
          <month>12</month>
          <conf-name>28th International Conference on Computational Linguistics (COLING 2020)</conf-name>
          <conf-date>December 8-13, 2020</conf-date>
          <conf-loc>Virtual Conference</conf-loc>
          <fpage>1158</fpage>
          <lpage>1171</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/2020.coling-main.100</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref37">
        <label>37</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Honnibal</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Montani</surname>
              <given-names>I</given-names>
            </name>
            <name name-style="western">
              <surname>Van Landeghem</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Boyd</surname>
              <given-names>A</given-names>
            </name>
          </person-group>
          <article-title>spaCy - Industrial-strength Natural Language Processing in Python</article-title>
          <source>spaCy</source>
          <access-date>2026-07-21</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://spacy.io/">https://spacy.io/</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref38">
        <label>38</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Du</surname>
              <given-names>M</given-names>
            </name>
          </person-group>
          <article-title>Tiered Super-Moore's law: price evolution, production frontiers, and market competition in large language model inference services</article-title>
          <source>arXiv. Preprint published March 30, 2026</source>
          <year>2026</year>
          <month>03</month>
          <day>20</day>
          <access-date>2026-05-28</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://arxiv.org/abs/2603.28576">https://arxiv.org/abs/2603.28576</ext-link>
          </comment>
        </nlm-citation>
      </ref>
      <ref id="ref39">
        <label>39</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Miller</surname>
              <given-names>T</given-names>
            </name>
            <name name-style="western">
              <surname>Laparra</surname>
              <given-names>E</given-names>
            </name>
            <name name-style="western">
              <surname>Bethard</surname>
              <given-names>S</given-names>
            </name>
          </person-group>
          <article-title>Domain adaptation in practice: lessons from a real-world information extraction pipeline</article-title>
          <source>Proceedings of the Second Workshop on Domain Adaptation for NLP (AdaptNLP 2021)</source>
          <year>2021</year>
          <month>04</month>
          <conf-name>Second Workshop on Domain Adaptation for NLP (AdaptNLP 2021)</conf-name>
          <conf-date>April 20, 2021</conf-date>
          <conf-loc>Kyiv, Ukraine</conf-loc>
          <fpage>105</fpage>
          <lpage>110</lpage>
        </nlm-citation>
      </ref>
      <ref id="ref40">
        <label>40</label>
        <nlm-citation citation-type="journal">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Madan</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Lentzen</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Brandt</surname>
              <given-names>J</given-names>
            </name>
            <name name-style="western">
              <surname>Rueckert</surname>
              <given-names>D</given-names>
            </name>
            <name name-style="western">
              <surname>Hofmann-Apitius</surname>
              <given-names>M</given-names>
            </name>
            <name name-style="western">
              <surname>Fröhlich</surname>
              <given-names>Holger</given-names>
            </name>
          </person-group>
          <article-title>Transformer models in biomedicine</article-title>
          <source>BMC Med Inform Decis Mak</source>
          <year>2024</year>
          <month>07</month>
          <day>29</day>
          <volume>24</volume>
          <issue>1</issue>
          <fpage>214</fpage>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://bmcmedinformdecismak.biomedcentral.com/articles/10.1186/s12911-024-02600-5"/>
          </comment>
          <pub-id pub-id-type="doi">10.1186/s12911-024-02600-5</pub-id>
          <pub-id pub-id-type="medline">39075407</pub-id>
          <pub-id pub-id-type="pii">10.1186/s12911-024-02600-5</pub-id>
          <pub-id pub-id-type="pmcid">PMC11287876</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref41">
        <label>41</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Hu</surname>
              <given-names>EJ</given-names>
            </name>
            <name name-style="western">
              <surname>Shen</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Wallis</surname>
              <given-names>P</given-names>
            </name>
            <name name-style="western">
              <surname>Allen-Zhu</surname>
              <given-names>Z</given-names>
            </name>
            <name name-style="western">
              <surname>Li</surname>
              <given-names>Y</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>S</given-names>
            </name>
            <name name-style="western">
              <surname>Wang</surname>
              <given-names>L</given-names>
            </name>
            <name name-style="western">
              <surname>Chen</surname>
              <given-names>W</given-names>
            </name>
          </person-group>
          <article-title>LoRA: low-rank adaptation of large language models</article-title>
          <source>International Conference on Learning Representations (ICLR 2022)</source>
          <year>2022</year>
          <month>04</month>
          <day>25</day>
          <conf-name>Tenth International Conference on Learning Representations (ICLR 2022)</conf-name>
          <conf-date>April 25-29, 2022</conf-date>
          <conf-loc>Virtual Conference</conf-loc>
        </nlm-citation>
      </ref>
      <ref id="ref42">
        <label>42</label>
        <nlm-citation citation-type="confproc">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Zhang</surname>
              <given-names>X</given-names>
            </name>
            <name name-style="western">
              <surname>Rajabi</surname>
              <given-names>N</given-names>
            </name>
            <name name-style="western">
              <surname>Duh</surname>
              <given-names>K</given-names>
            </name>
            <name name-style="western">
              <surname>Koehn</surname>
              <given-names>P</given-names>
            </name>
          </person-group>
          <article-title>Machine translation with large language models: prompting, few-shot learning, and fine-tuning with QLoRA</article-title>
          <source>Proceedings of the Eighth Conference on Machine Translation (WMT 2023)</source>
          <year>2023</year>
          <month>12</month>
          <conf-name>Eighth Conference on Machine Translation (WMT 2023)</conf-name>
          <conf-date>December 6-7, 2023</conf-date>
          <conf-loc>Singapore</conf-loc>
          <fpage>468</fpage>
          <lpage>481</lpage>
          <pub-id pub-id-type="doi">10.18653/v1/2023.wmt-1.43</pub-id>
        </nlm-citation>
      </ref>
      <ref id="ref43">
        <label>43</label>
        <nlm-citation citation-type="web">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Kung-Hsun</surname>
              <given-names>W</given-names>
            </name>
          </person-group>
          <article-title>d8888/llm_negation_study_2025_public</article-title>
          <source>GitHub</source>
          <access-date>2026-08-28</access-date>
          <comment>
            <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://github.com/d8888/llm_negation_study_2025_public">https://github.com/d8888/llm_negation_study_2025_public</ext-link>
          </comment>
        </nlm-citation>
      </ref>
    </ref-list>
  </back>
</article>
