Adapting Vision Transformers to Ultra-High Resolution Semantic Segmentation with Relay Tokens

Yohann Perron, Vladyslav Sydorov, Christophe Pottier, Loic Landrieu
1/9/2026
cs.CV

No official code found. Best implementation: YohannPerron/RelayToken (7 stars, MIT, last commit 2026-01-23).

Abstract

Current approaches for segmenting ultra high resolution images either slide a window, thereby discarding global context, or downsample and lose fine detail. We propose a simple yet effective method that brings explicit multi scale reasoning to vision transformers, simultaneously preserving local details and global awareness. Concretely, we process each image in parallel at a local scale (high resolution, small crops) and a global scale (low resolution, large crops), and aggregate and propagate features between the two branches with a small set of learnable relay tokens. The design plugs directly into standard transformer backbones (eg ViT and Swin) and adds fewer than 2 % parameters. Extensive experiments on three ultra high resolution segmentation benchmarks, Archaeoscape, URUR, and Gleason, and on the conventional Cityscapes dataset show consistent gains, with up to 15 % relative mIoU improvement. Code and pretrained models are available at https://archaeoscape.ai/work/relay-tokens/ .

View on arXivView PDF

Code Implementations(1)

MIT

Adapting Vision Transformers to Ultra-High Resolution Semantic Segmentation with Relay Tokens

70Python, Jupyter NotebookJan 9, 20269 months agoMIT

Similar Papers

Cite this paper

@article{perron2026adapting,
  title  = {Adapting Vision Transformers to Ultra-High Resolution Semantic Segmentation with Relay Tokens},
  author = {Yohann Perron and Vladyslav Sydorov and Christophe Pottier and Loic Landrieu},
  year   = {2026},
  eprint = {2601.05927},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.05927v1}
}

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

Discussion