适应于超高分辨率语义分割的视觉变换器:通过中继标记
Adapting Vision Transformers to Ultra-High Resolution Semantic Segmentation with Relay Tokens
AI总结:
通过引入中继标记,该方法在视觉变换器中实现多尺度推理,提升超高清语义分割的性能,实现局部细节与全局意识的平衡。
摘要:
当前用于分割超高清图像的方法要么滑动窗口从而丢弃全局上下文,要么下采样从而丢失细节。我们提出了一种简单而有效的方法,将显式的多尺度推理引入视觉变换器,同时保持局部细节和全局意识。具体来说,我们并行处理每张图像,在局部尺度(高分辨率、小裁剪)和全局尺度(低分辨率、大裁剪)上进行处理,并通过少量可学习的中继标记在两个分支之间聚合和传播特征。该设计可以直接插入标准变换器主干(例如ViT和Swin),并添加少于2%的参数。在三个超高清分割基准(Archaeoscape、URUR和Gleason)以及传统Cityscapes数据集上的广泛实验显示了一致的提升,最大相对mIoU提升可达15%。代码和预训练模型可在https://archaeoscape.ai/work/relay-tokens/上获得。
英文摘要:
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/ .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。