SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.05615 · 2024

Memory-Space Visual Prompting for Efficient Vision-Language Fine-Tuning

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 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, 1 violated it and 0 have no contract verdict; 10 failures of our instrument; 2 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/2405.05615.json · badge: /api/ran/2405.05615.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
jieshibo/memvp canonical (classifier label)
classifier basis: census
14 ran · 2 no recorded run
FunctionStatusWhere it lives
adjust_learning_rate Ran
ran, honoured the contract we drafted
jieshibo/memvp/util/lr_sched.py
pointer only (licence: NONE); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("bd3578806ecf5ac2")
How it ran

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

all_reduce_mean Ran
ran, honoured the contract we drafted
jieshibo/memvp/util/misc.py
pointer only (licence: NONE) · get_code("3dc19396537db789")
How it ran

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

apply_rotary_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jieshibo/memvp/memvp/model.py
pointer only (licence: NONE); the stored copy get_code serves, from meituan-automl/visionllama, is pointer only (licence: NONE) · get_code("b47d48e431b34acd")
How it ran

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

basic_clean Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/clip/simple_tokenizer.py
pointer only (licence: NONE); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("98f385d847636a3e")
How it ran

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

forward_clip Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/memvp/adapter.py
pointer only (licence: NONE) · get_code("a753e5742dbbb24b")
How it ran

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

