SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.18051 · 2024

ViT-1.58b: Mobile Vision Transformers in the 1-bit Era

arXiv · PDF · Open in the Atlas

Code that ran

9 of 9 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, 3 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2406.18051.json · badge: /api/ran/2406.18051.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
dlyuangod/vit-1.58b canonical (classifier label)
classifier basis: census
9 ran · 0 no recorded run
FunctionStatusWhere it lives
activation_quant Ran
ran; our contract draft was wrong, not the code
dlyuangod/vit-1.58b/bitlinear.py
pointer only (licence: NONE) · get_code("9e106282d2e11561")
How it ran

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

eval_decorator Ran
ran; our contract draft was wrong, not the code
dlyuangod/vit-1.58b/BitNet/bitnet/at.py
pointer only (licence: NONE) · get_code("c16aee9490eb8729")
How it ran

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

exists Ran
ran, violated the contract we drafted
dlyuangod/vit-1.58b/BitNet/bitnet/at.py
pointer only (licence: NONE); the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

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

get_init_weights_vit Ran
ran; our contract draft was wrong, not the code
dlyuangod/vit-1.58b/v.py
pointer only (licence: NONE) · get_code("1a1ee1200dc36a2f")
How it ran

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

has_file_allowed_extension Ran
ran, violated the contract we drafted
dlyuangod/vit-1.58b/dataset_floder.py
pointer only (licence: NONE) · get_code("18ae3e6ef2cf02ec")
How it ran

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

is_image_file Ran
ran, violated the contract we drafted
dlyuangod/vit-1.58b/dataset_floder.py
pointer only (licence: NONE) · get_code("8ac50ae8773b9431")
How it ran

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

make_dataset Ran
ran; our contract draft was wrong, not the code
dlyuangod/vit-1.58b/dataset_floder.py
pointer only (licence: NONE) · get_code("ad6afdce7eb73101")
How it ran

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

resize_pos_embed Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
dlyuangod/vit-1.58b/v.py
pointer only (licence: NONE) · get_code("900ed88360f3d92f")
How it ran

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

top_k Ran
ran; our contract draft was wrong, not the code
dlyuangod/vit-1.58b/BitNet/bitnet/at.py
pointer only (licence: NONE) · get_code("3b65d5d77510c964")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, dlyuangod/vit-1.58b 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 7 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 4 the same month, 4 later) and 2 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
exists 486 other papers
348 dated earlier, 13 the same month, 114 later, 9 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
is_image_file 12 other papers
8 dated earlier, 3 later, 1 same year, order not determinable
2203.14415 (2022-03)
Mugs: A Multi-Granular Self-Supervised Learning Framework
2204.08381 (2022-04)
Multiple-environment Self-adaptive Network for Aerial-view Geo-localization
2205.03892 (2022-05)
ConvMAE: Masked Convolution Meets Masked Autoencoders
and 9 more not named here
eval_decorator 11 other papers
10 dated earlier, 1 the same month
1907.05242 (2019-07)
Large Memory Layers with Product Keys
2107.11906 (2021-07)
H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequences
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
and 8 more not named here
has_file_allowed_extension 10 other papers
7 dated earlier, 2 later, 1 same year, order not determinable
2203.14415 (2022-03)
Mugs: A Multi-Granular Self-Supervised Learning Framework
2204.08381 (2022-04)
Multiple-environment Self-adaptive Network for Aerial-view Geo-localization
2205.03892 (2022-05)
ConvMAE: Masked Convolution Meets Masked Autoencoders
and 7 more not named here
top_k 6 other papers
5 dated earlier, 1 the same month
1812.01243 (2018-12)
Efficient Attention: Attention with Linear Complexities
2006.15020 (2020-06)
Pre-training via Paraphrasing
2107.11906 (2021-07)
H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequences
and 3 more not named here
get_init_weights_vit 2 other papers
1 the same month, 1 later
2406.05658 (2024-06)
Visual Prompt Tuning in Null Space for Continual Learning
2505.22389 (2025-05)
Train with Perturbation, Infer after Merging: A Two-Stage Framework for Continual Learning
resize_pos_embed 1 other paper
1 dated earlier
2212.03220 (2022-12)
Visual Query Tuning: Towards Effective Usage of Intermediate Representations for Parameter and Memory Efficient Transfer Learning

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-23.

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 achieved remarkable performance in various image classification tasks by leveraging the attention mechanism to process image patches as tokens. However, the high computational and memory demands of ViTs pose significant challenges for deployment in resource-constrained environments. This paper introduces ViT-1.58b, a novel 1.58-bit quantized ViT model designed to drastically reduce memory and computational overhead while preserving competitive performance. ViT-1.58b employs ternary quantization, which refines the balance between efficiency and accuracy by constraining weights to {-1, 0, 1} and quantizing activations to 8-bit precision. Our approach ensures efficient scaling in terms of both memory and computation. Experiments on CIFAR-10 and ImageNet-1k demonstrate that ViT-1.58b maintains comparable accuracy to full-precision Vit, with significant reductions in memory usage and computational costs. This paper highlights the potential of extreme quantization techniques in developing sustainable AI solutions and contributes to the broader discourse on efficient model deployment in practical applications. Our code and weights are available at https://github.com/DLYuanGod/ViT-1.58b.

For agents

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

get_harvested_code_for_paper("2406.18051")
get_code_for_paper("2406.18051")
have("2406.18051")

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

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

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

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

Connect an agent — have() is free.