Skip to content

Menu

WorksComputer Science

Autonomous Structuring of Radiology Reports Across Modalities at Archive Scale Using an Open-Weight Large Language Model

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_528v9p8x. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Purpose: To develop and evaluate an open-weight large language model (LLM) pipeline that converts an entire archive of free-text radiology reports into structured reports without human oversight. Materials and Methods: In this retrospective study, a pipeline with 150 hierarchically organized templates was developed at one center and tested at a second center on reports from 2010 to 2025. The open-weight model gpt-oss-120B selects the template in three constrained-decoding steps and fills it on one local graphics processing unit. Template selection was scored against expert labels on 914 randomly sampled reports of five modalities, structuring quality on 920 radiography and CT reports corrected field by field by five residents. The pipeline then processed the complete archive of the second center. Proportions are reported with Wilson 95% confidence intervals (CIs). Results: An optimal template set was selected for 74.4% of reports (680 of 914; 95% CI: 71.5%, 77.1%) and an appropriate set for 82.3% (752 of 914; 95% CI: 79.7%, 84.6%), 87.7% for single-region and 54.1% for multi-region reports. Macro semantic textual similarity between output and corrected reference was 0.95 for radiography and 0.97 for CT, residents left 88.7% of 24,638 fields unchanged, and unsupported content was flagged in 1.0% and 1.5% of reports. Of 2,186,982 archive reports, 96.5% received structured output, 2,401,544 structured reports, at 1,258 reports per hour on one graphics processing unit. Conclusion: An open-weight LLM pipeline structured a complete multimodality report archive without human oversight with high content fidelity. Multi-region reports remained the main source of template errors.

Introduction

A radiology archive holds millions of free-text reports, representing a rich source of information for research and quality control. However, due to the free text nature, they remain inaccessible for automated evaluation [1]. For this reason radiological societies have recommended structured reporting for more than a decade [2], yet most reports are still narratives whose format and terminology vary between institutions and radiologists [3, 4]. Structured reporting at the time of dictation would be the optimal solution, but longer reporting times, disagreement about templates, and disrupted dictation workflows slow down adoption [5]. Structuring reports afterwards leaves the reporting workflow untouched and makes archived reports usable.

Given that large language models (LLMs) can process free text narratives, multiple studies investigated them to extract predefined variables from radiology reports [6, 7, 8, 9, 10] and map report content onto structured templates [11, 12, 13, 14, 15]. In nearly all of these studies the template was known in advance, because only one or a few examination types were studied. However, an archive contains hundreds of examination types, and metadata do not reliably tell which template a report needs. To scale to a whole archive, the structuring pipeline must act fully autonomously.

A proof-of-concept study with GPT-4 assigned 170 fictitious CT and MRI reports to one of a few templates and structured them [16], showing that an LLM can perform both steps without human oversight. Yet, transferring this to a real archive raises four problems. First, a template collection must cover most examinations a department performs, with shared findings represented identically so that analyses can aggregate across templates. Second, presenting an LLM with more than 100 templates at once is inefficient, and a flat multiple-choice design handles neither reports describing several examinations nor rare examinations or reports without findings. Third, examination types differ between institutions, so templates must be easy to add, change, and remove. Fourth, a whole archive is a large volume of sensitive data. Sending it to a commercial API exposes the archive to a third party and is costly.

The purpose of this study was to develop a pipeline that addresses these four problems. The pipeline runs locally with open-weight LLMs and without human oversight, assigns each report to one or more of 150 hierarchically organized templates or rejects it, and fills the selected template. We tested it in a reader study at a second center for template selection and structuring quality and applied it to that center’s complete archive of about 2.1 million reports across five modalities.

Materials and Methods

Study Design

This retrospective study was approved by the institutional review boards of Charité – Berlin University of Medicine (Charité; EA2/148/23) and Technical University of Munich (TUM; 2024-590-S-CB), which waived informed consent. Charité reports (January 1, 2009, to April 1, 2024) were used for template development and prompt engineering, TUM reports (January 1, 2010, to December 31, 2025) for the two test sets and for structuring the complete archive. The reports had not been used in prior studies, and patient demographics were not available at report level. Reports, templates and prompts were in German. The study follows the CLAIM 2024 checklist (Supplement 1) [17].

Template Database

To identify the examinations and diagnoses in the archive, an LLM (gpt-oss-120B) screened 10,000 random Charité reports for modality, body region and main diagnosis (Supplemental Methods S1), and two board-certified radiologists (KKB and LCA; 10 and 11 years of experience) defined 150 templates covering all common examination types from the resulting frequency tables. Each template defines the sections of a structured report and describes the expected content of each section.

Templates form a two-level hierarchy. A base template defines the sections of an examination type, for example CT chest, and derived templates add or replace sections for a clinical question. At run time the pipeline merges the derived template into its base template section by section, so structured reports of one examination type remain comparable across diagnoses (Figure S3). The 150 templates (24 base, 75 derived, 51 independent without a base) cover five modalities and 37 examination types (Table 1, Figure S1). For CT reports that describe several examination types, 31 combination types define which examination types may occur together, and the report receives one template per examination type (Supplemental Methods S2).

ModalityTemplates (base, derived, independent)Examination typesSelection test reports (single, multi)Reader study reviewed (appropriate, corrected)
Radiography25 (6, 17, 2)6602 (568, 34)622 (544, 513)
CT45 (10, 30, 5)10217 (110, 107)448 (417, 407)
MRI43 (6, 24, 13)1159 (52, 7)—
Ultrasound30 (0, 0, 30)626 (26, 0)—
Interventional radiology7 (2, 4, 1)410 (10, 0)—
Total150 (24, 75, 51)37914 (766, 148)1,070 (961, 920)

Table 1. Template library and test datasets

Figure S1. Template index of the CT branch, the largest of the five modality branches (template counts per modality in Table 1, templates in archive use in Table S6). Ten examination types with 45 templates, five of which are listed under two or three examination types and appear under each. Base templates (navy outline) carry derived templates (light teal outline) that add or replace sections at run time, independent templates (black outline) have no base. Templates derived from a base template of another examination type are attached with dashed connectors. Three of the 31 combination types are shown as examples.

Figure S3. Template composition at run time with the YAML files of the base template CT chest standard and the derived template CT chest mass. The production templates are German, keys and values are translated one to one for display and the placeholder hints of the production files are shown as empty strings. The pipeline updates the base template recursively with the derived template, a leaf value in the derived template replaces the base value (sand), sections present only in the derived template are added (teal), all other sections remain from the base (black). The composed template becomes the Pydantic model for constrained decoding.

Pipeline

The pipeline takes unreviewed report text and proceeds in two stages (Figure 2). In the selection stage the LLM classifies the report in three successive steps, modality, examination type and template, with each answer narrowing the options of the next. At every step two reserved responses reject report stubs and examinations without a template. If the report describes several examinations, the pipeline switches to multi-label classification of examination types and templates (Figure S2). In the structuring stage the LLM fills the selected templates with the report content zero-shot, one template per call. Fields without information in the source report receive the placeholder “not mentioned”.

Figure 2. Pipeline for autonomous structuring of free-text radiology reports. In the template selection stage the large language model answers three questions in constrained-decoding steps, imaging technique (modality), body region (examination type) and diagnosis or question (template), each narrowing the options of the next. Reports describing several examinations continue with multi-label selection of examination types and one template per examination (teal). Report stubs and examinations without a template are rejected (dashed grey). The template database supplies the options and the template files (dashed teal). The selected templates are composed from base and derived template and filled with the report content in the structuring stage, one call per template.

Figure S2. Hierarchical template selection as a tree. The modality step chooses one of 5 modalities, which restricts the examination-type step to the examination types of that modality (10 for CT), which restricts the template step to the templates of that examination type (6 for CT chest). Teal branches show the multi-label pathways for reports describing several examinations and for CT combination types. Dashed grey exits show the two reserved rejection responses.

