Skip to main content
QUICK REVIEW

[Paper Review] Adapting Vision Transformers to Ultra-High Resolution Semantic Segmentation with Relay Tokens

Yohann Perron, Vladyslav Sydorov|arXiv (Cornell University)|Jan 9, 2026
Advanced Neural Network ApplicationsComputer Science0 citations
TL;DR

The paper introduces relay tokens to enable explicit multi-scale reasoning in ViT-based backbones for ultra-high-resolution semantic segmentation, achieving gains of up to 15% relative mIoU with minimal parameter overhead.

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/ .

Motivation & Objective

  • Address the challenge of segmenting ultra-high-resolution images by maintaining both local detail and global context.
  • Propose a lightweight, plug‑and‑play mechanism that adds minimal parameters to ViT backbones.
  • Enable explicit cross-scale communication between high-resolution local and low-resolution global branches.
  • Demonstrate improvements across diverse UHR benchmarks while preserving pretrained weights.

Proposed method

  • Process each image with a local high-resolution window and a global low-resolution window in parallel.
  • Introduce R relay tokens shared across scales that are updated in each transformer block to enable cross-resolution information exchange.
  • Attach a simple segmentation head to both local and global branches and supervise with scale-specific losses.
  • Use a local loss on the high-resolution predictions and a global loss on cropped/pooled global predictions, plus a cross-resolution consistency loss.
  • Retain backbone weights by sharing transformer blocks and only adding small projection differences for local/global paths.
(a) Archaeoscape
(a) Archaeoscape

Experimental results

Research questions

  • RQ1Can relay tokens enable effective cross-resolution communication without redesigning backbone architectures?
  • RQ2Do dual-scale (local + global) processing with relay tokens improve segmentation performance on ultra-high-resolution datasets?
  • RQ3How does the relay-token approach compare in memory efficiency to full high-resolution processing and sliding-window baselines?
  • RQ4Is the method robust across diverse domains (aerial, satellite, histology, urban scenes) and standard benchmarks?

Key findings

  • Relay tokens consistently improve mean IoU across evaluated backbones and datasets.
  • On SwinV2, using relay tokens with dual-scale inference yields up to 5.9 points improvement on Archaeoscape, 5.4 on URUR, 7.4 on Gleason, and 6.9 on Cityscapes (relative gains shown in table).
  • Across backbones, Relay Tokens provide accuracy gains with reduced peak memory compared to full high-resolution processing.
  • Specific improvements observed include: SwinV2 with relays (MS): 57.8, 46.4, 55.5, 75.1; Flatten Swin with relays (MS): 55.2, 45.8, 57.7, 77.5; GLAM with relays (MS): 53.8, 44.5, 54.1, 76.9.
  • The approach adds less than 2% parameters and incurs negligible runtime overhead.
  • Results on Cityscapes also demonstrate gains in a conventional vision benchmark.
(b) URUR
(b) URUR

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.