SST-DUNet: Automated preclinical functional MRI skull stripping using Smart Swin Transformer and Dense UNet
Sima Soltanpour, Rachel Utama, Arnold Chang, Md Taufiq Nasseef, Dan Madularu, Praveen Kulkarni, Craig Ferris, Chris Joslin
TL;DR
This work addresses the key bottleneck of manual skull stripping in preclinical fMRI by introducing SST-DUNet, a lightweight 3D Dense UNet with a Smart Swin Transformer encoder. The approach leverages channel-specific attention via SSW-MSA and a combined Dice–Focal loss to handle class imbalance and boundary accuracy in low-resolution rat fMRI data. The method achieves state-of-the-art Dice scores around 0.98 across multiple in-house datasets and generalizes to unseen data, while maintaining fast inference suitable for practical preprocessing pipelines. Across seed-based functional connectivity and ICA analyses, SST-DUNet-produced skull-stripped data yield connectivity results highly concordant with manual processing, underscoring its potential to replace manual skull-stripping in preclinical studies.
Abstract
Skull stripping is a common preprocessing step that is often performed manually in Magnetic Resonance Imaging (MRI) pipelines, including functional MRI (fMRI). This manual process is time-consuming and operator dependent. Automating this process is challenging for preclinical data due to variations in brain geometry, resolution, and tissue contrast. While existing methods for MRI skull stripping exist, they often struggle with the low resolution and varying slice sizes in preclinical fMRI data. This study proposes a novel method called SST-DUNet, that integrates a dense UNet-based architecture with a feature extractor based on Smart Swin Transformer (SST) for fMRI skull stripping. The Smart Shifted Window Multi-Head Self-Attention (SSW-MSA) module in SST is adapted to replace the mask-based module in the Swin Transformer (ST), enabling the learning of distinct channel-wise features while focusing on relevant dependencies within brain structures. This modification allows the model to better handle the complexities of fMRI skull stripping, such as low resolution and variable slice sizes. To address the issue of class imbalance in preclinical data, a combined loss function using Focal and Dice loss is utilized. The model was trained on rat fMRI images and evaluated across three in-house datasets with a Dice similarity score of 98.65%, 97.86%, and 98.04%. The fMRI results obtained through automatic skull stripping using the SST-DUNet model closely align with those from manual skull stripping for both seed-based and independent component analyses. These results indicate that the SST-DUNet can effectively substitute manual brain extraction in rat fMRI analysis.