Every response is produced with constrained decoding against a format generated at run time from the template index and the template files, the allowed options in the selection stage and the sections of the composed template in the structuring stage (Supplemental Methods S3). The pipeline is implemented in Python with LangChain 1.2.18 and runs against any OpenAI API compatible server.

Model

gpt-oss-120B [18], a 4-bit quantized mixture-of-experts model with 117 billion total and 5.1 billion active parameters, was used for all experiments and for the archive. The context window was 15,000 tokens and reasoning effort was set to the lowest level. The model ran on one H100 GPU at Charité served through Ollama during development and on one H200 GPU at TUM served through vLLM [19] for testing and archive processing.

Test Datasets

Two test sets were drawn from the TUM archive (Figure 1). For template selection, 1,000 reports were sampled at random, 21 entries without a report identifier were removed, and a board-certified radiologist labeled the remaining 979 reports with modality, examination types and optimal templates or marked them as non-structurable (report stub or examination without a template). A second board-certified radiologist reviewed all labels (readers KKB and LCA). Forty-six reports combining two modalities were not scored, the 19 non-structurable reports served as the rejection test, and the remaining 914 reports formed the selection test set (766 single-region, 148 multi-region).

Figure 1. Creation of the two test sets from the TUM archive. A, selection test set. Of a random sample of the archive, reports without a report identifier were excluded before labeling, reports combining two modalities and non-structurable reports (report stubs, examination without a template) were labeled but not scored, the non-structurable reports served as the rejection test. B, structuring test set. Of a stratified sample of the pipeline output with 9 to 25 reports per template, the residents rated the selected template, reports rated inappropriate or unclear were not corrected, the unclear ratings were adjudicated by two board-certified radiologists in consensus for the template rating. Numbers in parentheses are radiography, CT.

For structuring quality, 1,070 radiography and CT reports were sampled from the pipeline output so that all 70 templates of these modalities were represented by 9 to 25 reports. Five radiology residents (MF, ES, MK, LSchm, and LSchu, 2 to 3 years of experience) rated the selected template as appropriate, inappropriate or unclear, and two board-certified radiologists (KKB and LCA) adjudicated the 44 unclear ratings in consensus. For the 920 reports rated appropriate by the residents, the residents corrected the structured output field by field against the source report and flagged content not supported by the source as hallucinated. The corrected output of these 920 reports served as the reference standard (Table 1). Labels and corrections were entered in software developed by the authors for this study.

Creation of both test sets and the excluded reports in Figure 1. Templates listed under several examination types are counted once, the pain-therapy template shared by CT and interventional radiology under CT. The 31 CT combination types are not templates. Appropriate, template rated appropriate by the residents or, for 44 unclear ratings, by two adjudicating board-certified radiologists in consensus. Corrected, reports rated appropriate by the residents and corrected field by field, the reference for the field-level scores. Median report length was 92 words for radiography, 177 for CT, 174 for MRI, 149 for ultrasound and 220 for interventional radiology.

Evaluation Metrics and Statistical Analysis

Template selection was evaluated per report with all 914 reports of the selection test set as denominator. Sensitivity is the fraction that received at least one template, specificity the fraction of the 19 non-structurable reports that were rejected. A report was optimal if the selected template set matched the expert label and appropriate if every selected template shared its base template with the labeled one. Template identifiers were compared after normalization of spelling, which affected two labels. Results are stratified by modality and by single-region versus multi-region reports. Two ablations supplied the labeled modality to the pipeline and raised the reasoning effort to medium and high on the 111 selection test reports that the pipeline routed to multi-label classification, paired differences were tested with two-sided exact McNemar tests.

Structuring quality was scored field by field against the corrected reference, so the template text itself does not contribute. Semantic agreement was measured as semantic textual similarity (STS), the cosine similarity of Llama-Embed-Nemotron-8B embeddings [20], lexical agreement as BLEU [21], both macro-averaged over templates and additionally over content fields only, fields with report content in output or reference. A field counted as correct when the residents left it unchanged, whether it held report content or the placeholder for absent information, and as edited otherwise. The hallucination rate is the fraction of corrected reports with at least one flagged field. A board-certified radiologist classified the primary error of the 50 lowest-STS reports per modality as incomplete transcription, wrong or misplaced transcription, or hallucination.

Proportions are reported with Wilson 95% confidence intervals (CIs). CIs for STS and BLEU were computed with a percentile bootstrap of reports within templates (10,000 resamples). Analyses were performed in Python 3.12 with SciPy. P<.05P < .05 indicated significance.

Archive Processing

The complete TUM report archive was processed with the same pipeline and model without human oversight. Rows without a valid report identifier and header rows of examinations imported from other institutions were excluded before processing. A report counted as structured when the pipeline returned at least one template with valid JSON output. Throughput was derived from the processing logs on one H200 GPU and, for one report at a time, measured in a serial benchmark of 100 reports run twice.

Results

The selection test set comprised 914 reports drawn at random from the TUM archive (766 single-region, 148 multi-region), the structuring test set the 920 corrected reports (513 radiography, 407 CT, 70 templates) (Figure 1, Table 1).

Template Selection

The pipeline assigned at least one template to 869 of 914 reports (95.1%, 95% CI 93.5 to 96.3). Of the 19 non-structurable reports (Figure 1A), 18 were rejected (94.7%, 75.4 to 99.1). Sensitivity ranged from 65.4% for ultrasound (17 of 26) to 97.7% for CT (212 of 217) (Table 2).

GroupnStructured, % (95% CI)Optimal, % (95% CI)Appropriate, % (95% CI)Optimal given structured, %
All91495.1 (93.5, 96.3)74.4 (71.5, 77.1)82.3 (79.7, 84.6)78.3
Single-region76695.2 (93.4, 96.5)83.0 (80.2, 85.5)87.7 (85.2, 89.9)87.2
Multi-region14894.6 (89.7, 97.2)29.7 (23.0, 37.5)54.1 (46.0, 61.9)31.4
Radiography60297.0 (95.3, 98.1)80.9 (77.6, 83.8)85.9 (82.9, 88.4)83.4
CT21797.7 (94.7, 99.0)60.4 (53.7, 66.6)77.4 (71.4, 82.5)61.8
MRI5981.4 (69.6, 89.3)69.5 (56.9, 79.7)78.0 (65.9, 86.6)85.4
Ultrasound2665.4 (46.2, 80.6)61.5 (42.5, 77.6)61.5 (42.5, 77.6)94.1
Interventional radiology1080.0 (49.0, 94.3)50.0 (23.7, 76.3)50.0 (23.7, 76.3)62.5

Table 2. Template selection on the 914 reports of the selection test set. Structured, at least one template assigned. Optimal, selected template set identical to the expert label. Appropriate, every selected template shares its base template with the labeled one (includes optimal). Denominator for the first three rates is all eligible reports of the group. Specificity on the 19 non-structurable reports was 94.7% (18 of 19, 75.4 to 99.1).

The optimal template set was selected for 680 of 914 reports (74.4%, 71.5 to 77.1) and an appropriate set for 752 (82.3%, 79.7 to 84.6) (Table 2, Figure 3A). Single-region reports reached 636 of 766 optimal (83.0%, 80.2 to 85.5) and 672 of 766 appropriate (87.7%, 85.2 to 89.9). Multi-region reports reached 44 of 148 optimal (29.7%, 23.0 to 37.5) and 80 of 148 appropriate (54.1%, 46.0 to 61.9).

Figure 3. Template selection on 914 eligible external test reports. A, outcome of template selection per report as percentage of eligible reports, for all reports, by number of described regions and by modality, with report counts inside the segments and n at the bar end. B, level of the hierarchy at which the first error occurred, as percentage of the group, with report counts above the bars. IR, interventional radiology.

