Progressive Token Length Scaling in Transformer Encoders for Efficient Universal Segmentation

Abhishek Aich, Yumin Suh, S. Schulter, M. Chandraker
2/12/2026

No official code found. Best implementation: abhishekaich27/proscale-pytorch (7 stars, last commit 2025-10-02).

Abstract

A powerful architecture for universal segmentation relies on transformers that encode multi-scale image features and decode object queries into mask predictions. With efficiency being a high priority for scaling such models, we observed that the state-of-the-art method Mask2Former uses 50% of its compute only on the transformer encoder. This is due to the retention of a full-length token-level representation of all backbone feature scales at each encoder layer. With this observation, we propose a strategy termed PROgressive Token Length SCALing for Efficient transformer encoders (PRO-SCALE) that can be plugged-in to the Mask2Former segmentation architecture to significantly reduce the computational cost. The underlying principle of PRO-SCALE is: progressively scale the length of the tokens with the layers of the encoder. This allows PRO-SCALE to reduce computations by a large margin with minimal sacrifice in performance (~52% encoder and ~27% overall GFLOPs reduction with no drop in performance on COCO dataset). Experiments conducted on public benchmarks demonstrates PRO-SCALE's flexibility in architectural configurations, and exhibits potential for extension beyond the settings of segmentation tasks to encompass object detection. Code here: https://github.com/abhishekaich27/proscale-pytorch

View on arXivView PDF

Code Implementations(1)

[ICLR 2025] Code for Progressive Token Length Scaling in Transformer Encoders for Efficient Universal Segmentation

70C++, CudaApr 5, 20241 years agoNOASSERTION

Similar Papers

Cite this paper

@article{aich2026progressive,
  title  = {Progressive Token Length Scaling in Transformer Encoders for Efficient Universal Segmentation},
  author = {Abhishek Aich and Yumin Suh and S. Schulter and M. Chandraker},
  year   = {2026},
  eprint = {2404.14657},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2404.14657},
  journal = {ICLR 2024 2024}
}

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

Discussion