SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.01327 · NeurIPS · 2024

Visual Fourier Prompt Tuning

Ying Wu, Dongfang Liu, Qifan Wang, Tong Geng, Cheng Han, Lifu Huang, Runjia Zeng, Chunshu Wu

arXiv · PDF · Open in the Atlas

Code that ran

17 of 17 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; 5 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 10 failures 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-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/2411.01327.json · badge: /api/ran/2411.01327.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
runtsang/VFPT canonical (classifier label)
classifier basis: census
14 ran · 0 no recorded run
runtsang/vfpt canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
gray2rgb Ran
ran, violated the contract we drafted
runtsang/vfpt/src/models/vit_prompt/vit_fourier.py
pointer only (licence: NOASSERTION) · get_code("94402f271c35bec0")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/vfpt (NOASSERTION). 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.

calc_spectrum Ran
ran, honoured the contract we drafted
runtsang/vfpt/src/models/vit_prompt/vit_fourier.py
pointer only (licence: NOASSERTION) · get_code("b03459906b2b6a03")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/vfpt (NOASSERTION). 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.

find_best_lrwd Ran
ran, honoured the contract we drafted
runtsang/VFPT/tune_fgvc_final.py
pointer only (licence: NOASSERTION) · get_code("3e009472c0d2fa50")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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_job_indices Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_scheduler.py
pointer only (licence: NOASSERTION) · get_code("b71d9b398f930b09")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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_random_states Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_net_plotter.py
pointer only (licence: NOASSERTION) · get_code("7ead1a7c9a99873f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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_random_weights Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_net_plotter.py
pointer only (licence: NOASSERTION) · get_code("3e80953c5e1e0841")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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_unplotted_indices Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_scheduler.py
pointer only (licence: NOASSERTION) · get_code("cd4ae422bd97483a")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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_weights Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_net_plotter.py
pointer only (licence: NOASSERTION) · get_code("5fa87577ccee9cca")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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_master Ran
ran, violated the contract we drafted
runtsang/VFPT/ls_mpi4pytorch.py
pointer only (licence: NOASSERTION) · get_code("e33e2e1faf24f6b7")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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.

name_surface_file Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_plot_surface.py
pointer only (licence: NOASSERTION) · get_code("e29de9d44f616daa")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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.

nplist_to_tensor Ran
ran, honoured the contract we drafted
runtsang/VFPT/ls_projection.py
pointer only (licence: NOASSERTION) · get_code("c2cdd6e1a4874b83")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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.

npvec_to_tensorlist Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_projection.py
pointer only (licence: NOASSERTION) · get_code("6f49307171759669")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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.

plot_spectrum Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
runtsang/vfpt/src/models/vit_prompt/vit_fourier.py
pointer only (licence: NOASSERTION) · get_code("3fb8103712439145")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/vfpt (NOASSERTION). 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.

read_list Ran
ran, honoured the contract we drafted
runtsang/VFPT/ls_h5_util.py
pointer only (licence: NOASSERTION) · get_code("0d11ac9cea6805a3")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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.

setup_surface_file Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_plot_surface.py
pointer only (licence: NOASSERTION) · get_code("3191424d76122507")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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.

split_inds Ran
ran; our contract draft was wrong, not the code
runtsang/VFPT/ls_scheduler.py
pointer only (licence: NOASSERTION) · get_code("5e0c7487c2e7cb09")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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.

tensorlist_to_tensor Ran
ran, honoured the contract we drafted
runtsang/VFPT/ls_projection.py
pointer only (licence: NOASSERTION) · get_code("28fefee105aa3460")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, runtsang/VFPT (NOASSERTION). 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 later) and 11 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
find_best_lrwd 5 other papers
4 dated earlier, 1 same year, order not determinable
2212.03220 (2022-12)
Visual Query Tuning: Towards Effective Usage of Intermediate Representations for Parameter and Memory Efficient Transfer Learning
2307.13770 (2023-07)
(d) Ours (c) Prompt tuning
2312.10376 (2023-12)
STA-VPT: SpatioTemporally Aligned Visual Prompt Tuning
and 2 more not named here
get_weights 2 other papers
2 dated earlier
2009.10588 (2020-09)
Anomalous diffusion dynamics of learning in deep neural networks
2407.07805 (2024-07)
SUMix: Mixup with Semantic and Uncertain Information
gray2rgb 2 other papers
1 dated earlier, 1 same year, order not determinable
aaai_28383 (2024 (year only))
SQLdepth: Generalizable Self-Supervised Fine-Structured Monocular Depth Estimation
2404.12501 (2024-04)
SPIdepth: Strengthened Pose Information for Self-supervised Monocular Depth Estimation
read_list 2 other papers
2 dated earlier
2009.10588 (2020-09)
Anomalous diffusion dynamics of learning in deep neural networks
2407.07805 (2024-07)
SUMix: Mixup with Semantic and Uncertain Information
get_random_states 1 other paper
1 dated earlier
2009.10588 (2020-09)
Anomalous diffusion dynamics of learning in deep neural networks
get_random_weights 1 other paper
1 dated earlier
2009.10588 (2020-09)
Anomalous diffusion dynamics of learning in deep neural networks

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

With the scale of Transformer-based vision models continuing to grow, finetuning these large-scale pretrained models for new tasks has become increasingly parameter-intensive. Visual prompt tuning is introduced as a parameter-efficient finetuning (PEFT) method to this trend. Despite its successes, a notable research challenge persists within almost all PEFT approaches: significant performance degradation is observed when there is a substantial disparity between the datasets used in pretraining and finetuning phases. To address this challenge, we draw inspiration from human visual cognition, and propose the Visual Fourier Prompt Tuning (VFPT) method as an effective and efficient solution for adapting largescale Transformer-based models. Our approach innovatively incorporates the Fast Fourier Transform into prompt embeddings, seamlessly integrating both spatial and frequency domain information. Apart from its inherent simplicity and intuitiveness, VFPT exhibits superior performance across various tasks, offering a general solution to address the data disparity challenge. Empirical results demonstrate that our approach outperforms several state-of-the-art baselines on two benchmarks, with low parameter usage (e.g., 0.57% of model parameters on VTAB-1k) and notable performance enhancements (e.g., 73.20% of mean accuracy on VTAB-1k). Our code is avaliable at https://github.com/runtsang/VFPT.

For agents

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

get_harvested_code_for_paper("2411.01327")
get_code_for_paper("2411.01327")
have("2411.01327")

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

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

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

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

Connect an agent — have() is free.