Among single-region reports, the first error occurred at the modality step in 36 reports, at the examination-type step in 31 and at the template step in 63. Among multi-region reports, 35 first errors occurred at the examination-type step and 69 at the template step (Figure 3B). Of the 57 single-region reports with a template outside the appropriate family, 39 involved the skeletal radiography templates, most often a postoperative extremity radiograph assigned to a pelvis template (Table S3). Per-template results are given in Table S2. Supplying the labeled modality raised optimal selection by 19 of 914 reports (2.1 percentage points, 0.1 to 4.0, P=.05P = .05), and medium or high reasoning effort on these 111 reports did not change optimal selection (45, 47 and 41 reports, P=.79P = .79 and P=.48P = .48) (Table S4 and Table S5).

ModalityLabeled templateTest reportsStructuredOptimalAppropriateOptimal, %
RadiographyChest radiograph21521420920997.2
RadiographyExtremity radiograph, trauma12011810911590.8
RadiographyExtremity radiograph, postoperative9389676872.0
RadiographyExtremity radiograph2928112337.9
RadiographyPelvis radiograph2222212295.5
RadiographyExtremity radiograph, osteoarthritis2121131461.9
RadiographyBarium swallow10109990.0
RadiographyCervical spine radiograph877787.5
RadiographyLumbar spine radiograph876675.0
RadiographyAbdominal radiograph665583.3
RadiographySpine radiograph664566.7
RadiographyExtremity radiograph, rheumatology442450.0
RadiographyHemithorax radiograph4444100.0
RadiographyPelvis radiograph, trauma433375.0
RadiographyThoracic spine radiograph443375.0
RadiographyFacial bones radiograph332266.7
RadiographyFluoroscopy311133.3
RadiographySkull radiograph321133.3
RadiographyArthrography211150.0
RadiographyMammography10000.0
RadiographyPanoramic radiograph10000.0
RadiographyParanasal sinuses radiograph11010.0
CTCT extremities18181818100.0
ModalityLabeled templateTest reportsStructuredOptimalAppropriateOptimal, %
CTCT head1414131492.9
CTCT abdomen, mass10107870.0
CTCT chest, mass9999100.0
CTCT abdomen, acute776785.7
CTCT abdomen, urolithiasis6666100.0
CTCT chest, lung parenchyma6666100.0
CTCT neck, mass6666100.0
CTCT angiography whole aorta5555100.0
CTCT chest, pulmonary embolism553560.0
CTCT facial bones5555100.0
CTCT head, postoperative332366.7
CTCT bony pelvis221150.0
CTCT neck, inflammation221250.0
CTCT paranasal sinuses221250.0
CTCT abdomen and pelvis1111100.0
CTCT abdomen, trauma1111100.0
CTCT angiography head and neck11000.0
CTCT angiography leg1111100.0
CTCT cervical spine10000.0
CTCT chest11010.0
CTCT chest, trauma1111100.0
CTCT coronary angiography1111100.0
CTCT lumbar spine1111100.0
CTCT temporal bone1111100.0
MRIMRI head543460.0
MRIMRI knee544480.0
MRIMRI liver5555100.0
MRIMRI uterus522240.0
MRIMRI breast4444100.0
MRIMRI head, mass443475.0
MRIMRI hip421125.0
MRIMRI shoulder322266.7
MRIMR angiography pelvis and leg2222100.0
MRIMRI bony pelvis2222100.0
MRIMRI hand2222100.0
MRIMRI lumbar spine2222100.0
MRIMR angiography neck1111100.0
MRIMRI ankle1111100.0
MRIMRI bowel1111100.0
MRIMRI chest, mass1111100.0
MRIMRI elbow1111100.0
MRIMRI head, postoperative1111100.0
MRIMRI neck, mass1111100.0
MRIMRI prostate1111100.0
MRIMRI wrist1111100.0
UltrasoundUS breast1344430.8
UltrasoundUS abdomen10101010100.0
UltrasoundUS soft tissue mass221150.0
UltrasoundUS urogenital tract1111100.0
Interventional radiologyImage-guided interventions1085550.0

Table S2. Template selection per labeled template.

ModalityLabeled templateSelected template(s)Reports
RadiographyExtremity radiograph, postoperativePelvis radiograph10
RadiographyExtremity radiograph, postoperativePelvis radiograph, trauma6
RadiographyExtremity radiograph, osteoarthritisPelvis radiograph5
RadiographyChest radiographUS lung4
RadiographyExtremity radiographPelvis radiograph2
RadiographyExtremity radiograph, osteoarthritisMRI knee2
RadiographyExtremity radiograph, postoperativeCT extremities2
RadiographyExtremity radiograph, postoperativeMRI shoulder2
RadiographyAbdominal radiographCT abdomen, acute1
RadiographyBarium swallowAbdominal radiograph1
RadiographyChest radiographCT chest1
RadiographyExtremity radiographPelvis radiograph, trauma1
RadiographyExtremity radiographMRI shoulder1
RadiographyExtremity radiographCT extremities1
RadiographyExtremity radiograph, postoperativeCT bony pelvis1
RadiographyExtremity radiograph, traumaPelvis radiograph, trauma1
RadiographyExtremity radiograph, traumaPelvis radiograph1
RadiographyExtremity radiograph, traumaCT extremities1
RadiographyFacial bones radiographCT facial bones1
RadiographyLumbar spine radiographPelvis radiograph, trauma1
RadiographySkull radiographCT temporal bone1
RadiographySpine radiographCT spine1
RadiographyThoracic spine radiographCT thoracic spine1
CTCT abdomen, massCT angiography abdomen2
CTCT angiography head and neckCT angiography head and neck + CT angiography1
CTCT bony pelvisCT abdomen, trauma1
MRIMRI hipMRI bony pelvis1
UltrasoundUS soft tissue massUS abdomen1
Interventional radiologyImage-guided interventionsCT abdomen and pelvis1
Interventional radiologyImage-guided interventionsCT chest, mass1
Interventional radiologyImage-guided interventionsCT chest1

Table S3. Template confusions among single-region reports

ReportsnOptimal, pipelineOptimal, modality suppliedGainsLossesDifference, pp (95% CI)P
All9146786975132+2.1 (0.1, 4.0).05
Single-region7666346544121+2.6 (0.6, 4.6).02
Multi-region14844431011-0.7 (-6.7, 5.4)> .99

Table S4. Ablation, labeled modality supplied to the pipeline

Reasoning effortnOptimal, low effortOptimal, at settingGainsLossesDifference, pp (95% CI)P
Medium111454786+1.8 (-4.8, 8.4).79
High1114541711-3.6 (-11.1, 3.9).48

Table S5. Ablation, reasoning effort

Structuring Quality

Among the reviewed reports (Figure 1B), the residents rated the selected template appropriate for 87.5% of radiography reports (544 of 622, 84.6 to 89.8) and 93.1% of CT reports (417 of 448, 90.3 to 95.1), including 41 of 44 unclear ratings that two board-certified radiologists adjudicated in consensus (Figure 5A).

Figure 5. Template ratings, hallucination flags and error types in the reader study. A, rating of the selected template for 622 radiography and 448 CT reports after adjudication of the unclear ratings, with report counts inside the segments. B, STS of the 513 and 407 corrected reports as box plots (median, interquartile range, 1.5 IQR whiskers, outliers as points) with the reports flagged for unsupported content marked as triangles. C, primary error type in the 50 lowest-STS reports per modality, with report counts inside the segments where they fit (hallucination 1 and unclassified 2 in radiography, unclassified 2 in CT).

Macro STS between pipeline output and corrected reference was 0.95 (0.94 to 0.95) for radiography and 0.97 (0.97 to 0.98) for CT. Macro BLEU was 84.0 (83.3 to 84.8) and 91.9 (91.2 to 92.6) (Figure 4A, B, Table 3). Macro STS by examination type ranged from 0.93 to 0.98 (Table S1). Of 24,638 scored fields, the residents left 21,847 (88.7%) unchanged, 8,279 of 9,888 radiography fields (83.7%) and 13,568 of 14,750 CT fields (92.0%), and edited 1,609 and 1,182 (Figure 4C). Restricted to fields with content in output or reference, macro BLEU was 74.2 (72.9 to 75.4) for radiography and 83.9 (82.5 to 85.3) for CT. Output and corrected reference were identical in every field for 7.6% of radiography and 25.6% of CT reports (Table 3).

