NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Radiology Text Analysis System (RadText): Architecture and Evaluation

Song Wang, Mingquan Lin, Ying Ding, George Shih, Zhiyong Lu, Yifan Peng

Abstract

Automating the extraction of clinical information from radiology reports is a critical challenge in medical informatics due to the "telegraphic" nature of the text and the lack of interoperability between natural language processing (NLP) tools and structured databases. This paper presents RadText, an open-source, modular Python-based pipeline designed to bridge this gap. RadText introduces the BioC-CDM interface, enabling the direct conversion of clinical text into the OMOP Common Data Model (CDM) while maintaining patient privacy through local execution. Evaluation on a gold-standard subset of the MIMIC-CXR dataset demonstrates high performance, with an average F1-score of 0.92 across several specific clinical findings.

Introduction

Radiology reports are a cornerstone of clinical documentation, yet their unstructured format makes them difficult to utilize in large-scale research. Unlike standard prose, these reports are often "telegraphic," frequently omitting subjects and verbs, and relying on complex noun phrases and domain-specific terminologies like RadLex. Furthermore, existing clinical NLP tools such as cTAKES or MetaMap often lack seamless integration with modern data science workflows, creating an "interoperability gap" when moving data into structured research databases like the Observational Medical Outcomes Partnership (OMOP) Common Data Model (CDM).

RadText was developed to address these challenges by providing a modular, easy-to-use, and privacy-preserving pipeline that handles the unique linguistic characteristics of radiology text while ensuring native compatibility with standardized data models.

System Architecture

RadText is built as a highly modular, hybrid pipeline, allowing researchers to swap implementations for various stages of the NLP process. The pipeline consists of five primary stages:

  1. De-identification: Utilizing Philter, the system removes protected health information (PHI) in accordance with HIPAA guidelines.
  2. Section Segmentation: The system identifies critical headers (e.g., "FINDINGS" or "IMPRESSION") using heuristics derived from NegBio or medspaCy.
  3. Tokenization and Parsing: RadText supports multiple engines, including NLTK, spaCy, Stanza, and Bllip, to accommodate the varied syntactic structures found in clinical reports.
  4. Named Entity Recognition (NER): The system combines rule-based regular expressions with MetaMap to identify clinical concepts and map them to Unified Medical Language System (UMLS) unique identifiers.
  5. Negation Detection: Using NegBio, the pipeline leverages universal dependency graphs to determine if a finding is present or explicitly ruled out (e.g., distinguishing "pneumonia" from "no evidence of pneumonia").

The BioC-CDM Interface

A core innovation of RadText is the BioC-CDM interface. By extending the BioC XML format to be natively compatible with OMOP CDM fields, RadText allows the output of the NLP pipeline to be converted directly into a structured relational database format. This ensures that the context of the original text is preserved while facilitating immediate integration into clinical research databases.

Evaluation and Results

Dataset and Methodology

The system was primarily evaluated using the MIMIC-CXR dataset, a large-scale public collection of chest X-ray reports. To assess RadText’s accuracy, the authors developed a new gold-standard test set consisting of 200 manually annotated reports. This evaluation focused on five specific findings that are often overlooked in general clinical NLP studies:

  • Calcification of the Aorta
  • Pneumomediastinum
  • Pneumoperitoneum
  • Subcutaneous Emphysema
  • Tortuous Aorta

Performance Metrics

RadText demonstrated robust performance across the annotated disease labels, effectively handling the "ill-formed" sentences typical of radiology reports. The aggregate performance metrics were as follows:

  • Average Precision: 0.91
  • Average Recall: 0.94
  • Average F1-score: 0.92

Specific findings showed exceptional reliability; for instance, Tortuous Aorta achieved an F1-score of 0.97, while Calcification of the Aorta reached 0.93. These results indicate that RadText’s dependency-graph-based approach to negation and entity extraction is highly effective for clinical phenotyping.

Discussion

Privacy and Local Execution

In contrast to many contemporary AI tools that rely on cloud-based APIs, RadText is designed to run entirely on local CPU machines. This "privacy-first" approach is essential for clinical environments where the security of patient data is a primary concern.

Flexibility and Modularity

The system’s Python-based architecture allows researchers to pause the pipeline at any stage to inspect intermediate results or re-run specific modules without restarting the entire process. This modularity makes RadText a versatile tool for both production environments and iterative research.

Limitations and Future Work

While RadText provides a significant advancement in radiology text analysis, future iterations will focus on incorporating more specialized models like scispaCy to further refine NER. Additionally, the authors aim to expand the system’s capabilities to include more complex reasoning regarding the relationships between different clinical observations and to continuously update the system with emerging radiology-specific terminologies.

Conclusion

RadText offers a comprehensive solution for the automated analysis of radiology reports, successfully bridging the gap between raw clinical text and structured data models. Its combination of modularity, high accuracy, and privacy-preserving local execution makes it a valuable resource for the clinical research community. The code and annotated datasets are available at https://github.com/bionlplab/radtext.

Summary updated

BibTeX
@inproceedings{wang2022radiology,
  author = {Song Wang and Mingquan Lin and Ying Ding and George Shih and Zhiyong Lu and Yifan Peng},
  title = {{Radiology Text Analysis System (RadText): Architecture and Evaluation}},
  booktitle = {ICHI},
  year = {2022},
  url = {https://openreview.net/forum?id=raQI8Z2YlxK},
}
Figure