CAFR-Net: A transformer-contrastive framework for robust spinal MRI segmentation via global-local synergy

R Rui Ma (College of Materials, State Key Laboratory of Physical Chemistry of Solid Surfaces, iChEM, College of Chemistry and Chemical Engineering, College of Energy, School of Life Sciences, College of Physical Science and Technology, and Discipline of Intelligent Instrument and Equipment) X Xuegang Dai Z Zuochao Yang Z Zhixiong Wei B Bin Zhang

Abstract

Automated spinal structure segmentation in sagittal MRI remains a non-trivial task due to high inter-patient variability and ambiguous anatomical boundaries. We propose CAFR-Net, a Transformer-contrastive hybrid framework that jointly models global semantic relations and local anatomical priors to enable precise multi-class segmentation. The architecture integrates (1) a multi-scale Transformer encoder for long-range dependency modeling, (2) a Locally Adaptive Feature Recalibration (LAFR) module that reweights feature responses across spatial-channel dimensions, and (3) a Contrastive Learning-based Regularization (CLR) scheme enforcing pixel-level semantic alignment. Evaluated on the SpineMRI dataset, CAFR-Net achieves state-of-the-art performance, surpassing prior methods by a significant margin in Dice (92.04%), HD (3.52 mm), and mIoU (89.31%). These results underscore the framework’s potential as a generalizable and reproducible solution for clinical-grade spinal image analysis.

Article Details

Journal PLoS ONE
Volume / Issue Vol. 20, Issue 7
Published July 17, 2025
Pages e0327642
ISSN 1932-6203
Publisher Public Library of Science

Journal Info

PLoS ONE

Public Library of Science

ISSN: 1932-6203 Open Access Health Sciences

Authors (5)

R

Rui Ma

College of Materials, State Key Laboratory of Physical Chemistry of Solid Surfaces, iChEM, College of Chemistry and Chemical Engineering, College of Energy, School of Life Sciences, College of Physical Science and Technology, and Discipline of Intelligent Instrument and Equipment

X

Xuegang Dai

Z

Zuochao Yang

Z

Zhixiong Wei

B

Bin Zhang