ModalityReportsTemplatesSTS (95% CI)BLEU, all fields (95% CI)BLEU, content fields (95% CI)Identical reports, n (%)
Radiography513250.95 (0.94, 0.95)84.0 (83.3, 84.8)74.2 (72.9, 75.4)39 (7.6)
CT407450.97 (0.97, 0.98)91.9 (91.2, 92.6)83.9 (82.5, 85.3)104 (25.6)

Table 3. Structuring quality against the resident-corrected reference. Macro scores weight templates equally. CIs from a percentile bootstrap of reports within templates. Content fields, fields with content in output or reference (the placeholder for information absent from the report excluded on both sides). Identical, output and corrected reference equal in every field. Results by examination type in Table S1.

Figure 4. Structuring quality against the resident-corrected reference for 513 radiography and 407 CT reports. A, STS per report (points) and macro mean with 95% CI (open circle with line) by examination type, report counts in grey. B, macro BLEU over all fields (filled) and over fields with content in output or reference (open) with 95% CI. C, share of the 24,638 scored fields the radiologist left unchanged (correct) or edited, with field counts inside the bars. STS, semantic textual similarity. BLEU, bilingual evaluation understudy.

ModalityExamination typeReportsTemplatesSTS (95% CI)BLEU, all fields (95% CI)BLEU, content fields (95% CI)Identical reports, n (%)
RadiographyAll513250.95 (0.94, 0.95)84.0 (83.3, 84.8)74.2 (72.9, 75.4)39 (7.6)
RadiographyAbdomen2310.95 (0.93, 0.97)83.1 (78.0, 87.8)79.5 (73.4, 84.8)2 (8.7)
RadiographyChest4320.95 (0.94, 0.96)86.0 (83.2, 88.7)68.9 (64.0, 74.0)2 (4.7)
RadiographyFluoroscopy11450.96 (0.96, 0.97)88.9 (87.5, 90.3)79.3 (76.3, 82.0)18 (15.8)
RadiographyHead9140.97 (0.96, 0.97)87.6 (86.0, 89.1)75.2 (72.2, 78.2)10 (11.0)
RadiographyMammography1510.94 (0.93, 0.96)83.7 (79.3, 88.0)79.4 (74.1, 84.5)0 (0.0)
RadiographySkeleton227120.93 (0.93, 0.94)80.6 (79.4, 81.8)71.7 (69.8, 73.6)7 (3.1)
CTAll407450.97 (0.97, 0.98)91.9 (91.2, 92.6)83.9 (82.5, 85.3)104 (25.6)
CTAbdomen and pelvis4650.97 (0.96, 0.98)93.3 (91.4, 95.0)81.8 (76.5, 86.6)9 (19.6)
CTAngiography5760.97 (0.96, 0.98)91.8 (89.8, 93.8)78.9 (74.6, 83.1)11 (19.3)
CTCT-guided interventions3940.98 (0.98, 0.99)96.1 (94.5, 97.6)94.1 (91.7, 96.3)18 (46.2)
CTChest4960.97 (0.97, 0.98)92.0 (90.5, 93.5)83.5 (79.9, 87.0)12 (24.5)
CTHead7880.97 (0.96, 0.98)88.8 (86.6, 90.9)82.7 (79.3, 86.2)21 (26.9)
CTHeart2730.98 (0.97, 0.98)93.0 (91.4, 94.7)81.8 (77.0, 86.6)3 (11.1)
CTMusculoskeletal2430.96 (0.95, 0.98)91.4 (87.4, 95.0)86.0 (80.3, 91.5)11 (45.8)
CTNeck3740.97 (0.96, 0.98)91.1 (88.3, 93.7)86.2 (81.6, 90.6)8 (21.6)
CTSpecial protocols1920.97 (0.96, 0.98)89.8 (86.7, 92.6)80.6 (73.9, 87.0)2 (10.5)
CTSpine3140.98 (0.97, 0.99)94.0 (92.0, 95.8)86.4 (81.6, 90.7)9 (29.0)

Table S1. Structuring quality by examination type. Macro STS and BLEU against the corrected reference for the 513 radiography and 407 CT reports of the structuring test set, by examination type. Macro scores weight templates equally, CIs from a percentile bootstrap of reports within templates (10,000 resamples). Content fields, fields with content in output or reference. Identical, output and corrected reference equal in every field. STS, semantic textual similarity. BLEU, bilingual evaluation understudy.

Hallucinations and Error Types

Residents flagged content not supported by the source report in 5 of 513 radiography reports (1.0%, 0.4 to 2.3) and 6 of 407 CT reports (1.5%, 0.7 to 3.2). All 11 flagged reports lay below the 30th STS percentile of their modality (Figure 5B).

In the 50 lowest-STS reports per modality, the primary error was incomplete transcription in 31 radiography and 32 CT reports, wrong or misplaced transcription in 16 and 13, and hallucination in 1 and 3, with 2 reports per modality unclassified (Figure 5C).

Archive-Scale Processing

The TUM archive held 2,284,452 report rows. After exclusion of 47,807 rows without a valid identifier and 49,663 foreign-image headers, 2,186,982 reports were eligible. The pipeline produced structured output for 2,111,530 of them (96.5%) as 2,401,544 structured reports (Table 4, Figure 6A). The remaining 75,452 reports had no output (Table 4). All structured reports were valid JSON, followed the field structure of their template and were linked to the source report by identical text.

Figure 6. Structuring of the complete TUM report archive. A, flow from source rows to structured reports. B, structured reports per template, area proportional to count, color by modality, templates labeled where the tile holds the name, with counts in thousands where space allows (all templates in Table S6). C, number of templates per source report by modality. IR, interventional radiology.

ModalityReports with structured outputStructured reportsTemplates in useLargest template (share of structured reports)
Radiography1,330,8751,354,49125chest radiograph (36.5%)
CT518,815780,85745CT head (13.6%)
MRI165,659169,09738MRI breast (17.9%)
Ultrasound90,40791,32527breast (47.2%)
Interventional radiology5,7745,7748image-guided interventions (82.4%)
Total2,111,5302,401,544142—

Table 4. Structured archive by modality

Of the 142 distinct templates in use, the chest radiograph template accounted for 493,844 structured reports, the trauma and postoperative extremity templates for 227,864 and 183,504, and the CT head template for 106,061 (Figure 6B, Table S6). Radiography, MRI and ultrasound reports received one template in 98 to 99% of cases. CT reports received two templates in 25% and three or more in 11% of cases (combination types, Figure 6C, Figure S1).

