Joint analysis of radiological reports and CT images for automatic validation of pathological brain conditions

Yulia D. Agafonova, Andrey Gaidel, P. M. Zelter, А.v. Kapishnikov, Andrey Kuznetsov, E.n. Surovtsev, Артем Никоноров, A.v. Kuznetsov, Sber Ai, Fsbei He SamSMU Moh Russia, A.v. Nikonorov, Ipsi Ras – Branch of the Fsrc “Crystallography and Photonics” RasComputer 2023

Abstract

We consider a problem of validation of radiological medical reports and computed tomography images for an automated analysis of brain structures. Two methods for solving the problem are proposed: a method based on the ruCLIP multimodal model, and a method based on the joint use of two separate classifiers – for a text report and for a brain CT image. We discuss methods evaluation and the obtained results. The proposed approaches make it possible to correctly classify 99.6% of radiological reports from a test sampling into 15 possible diagnoses.

Introduction

In modern clinical practice, medical databases such as Picture Archiving and Communication Systems (PACS) are inundated with raw data, primarily images accompanied by free-text reports written by radiologists. Manually labeling this data for research is labor-intensive, and the high-pressure clinical environment increases the risk of human error in reporting.

This research addresses the challenge of automated validation. By developing an AI system capable of "reading" both the image and the text to detect mismatches, healthcare providers can be alerted to seek a second opinion. This requires the AI to bridge the gap between two disparate data types—visual pixels and natural language—and map them to consistent clinical concepts.

Methods

The study explores two distinct architectural strategies for cross-validating reports and images.

1. Separate Classifiers

The first approach employs specialized models for each modality:

  • Image Classification: A 5-layer Convolutional Neural Network (CNN) processes 2D CT slices to predict one of 15 diagnostic categories. The architecture is designed to handle the spatial features of brain pathologies.
  • Text Classification: A Recurrent Neural Network (RNN) utilizing Long Short-Term Memory (LSTM) blocks processes the Russian-language radiological reports. An embedding layer is used to manage the specific medical vocabulary.
Architecture of the neural network for image classification (CNN) and the LSTM cell used for text processing.

2. Multimodal Learning (ruCLIP)

The second approach utilizes ruCLIP, a Russian-language adaptation of OpenAI’s CLIP. This model employs a Vision Transformer (ViT-B/16) for images and a Transformer for text. The core objective is to project both modalities into a shared vector space, learning to maximize the cosine similarity between an image and its corresponding textual description.

Datasets and Preprocessing

The study utilized a specialized dataset provided by the Samara State Medical University (SamGMU), consisting of 978 brain CT images paired with 978 corresponding radiological reports in Russian.

Sample brain CT scan slices used in the study.

The dataset covers 15 classes, including ischemic stroke, cerebral edema, various hemorrhages, and "normal" cases. Images were standardized to 512x512 pixels for the CNN and 224x224 for ruCLIP. Text reports were tokenized and limited to n-grams of 150 words for the LSTM model.

Key Insights

  • Textual Consistency: The LSTM achieved a near-perfect accuracy of 99.6% on text reports. This indicates that despite individual writing styles, the core diagnostic terminology used by radiologists is highly consistent and easily categorized by standard NLP models.
  • The Medical Domain Gap: The "out-of-the-box" ruCLIP model, trained on general internet data, performed poorly on medical data with a similarity score of only 0.294. This underscores the necessity of domain-specific fine-tuning for medical applications.
  • Impact of Fine-tuning: After fine-tuning on the SamGMU dataset, the ruCLIP similarity score rose to 0.95. This demonstrates that even relatively small, specialized datasets can effectively adapt large-scale multimodal models to niche domains.
  • Computational Efficiency: While ruCLIP is powerful, the separate CNN/LSTM approach is more computationally efficient and requires less memory, making it potentially more suitable for deployment on standard hospital hardware.

Results

The experimental results highlight the effectiveness of the proposed methods:

  • Text Classification: 99.6% accuracy using the LSTM.
  • Image Classification: 69.2% accuracy using the CNN. While lower than text classification, this is a significant result for 2D brain pathology detection.
  • Multimodal Validation: The fine-tuned ruCLIP model achieved a 0.95 average similarity on the test set, accurately matching unseen images to their correct reports.

Conclusion and Future Work

The proposed framework demonstrates the feasibility of automated cross-validation between radiological reports and CT images. Future work will focus on transitioning from 2D slices to 3D volumes using 3D convolutions or multi-view transformers to better reflect clinical practice. Additionally, the authors plan to expand the dataset and extend the framework to other anatomical regions and modalities, such as lung CTs and MRIs, to improve robustness and generalizability.

Summary updated

BibTeX
@inproceedings{agafonova2023joint,
  author = {Yulia D. Agafonova and Andrey Gaidel and P. M. Zelter and А.V. Kapishnikov and Andrey Kuznetsov and E.N. Surovtsev and Артем Никоноров and A.V. Kuznetsov and Sber AI and E.N. Surovtsev and FSBEI HE SamSMU MOH Russia and A.V. Nikonorov and IPSI RAS – Branch of the FSRC “Crystallography and Photonics” RAS},
  title = {{Joint analysis of radiological reports and CT images for automatic validation of pathological brain conditions}},
  booktitle = {Computer},
  year = {2023},
  doi = {10.18287/2412-6179-co-1201},
}
Figure