A multilingual deep learning natural language processing model successfully extracted standardized staging information from narrative rectal cancer magnetic resonance imaging reports, populating structured templates with high overall accuracy and balanced performance across varied clinical scenarios.
Magnetic resonance imaging serves as a central diagnostic modality for both initial local staging and post-treatment restaging in rectal cancer care. Baseline imaging evaluations provide vital details regarding tumor extent, mesorectal fascia invasion, extramural vascular involvement, and regional nodal status, which directly govern clinical choices between primary surgical resection and neoadjuvant therapy. During restaging, follow-up examinations guide non-operative management strategies and determine suitable surgical planning. While structured reporting improves diagnostic completeness, reproducibility, and cross-disciplinary communication compared with narrative documentation, widespread implementation in routine practice has faced hurdles due to workflow rigidity and radiologist preference for narrative dictation.
To address this clinical documentation challenge, researchers investigated whether an automated natural language processing framework could translate free-text prose into standardized structured entries without requiring changes to established dictation routines. The structuring framework was built around the multilingual text-to-text Transformer model mT5-base, a 580-million-parameter network pre-trained across 101 languages. The architecture was implemented to process Italian medical narratives and extract categorical and descriptive data points directly from dictated text.
Rather than developing distinct classifiers for every diagnostic category, the investigators configured the mT5 framework using a unified question-answering approach. Each target field in the structured template was recast as an individual natural language query presented alongside the full narrative text. For categorical parameters, the model received the prompt, the dictated report, and predefined response choices, which consistently included a designated category indicating that no information had been mentioned. This explicit design prevented unsupported inferences when relevant findings were omitted from the dictated text. For narrative fields, the model parsed the prose to retrieve continuous measurements or specific descriptive comments.
The study utilized a reference template adapted from the rectal cancer reporting guidelines established by the Gastrointestinal Radiology and Imaging Informatics Chapters of the Italian Society of Medical and Interventional Radiology. Two gastrointestinal radiologists with five and ten years of subspecialty experience authored 151 paired fictional reports representing baseline staging and restaging MRI evaluations. The paired reporting structure was embedded directly into the radiologists’ native Radiological Information System interface to simulate routine workflow conditions, providing full control over case variety while avoiding the exposure of identifiable patient records.
Prior to model training, a systematic data cleaning protocol excluded 12 cases due to incomplete staging or restaging narratives and data inconsistencies, yielding an analyzed cohort of 139 patients. Anamnesis details and automated scanner parameters were removed because they were not generated through dictated interpretation, and fields lacking positive information across all cases were discarded. Complex multi-value checklist items were converted into distinct binary fields, and numerical measurements were reformatted into uniform expressions. The resulting dataset comprised 117 distinct structured fields and was split into training, validation, and testing cohorts representing 80 percent, 10 percent, and 10 percent of cases, respectively.
Initial dataset distribution assessments demonstrated extreme class imbalance across the 117 structured template fields. Sixty fields, representing 51 percent of the template, contained no positive diagnostic information across the patient cohort, while 89 fields, or 76 percent, contained default values in at least 90 percent of cases. Only 28 fields presented informative findings in more than 10 percent of the reports, meaning that the model encountered fewer than 15 positive training examples for most targeted clinical variables.
During the first training session using the native case distribution, the model recorded a mean accuracy of 0.96 with a standard deviation of 0.08, a balanced accuracy of 0.93 with a standard deviation of 0.16, and an F1-score of 0.96 with a standard deviation of 0.09. However, evaluating this initial iteration on a curated test cohort enriched with underrepresented clinical findings demonstrated metric drops, with accuracy declining to 0.91, F1-score to 0.89, and balanced accuracy falling to 0.79, exposing the model’s reliance on predicting predominant negative and unmentioned default states.
To mitigate this classification imbalance, investigators initiated a second training session supported by targeted data augmentation. Fourteen test set patient reports were manually modified to introduce previously absent findings, such as specific organ invasions and adverse events. Seven enriched cases were exchanged with unmodified training examples, ensuring model exposure to positive instances of rare classes during optimization, while the remaining seven modified cases were retained in the testing set to evaluate generalization under non-default conditions.
Following targeted rebalancing, the second training iteration exhibited improved stability when evaluated against the enriched test cohort. The augmented model achieved an overall accuracy of 0.94 with a standard deviation of 0.09, a balanced accuracy of 0.85 with a standard deviation of 0.23, and an F1-score of 0.93 with a standard deviation of 0.10. While standard accuracy changed minimally due to persistent negative majorities, balanced accuracy and F1-scores confirmed substantial recovery on previously underrepresented diagnostic categories.
The authors contextualized these technical findings within established informatics frameworks, observing that full clinical utility requires integrating structured outputs directly into institutional hospital information systems and radiology infrastructure. Seamless technical integration enables codified imaging data to be immediately queried, standardized, and transferred across multidisciplinary oncology pathways, supporting treatment planning without burdening radiologist reporting workflows with manual entry tasks.
The study authors noted important methodological limitations, including the modest sample size of 139 analyzed cases and the monocentric design, which reflected institutional phrasing habits and reporting styles. Furthermore, relying on synthetic narratives authored by two radiologists may understate the linguistic ambiguity, shorthand variation, and transcription noise encountered in live hospital operations. Consequently, the research team emphasized that broader clinical implementation will require multi-institutional validation across diverse languages and testing against de-identified real-world clinical reports.
Colorectal cancer remains a leading contributor to cancer-related mortality worldwide, with demographic forecasts estimating global incidence to reach approximately 3.2 million annual diagnoses by 2040. In routine oncology care, accurate local staging dictates whether individuals undergo upfront surgical resection or neoadjuvant chemoradiotherapy, while post-treatment restaging informs whether organ-preserving strategies and non-operative surveillance are clinically feasible. Professional societies have increasingly promoted standardized templates to secure clear cross-specialty communication, yet widespread clinical adoption has stalled. A prior survey of 1,159 members of the Italian Society of Medical and Interventional Radiology highlighted this persistent gap: while most responding radiologists acknowledged that structured reporting enhances communication and report reproducibility, more than half continued dictating unstructured text due to concerns over template inflexibility, perceived oversimplification, and user compliance barriers.
To rigorously evaluate the text-to-text pipeline against these operational challenges, the researchers framed the extraction process as a multi-label classification problem governed by three complementary evaluation metrics. Standard accuracy tracked the proportion of correct predictions relative to the total sum of true positives, true negatives, false positives, and false negatives. Because accuracy can produce inflated scores in sparse datasets by defaulting to the predominant negative class, the team evaluated balanced accuracy, calculated as the average of sensitivity and specificity, representing the model’s balanced capacity to identify actual positive and negative findings. Additionally, investigators evaluated the F1-score, defined as the harmonic mean of precision and sensitivity, to measure overall reliability across imbalanced categories without allowing abundant negative entries to obscure misclassifications on rare clinical findings.
The investigators contextualized their automated natural language processing workflow within established theoretical frameworks of structured clinical documentation. Citing criteria defined by Nobel and colleagues, the authors underscored that radiological reporting achieves genuine structuring only when clinical data become seamlessly embedded within the radiological information system, permitting information to be codifiable, queryable, and reusable throughout every stage of patient management. This paradigm mirrors the advanced levels described by Dobranowski and colleagues, where structured documentation moves beyond rigid visual headings to generate informatically integrated records that feed discrete, interoperable variables directly into hospital information systems. Under this architectural view, automated deep learning tools do not merely assist dictation but convert unstructured observations into actionable data for multidisciplinary oncology teams.
The researchers also contrasted their unified question-answering framework with earlier artificial intelligence implementations in radiology reporting. While previous literature frequently restricted deep learning techniques to isolated entity extraction or single-variable classification tasks, this investigation demonstrated that a single pre-trained multilingual model could simultaneously govern both categorical choices and narrative text extractions across an extensive template. By formulating tailored queries for each target field, the framework effectively extracted continuous numerical dimensions, such as lesion size, alongside complex anatomical descriptors without requiring distinct classifiers for each clinical parameter.
Addressing the numerical shift between training iterations, the authors emphasized that the slight aggregate metric decline following targeted data augmentation reflected a crucial correction of initial, distribution-driven optimism rather than a degradation of model capacity. The pristine performance observed during the initial training session drew substantial support from the sheer prevalence of default negative values across the majority of template fields. By introducing rare clinical entities into the training signal, the second session forced the transformer architecture to confront difficult classification scenarios, confirming genuine semantic pattern recognition rather than passive reliance on default predictions. Finally, the authors supported their synthetic corpus design by referencing established open-access initiatives such as the Polyglottal Annotated Radiology Reports for Open Testing dataset, noting that carefully structured synthetic corpora offer a reproducible, privacy-preserving benchmarking foundation before embarking on multi-center clinical validation across diverse hospital networks.
Subject of Research: Automated population of structured rectal cancer MRI staging reports using natural language processing
Article Title: Automated population of structured magnetic resonance imaging staging reports for rectal cancer from free-text radiology reports using deep learning–based natural language processing
Article References: Fanni, S. C., Lossano, S., Uggenti, V., Lizzi, F., Saponaro, S., Ubaldi, L., Febi, M., Bedini, C., Minetti, I., Valentino, S., Ubbiali, S., Aringhieri, G., Faggioni, L., Lencioni, R., Neri, E., & Cioni, D. (2026). Automated population of structured magnetic resonance imaging staging reports for rectal cancer from free-text radiology reports using deep learning–based natural language processing. Journal of Medical Imaging and Interventional Radiology, 13(1), Article 10. https://doi.org/10.1007/s44326-026-00099-w
Image Credits: AI Generated
DOI: 10.1007/s44326-026-00099-w
Keywords: rectal cancer, magnetic resonance imaging, structured reporting, natural language processing, deep learning, mT5 model, radiology reports, local staging, unified question answering, Italian Society of Medical and Interventional Radiology, radiological information system, transformer architecture, data augmentation, class imbalance, balanced accuracy, F1-score, restaging MRI
Cite Scienmag News
Blake Davidson. (November 21, 2026). Deep Learning Model Converts Free-Text Rectal MRI Reports Into Standardized Structured Formats. Scienmag. https://scienmag.com/deep-learning-model-converts-free-text-rectal-mri-reports-into-standardized-structured-formats/
Blake Davidson. "Deep Learning Model Converts Free-Text Rectal MRI Reports Into Standardized Structured Formats." Scienmag, 21 November 2026, https://scienmag.com/deep-learning-model-converts-free-text-rectal-mri-reports-into-standardized-structured-formats/. Accessed 1 December 2026.
Blake Davidson. "Deep Learning Model Converts Free-Text Rectal MRI Reports Into Standardized Structured Formats." Scienmag. November 21, 2026. https://scienmag.com/deep-learning-model-converts-free-text-rectal-mri-reports-into-standardized-structured-formats/