ModalityTemplateStructured reportsShare within modality, %
RadiographyChest radiograph493,84436.5
RadiographyExtremity radiograph, trauma227,86416.8
RadiographyExtremity radiograph, postoperative183,50413.5
RadiographyPelvis radiograph83,5966.2
RadiographyExtremity radiograph, osteoarthritis56,8694.2
RadiographyPelvis radiograph, trauma53,6864.0
RadiographyMammography50,4033.7
RadiographyExtremity radiograph46,0233.4
RadiographyLumbar spine radiograph31,2102.3
RadiographyAbdominal radiograph22,8131.7
RadiographyBarium swallow21,7501.6
RadiographyCervical spine radiograph18,4751.4
RadiographyHemithorax radiograph12,7930.9
RadiographyThoracic spine radiograph9,8590.7
RadiographySpine radiograph7,0620.5
RadiographyFacial bones radiograph6,4580.5
RadiographyExtremity radiograph, rheumatology5,6860.4
RadiographySkull radiograph5,2210.4
RadiographyParanasal sinuses radiograph4,8730.4
RadiographyPanoramic radiograph4,4270.3
RadiographyContrast enema2,8590.2
RadiographyFluoroscopy2,8520.2
RadiographyPelvis radiograph, rheumatology9150.1
RadiographyArthrography7660.1
RadiographyUrography6830.1
CTCT head106,06113.6
CTCT chest, mass77,73110.0
CTCT abdomen, mass74,8549.6
CTCT abdomen and pelvis65,0598.3
CTCT chest61,6347.9
CTCT extremities57,4377.4
CTCT facial bones37,9984.9
CTCT angiography head and neck28,2383.6
CTCT chest, pulmonary embolism27,5413.5
CTCT abdomen, acute24,4943.1
CTCT neck21,6652.8
CTCT angiography abdomen21,6532.8
CTCT chest, lung parenchyma21,2982.7
CTCT neck, mass19,3452.5
CTCT angiography whole aorta14,4001.8
CTCT abdomen, trauma11,2921.4
CTCT lumbar spine10,5181.3
CTCT neck, trauma10,4351.3
CTCT abdomen, urolithiasis9,6701.2
CTCT chest, trauma9,0681.2
CTCT cervical spine7,6751.0
CTCT-guided biopsies, punctures and drainages6,8700.9
CTCT head, postoperative6,2510.8
CTCT bony pelvis5,4410.7
CTCT angiography leg5,1200.7
CTCT paranasal sinuses4,7910.6
CTCT neck, inflammation4,6460.6
CTCT spine4,5970.6
CTCT temporal bone3,8780.5
ModalityTemplateStructured reportsShare within modality, σ%\sigma\%
CTCT musculoskeletal3,8220.5
CTCT angiography chest3,1210.4
CTCT thoracic spine3,0740.4
CTCT coronary angiography2,7300.3
CTCT perfusion head2,4710.3
CTCT angiography1,7520.2
CTCT myeloma1,5090.2
CTCT heart1,2990.2
CTCT jaw362<0.1
CTCT venography311<0.1
CTCT-guided tumor ablation233<0.1
CTCT angiography arm209<0.1
CTInterventional pain therapy113<0.1
CTCT polytrauma86<0.1
CTCT heart before pulmonary vein isolation75<0.1
CTCT-guided interventional oncology30<0.1
MRIMRI breast30,27717.9
MRIMRI knee21,63612.8
MRIMRI neck, mass11,6806.9
MRIMRI shoulder11,4856.8
MRIMRI liver10,2026.0
MRIMRI head, mass8,8895.3
MRIMRI hip7,9564.7
MRIMRI bony pelvis6,7104.0
MRIMRI lumbar spine5,9263.5
MRIMRI ankle5,5103.3
MRIMRI head4,5722.7
MRIMRI pancreas3,7442.2
MRIMRI spine3,0931.8
MRIMR angiography neck3,0841.8
MRIMRI foot2,9131.7
MRIMRI heart2,9121.7
MRIMRI abdomen2,4231.4
MRIMRI head, acute2,2291.3
MRIMRI head, postoperative2,1941.3
MRIMRI elbow2,1941.3
MRIMRI prostate2,1311.3
MRIMRI hand2,0531.2
MRIMRI wrist1,8651.1
MRIMRI kidney1,7141.0
MRIMRI rectum1,6981.0
MRIMR cholangiopancreatography1,5620.9
MRIMRI neck1,3530.8
MRIMRI cervical spine1,2210.7
MRIMRI uterus1,2050.7
MRIMRI bowel1,1030.7
MRIMRI chest, mass8920.5
MRIMRI thoracic spine7500.4
MRIMRI sacroiliac joints6130.4
MRIMRI chest4750.3
MRIMRI neck, trauma2980.2
MRIMR angiography chest2340.1
MRIMRI ovaries2070.1
MRIMRI head, epilepsy940.1
ModalityTemplateStructured reportsShare within modality, %
UltrasoundUS breast43,08947.2
UltrasoundUS abdomen17,00518.6
UltrasoundUS lung13,46514.7
UltrasoundUS joints7,9598.7
UltrasoundUS musculoskeletal (without joints)3,5403.9
UltrasoundUS soft tissue mass2,8023.1
UltrasoundUS cervical lymph nodes8590.9
UltrasoundUS interventional planning and follow-up7860.9
UltrasoundUS transplant follow-up7070.8
UltrasoundUS urogenital tract2980.3
UltrasoundUS trauma (FAST)2180.2
UltrasoundUS thyroid1660.2
UltrasoundUS leg veins (thrombosis)1450.2
UltrasoundUS shunt and transplant vessels650.1
UltrasoundUS leg arteries (peripheral artery disease, aneurysm, inflammation)550.1
UltrasoundUS salivary glands28<0.1
UltrasoundUS hernia26<0.1
UltrasoundUS gynecological (transvaginal or transabdominal)23<0.1
UltrasoundUS arm veins (thrombosis)23<0.1
UltrasoundUS nerve compression13<0.1
UltrasoundTransthoracic echocardiography13<0.1
UltrasoundUS hands rheumatology12<0.1
UltrasoundUS contrast-enhanced (CEUS)11<0.1
UltrasoundUS extracranial cerebral arteries8<0.1
UltrasoundUS arm arteries (stenosis, aneurysm, inflammation)7<0.1
UltrasoundUS abdominal aorta1<0.1
UltrasoundUS pediatric abdomen1<0.1
Interventional radiologyImage-guided interventions4,75582.4
Interventional radiologyInterventional oncology4628.0
Interventional radiologyVenous interventions2865.0
Interventional radiologyTumor ablation1632.8
Interventional radiologyInterventional pain therapy881.5
Interventional radiologyArterial interventions140.2
Interventional radiologyVascular interventions50.1
Interventional radiologyTumor embolization1<0.1

Table S6. Templates in use in the structured archive

The pipeline was able to structure 1,258 reports per hour on one H200 GPU, about 1,680 GPU hours for the 2,111,530 structured reports. In a serial benchmark, one report took a median of 10.6 s (IQR 9.1 to 13.6) with a median of 2,737 input and 1,431 generated tokens.

2,284,452 source rows, 47,807 without valid identifier, 49,663 foreign-image headers, 2,186,982 eligible reports, 96.5% with structured output. Without output 75,452 (95 report stubs, 149 rejected at the modality step, 75,208 without template or with a technical failure). The pain-therapy template exists under CT and interventional radiology, so 143 template folders correspond to 142 templates. Throughput 1,258 structured reports per hour on one H200 GPU.

Discussion

An open-weight LLM converted the complete report archive of a university hospital, 2.1 million free-text reports from five modalities and sixteen years, into structured reports on local GPU infrastructure and without a human in the loop. The pipeline chose among 150 templates on its own, rejected reports that fit none, and filled the chosen templates with content that radiology at the second center left largely unchanged.

At 1,258 reports per hour on one H200 GPU, the archive corresponds to about 1,680 GPU hours. The same tokens sent to a commercial API at the mid-tier list price of 2 USD/12 USD per million input/output tokens would cost about 48,000 USD, and about 120,000 USD at the flagship tier. Local deployment has been advocated mainly for privacy [22], and studies comparing open-weight with proprietary models on radiology text found similar accuracy [23, 24, 25]. At archive scale, cost and privacy both favor local deployment.

LLMs are sensitive to the number and arrangement of answer options, and classification accuracy falls as option lists grow [26]. Supplying the labeled modality raised optimal selection by 2 percentage points, so archive metadata would add little. Remaining errors occur at the template step and in multi-region reports. Each template is built around one primary disease, but a patient with several diseases in one examination has no single correct template, and the pipeline must return a set of templates rather than one. Such reports account for 16% of the selection test set but for 44% of the selection errors, and template selection for them is the main open problem of the design.

Common data elements were proposed to make report content exchangeable between systems by defining each element once and reusing it across templates [27], and the European Society of Radiology restated in 2023 that comparability across reports is the purpose of structured reporting [4]. Base and derived templates implement this principle in a form the LLM can fill. Every CT chest report, whether written for a mass, an embolism or a routine question, carries the same base sections, so an archive query addresses one field name. Schema-stratified report supervision has been shown to produce image representations with separated concepts and better visual grounding than free-text supervision [28].

