HEAL-SWIN: A Vision Transformer on the Sphere

Abstract

High-resolution wide-angle fisheye images are becoming more and more important for robotics applications such as autonomous driving. However using ordinary convolutional neural networks or vision transformers on this data is problematic due to projection and distortion losses introduced when projecting to a rectangular grid on the plane. We introduce the HEAL-SWIN transformer which combines the highly uniform Hierarchical Equal Area iso-Latitude Pixelation (HEALPix) grid used in astrophysics and cosmology with the Hierarchical Shifted-Window (SWIN) transformer to yield an efficient and flexible model capable of training on high-resolution distortion-free spherical data. In HEAL-SWIN the nested structure of the HEALPix grid is used to perform the patching and windowing operations of the SWIN transformer enabling the network to process spherical representations with minimal computational overhead. We demonstrate the superior performance of our model on both synthetic and real automotive datasets as well as a selection of other image datasets for semantic segmentation depth regression and classification tasks. Our code is publicly available.

Cite

Text

Carlsson et al. "HEAL-SWIN: A Vision Transformer on the Sphere." Conference on Computer Vision and Pattern Recognition, 2024. doi:10.1109/CVPR52733.2024.00580

Markdown

[Carlsson et al. "HEAL-SWIN: A Vision Transformer on the Sphere." Conference on Computer Vision and Pattern Recognition, 2024.](https://mlanthology.org/cvpr/2024/carlsson2024cvpr-healswin/) doi:10.1109/CVPR52733.2024.00580

BibTeX

@inproceedings{carlsson2024cvpr-healswin,
  title     = {{HEAL-SWIN: A Vision Transformer on the Sphere}},
  author    = {Carlsson, Oscar and Gerken, Jan E. and Linander, Hampus and Spieß, Heiner and Ohlsson, Fredrik and Petersson, Christoffer and Persson, Daniel},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2024},
  pages     = {6067-6077},
  doi       = {10.1109/CVPR52733.2024.00580},
  url       = {https://mlanthology.org/cvpr/2024/carlsson2024cvpr-healswin/}
}