SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.07713 · CVPR · 2024

Progressive Semantic-Guided Vision Transformer for Zero-Shot Learning

Salman Khan, Shiming Chen, Shahbaz Fahad, Khan, Wenjin Hou

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 0 no recorded run), measured 2026-11-24; 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/2404.07713.json · badge: /api/ran/2404.07713.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
shiming-chen/zslvit canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
adjust_keep_rate Ran
ran, honoured the contract we drafted
shiming-chen/zslvit/helpers.py
pointer only (licence: NONE); the stored copy get_code serves, from liuting20/sparse-tuning, is pointer only (licence: NONE) · get_code("66733f50aff69220")
How it ran

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

checkpoint_filter_fn Ran
ran; our contract draft was wrong, not the code
shiming-chen/zslvit/zslvit.py
pointer only (licence: NONE) · get_code("6d8a1f8a0697180f")
How it ran

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

compute_accuracy Ran
ran, honoured the contract we drafted
shiming-chen/zslvit/train_function.py
pointer only (licence: NONE) · get_code("63f355a22c4bfb43")
How it ran

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

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
shiming-chen/zslvit/zslvit.py
pointer only (licence: NONE) · get_code("39eace7e2822504f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shiming-chen/zslvit 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_reprs Ran
ran, honoured the contract we drafted
shiming-chen/zslvit/train_function.py
pointer only (licence: NONE) · get_code("bf6cb2bcb5371413")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shiming-chen/zslvit 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)
shiming-chen/zslvit/zslvit.py
pointer only (licence: NONE) · get_code("191b2735955d18f4")
How it ran

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

speed_test Ran
ran; our contract draft was wrong, not the code
shiming-chen/zslvit/helpers.py
pointer only (licence: NONE); the stored copy get_code serves, from liuting20/sparse-tuning, is pointer only (licence: NONE) · get_code("e294b62d47bcc26f")
How it ran

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

train Ran
ran; our contract draft was wrong, not the code
shiming-chen/zslvit/train_function.py
pointer only (licence: NONE) · get_code("39d973f1e925c9a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, shiming-chen/zslvit 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 5 later) and 3 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
drop_path 224 other papers
157 dated earlier, 3 the same month, 56 later, 7 same year, order not determinable, 1 undated · 38 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2007.09384 (2020-07)
Multi-Scale Positive Sample Refinement for Few-Shot Object Detection
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
and 221 more not named here
checkpoint_filter_fn 37 other papers
23 dated earlier, 2 the same month, 10 later, 2 same year, order not determinable · 1 only as an assembly brick
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2112.07658 (2021-12)
AdaViT: Adaptive Tokens for Efficient Vision Transformer
and 34 more not named here
resize_pos_embed 20 other papers
13 dated earlier, 2 the same month, 5 later · 1 only as an assembly brick
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2202.07800 (2022-02)
Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations
and 17 more not named here
adjust_keep_rate 3 other papers
2 dated earlier, 1 later
2202.07800 (2022-02)
Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations
2210.05958 (2022-10)
Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasets
2405.14700 (2024-05)
Sparse-Tuning: Adapting Vision Transformers with Efficient Fine-tuning and Inference
speed_test 3 other papers
2 dated earlier, 1 later
2202.07800 (2022-02)
Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations
2210.05958 (2022-10)
Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasets
2405.14700 (2024-05)
Sparse-Tuning: Adapting Vision Transformers with Efficient Fine-tuning and Inference

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

Repositories linked to this paper

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

Abstract

Zero-shot learning (ZSL) recognizes the unseen classes by conducting visual-semantic interactions to transfer semantic knowledge from seen classes to unseen ones, supported by semantic information (e.g., attributes). However, existing ZSL methods simply extract visual features using a pre-trained network backbone (i.e., CNN or ViT), which fail to learn matched visual-semantic correspondences for representing semantic-related visual features as lacking of the guidance of semantic information, resulting in undesirable visual-semantic interactions. To tackle this issue, we propose a progressive semantic-guided vision transformer for zero-shot learning (dubbed ZSLViT). ZSLViT mainly considers two properties in the whole network: i) discover the semantic-related visual representations explicitly, and ii) discard the semantic-unrelated visual information. Specifically, we first introduce semantic-embedded token learning to improve the visual-semantic correspondences via semantic enhancement and discover the semantic-related visual tokens explicitly with semantic-guided token attention. Then, we fuse low semantic-visual correspondence visual tokens to discard the semantic-unrelated visual information for visual enhancement. These two operations are integrated into various encoders to progressively learn semantic-related visual representations for accurate visualsemantic interactions in ZSL. The extensive experiments show that our ZSLViT achieves significant performance gains on three popular benchmark datasets, i.e., CUB, SUN, and AWA2.

For agents

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

get_harvested_code_for_paper("2404.07713")
get_code_for_paper("2404.07713")
have("2404.07713")

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

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

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

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

Connect an agent — have() is free.