In a clinician-annotated study of note generation, omissions (3.45% of sentences) exceeded hallucinations (1.47%) [29], and hallucination rates across medical summarization studies range from 1.5% to 62% depending on task and definition [30]. In this study, radiologists flagged unsupported content in 1.0% and 1.5% of corrected reports, and the primary error in the lowest-scoring reports was incomplete transcription in about two thirds of cases. A missing statement is visible as an empty or placeholder field, invented content is not, so omission is the more tractable failure. All flagged reports lay below the 30th STS percentile of their modality, so an embedding-based similarity between output and source can direct human review to the reports that need it.

This study has limitations. The reports were German, and open-weight models score higher in English than in other languages on medical tasks [31]. Woźnicki et al. reached a Matthews correlation coefficient of 0.75 for English against 0.66 for German chest radiograph reports with Llama-2 [13], so the results here are likely a lower bound for English archives. Structuring quality was assessed for radiography and CT only. CT had the lowest optimal selection rate, so the reader study covered the weakest modality, but MRI, ultrasound and interventional radiology remain untested at field level. The selection test set of 914 labeled reports was spread over 150 templates, and 60 templates had fewer than 10 test reports, so per-template accuracy is imprecise. One model was used at low reasoning effort. The pipeline is model agnostic, and smaller open-weight models released since, among them Gemma 4 and Qwen3.5, are reported to reach comparable benchmark accuracy with fewer parameters, so throughput and cost are likely to improve.

A department can turn its entire report archive into structured, queryable data with an open-weight LLM on its own hardware. The structured archive makes sixteen years of imaging findings available for cohort identification, quality control and the training of imaging models, and the template hierarchy allows other institutions to adapt the templates rather than the method.

Declarations

Funding

This research is funded by the European Union under HORIZON-HLTH-2022-TOOL-12-two-stage (COMFORT; grant agreement No. 101079894) and HORIZON-HLTH-2025-01 (TWIN-X; grant agreement No. 101287679; topic HORIZON-HLTH-2025-01-TOOL-03). Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Health and Digital Executive Agency (HADEA). Neither the European Union nor the granting authority can be held responsible for them. The funder had no role in study design, data collection, analysis, or writing.

Conflicts of interest

JN reports research collaboration agreements with Briya Labs Ltd., Cercare Medical, and mediaire, and has received grant funding from the Berlin Institute of Health (BIH) and the European Union (COMFORT, project number 101079894). KKB reports speaker fees for Canon Medical Systems, consultant fees for Novartis, and grant funding from the European Union (COMFORT, project number 101079894; TWIN-X, project number 101287679). RC, AB, and AL report grant funding from the European Union (COMFORT, project number 101079894). LCA reports grant funding from the European Union (COMFORT, project number 101079894; TWIN-X, project number 101287679). CIB reports grant funding from the European Union (TWIN-X, project number 101287679).

Data and code availability

The report texts cannot be shared because they contain protected health information. The complete pipeline, all structuring templates with their German-language definitions and the template index are available at https://github.com/fputtkammer/RadFields.

Use of artificial intelligence

A generative artificial intelligence assistant (Claude, Anthropic) was used under author supervision for drafting and editing text, for the analysis and figure code and for the assembly of the supplement. Codex (OpenAI) was used to prepare the LaTeX preprint. The authors reviewed and verified all content and take full responsibility for it.

Correspondence

Keno K. Bressem, MD; Institute for Artificial Intelligence in Medicine, University Hospital Essen, Girardetstraße 2, 45131 Essen, Germany; [email protected]

Abbreviations

LLM = large language model, STS = semantic textual similarity, BLEU = bilingual evaluation understudy, CI = confidence interval, IQR = interquartile range, GPU = graphics processing unit, API = application programming interface

Supplementary material

Supplemental Methods S1. Template development and format

To determine which examination types and diagnoses the templates must cover, 10,000 reports were drawn at random from the Charité archive and screened with gpt-oss-120B in three steps per report. First, the LLM assigned the imaging modality from a preset list. Second, it assigned the examined body region or organ system from a list of examples that grew during screening, as the LLM could add entries not yet on the list. Third, it extracted the ICD-10 code of the main diagnosis, or generated one if the report did not state a code. A board-certified radiologist merged redundant body region categories, and the frequency of three-digit ICD-10 categories was tabulated per modality and body region. Two board-certified radiologists reviewed these tables and defined a base template for each common examination type and derived templates for diagnosis categories exceeding 5% of reports within an examination type.

Each template is a YAML file in which every key is a section of the structured report and the value defines its type. A string defines a free-text section and describes the expected content to the LLM, a mapping defines subsections, a list of strings defines several free-text fields, and a list of mappings defines a repeatable section, for example one entry per lesion. Section titles are valid Python identifiers, so a Pydantic model is generated from each template at run time and serves as the response format for constrained decoding. Templates are written in German. Fields without information in the source report are filled with the placeholder “not mentioned”, which separates missing information from omitted content.

Supplemental Methods S2. Template index, inheritance, and combination types

The template index is a YAML file that lists, per modality and examination type, every template with a unique name, a German description shown to the LLM during template selection, the path of its template file, and its position in the hierarchy. A base template carries the field children with the names of its derived templates, a derived template carries the field parent with the name of its base template, and an independent template carries neither. The description is the only information the LLM sees at the template step, so descriptions state the clinical question a template answers, for example pulmonary embolism or tumor staging for CT chest.

At run time the pipeline composes the final template by loading the base template and updating it with the derived template. Sections present only in the base template or only in the derived template are kept, sections present in both take the definition of the derived template. A change to a base template therefore reaches all its derived templates, and structured reports of one examination type share the sections of the base template regardless of the clinical question. The hierarchy has two levels.

Combination types are defined in a separate file as sets of examination types that occur together in one CT report, for example CT chest with CT abdomen and pelvis for tumor staging. The 31 combination types are defined for CT only. For a report of a combination type, the LLM selects one template per constituent examination type from the templates of these examination types, and the report is structured once per selected template. Templates and combination types can be added, changed, or removed by editing the index and the template files without a change to the pipeline code.

Supplemental Methods S3. Template selection pathways and constrained decoding

Every classification step is a constrained decoding call. At run time the pipeline builds a response format that lists the allowed options of the step together with reserved responses, “no findings” for report stubs, “none of the listed options” for examinations without a template, and, at the examination type step, “several examinations described”. The LLM can only return an item of this list. A response that does not parse against the format is regenerated up to three times.

Figure S2 shows the pathways. A basic report, which describes one examination, passes through single-choice classification of modality, examination type, and template. At the template step, the LLM sees the names and descriptions of all templates of the selected examination type. A multi-exam report, in which several examinations of one modality are described in separate paragraphs, for example radiographs of both hands and both feet, triggers the reserved response “several examinations described” at the examination type step. The pipeline then continues with multi-label classification, first of examination types, then of one template per selected examination type. A combined CT report, in which several examination types are described in one continuous text, typically a staging examination, is assigned a combination type at the examination type step and continues with multi-label template selection constrained to one template per constituent examination type (Supplemental Methods S2). The two rejection responses end the pipeline at any step.

In the structuring stage, the response format is the Pydantic model generated from the composed template (Supplemental Methods S1). The LLM receives the report text and the model and fills one template per call. Reports with several templates are structured in successive calls with the same report text. Calls are independent, so the pipeline carries no state between reports.

Supplemental tables

Single-region reports of the selection test set grouped by the labeled template (73 templates, 766 reports). Structured, at least one template assigned. Optimal, selected template set identical to the label. Appropriate, every selected template shares its base template with the label (includes optimal).

Single-region reports that received a template outside the appropriate family (57 reports). Several selected templates are joined with a plus sign.

