The Multiscale Surface Vision Transformer
Simon Dahan, Logan Z. J. Williams, Daniel Rueckert, Emma C. Robinson
TL;DR
The paper tackles the challenge of applying powerful transformer architectures to cortical surface data without incurring prohibitive computation from global self-attention. It introduces the Multiscale Surface Vision Transformer (MS-SiT), a Swin-transformer–inspired backbone that uses local window self-attention and a shifted window strategy to build hierarchical, high-resolution surface representations and a UNet-like segmentation path. Across neonatal phenotyping tasks on the dHCP dataset and cortical parcellation on UKB and MindBoggle, MS-SiT demonstrates superior phenotype prediction accuracy and competitive segmentation performance, while offering interpretable attention maps and robustness to space alignment. The work provides a practical, scalable backbone for surface deep learning with potential impact on clinical neuroimaging analyses and cortical mapping tasks, with code and models publicly available.
Abstract
Surface meshes are a favoured domain for representing structural and functional information on the human cortex, but their complex topology and geometry pose significant challenges for deep learning analysis. While Transformers have excelled as domain-agnostic architectures for sequence-to-sequence learning, the quadratic cost of the self-attention operation remains an obstacle for many dense prediction tasks. Inspired by some of the latest advances in hierarchical modelling with vision transformers, we introduce the Multiscale Surface Vision Transformer (MS-SiT) as a backbone architecture for surface deep learning. The self-attention mechanism is applied within local-mesh-windows to allow for high-resolution sampling of the underlying data, while a shifted-window strategy improves the sharing of information between windows. Neighbouring patches are successively merged, allowing the MS-SiT to learn hierarchical representations suitable for any prediction task. Results demonstrate that the MS-SiT outperforms existing surface deep learning methods for neonatal phenotyping prediction tasks using the Developing Human Connectome Project (dHCP) dataset. Furthermore, building the MS-SiT backbone into a U-shaped architecture for surface segmentation demonstrates competitive results on cortical parcellation using the UK Biobank (UKB) and manually-annotated MindBoggle datasets. Code and trained models are publicly available at https://github.com/metrics-lab/surface-vision-transformers.
