BATseg: Boundary-Aware Multiclass Spinal Cord Tumor Segmentation on 3D MRI Scans

Hongkang Song, Zihui Zhang, Yanpeng Zhou, Jie Hu, Zishuo Wang, Hou Him Chan, Chon Lok Lei, Chen Xu, Yu Xin, Bo Yang

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.

Examples of multiclass spinal cord tumors (top row) and other medical imaging targets (bottom row) used for validation.

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.

The BATseg architecture featuring a shared nnUNet backbone with parallel segmentation and surface distance field heads.

Dual-Head Architecture

  1. Segmentation Head: Predicts standard multiclass logits (the probability of each voxel belonging to a specific tumor type).
  2. 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

BibTeX
@inproceedings{song2024batseg,
  author = {Hongkang Song and Zihui Zhang and Yanpeng Zhou and Jie Hu and Zishuo Wang and Hou Him Chan and Chon Lok Lei and Chen Xu and Yu Xin and Bo Yang},
  title = {{BATseg: Boundary-Aware Multiclass Spinal Cord Tumor Segmentation on 3D MRI Scans}},
  booktitle = {Workshops @ ECCV},
  year = {2024},
  doi = {10.1007/978-3-031-91721-9\_11},
}
Figure