Manuscript Offprint

arXiv:2609.40236

Comparison of techniques for fine-tuning open-weight models for entity extraction from radiology reports

Aawez Mansuri, Kush Mehta, Mohammadreza Chavoshi, Jahanzaib Malik, Theodorus Dapamede, Frank Li, Rohan Isaac, Beatrice Brown-Mulry, Chiratidzo Rudado Sanyika, YoungSeok Jeon, Judy W. Gichoya, Ali Emami, Hari Trivedi

Abstract

Converting free-text radiology reports into structured labels supports cohort building, quality assurance, and monitoring of clinical imaging models, but the strongest label extractors are hosted proprietary models whose use raises privacy, cost, and reproducibility concerns. We asked whether a fine-tuned open-weight model (Gemma-3-12B) can match GPT-4o at multi-label intracranial hemorrhage (ICH) acuity extraction from non-contrast head-CT reports, and which ingredients matter. Using a 2×2 design, we crossed two adaptation strategies (a discriminative classification head, CH; generative instruction fine-tuning, IFT) with two training-data sources (distillation of real GPT-4o-labeled reports; synthetic reports generated by GPT-4o from real exemplars), across five training sizes, benchmarked on 100 expert-adjudicated reports against GPT-4o and the un-tuned open-weight base. The distilled instruction-tuned model (DIFT) matched GPT-4o (macro-F1 0.845 vs 0.850; p = 1.000) and exceeded the base model by 0.178. The decisive factor was the training-data source, not the fine-tuning method: both synthetic-data models failed to exceed the un-tuned open-weight base at any training size and underperformed the distilled models across all acuity classes. Fine-tuning and inference fit within the memory envelope of a single 24 GB consumer GPU. For narrow, high-value clinical label-extraction tasks, distilling real reports, rather than generating synthetic ones, is what closes the gap to a hosted model, enabling a private, low-cost, version-stable on-premises alternative.

Introduction

Radiology reports are generated as free text, yet much of their secondary value depends on converting that text into discrete, machine-readable labels for cohort assembly, registry curation, quality assurance, and the training and auditing of imaging models. Rule-based keyword systems and, later, encoder-based models such as BERT advanced this task but remain constrained: they are tied to fixed label schemas, require task-specific labeled corpora, and handle long or atypical reports poorly [1-8]. Generative large language models (LLMs) have become an attractive alternative because they relax these constraints, offering long context, flexible instruction-following, and adaptation to new schemas with little task-specific training [9,10].

Within this paradigm, hosted proprietary models such as GPT-4o have generally set the performance ceiling on clinical extraction, and recent frontier general-purpose models now outperform even specialized clinical AI tools on medical benchmarks [11]. On clinical label extraction specifically, open-weight models have tended to trail leading proprietary ones by a small margin [12-14]. Yet routine reliance on a hosted model carries costs that a benchmark table does not capture: protected health information generally cannot leave the institutional perimeter, per-query API charges accumulate at archive scale, and the hosted model is not a fixed instrument. Its behavior can change between releases and versions are deprecated within months, turning validation into a recurring obligation [15-18]. An on-premises, open-weight model adapted to the task keeps data inside the institution, incurs no marginal API fees, and freezes an auditable, version-controlled model.

Two teacher-derived data strategies are commonly used to close the accuracy gap. In distillation, a strong teacher labels real reports and a smaller open-weight student is fine-tuned on those labels [15,19,20]. In a synthetic approach, the teacher instead generates the reports, here conditioned on a few real reports as in-context exemplars so the output mimics authentic reporting, which reduces reliance on real-report corpora and yields a shareable, non-identifiable training set [16,21]. These strategies are not equivalent: broadly imitating a proprietary model is a “false promise,” whereas distilling a single, well-specified behavior can approach teacher-level accuracy on that narrow task [22]. Which strategy succeeds, and how much data it needs, is an empirical question. As we show, the choice of data source matters more than the choice of fine-tuning method.

We study this for a concrete, operationally important target: extracting intracranial hemorrhage (ICH) acuity from non-contrast head-CT reports. ICH is a time-critical emergency in which acuity directly shapes management, and acuity-resolved labels are needed to build cohorts, train and evaluate imaging models, and support continuous post-deployment surveillance, where subgroup-level monitoring requires a steady, private supply of reference labels [3,23-27]. Fine-tuning an open-weight model (Gemma-3-12B) under two data sources and two adaptation strategies, we ask whether it can match GPT-4o and identify which ingredients make that possible. Full design details are given in Methods.

References (21)