Optimal template selection with the labeled modality supplied to the pipeline compared with the unassisted pipeline on the same 914 reports. Gains and losses are discordant pairs, P from a two-sided exact McNemar test. pp, percentage points. The ablation is available as aggregate counts only, in which the 2 reports with the label spelling variant (Methods) are counted as errors in both arms, so the unassisted count is 678 instead of the 680 of Table 2.

Optimal template selection at medium and high reasoning effort compared with the low effort of the pipeline on the 111 selection test reports that the pipeline routed to multi-label classification at low effort (113 reports, 2 of which combined two modalities and were not scored). Gains and losses are discordant pairs, P from a two-sided exact McNemar test. pp, percentage points.

All 142 templates that received at least one structured report in the TUM archive, with the number of structured reports and the share within the modality. The interventional pain therapy template is listed under CT and interventional radiology.

Supplemental figures

Supplement 1. CLAIM 2024 checklist

Checklist for Artificial Intelligence in Medical Imaging (CLAIM), 2024 update, 44 items. Locations refer to section headings in this preprint. Items marked No or NA carry an explanation. Thirty-five items are reported, one is not reported (item 32, demographic characteristics unavailable at report level), and eight are not applicable.

ItemTopicReportedLocation in manuscriptNotes
1Identification as AI studyYesTitle, AbstractTitle and abstract name the open-weight large language model pipeline.
2Structured summaryYesAbstractRetrospective design, data source (two centers), 914 and 920 test reports, five modalities, archive of 2,186,982 reports, metrics with 95% CIs.
3Scientific and clinical backgroundYesIntroduction, paragraphs 1 to 3—
4Study objectives and hypothesesYesIntroduction, last paragraphObjective stated, no hypothesis (retrospective study), not registered.
5Prospective or retrospectiveYesMethods, Study DesignRetrospective.
6Study goal and AI taskYesIntroduction, last paragraph; Methods, PipelineHierarchical classification of the template and zero-shot structuring of report text, intended as autonomous post hoc structuring of archived reports without human oversight.
7Data sourceYesMethods, Study Design and Test DatasetsCharité archive for template development and prompt engineering, TUM archive for the two test sets and the complete archive. The reports had not been used in prior studies.
8Eligibility criteriaYesMethods, Test Datasets and Archive Processing; Figure 1; Table 4 noteCounts per exclusion criterion in Figure 1 (test sets) and Table 4 note (archive).
9Data partitioningYesMethods, Study Design and Test DatasetsNo model training. Development (templates, prompts) at Charité, all testing at TUM, partition at report level.
10Data preprocessingYesMethods, Pipeline and Archive ProcessingReport text is used as written, entries without identifier or with a foreign-image header are excluded.
11De-identificationYesMethods, Study Design and Model; Data sharing statementReports were processed on hospital hardware inside the institution, no text left the institution, report texts are not shared.
12Missing dataYesMethods, Test Datasets; Figure 1; Table 4 noteEntries without a report identifier (21 in the sample, 47,807 in the archive) were removed.
13Image acquisitionNA—Text-only study, no images were used.
14Reference standard definitionYesMethods, Test Datasets and Evaluation MetricsExpert labels (modality, examination types, optimal templates, non-structurable) for selection, resident-corrected structured output for structuring.
15Rationale for reference standardYesMethods, Test Datasets and Evaluation MetricsField-by-field correction of the pipeline output against the source report yields a reference in the template structure so that the template text does not contribute to the scores.
16Annotation toolsYesMethods, Test DatasetsLabels and corrections were entered in software developed by the authors for this study.
17Human annotatorsYesMethods, Test DatasetsOne board-certified radiologist labeled, a second reviewed all labels, five residents (2 to 3 years of experience) rated and corrected, two board-certified radiologists adjudicated unclear ratings in consensus. Inter-rater variability was not assessed.
18Model architectureYesMethods, Model and Pipelinegpt-oss-120B, 4-bit quantized mixture-of-experts model, 117 billion total and 5.1 billion active parameters, used with constrained decoding against 150 hierarchically organized templates.
19Pre-trained model detailsYesMethods, ModelOpen-weight pretrained model used zero-shot without fine-tuning.
20Inputs and outputsYesMethods, Pipeline; Supplemental Methods S1 and S3Input report text and response format, output one option per selection step and one JSON document per selected template.
21Feature extractionNA—No engineered features.
22Feature selectionNA—No engineered features.
23Class imbalance handlingNA—No model training.
24Uncertainty quantificationNA—No uncertainty estimates. Semantic textual similarity between output and source is discussed as a post hoc flag for review (Discussion).
25Training approachNA—No model training, zero-shot use of a pretrained model.
ItemTopicReportedLocation in manuscriptNotes
26Hyperparameter tuningYesMethods, Study Design and Model; Table S5Prompts were developed at Charité, reasoning effort set to low, context window 15,000 tokens, medium and high reasoning effort tested as an ablation.
27Software and librariesYesMethods, Pipeline, Model and EvaluationPython, LangChain 1.2.18, vLLM, Ollama, Llama-Embed-Nemotron-8B, SciPy.
28Evaluation metricsYesMethods, Evaluation Metrics and Statistical AnalysisSensitivity, specificity, optimal and appropriate selection, STS, BLEU, field-level correctness, hallucination rate.
29Statistical analysisYesMethods, Evaluation Metrics and Statistical AnalysisWilson 95% CIs, percentile bootstrap (10,000 resamples), exact McNemar tests, P < .05, Python with SciPy.
30Reader study designYesMethods, Test DatasetsReaders rated and corrected the pipeline output, no comparison of AI against readers.
31Study flow diagramYesFigure 1 (test sets), Figure 6A (archive)—
32Demographic characteristicsNoMethods, Study Design; Table 1Patient demographics were not available at report level, as stated in Methods. Modality, examination types, region count and report length per test set are given in Table 1.
33Performance summaryYesResults; Table 2 to Table 4No training or validation partitions, all results are test results.
34Failures and errorsYesResults, Archive-Scale Processing; Table 4 note; Figure 6A75,452 archive reports without output by cause, regeneration of unparseable responses (Supplemental Methods S3).
35Test set performanceYesResults; Table 2 and Table 3; Figure 3 to Figure 5All proportions with 95% CIs.
36Reader comparisonNA—No comparison of AI against human readers.
37Study limitationsYesDiscussion, limitations paragraph—
38Clinical applicabilityYesDiscussionCost and feasibility of archive-scale local processing, use of the structured archive, template adaptation by other institutions.
39Safety and bias considerationsYesDiscussionHallucination and omission rates, flagging of low-similarity outputs for review, language dependence. Demographic subgroups were not analyzed.
40RegistrationNA—Retrospective study.
41Conflicts of interestYesDeclarations, Conflicts of interestResearch collaborations, grant support, speaker fees, and consultant fees are disclosed.
42AI use disclosureYesDeclarations, Use of artificial intelligence—
43Code and data availabilityYesDeclarations, Data sharing statementPipeline, templates, index, prompts and evaluation scripts on GitHub, report texts not shareable.
44Funding and supportYesDeclarations, FundingEuropean Union: COMFORT (101079894) and TWIN-X (101287679). The funder had no role in study design, data collection, analysis, or writing.

Table S7. CLAIM 2024 checklist

