HEAL-SWIN: A Vision Transformer On The Sphere

Oscar Carlsson, Jan E. Gerken, Hampus Linander, Heiner Spieß, Fredrik Ohlsson +2 more
7/14/2023
cs.CVcs.LG

Official code: JanEGerken/HEAL-SWIN (52 stars, MIT, last commit 2024-07-17).

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 at https://github.com/JanEGerken/HEAL-SWIN.

View on arXivView PDF

Code Implementations(1)

MIT

Reference implementation of the spherical vision transformer HEAL-SWIN

528Python, DockerfileJul 12, 20232 years agoMIT

Similar Papers

Cite this paper

@article{carlsson2023healswin,
  title  = {HEAL-SWIN: A Vision Transformer On The Sphere},
  author = {Oscar Carlsson and Jan E. Gerken and Hampus Linander and Heiner Spieß and Fredrik Ohlsson and Christoffer Petersson and Daniel Persson},
  year   = {2023},
  eprint = {2307.07313},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.07313v2},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.07313.svg)](https://codeofpaper.com/paper/2307.07313)

Discussion