SPAR: Single-Pass Any-Resolution ViT for Open-vocabulary Segmentation

Naomi Kombol, Ivan Martinović, Siniša Šegvić, Giorgos Tolias
4/2/2026
1 citation
cs.CV
transformer-attention

Official code: naomikombol/SPAR (37 stars, Python, last commit 2026-08-13).

Abstract

Foundational Vision Transformers (ViTs) have limited effectiveness in tasks requiring fine-grained spatial understanding, due to their fixed pre-training resolution and inherently coarse patch-level representations. These challenges are especially pronounced in dense prediction scenarios, such as open-vocabulary segmentation with ViT-based vision-language models, where high-resolution inputs are essential for accurate pixel-level reasoning.

Show full abstract

Existing approaches typically process large-resolution images using a sliding-window strategy at the pre-training resolution. While this improves accuracy through finer strides, it comes at a significant computational cost. We introduce SPAR: Single-Pass Any-Resolution ViT, a resolution-agnostic dense feature extractor designed for efficient high-resolution inference. We distill the spatial reasoning capabilities of a finely-strided, sliding-window teacher into a single-pass student using a feature regression loss, without requiring architectural changes or pixel-level supervision. Applied to open-vocabulary segmentation, SPAR improves single-pass baselines by up to 10.5 mIoU and even surpasses the teacher, demonstrating effectiveness in efficient, high-resolution reasoning. Code: https://github.com/naomikombol/SPAR

View on arXivView PDF

Code Implementations(1)

naomikombol/SPAROfficial100%

SPAR: Single-Pass Any-Resolution ViT for Open-vocabulary Segmentation

371Python, ShellMar 24, 20263 months ago

Similar Papers

Cite this paper

@article{kombol2026spar,
  title  = {SPAR: Single-Pass Any-Resolution ViT for Open-vocabulary Segmentation},
  author = {Naomi Kombol and Ivan Martinović and Siniša Šegvić and Giorgos Tolias},
  year   = {2026},
  eprint = {2604.02252},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.02252v1},
  journal = {CVPR 2026 2026}
}

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

Discussion