SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2025.emnlp-main.609 · EMNLP · 2025

ModalPrompt: Towards Efficient Multimodal Continual Instruction Tuning with Dual-Modality Guided Prompt

Fanhu Zeng, Fei Zhu, Xu-Yao Zhang, Cheng-Lin Liu, Haiyang Guo

Open in the Atlas

Code that ran

4 of 10 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; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 3 failures of our instrument; 6 no recorded run), measured 2026-11-24; 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/2025.emnlp-main.609.json · badge: /api/ran/2025.emnlp-main.609.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
zackschen/CoIN canonical (classifier label)
classifier basis not recorded on the link
3 ran · 0 no recorded run
AuroraZengfh/ModalPrompt community
Papers with Code archive
1 ran · 6 no recorded run
FunctionStatusWhere it lives
build_text_tower Ran
ran; our contract draft was wrong, not the code
AuroraZengfh/ModalPrompt/llava/model/language_model/ModalPrompt.py
pointer only (licence: NONE) · get_code("39beae2d06e7615d")
How it ran

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

llama_apply_rotary_pos_emb Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zackschen/CoIN/CoIN/peft/tuners/adaption_prompt.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Eric8932/SAPO, is pointer only (licence: NONE) · get_code("1b3b0b10b6eb22b0")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Eric8932/SAPO, and GitHub detected no licence in that repository 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.

llama_compute_query_states Ran
ran; our contract draft was wrong, not the code
zackschen/CoIN/CoIN/peft/tuners/adaption_prompt.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from zhangwenhao6/PERA, is pointer only (licence: NOASSERTION) · get_code("84584d174a70b559")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from zhangwenhao6/PERA, and GitHub could not classify the licence of that repository (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.

llama_rotate_half Ran
ran, violated the contract we drafted
zackschen/CoIN/CoIN/peft/tuners/adaption_prompt.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from Eric8932/SAPO, is pointer only (licence: NONE) · get_code("47805bd9ef4bfdd8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from Eric8932/SAPO, and GitHub detected no licence in that repository 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.

LlavaLlamaForCausalLM Not yet run
unverified (harvested, no recorded run)
AuroraZengfh/ModalPrompt/llava/model/language_model/ModalPrompt.py
pointer only (licence: NONE) · get_code("e748e63d3c0105ba")
How it ran

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

LlavaLlamaModel Not yet run
unverified (harvested, no recorded run)
AuroraZengfh/ModalPrompt/llava/model/language_model/ModalPrompt.py
pointer only (licence: NONE) · get_code("df983e4aaaf2e4a9")
How it ran

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

LlavaMetaForCausalLM Not yet run
unverified (harvested, no recorded run)
AuroraZengfh/ModalPrompt/llava/model/language_model/ModalPrompt.py
pointer only (licence: NONE) · get_code("a353ac5254bcb7b3")
How it ran

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

LlavaMetaModel Not yet run
unverified (harvested, no recorded run)
AuroraZengfh/ModalPrompt/llava/model/language_model/ModalPrompt.py
pointer only (licence: NONE) · get_code("17905a8fbfcc83cc")
How it ran

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

ModalPrompt Not yet run
unverified (harvested, no recorded run)
AuroraZengfh/ModalPrompt/llava/model/language_model/ModalPrompt.py
pointer only (licence: NONE) · get_code("c4968188a92b404d")
How it ran

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

build_vision_tower Not yet run
unverified (harvested, no recorded run)
AuroraZengfh/ModalPrompt/llava/model/language_model/ModalPrompt.py
pointer only (licence: NONE) · get_code("9d8ae430eef240b0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, AuroraZengfh/ModalPrompt 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 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 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, 4 later) and 5 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
LlavaLlamaModel 13 other papers
7 dated earlier, 3 later, 3 same year, order not determinable · 3 only as an assembly brick
2304.08485 (2023-04)
Visual Instruction Tuning
2404.05673 (2024-04)
CoReS: Orchestrating the Dance of Reasoning and Segmentation
2405.14974 (2024-05)
LOVA 3 : Learning to Visual Question Answering, Asking and Assessment
and 10 more not named here
build_vision_tower 9 other papers
8 dated earlier, 1 same year, order not determinable · 4 only as an assembly brick
2301.12597 (2023-01)
BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
2304.08485 (2023-04)
Visual Instruction Tuning
2402.11684 (2024-02)
ALLaVA: Harnessing GPT4V-Synthesized Data for Lite Vision-Language Models
and 6 more not named here
llama_apply_rotary_pos_emb 6 other papers
3 dated earlier, 2 later, 1 same year, order not determinable
2307.02053 (2023-07)
Flacuna: Unleashing the Problem Solving Power of Vicuna using FLAN Fine-Tuning
2310.18339 (2023-10)
When MOE Meets LLMs: Parameter Efficient Fine-tuning for Multi-task Medical Applications
2403.08350 (2024-03)
CoIN: A Benchmark of Continual Instruction tuNing for Multimodel Large Language Model
and 3 more not named here
llama_compute_query_states 6 other papers
3 dated earlier, 2 later, 1 same year, order not determinable
2307.02053 (2023-07)
Flacuna: Unleashing the Problem Solving Power of Vicuna using FLAN Fine-Tuning
2310.18339 (2023-10)
When MOE Meets LLMs: Parameter Efficient Fine-tuning for Multi-task Medical Applications
2403.08350 (2024-03)
CoIN: A Benchmark of Continual Instruction tuNing for Multimodel Large Language Model
and 3 more not named here
llama_rotate_half 6 other papers
3 dated earlier, 2 later, 1 same year, order not determinable
2307.02053 (2023-07)
Flacuna: Unleashing the Problem Solving Power of Vicuna using FLAN Fine-Tuning
2310.18339 (2023-10)
When MOE Meets LLMs: Parameter Efficient Fine-tuning for Multi-task Medical Applications
2403.08350 (2024-03)
CoIN: A Benchmark of Continual Instruction tuNing for Multimodel Large Language Model
and 3 more not named here

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

Large Multimodal Models (LMMs) exhibit remarkable multi-tasking ability by learning mixed instruction datasets. However, novel tasks would be encountered sequentially in dynamic world, which urges for equipping LMMs with multimodal continual instruction learning (MCIT) ability especially for diverse and challenging generative tasks. Existing MCIT methods do not fully exploit the unique attribute of LMMs and often gain performance at the expense of efficiency. In this paper, we propose a novel prompt learning framework for MCIT to effectively alleviate forgetting of previous knowledge while managing computational complexity with natural image-text supervision. Concretely, we learn prompts for each task and exploit efficient prompt fusion for knowledge transfer and prompt selection for complexity management with dual-modality guidance. Extensive experiments demonstrate that our approach achieves substantial +14.26% performance gain on MCIT benchmarks with remarkable ×1.42 inference speed free from growing computation. Code is available at https:// github.com/AuroraZengfh/ModalPrompt.

For agents

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

get_harvested_code_for_paper("2025.emnlp-main.609")
get_code_for_paper("2025.emnlp-main.609")
have("2025.emnlp-main.609")

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

curl https://syntology.ai/api/ran/2025.emnlp-main.609.json

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

[![Syntology run record](https://syntology.ai/api/ran/2025.emnlp-main.609.svg)](https://syntology.ai/paper/2025.emnlp-main.609)

Connect an agent — have() is free.