SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2104.12099 · ICCV · 2021

Visual Saliency Transformer

Ling Shao, Nian Liu, Junwei Han, Ni Zhang, Kaiyuan Wan

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2104.12099.json · badge: /api/ran/2104.12099.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
fhshen2022/prunerepaint community
Papers with Code archive
3 ran · 3 no recorded run
nnizhang/VST named in the paper
Papers with Code archive
3 ran · 1 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input
nnizhang/VST/RGBD_VST/Models/Transformer.py
pointer only (licence: NONE) · get_code("e518414e453d6bd4")
How it ran

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

MutualAttention Ran
ran on a synthesized input · constructed an object; no result was computed
nnizhang/VST/RGBD_VST/Models/Transformer.py
pointer only (licence: NONE) · get_code("f19483886b6caa8a")
How it ran

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

MutualSelfBlock Ran
ran on a synthesized input
nnizhang/VST/RGBD_VST/Models/Transformer.py
pointer only (licence: NONE) · get_code("ad3ceaa863c245d9")
How it ran

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

T2T_module Ran
ran on a synthesized input · constructed an object; no result was computed
fhshen2022/prunerepaint/RGB_VST/Models/t2t_vit.py
pointer only (licence: NONE) · get_code("8f4eb7ec658f7737")
How it ran

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

Token_performer Ran
ran on a synthesized input · constructed an object; no result was computed
fhshen2022/prunerepaint/RGB_VST/Models/t2t_vit.py
pointer only (licence: NONE) · get_code("43b5c1f0c5692aae")
How it ran

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

Token_transformer Ran
ran on a synthesized input · constructed an object; no result was computed
fhshen2022/prunerepaint/RGB_VST/Models/t2t_vit.py
pointer only (licence: NONE) · get_code("a38451f0ca6db8b5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fhshen2022/prunerepaint 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_sinusoid_encoding Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from YuanGongND/ssast
pointer only · get_code("ced6bc2bfdfe0059")
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 Not yet run
unverified (harvested, no recorded run)
fhshen2022/prunerepaint/RGB_VST/Models/t2t_vit.py
pointer only (licence: NONE) · get_code("f6f001c7931d49f2")
How it ran

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

Block Not yet run
unverified (harvested, no recorded run)
fhshen2022/prunerepaint/RGB_VST/Models/t2t_vit.py
pointer only (licence: NONE) · get_code("7c18bbee6c5d2255")
How it ran

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

T2T_ViT Not yet run
unverified (harvested, no recorded run)
fhshen2022/prunerepaint/RGB_VST/Models/t2t_vit.py
pointer only (licence: NONE) · get_code("e1a7b5ac434bab26")
How it ran

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

TransformerEncoder Not yet run
unverified (harvested, no recorded run)
nnizhang/VST/RGBD_VST/Models/Transformer.py
pointer only (licence: NONE) · get_code("f9290299b380bb93")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nnizhang/VST 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 3 later) and 6 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
Attention
brick of this paper's assembly: model
17 other papers
3 dated earlier, 14 later · 16 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2103.10455 (2021-03)
3D Human Pose Estimation with Spatial and Temporal Transformers
2103.10619 (2021-03)
Scalable Vision Transformers with Hierarchical Pooling
and 14 more not named here
Block
brick of this paper's assembly: model
12 other papers
3 dated earlier, 9 later · 4 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2101.11986 (2021-01)
Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
2103.10455 (2021-03)
3D Human Pose Estimation with Spatial and Temporal Transformers
and 9 more not named here
get_sinusoid_encoding
brick of this paper's assembly: helper
12 other papers
1 dated earlier, 11 later · 1 only as an assembly brick
2101.11986 (2021-01)
Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
2106.03746 (2021-06)
Efficient Training of Visual Transformers with Small Datasets
2106.04650 (2021-06)
TED-net: Convolution-free T2T Vision Transformer-based Encoder-decoder Dilation network for Low-dose CT Denoising
and 9 more not named here
Attention
brick of this paper's assembly: model
1 other paper
1 dated earlier · 1 only as an assembly brick
2101.11986 (2021-01)
Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet
Token_transformer
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2101.11986 (2021-01)
Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNet

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

Existing state-of-the-art saliency detection methods heavily rely on CNN-based architectures. Alternatively, we rethink this task from a convolution-free sequence-tosequence perspective and predict saliency by modeling long-range dependencies, which can not be achieved by convolution. Specifically, we develop a novel unified model based on a pure transformer, namely, Visual Saliency Transformer (VST), for both RGB and RGB-D salient object detection (SOD). It takes image patches as inputs and leverages the transformer to propagate global contexts among image patches. Unlike conventional architectures used in Vision Transformer (ViT), we leverage multi-level token fusion and propose a new token upsampling method under the transformer framework to get high-resolution detection results. We also develop a token-based multi-task decoder to simultaneously perform saliency and boundary detection by introducing task-related tokens and a novel patch-task-attention mechanism. Experimental results show that our model outperforms existing methods on both RGB and RGB-D SOD benchmark datasets. Most importantly, our whole framework not only provides a new perspective for the SOD field but also shows a new paradigm for transformer-based dense prediction models. Code is available at https://github.com/nnizhang/VST.

For agents

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

get_harvested_code_for_paper("2104.12099")
get_code_for_paper("2104.12099")
have("2104.12099")

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

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

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

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

Connect an agent — have() is free.