SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.14657 · ICLR · 2025

Progressive Token Length Scaling in Transformer Encoders for Efficient Universal Segmentation

Abhishek Aich, Samuel Schulter, Manmohan Chandraker, Yumin Suh

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 6 failures of our instrument; 1 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2404.14657.json · badge: /api/ran/2404.14657.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
abhishekaich27/proscale-pytorch canonical (classifier label)
classifier basis not recorded on the link
6 ran · 1 no recorded run
FunctionStatusWhere it lives
batch_dice_loss Ran
ran; our contract draft was wrong, not the code
abhishekaich27/proscale-pytorch/mask2former/modeling/matcher.py
pointer only (licence: NONE) · get_code("bc2cb481a75c370d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, abhishekaich27/proscale-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_uncertainty Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
abhishekaich27/proscale-pytorch/mask2former/modeling/criterion.py
pointer only (licence: NONE) · get_code("2dcb8123d89bb1ff")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, abhishekaich27/proscale-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dice_loss Ran
ran; our contract draft was wrong, not the code
abhishekaich27/proscale-pytorch/mask2former/modeling/criterion.py
pointer only (licence: NONE) · get_code("89f75e54ff128be0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, abhishekaich27/proscale-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sigmoid_ce_loss Ran
ran; our contract draft was wrong, not the code
abhishekaich27/proscale-pytorch/mask2former/modeling/criterion.py
pointer only (licence: NONE) · get_code("d0c61e8dba511aa3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, abhishekaich27/proscale-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
abhishekaich27/proscale-pytorch/mask2former/modeling/backbone/swin.py
pointer only (licence: NONE) · get_code("f9fd6241d935f07b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, abhishekaich27/proscale-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_reverse Ran
ran; our contract draft was wrong, not the code
abhishekaich27/proscale-pytorch/mask2former/modeling/backbone/swin.py
pointer only (licence: NONE) · get_code("fb32094c6dbece71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, abhishekaich27/proscale-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

batch_sigmoid_ce_loss Not yet run
unverified (harvested, no recorded run)
abhishekaich27/proscale-pytorch/mask2former/modeling/matcher.py
pointer only (licence: NONE) · get_code("1edd24985036b0bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, abhishekaich27/proscale-pytorch when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 7 the same month, 7 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
window_reverse 227 other papers
164 dated earlier, 8 the same month, 46 later, 9 same year, order not determinable · 34 only as an assembly brick
1608.03983 (2016-08)
SGDR: Stochastic Gradient Descent with Warm Restarts
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 224 more not named here
window_partition 223 other papers
160 dated earlier, 8 the same month, 46 later, 9 same year, order not determinable · 32 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 220 more not named here
dice_loss 46 other papers
34 dated earlier, 1 the same month, 10 later, 1 same year, order not determinable
2112.01527 (2021-12)
Masked-attention Mask Transformer for Universal Image Segmentation
2112.10764 (2021-12)
Mask2Former for Video Instance Segmentation
2203.03605 (2022-03)
DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
and 43 more not named here
sigmoid_ce_loss 45 other papers
34 dated earlier, 1 the same month, 9 later, 1 same year, order not determinable
2112.01527 (2021-12)
Masked-attention Mask Transformer for Universal Image Segmentation
2112.10764 (2021-12)
Mask2Former for Video Instance Segmentation
2203.03605 (2022-03)
DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
and 42 more not named here
batch_dice_loss 44 other papers
30 dated earlier, 1 the same month, 12 later, 1 same year, order not determinable
2112.01527 (2021-12)
Masked-attention Mask Transformer for Universal Image Segmentation
2112.10764 (2021-12)
Mask2Former for Video Instance Segmentation
2203.03605 (2022-03)
DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
and 41 more not named here
batch_sigmoid_ce_loss 44 other papers
31 dated earlier, 1 the same month, 11 later, 1 same year, order not determinable
2112.01527 (2021-12)
Masked-attention Mask Transformer for Universal Image Segmentation
2112.10764 (2021-12)
Mask2Former for Video Instance Segmentation
2203.03605 (2022-03)
DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
and 41 more not named here
calculate_uncertainty 34 other papers
25 dated earlier, 1 the same month, 6 later, 2 same year, order not determinable
2112.01527 (2021-12)
Masked-attention Mask Transformer for Universal Image Segmentation
2112.10764 (2021-12)
Mask2Former for Video Instance Segmentation
2203.04187 (2022-03)
RankSeg: Adaptive Pixel Classification with Image Category Ranking for Segmentation
and 31 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 available here: https://github.com/abhishekaich27/proscale-pytorch

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.14657")
get_code_for_paper("2404.14657")
have("2404.14657")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2404.14657.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2404.14657.svg)](https://syntology.ai/paper/2404.14657)

Connect an agent — have() is free.