Introduction
Spinal cord tumors are a significant source of neurological morbidity. Automated segmentation of these lesions is notoriously difficult because they are often small, irregularly shaped, and situated within the narrow, cylindrical spinal cord. Standard segmentation models, while effective for large organs, often struggle with the fine-grained boundary details of these tiny tumors, leading to imprecise edges or misclassification.
Methods
The proposed BATseg framework addresses these challenges by incorporating boundary awareness into a standard segmentation pipeline. Built upon the nnUNet backbone, BATseg utilizes a dual-head architecture to simultaneously learn spatial occupancy and geometric constraints.
Dual-Head Architecture
- Segmentation Head: Predicts standard multiclass logits (the probability of each voxel belonging to a specific tumor type).
- Surface Distance Field (SDF) Head: This parallel branch learns to predict the distance from each voxel to the nearest tumor boundary.
To optimize performance for small lesions, the authors employ a Truncated and Normalized Distance Field. By truncating distance values for voxels far from the tumor, the network focuses its learning capacity on the immediate peritumoral anatomy, reducing background noise. A Multiclass Boundary-Aware Loss ($\ell_{ba}$) further penalizes errors in the critical transition zones between tumor and healthy tissue.
Datasets
The study introduces the first large-scale, multiclass spinal cord tumor dataset, comprising gadolinium-enhanced T1-weighted 3D MRI scans from 653 patients. This dataset includes four primary tumor types: astrocytomas, ependymomas, hemangioblastomas, and spinal meningiomas. Additionally, the model was validated on the public KNIGHT kidney tumor dataset to demonstrate generalizability.
Results
BATseg significantly outperformed baseline models on both datasets:
- Spinal Cord Dataset: BATseg achieved a 62.1% Mean Dice score, compared to 52.8% for the standard nnUNet. It also notably improved boundary precision, reducing the Hausdorff Distance from 161.4mm to 108.3mm.
- KNIGHT Dataset: The model achieved a Mean Dice of 40.7%, surpassing complex two-stage baselines.
Qualitative analysis indicates that BATseg produces smoother, more anatomically plausible boundaries than standard models, which often over-segment or produce fragmented masks.
Conclusion
BATseg demonstrates that explicit boundary modeling is essential for segmenting small, morphologically diverse structures like spinal cord tumors. By combining a truncated surface distance field with a boundary-aware loss, the framework provides a robust solution for high-precision medical image analysis. Future work will focus on improving classification for visually similar tumor types, such as astrocytomas and ependymomas, and validating the model across multi-institutional data.
Summary updated