Papers › Token Turing Machines are Efficient Vision Models

Token Turing Machines are Efficient Vision Models

11 Sep 2024arXiv:2409.07613archive 2025-07-28

Purvish Jajal, Nick John Eliopoulos, Benjamin Shiue-Hal Chou, George K. Thiruvathukal, James C. Davis, Yung-Hsiang Lu

We propose Vision Token Turing Machines (ViTTM), an efficient, low-latency, memory-augmented Vision Transformer (ViT). Our approach builds on Neural Turing Machines and Token Turing Machines, which were applied to NLP and sequential visual understanding tasks. ViTTMs are designed for non-sequential computer vision tasks such as image classification and segmentation. Our model creates two sets of tokens: process tokens and memory tokens; process tokens pass through encoder blocks and read-write from memory tokens at each encoder block in the network, allowing them to store and retrieve information from memory. By ensuring that there are fewer process tokens than memory tokens, we are able to reduce the inference time of the network while maintaining its accuracy. On ImageNet-1K, the state-of-the-art ViT-B has median latency of 529.5ms and 81.0% accuracy, while our ViTTM-B is 56% faster (234.1ms), with 2.4 times fewer FLOPs, with an accuracy of 82.9%. On ADE20K semantic segmentation, ViT-B achieves 45.65mIoU at 13.8 frame-per-second (FPS) whereas our ViTTM-B model acheives a 45.17 mIoU with 26.8 FPS (+94%).

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2409.07613")

Code

Syntology Ran 11 of 14 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 10 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

pjjajal/efficientttms officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 11 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
10ran
3unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from pjjajal/efficientttms. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

apply_flexi_patch_embed pjjajal/efficientttms/models/flexivit/apply.py official repository ran MIT (permissive) · 864d874e1a38fae9 · report
benchmark_compvit_milliseconds pjjajal/efficientttms/benchmark.py official repository ran MIT (permissive) · 88000e625cf8cf24 · report
create_directory pjjajal/efficientttms/train_lt.py official repository ran MIT (permissive) · 024778ed3c596e91 · report
deit3_small_patch16_224 pjjajal/efficientttms/models/deit/deit.py official repository ran MIT (permissive) · c61aa5f384e32ab3 · report
deit_tiny_patch16_224 pjjajal/efficientttms/models/deit/deit.py official repository ran MIT (permissive) · fa4c5a0e665092f9 · report
deit_wrapped_class pjjajal/efficientttms/models/deit/deit.py official repository ran MIT (permissive) · a18e03e2956626a5 · report
device_info pjjajal/efficientttms/benchmark.py official repository ran MIT (permissive) · 0845f7660a1bdac8 · report
interpolate_resize_patch_embed pjjajal/efficientttms/models/flexivit/patch_embed.py official repository ran MIT (permissive) · ebdf26e4a36a2e07 · report
make_normalize_transform pjjajal/efficientttms/datasets/imagenet21k/augment.py official repository ran MIT (permissive) · 12acaf3b4607fdc2 · report
pi_resize_patch_embed pjjajal/efficientttms/models/flexivit/patch_embed.py official repository ran MIT (permissive) · d0460ecffe0b6043 · report
to_2tuple pjjajal/efficientttms/models/flexivit/utils.py official repository ran · honoured contract fingerprinted MIT (permissive) · b1ae1923a93132d9 · report
deit_factory pjjajal/efficientttms/models/deit/factory.py official repository unverified MIT (permissive) · b29923d8aac4281f · report
lookupvit_factory pjjajal/efficientttms/models/lookup/factory.py official repository unverified MIT (permissive) · abc0a4dfdaf48399 · report
resize_abs_pos_embed pjjajal/efficientttms/models/flexivit/utils.py official repository unverified MIT (permissive) · 2db8a00b5d8b2436 · report

Tasks

Image ClassificationSemantic Segmentationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformerVision Transformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections