Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jun 19;9(1):60.
doi: 10.1186/s41747-025-00599-6.

Deep learning detects retropharyngeal edema on MRI in patients with acute neck infections

Affiliations

Deep learning detects retropharyngeal edema on MRI in patients with acute neck infections

Oona Rainio et al. Eur Radiol Exp. .

Abstract

Background: In acute neck infections, magnetic resonance imaging (MRI) shows retropharyngeal edema (RPE), which is a prognostic imaging biomarker for a severe course of illness. This study aimed to develop a deep learning-based algorithm for the automated detection of RPE.

Methods: We developed a deep neural network consisting of two parts using axial T2-weighted water-only Dixon MRI images from 479 patients with acute neck infections annotated by radiologists at both slice and patient levels. First, a convolutional neural network (CNN) classified individual slices; second, an algorithm classified patients based on a stack of slices. Model performance was compared with the radiologists' assessment as a reference standard. Accuracy, sensitivity, specificity, and area under receiver operating characteristic curve (AUROC) were calculated. The proposed CNN was compared with InceptionV3, and the patient-level classification algorithm was compared with traditional machine learning models.

Results: Of the 479 patients, 244 (51%) were positive and 235 (49%) negative for RPE. Our model achieved accuracy, sensitivity, specificity, and AUROC of 94.6%, 83.3%, 96.2%, and 94.1% at the slice level, and 87.4%, 86.5%, 88.2%, and 94.8% at the patient level, respectively. The proposed CNN was faster than InceptionV3 but equally accurate. Our patient classification algorithm outperformed traditional machine learning models.

Conclusion: A deep learning model, based on weakly annotated data and computationally manageable training, achieved high accuracy for automatically detecting RPE on MRI in patients with acute neck infections.

Relevance statement: Our automated method for detecting relevant MRI findings was efficiently trained and might be easily deployed in practice to study clinical applicability. This approach might improve early detection of patients at high risk for a severe course of acute neck infections.

Key points: Deep learning automatically detected retropharyngeal edema on MRI in acute neck infections. Areas under the receiver operating characteristic curve were 94.1% at the slice level and 94.8% at the patient level. The proposed convolutional neural network was lightweight and required only weakly annotated data.

Keywords: Artificial intelligence; Magnetic resonance imaging; Neural networks (computer); Respiratory tract infections; Retropharyngeal abscess.

PubMed Disclaimer

Conflict of interest statement

Declarations. Ethical approval and consent to participate: According to the national legislation, no separate ethics committee approval is needed for retrospective studies that involve a secondary use of registry or archival data. Consent for publication: According to the national legislation, no separate ethics committee approval is needed for retrospective studies that involve a secondary use of registry or archival data. Competing interests: The authors declare that they have no competing interests.

Figures

Fig. 1
Fig. 1
Examples of retropharyngeal edema (arrows) on axial T2-weighted Dixon water-only images of four different patients (a, b, c, d) with acute neck infections
Fig. 2
Fig. 2
Study overview
Fig. 3
Fig. 3
The architecture of our convolutional neural network with all the layers and their dimensions visible
Fig. 4
Fig. 4
The structure of our proposed method to obtain the final classifications of a single patient: First, the convolutional neural network (CNN) is used to obtain numeric slice-wise predictions, then the maximum of the mean values of five consecutive slice-wise predictions is computed, and the patient-wise classification is obtained based on whether the maximum is below or above a certain threshold. If the patient is classified as positive, the slice-wise predictions are converted into binary labels with a second threshold; otherwise, they are all classified as negative. The two thresholds are chosen by finding the thresholds that give the maximal Youden’s index for the patient- and slice-wise predictions with this same method for the training set predictions. Our post-processing algorithm finds the appropriate thresholds and converts the predictions of all the test set patients into final binary labels
Fig. 5
Fig. 5
The median AUROC curves on (a) patient and (b) slice level computed from the medians of the ROC curves of the test set predictions by our proposed method after each 30 training iterations
Fig. 6
Fig. 6
Examples of 16 slices of the first test set that were consistently classified either correctly or incorrectly during the 6 repetitions of the first five-fold cross-validation split, including (a) positive slices correctly classified as positive, (b) positive slices incorrectly classified as negative, (c) negative slices incorrectly classified as positive, and (d) negative slices correctly classified as negative by our proposed method. All the slices are from different patients

Similar articles

References

    1. Boscolo-Rizzo P, Stellin M, Muzzi E et al (2012) Deep neck infections: a study of 365 cases highlighting recommendations for management and treatment. Eur Arch Otorhinolaryngol 269:1241–1249. 10.1007/s00405-011-1761-1 - PubMed
    1. Kamalian S, Avery L, Lev MH et al (2019) Nontraumatic head and neck emergencies. Radiographics 39:1808–1823. 10.1148/rg.2019190159 - PubMed
    1. Hirvonen J, Heikkinen J, Nyman M et al (2023) MRI of acute neck infections: evidence summary and pictorial review. Insights Imaging 14:5. 10.1186/s13244-022-01347-9 - PMC - PubMed
    1. Nurminen J, Velhonoja J, Heikkinen J et al (2021) Emergency neck MRI: feasibility and diagnostic accuracy in cases of neck infection. Acta Radiologica 62:735–742. 10.1177/0284185120940242 - PMC - PubMed
    1. Nurminen J, Heikkinen J, Happonen T et al (2022) Magnetic resonance imaging findings in pediatric neck infections—a comparison with adult patients. Pediatr Radiol 52:1158–1166. 10.1007/s00247-021-05275-6 - PMC - PubMed

LinkOut - more resources