Introduction
Deep learning has revolutionized image analysis, but its application to non-Euclidean structures—such as the highly folded human cerebral cortex—remains a significant challenge. While traditional Geometric Deep Learning (gDL) methods like spherical CNNs have been the standard, they often suffer from a "local" inductive bias and mathematical complexity when generalized to irregular surfaces. This paper introduces the Surface Vision Transformer (SiT), a novel framework that adapts the Vision Transformer (ViT) architecture to analyze cortical surfaces by representing them as sequences of triangular patches on a spherical manifold.
The Challenge of Cortical Analysis
The human cerebral cortex is a complex, highly folded sheet. Traditionally, researchers have used spherical CNNs to handle this geometry. However, convolutions are inherently local; they excel at identifying nearby patterns but struggle to capture long-range associations across the brain's surface. Furthermore, generalizing convolutions to irregular manifolds is computationally expensive and mathematically cumbersome. The authors sought a domain-agnostic way to model these surfaces that could capture global context more effectively than traditional geometric methods.
Methodology: The SiT Framework
The SiT framework bridges the gap between surface-based geometric data and the sequence-based processing of Transformers. The process involves several key steps:
- Spherical Projection: Cortical data (including metrics like sulcal depth, curvature, cortical thickness, and myelination) is projected onto a spherical manifold.
- Icosphere Patching: To convert this continuous surface into a discrete sequence, the authors utilize a subdivided icosphere. This geometric solid is divided into 320 triangular patches of equal vertex count, ensuring uniform data distribution across the sphere.
- Linear Embedding: These patches are flattened into feature vectors and fed into a standard Transformer encoder (based on the Data-efficient Image Transformer, or DeiT).
- Multi-Head Self-Attention (MSA): Unlike CNNs, the MSA layers allow every patch on the brain's surface to "attend" to every other patch, regardless of physical distance. This enables the model to capture global developmental patterns.
Training Strategies
Recognizing that medical datasets are often smaller than the massive datasets typically used to train Transformers, the researchers tested three strategies:
- Training from scratch.
- Initializing with ImageNet weights.
- Masked Patch Prediction (MPP): A self-supervised task where the model learns to "fill in the blanks" of masked surface patches, similar to how BERT is trained on text.
Experimental Results
The study utilized the Developing Human Connectome Project (dHCP) dataset, featuring high-resolution MRI scans of 588 neonatal subjects. The models were tasked with predicting Postmenstrual Age (PMA) and Gestational Age (GA) at birth.
Performance and Robustness
SiT-small (using self-supervision) achieved a Mean Absolute Error (MAE) of 0.55 weeks for PMA prediction, outperforming established geometric CNNs like ChebNet and GConvNet. Notably, SiT demonstrated superior robustness to "native" (unregistered) data. While many spherical CNNs see a performance drop when brains are not perfectly aligned to a template, SiT remained consistent, suggesting a higher tolerance for spatial transformations.
Biologically Meaningful Attention
One of the most significant advantages of the SiT architecture is its interpretability. The resulting attention maps were not merely random weights; they highlighted known neurodevelopmental patterns. The model focused heavily on the somatosensory and visual cortices—areas known to mature early—to determine the brain's developmental age.
Conclusion and Future Work
The Surface Vision Transformer represents a significant shift in how we model biological manifolds. By moving away from the local constraints of convolutions and embracing the global context of attention mechanisms, SiT provides a more flexible and interpretable tool for neuroimaging.
While the results are promising, the authors note that Transformers remain data-hungry. Future work will focus on scaling SiT to larger datasets, such as the UK Biobank, and extending the icosphere patching method to other complex surfaces, such as cardiac modeling. The success of self-supervised Masked Patch Prediction suggests that as more unlabeled medical data becomes available, the potential for SiT to uncover complex biological phenotypes will only grow.
Summary updated