Accurate Detection of Mediastinal Lesions with nnDetection

Michael Baumgartner, Peter M. Full, Klaus H. Maier-Hein · DOI

Abstract

Detecting lesions within the mediastinum is a critical yet challenging task in medical imaging due to complex anatomy and high variance in lesion size. This paper presents a robust solution developed for the Mediastinal Lesion Analysis (MELA) 2022 challenge. By adapting the self-configuring nnDetection framework, the authors implemented a Retina U-Net architecture enhanced with pseudo-mask segmentation and specialized data augmentation. The final approach secured third place on the global leaderboard, achieving a near-perfect Free-Response Receiver Operating Characteristic (FROC) score of 0.9897.

Introduction

The mediastinum, the central compartment of the thoracic cavity, contains vital structures including the heart, great vessels, and esophagus. While AI has made significant strides in lung and liver lesion detection, mediastinal analysis remains relatively under-explored. The MELA 2022 challenge highlighted three primary difficulties: coarse bounding-box-only annotations, extreme variance in lesion size, and stringent localization requirements (Intersection over Union cutoff of 0.3).

To address these, the authors leveraged nnDetection, a framework that automates hyperparameter configuration based on dataset properties. Their contribution focuses on increasing model capacity and refining the training signal to handle the specific constraints of the MELA dataset.

Methodology

The core architecture is a 3D Retina U-Net, which combines an encoder-decoder structure with a Feature Pyramid Network (FPN). To improve performance on this specific task, the authors increased the model's capacity by boosting the number of channels by 50%.

The Retina U-Net architecture used, featuring a segmentation branch trained on pseudo-masks alongside classification and regression branches.

Pseudo-Mask Generation and Multi-Task Learning

Because the dataset only provided bounding boxes, the authors generated "pseudo-masks" by fitting 3D ellipsoids within each box. This allowed the model to be trained with an auxiliary semantic segmentation branch. This multi-task approach provides a denser gradient signal during training, helping the encoder learn more discriminative features for lesion geometry than bounding boxes alone.

Handling Scale and Precision

To accommodate massive lesions that might span large portions of a CT scan, the input patch size was increased to $192 \times 192 \times 192$ voxels. Furthermore, the authors identified a "Rotation Paradox": while aggressive data augmentation typically aids generalization, rotating axis-aligned bounding boxes can introduce localization errors. They introduced a "Reduced Rotation" scheme (Aug B), limiting rotations to $\pm 10$ degrees and incorporating 90-degree flips to maintain diversity without sacrificing the precision required for the IoU 0.3 threshold.

Datasets

The study utilized the MELA 2022 dataset, comprising 770 training and 110 validation CT scans. All scans were resampled to a consistent target spacing of $[1.40, 1.43, 1.43]$ mm. The final evaluation was performed on a hidden test set via the competition leaderboard.

Results and Discussion

The proposed modifications led to state-of-the-art performance. The transition from the baseline augmentation (Aug A) to the refined scheme (Aug B), combined with larger patch sizes and ensembling, resulted in significant gains in localization accuracy.

Performance comparison of different model configurations on the MELA 2022 dataset, showing the impact of patch size and augmentation strategies.

As shown in the results table, the final ensemble model achieved a FROC score of 0.9880 at IoU 0.3 in cross-validation and 0.9897 on the official leaderboard. The small gap between validation and test results underscores the robustness of the nnDetection-based approach.

Conclusion

This work demonstrates that self-configuring frameworks like nnDetection can be successfully adapted for specialized medical detection tasks. Key takeaways include the value of pseudo-segmentation as a proxy task and the necessity of tailoring data augmentation to the specific evaluation metrics of the challenge. Future work will focus on improving the detection of smaller lesions, which remain the primary source of remaining errors, potentially through the integration of anatomical priors or higher-resolution processing.

Summary updated

BibTeX
@inproceedings{baumgartner2022accurate,
  author = {Michael Baumgartner and Peter M. Full and Klaus H. Maier-Hein},
  title = {{Accurate Detection of Mediastinal Lesions with nnDetection}},
  booktitle = {CuRIOUS/KiPA/MELA @ MICCAI},
  year = {2022},
  doi = {10.1007/978-3-031-27324-7\_10},
}
Figure