Steerable Transformers for Volumetric Data

Soumyabrata Kundu, Risi Kondor

Standard neural networks, including the popular Vision Transformer (ViT), lack inherent awareness of geometric symmetries like rotation and translation. When processing 2D images or 3D volumetric data (such as medical MRI scans or CAD models), objects can appear in any orientation. To compensate, models typically rely on computationally expensive data augmentation, which still does not guarantee generalization to unseen orientations.

While Steerable Convolutional Neural Networks (CNNs) address this by building $SE(d)$ (rotation and translation) equivariance directly into their layers, they are fundamentally local operators. They struggle to capture long-range dependencies between distant parts of an input. To bridge this gap, researchers have introduced Steerable Transformers, a hybrid architecture that combines the geometric rigor of steerable convolutions with the global receptive field of self-attention.

Architecture and Methods

The proposed architecture utilizes a steerable convolutional encoder to extract initial features, which are then processed by novel steerable transformer blocks.

Steerable Attention Mechanism Architecture

Key innovations in this architecture include:

  • Fourier Space Operations: Unlike standard Transformers that operate on spatial patches, this model processes features represented as Fourier coefficients (irreducible representations). This mathematical foundation allows the model to "steer" features predictably as the input rotates.
  • Steerable Self-Attention: The standard Query ($Q$), Key ($K$), and Value ($V$) mechanisms are redefined for complex-valued Fourier components. The attention mechanism ensures that the output transforms equivariantly when the input is rotated or translated.
  • Steerable Positional Encoding: Standard positional encodings break rotational symmetry. The authors introduce a novel encoding based on Spherical Harmonics (for 3D) and complex exponentials (for 2D), modulated by an inverse-square radial decay. They mathematically prove that this specific formulation is necessary and sufficient to preserve $SE(d)$ equivariance.
  • Equivariant Components: The pipeline maintains strict equivariance by employing steerable versions of Layer Normalization and non-linearities (e.g., applying ReLU to the magnitude of the Fourier vectors).
Rotation Equivariance in Attention

Key Insights

The model was rigorously evaluated across both 2D and 3D tasks, including Rotated MNIST (2D classification), ModelNet10 (3D CAD voxel classification), PH2 (2D dermoscopic skin lesion segmentation), and BraTS (3D multi-modal MRI brain tumor segmentation).

A primary insight from these experiments is the synergy between global and local processing. While steerable convolutions excel at identifying local geometric textures, the addition of transformer layers allows the model to contextualize these textures across the entire volume (e.g., understanding the relative position of tumor boundaries within a whole brain). Furthermore, because symmetry is mathematically "baked in," the model requires significantly less data augmentation. In the ModelNet10 experiments, the Steerable Transformer achieved competitive results using only test-time augmentation, whereas other models required extensive training-time augmentation.

Results

The Steerable Transformer consistently outperformed baseline steerable convolutional networks and other equivariant attention methods:

  • Rotated MNIST: Achieved a test error of 0.97% (with a $k=8$ Fourier cutoff), surpassing alternative equivariant attention methods like GSA-Nets (2.03%) and GE-ViT (1.99%).
  • ModelNet10: Reached 91.1% accuracy with only 0.92M parameters. This demonstrates high parameter efficiency compared to voxel-based models like VRN, which achieved a similar 91.3% accuracy but required a massive 18M parameters.
  • BraTS (3D Segmentation): Improved the Dice Score across all tumor categories compared to convolutional baselines. For instance, the "Whole Tumor" score increased from 74.43 to 76.37.

Limitations and Future Work

Despite its strong performance, the architecture faces challenges common to transformer models. Self-attention incurs an $O(N^2)$ computational overhead relative to the number of input tokens, making memory usage a significant bottleneck for high-resolution 3D volumes.

Additionally, to keep the model computationally tractable, the authors utilized relatively low Fourier cutoffs (e.g., $\ell=2$ for 3D). While effective for capturing low-frequency geometric information, this may miss fine-grained, high-frequency details. Future work aims to scale the architecture for higher resolutions and explore more complex group symmetries, such as scaling or affine transformations.

Summary updated

BibTeX
@inproceedings{kundu2025steerable,
  author = {Soumyabrata Kundu and Risi Kondor},
  title = {{Steerable Transformers for Volumetric Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=Ax550Vokon},
}
Figure