SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.14615 · 2026

VariViT: A Vision Transformer for Variable Image Sizes

Benedikt Wiestler, Daniel Rueckert, B Li, Aswathi Varma, Daniel Scholz, S Varma, C Shit, D Prabhakar, H Scholz, D Menze, B Rueckert, Varma Shit, and 3 more

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (5 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 5 have no contract verdict; 1 failure of our instrument; 0 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2602.14615.json · badge: /api/ran/2602.14615.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
Aswathi-Varma/varivit community
Papers with Code archive
6 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
divisible_by Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from ZhangXInFD/soundstorm-speechtokenizer
pointer only · get_code("856d86b39c6005b4")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

Attention Ran
ran on a synthesized input · constructed an object; no result was computed
Aswathi-Varma/varivit/model/navit.py
pointer only (licence: NONE) · get_code("97cbaac807c38808")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Aswathi-Varma/varivit 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.

FeedForward Ran
ran; our contract draft was wrong, not the code
Aswathi-Varma/varivit/model/navit.py
pointer only (licence: NONE) · get_code("4a5dbdfface25b7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Aswathi-Varma/varivit 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.

LayerNorm Ran
ran on a synthesized input · constructed an object; no result was computed
Aswathi-Varma/varivit/model/navit.py
pointer only (licence: NONE) · get_code("489f21a2f2ada991")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Aswathi-Varma/varivit 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.

NaViT Ran
ran on a synthesized input · constructed an object; no result was computed
Aswathi-Varma/varivit/model/navit.py
pointer only (licence: NONE) · get_code("47f61518bed99a2b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Aswathi-Varma/varivit 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.

RMSNorm Ran
ran on a synthesized input · constructed an object; no result was computed
Aswathi-Varma/varivit/model/navit.py
pointer only (licence: NONE) · get_code("02d91e9f7f403be0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Aswathi-Varma/varivit 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.

Transformer Ran
ran on a synthesized input · constructed an object; no result was computed
Aswathi-Varma/varivit/model/navit.py
pointer only (licence: NONE) · get_code("c82b26ec3c040202")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Aswathi-Varma/varivit 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.

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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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
divisible_by
brick of this paper's assembly: helper
17 other papers
17 dated earlier · 5 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2203.07852 (2022-03)
Block-Recurrent Transformers
and 14 more not named here
LayerNorm
brick of this paper's assembly: helper
4 other papers
4 dated earlier
2203.07852 (2022-03)
Block-Recurrent Transformers
2204.02311 (2022-04)
PaLM: Scaling Language Modeling with Pathways
2212.11972 (2022-12)
Scalable Adaptive Computation for Iterative Generation
and 1 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

Vision Transformers (ViTs) have emerged as the state-of-the-art architecture in representation learning, leveraging self-attention mechanisms to excel in various tasks. ViTs split images into fixed-size patches, constraining them to a predefined size and necessitating pre-processing steps like resizing, padding, or cropping. This poses challenges in medical imaging, particularly with irregularly shaped structures like tumors. A fixed bounding box crop size produces input images with highly variable foreground-to-background ratios. Resizing medical images can degrade information and introduce artefacts, impacting diagnosis. Hence, tailoring variable-sized crops to regions of interest can enhance feature representation capabilities. Moreover, large images are computationally expensive, and smaller sizes risk information loss, presenting a computation-accuracy tradeoff. We propose VariViT, an improved ViT model crafted to handle variable image sizes while maintaining a consistent patch size. VariViT employs a novel positional embedding resizing scheme for a variable number of patches. We also implement a new batching strategy within VariViT to reduce computational complexity, resulting in faster training and inference times. In our evaluations on two 3D brain MRI datasets, VariViT surpasses vanilla ViTs and ResNet in glioma genotype prediction and brain tumor classification. It achieves F1-scores of 75.5% and 76.3%, respectively, learning more discriminative features. Our proposed batching strategy reduces computation time by up to 30% compared to conventional architectures. These findings underscore the efficacy of VariViT in image representation learning.

For agents

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

get_harvested_code_for_paper("2602.14615")
get_code_for_paper("2602.14615")
have("2602.14615")

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

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

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

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

Connect an agent — have() is free.