MindGrab for BrainChop: Fast and Accurate Skull Stripping for Command Line and Browser

Armina Fani, Mike Doan, Isabelle Le, Alex Fedorov, Malte Hoffmann, Chris Rorden, Sergey M. PlisarXiv 2025 · DOI

Introduction

Skull stripping—the automated removal of non-brain tissue from neuroimaging scans—is a foundational preprocessing step for nearly all brain analysis pipelines. While classical methods like BET and ROBEX often struggle with varying image contrast, modern deep learning models such as SynthStrip have achieved high accuracy and modality-agnostic generalization. However, these state-of-the-art models introduce significant deployment barriers: they typically require high-end NVIDIA GPUs, complex software dependency management, and command-line expertise.

Furthermore, while cloud-based deployment can mitigate hardware requirements, it introduces critical data privacy concerns. Strict regulations like HIPAA often prohibit sending protected health information (PHI) to third-party servers. To address this impasse, MindGrab was developed as a lightweight, modality-agnostic model capable of running locally on standard consumer hardware or directly within a web browser via the BrainChop platform.

Methodology

MindGrab is a lightweight, fully convolutional network consisting of only 26 layers. Its design departs from traditional spatial receptive field optimization in favor of a novel spectral interpretation of dilated convolutions.

Spectral Interpretation of Dilation

The authors viewed dilated convolutions through a frequency domain lens. In k-space, dilation acts as a tuning mechanism; introducing gaps between kernel weights creates a periodic filter that replicates its Fourier response. This allows a small kernel to capture widely separated frequency bands without increasing the parameter count.

Spectral response of dilated convolutions across different dilation factors ranging from 1 to 16.

Decreasing Dilation Schedule

The architecture utilizes a cascading sequence of decreasing dilations (16→8→4→2→1) repeated across five blocks. This configuration acts as a "spectral bottleneck." Initial high-dilation layers capture high-frequency boundary details, while subsequent low-dilation layers force this information into a coarser, highly efficient representation. This effectively "blurs" the frequency support, forcing the network to learn an incredibly compressed representation of the brain boundary.

Training and Normalization

MindGrab was trained exclusively on approximately 250,000 heavily augmented synthetic brain images. By using randomized spatial deformations and intensity variations, the model was forced to learn domain-agnostic features rather than overfitting to specific scanner characteristics. Additionally, the model employs ChannelNorm (GroupNorm where groups equal the number of channels) to improve empirical robustness over standard BatchNorm.

Results and Performance

MindGrab was evaluated on a diverse multimodal benchmark of 606 adult images across modalities including T1w, T2w, CT, and PET.

  • Accuracy: The model achieved a mean Dice score of 95.9 ± 1.6. It significantly outperformed classical methods and remained highly competitive with SynthStrip, staying within 3% of its performance.
  • Efficiency: MindGrab features 95% fewer parameters than SynthStrip, resulting in a file size of just 581KB.
  • Speed and Memory: On an Apple M2 Max, MindGrab achieved speedups between 9.4x and 39.6x compared to SynthStrip, with 25x to 33x lower peak RAM usage. On an NVIDIA RTX 2080, it maintained a 2x speedup and 4x lower RAM peak.

Conclusion

MindGrab represents a significant step toward making advanced neuroimaging analysis accessible. By prioritizing parameter efficiency and spectral design, the model enables "zero-footprint" deployment. Users can perform high-accuracy skull stripping directly in a web browser at brainchop.org, ensuring that patient data remains strictly local and private while removing the need for specialized hardware or complex software installations. Future work will focus on expanding the model's capabilities to pediatric populations, which currently present unique anatomical challenges not fully captured by adult-centric synthetic training data.

Summary updated

BibTeX
@misc{fani2025mindgrab,
  author = {Armina Fani and Mike Doan and Isabelle Le and Alex Fedorov and Malte Hoffmann and Chris Rorden and Sergey M. Plis},
  title = {{MindGrab for BrainChop: Fast and Accurate Skull Stripping for Command Line and Browser}},
  year = {2025},
  eprint = {2506.11860},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.11860},
}
Figure