forward_llama Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/memvp/adapter.py
pointer only (licence: NONE) · get_code("92ae708bcae9023e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jieshibo/memvp 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_choice_text Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/util/base_prompt.py
pointer only (licence: NONE); the stored copy get_code serves, from thudm/moelora_riemannian, is pointer only (licence: NONE) · get_code("7a8dffc83d89cedd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jieshibo/memvp 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_context_text Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/util/base_prompt.py
pointer only (licence: NONE); the stored copy get_code serves, from thudm/moelora_riemannian, is pointer only (licence: NONE) · get_code("85f084f6054a421e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jieshibo/memvp 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_grad_norm_ Ran
ran, honoured the contract we drafted
jieshibo/memvp/util/misc.py
pointer only (licence: NONE); the stored copy get_code serves, from sekeunkim/echofm, is pointer only (licence: NONE) · get_code("ba1356e8ceb654d2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jieshibo/memvp 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_pairs Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/clip/simple_tokenizer.py
pointer only (licence: NONE) · get_code("d919ae32e5e4e616")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jieshibo/memvp 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_question_text Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/util/base_prompt.py
pointer only (licence: NONE) · get_code("c86a79e229253816")
How it ran

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

precompute_freqs_cis Ran
ran, violated the contract we drafted
jieshibo/memvp/memvp/model.py
pointer only (licence: NONE); the stored copy get_code serves, from meituan-automl/visionllama, is pointer only (licence: NONE) · get_code("14a84c2cbfebc413")
How it ran

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

reshape_for_broadcast Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jieshibo/memvp/memvp/model.py
pointer only (licence: NONE); the stored copy get_code serves, from alpha-vllm/llama2-accessory, is pointer only (licence: NOASSERTION) · get_code("70bf6ebaafd266c4")
How it ran

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

whitespace_clean Ran
ran; our contract draft was wrong, not the code
jieshibo/memvp/clip/simple_tokenizer.py
pointer only (licence: NONE); the stored copy get_code serves, from ltpwy/MSCI, is pointer only (licence: NONE) · get_code("9542161e9640b858")
How it ran

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

build_model Not yet run
unverified (harvested, no recorded run)
jieshibo/memvp/clip/model.py
pointer only (licence: NONE) · get_code("e8286348138c7ef6")
How it ran

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

load Not yet run
unverified (harvested, no recorded run)
jieshibo/memvp/clip/clip.py
pointer only (licence: NONE); the stored copy get_code serves, from mrflogs/ICLR24, is pointer only (licence: NONE) · get_code("f6f30e41636ae569")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jieshibo/memvp 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 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 13 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 8 the same month, 12 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
get_pairs 258 other papers
143 dated earlier, 8 the same month, 99 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1802.06474 (2018-02)
A Closed-form Solution to Photorealistic Image Stylization
1803.01128 (2018-03)
Seq2Sick: Evaluating the Robustness of Sequence-to-Sequence Models with Adversarial Examples
1809.00125 (2018-09)
Simple Fusion: Return of the Language Model
and 255 more not named here
whitespace_clean 231 other papers
124 dated earlier, 8 the same month, 91 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 228 more not named here
basic_clean 218 other papers
124 dated earlier, 8 the same month, 78 later, 7 same year, order not determinable, 1 undated · 4 only as an assembly brick
1901.07441 (2019-01)
PadChest: A large chest x-ray image dataset with multi-label annotated reports
2107.06383 (2021-07)
How Much Can CLIP Benefit Vision-and-Language Tasks?
2108.10904 (2021-08)
SimVLM: Simple Visual Language Model Pretraining with Weak Supervision
and 215 more not named here
reshape_for_broadcast 58 other papers
29 dated earlier, 3 the same month, 26 later · 2 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 55 more not named here
apply_rotary_emb 55 other papers
25 dated earlier, 3 the same month, 27 later · 1 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 52 more not named here
precompute_freqs_cis 47 other papers
25 dated earlier, 3 the same month, 19 later · 1 only as an assembly brick
2023.emnlp-main.534 (2023 (year only))
Disentangling Transformer Language Models as Superposed Topic Models
2303.09736 (2023-03)
Dynamic Structure Pruning for Compressing CNNs
2307.09288 (2023-07)
Llama 2: Open Foundation and Fine-Tuned Chat Models
and 44 more not named here
all_reduce_mean 25 other papers
13 dated earlier, 12 later
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2204.09435 (2022-04)
Hephaestus: A large scale multitask dataset towards InSAR understanding
2211.12941 (2022-11)
EurNet: Efficient Multi-Range Relational Modeling of Spatial Multi-Relational Data
and 22 more not named here
adjust_learning_rate 23 other papers
17 dated earlier, 5 later, 1 same year, order not determinable
2105.12723 (2021-05)
Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
2204.09435 (2022-04)
Hephaestus: A large scale multitask dataset towards InSAR understanding
2206.07699 (2022-06)
Write and Paint: Generative Vision-Language Models are Unified Modal Learners
and 20 more not named here
load 23 other papers
13 dated earlier, 1 the same month, 7 later, 1 same year, order not determinable, 1 undated
2208.05318 (2022-08)
Generative Action Description Prompts for Skeleton-based Action Recognition
2210.01115 (2022-10)
LASP: Text-to-Text Optimization for Language-Aware Soft Prompting of Vision & Language Models
2212.04501 (2022-12)
Learning Video Representations from Large Language Models
and 20 more not named here
get_grad_norm_ 21 other papers
8 dated earlier, 1 the same month, 12 later
2308.00566 (2023-08)
Stochastic positional embeddings improve masked image modeling
2310.12979 (2023-10)
Predicting a Protein's Stability under a Million Mutations
2311.13627 (2023-11)
Vamos: Versatile Action Models for Video Understanding
and 18 more not named here
get_choice_text 6 other papers
4 dated earlier, 2 later
2209.09513 (2022-09)
Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering
2302.00923 (2023-02)
Multimodal Chain-of-Thought Reasoning in Language Models
2307.12626 (2023-07)
Enhancing Human-like Multi-Modal Reasoning: A New Challenging Dataset and Comprehensive Framework
and 3 more not named here
get_context_text 6 other papers
4 dated earlier, 2 later
2209.09513 (2022-09)
Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering
2302.00923 (2023-02)
Multimodal Chain-of-Thought Reasoning in Language Models
2307.12626 (2023-07)
Enhancing Human-like Multi-Modal Reasoning: A New Challenging Dataset and Comprehensive Framework
and 3 more not named here
get_question_text 3 other papers
3 dated earlier
2209.09513 (2022-09)
Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering
2302.00923 (2023-02)
Multimodal Chain-of-Thought Reasoning in Language Models
2307.12626 (2023-07)
Enhancing Human-like Multi-Modal Reasoning: A New Challenging Dataset and Comprehensive Framework

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

Current solutions for efficiently constructing large vision-language (VL) models follow a two-step paradigm: projecting the output of pre-trained vision encoders to the input space of pre-trained language models as visual prompts; and then transferring the models to downstream VL tasks via end-to-end parameter-efficient fine-tuning (PEFT). However, this paradigm still exhibits inefficiency since it significantly increases the input length of the language models. In this paper, in contrast to integrating visual prompts into inputs, we regard visual prompts as additional knowledge that facilitates language models in addressing tasks associated with visual information. Motivated by the finding that Feed-Forward Network (FFN) of language models acts as "key-value memory", we introduce a novel approach termed memory-space visual prompting (MemVP), wherein visual prompts are concatenated with the weights of FFN for visual knowledge injection. Experimental results across various VL tasks and language models reveal that MemVP significantly reduces the training time and inference latency of the finetuned VL models and surpasses the performance of previous PEFT methods. Code: https://github.com/JieShibo/MemVP

For agents

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

get_harvested_code_for_paper("2405.05615")
get_code_for_paper("2405.05615")
have("2405.05615")

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

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

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

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

Connect an agent — have() is free.