SwInception -- Local Attention Meets Convolutions

David Hagerman, Roman Naeem, Jakob Lindqvist, Carl Lindström, Fredrik Kahl +1 more
5/28/2026
cs.CV
transformer-attention

Official code: Eiphodos/SwInception (1 star, Python, last commit 2026-05-29).

Abstract

Sparse vision transformers have gained popularity as efficient encoders for medical volumetric segmentation, with Swin emerging as a prominent choice. Swin uses local attention to reduce complexity and yields excellent performance for many tasks but still tends to overfit on small datasets.

Show full abstract

To mitigate this weakness, we propose a novel architecture that further enhances Swin's inductive bias by introducing Inception blocks in the feed-forward layers. The introduction of these multi-branch convolutions enables more direct reasoning over local, multi-scale features within the transformer block. We have also modified the decoder layers in order to capture finer details using fewer parameters. We demonstrate a performance improvement on eleven different medical datasets through extensive experimentation. We specifically showcase advancements over the previous state-of-the-art backbones on benchmark challenges like the Medical Segmentation Decathlon and Beyond the Cranial Vault. By showing that the existing inductive bias in Swin can be further improved, our work presents a promising avenue for enhancing the capabilities of sparse vision transformers for both medical and natural image segmentation tasks. Code and pre-trained weights can be accessed at https://github.com/Eiphodos/SwInception.

View on arXivView PDF

Code Implementations(1)

SwInception - Local Attention Meets Convolutions

10PythonApr 15, 20246 months ago

Similar Papers

Cite this paper

@article{hagerman2026swinception,
  title  = {SwInception -- Local Attention Meets Convolutions},
  author = {David Hagerman and Roman Naeem and Jakob Lindqvist and Carl Lindström and Fredrik Kahl and Lennart Svensson},
  year   = {2026},
  eprint = {2605.29954},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.29954v1}
}

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/2605.29954.svg)](https://codeofpaper.com/paper/2605.29954)

Discussion