References

  1. [1]Pinto Dos Santos D, Hempel JM, Mildenberger P, Klöckner R, Persigehl T. Structured reporting in Clinical Routine. Rofo. 2019 Jan;191(1):33–9.DOI
  2. [2]Kotter E, Pinto Dos Santos D. Structured reporting in radiology : German and European radiology societies’ point of view. Radiologe. 2021 Nov;61(11):979–85.DOI
  3. [3]European Society of Radiology (ESR). ESR paper on structured reporting in radiology. Insights Imaging. 2018 Feb;9(1):1–7.DOI
  4. [4]European Society of Radiology (ESR). ESR paper on structured reporting in radiology-update 2023. Insights Imaging. 2023 Nov 23;14(1):199.DOI
  5. [5]Lewis PB, Charalel RA, Salei A, Cantos AJ, Dubel GJ, Kassin MT, et al. Challenges, barriers, and successes of standardized report templates: Results of a Society of Interventional Radiology survey. J Vasc Interv Radiol. 2023 Dec;34(12):2218-2223.e10.DOI
  6. [6]Reichenpfader D, Müller H, Denecke K. A scoping review of large language model based approaches for information extraction from radiology reports. NPJ Digit Med. 2024 Aug 24;7(1):222.DOI
  7. [7]Le Guellec B, Lefèvre A, Geay C, Shorten L, Bruge C, Hacein-Bey L, et al. Performance of an Open-Source large Language Model in extracting information from free-text radiology reports. Radiol Artif Intell. 2024 July;6(4):e230364.DOI
  8. [8]Kanani MM, Monawer A, Brown L, King WE 3rd, Miller ZD, Venugopal N, et al. High-performance prompting for LLM extraction of compression fracture findings from radiology reports. J Imaging Inform Med. 2026 Feb;39(1):973–88.DOI
  9. [9]Mittman BG, D’Aleo G, Rothberg MB, Cascacchia NJ, Albahra S. Automated clinical information extraction from diagnostic and nondiagnostic radiology reports using modern language models. J Imaging Inform Med [Internet]. 2026 Apr 2; Available from: http://dx.doi.org/10.1007/s10278-026-01932-0
  10. [10]Sheng W, Wang Y, Xiao L, Guo B, Zhang Y, Qiao L, et al. BI-RADS-compliant structured mammography reporting using locally deployed large language models under privacy constraints. Eur Radiol. 2026 May;36(5):3676–86.DOI
  11. [11]Bhayana R, Nanda B, Dehkharg hanian T, Deng Y, Bhambra N, Elias G, et al. Large language models for automated synoptic reports and resectability categorization in pancreatic cancer. Radiology. 2024 June;311(3):e233117.DOI
  12. [12]Prucker P, Bressem KK, Kim SH, Weller D, Kader A, Dorfner FJ, et al. Privacy-preserving generation of structured lymphoma progression reports from cross-sectional imaging: A comparative analysis of Llama 3.3 and Llama 4. J Imaging Inform Med. 2026 Apr;39(2):1868–78.DOI
  13. [13]Woźnicki P, Laqua C, Fiku I, Hekalo A, Truhn D, Engelhardt S, et al. Automatic structuring of radiology reports with on-premise open-source large language models. Eur Radiol. 2025 Apr;35(4):2018–29.DOI
  14. [14]Kreutzer H, Casilitz AS, Dratsch T, Pinto Dos Santos D, Kuhl C, Truhn D, et al. Large language model-based uncertainty-adjusted label extraction for artificial intelligence model development in upper extremity radiography. Eur Radiol. 2026 Apr;36(4):2646–57.arxiv.org/abs/2510.05664
  15. [15]Hartsock I, Araujo C, Folio L, Rasool G. Improving radiology report conciseness and structure via local large language models. J Imaging Inform Med. 2026 Feb;39(1):1005–16.DOI
  16. [16]Adams LC, Truhn D, Busch F, Kader A, Niehues SM, Makowski MR, et al. Leveraging GPT-4 for post hoc transformation of free-text radiology reports into structured reporting: A multilingual feasibility study. Radiology. 2023 May;307(4):e230725.DOI
  17. [17]Tejani AS, Klontzas ME, Gatti AA, Mongan JT, Moy L, Park SH, et al. Checklist for artificial intelligence in medical imaging (CLAIM): 2024 update. Radiol Artif Intell. 2024 July;6(4):e240300.DOI
  18. [18]OpenAI. gpt-oss-120b & gpt-oss-20b Model Card. arXiv [cs.CL]. 2025. https://doi.org/10.48550/arXiv.2508.10925.
  19. [19]Kwon W, Li Z, Zhuang S, Sheng Y, Zheng L, Yu CH, et al. Efficient memory management for large language model serving with PagedAttention. In: Proceedings of the 29th Symposium on Operating Systems Principles. New York, NY, USA: ACM; 2023. p. 611–26.arxiv.org/abs/2309.06180
  20. [20]Babakhin Y, Omsulski R, Ak R, Moreira G, Xu M, Schifferer B, et al. Llama-embed-nemotron-8B: A universal text embedding model for multilingual and cross-lingual tasks [Internet]. arXiv [cs.CL]. 2025. Available from: http://dx.doi.org/10.48550/arXiv.2511.07025
  21. [21]Papineni K, Roukos S, Ward T, Zhu WJ. BLEU. In: Isabelle P, Charniak E, Lin D, editors. Proceedings of the 40th Annual Meeting on Association for Computational Linguistics - ACL ’02. Morristown, NJ, USA: Association for Computational Linguistics; 2001. p. 311–8.DOI
  22. [22]Savage CH, Kanhere A, Parekh V, Langlotz CP, Joshi A, Huang H, et al. Open-source large language models in radiology: A review and tutorial for practical research and clinical deployment. Radiology. 2025 Jan;314(1):e241073.
  23. [23]Li Z, Wang M, Liu A, Zeng Y, Yan B, Cao Z, et al. Enhancing bone metastasis CT report analysis: a comparison of local and proprietary large language models for privacy and resource efficiency. BMC Health Serv Res [Internet]. 2026 Mar 19;26(1). Available from: http://dx.doi.org/10.1186/s12913-026-14350-3
  24. [24]Salam B, Stüwe C, Nowak S, Sprinkart AM, Theis M, Kravchenko D, et al. Large language models for error detection in radiology reports: a comparative analysis between closed-source and privacy-compliant open-source models. Eur Radiol. 2025 Aug;35(8):4549–57.DOI
  25. [25]Proff AK, Salam B, Hayawi M, Kravchenko D, Mesropyan N, Aziz-Safaie T, et al. Simplifying radiology reports with large language models: privacy-compliant open- versus closed-weight models. Eur Radiol. 2026 July;36(7):6097–106.DOI
  26. [26]Pezeshkpour P, Hruschka E. Large Language Models sensitivity to the order of options in multiple-choice questions [Internet]. arXiv [cs.CL]. 2023. Available from: http://dx.doi.org/10.48550/arXiv.2308.11483
  27. [27]Rubin DL, Kahn CE Jr. Common data elements in radiology. Radiology. 2017 June;283(3):837–44.DOI
  28. [28]Drexel F, Fritzsche M, Stambollxhiu E, Kumpf M, Schmitzler L, Schumann L, et al. RadPRISM: Schema-stratified radiology-report supervision for concept-disentangled image representations and visual grounding [Internet]. arXiv [cs.CV]. 2026. Available from: http://dx.doi.org/10.48550/arXiv.2608.00147
  29. [29]Asgari E, Montaña-Brown N, Dubois M, Khalil S, Balloch J, Yeung JA, et al. A framework to assess clinical safety and hallucination rates of LLMs for medical text summarisation. NPJ Digit Med. 2025 May 13;8(1):274.DOI
  30. [30]Khoruzhaya AN, Varyukhina MD, Erizhokov RA, Blokhin IA, Reshetnikov RV, Kodenko MR, et al. MEDAI-LLM-SUMM: a reporting checklist for medical text summarization studies using large language models. Front Digit Health. 2026 Mar 2;8(1761601):1761601.DOI
  31. [31]Ibrahim-El-Nur JM, Kaczmarek W, Winiarska W, Kuś A, Łoś M. Language-specific differences in large language model diagnostic reasoning: A translation-controlled clinical vignette study. J Clin Med. 2026 May 25;15(11):4082.

AI tools statement

This work lists 2 AI tools.

  • Claude · AI tool

    Roles
    SoftwareWriting — original draftWriting — review & editing
    Verification
    self-declared at submission
  • Codex · AI tool

    Roles
    Writing — original draft
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Pick where to look, or just type