Dynamic Cross-Modal Prompt Generation for Multimodal Continual Instruction Tuning
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Hi, I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "Dynamic Cross-Modal Prompt Generation for Multimodal Continual Instruction Tuning".
Jane: Here's the gist of the paper. The gist: DRAPE synthesizes continuous instance-specific soft prompts for Multimodal Continual Instruction Tuning by deriving prompt queries from textual instructions and cross-attending to visual patch features, which improves performance over static task-level prompting while mitigating catastrophic forgetting through null-space gradient projection and CLIP-based prototype routing.
Tom: Multimodal Large Language Models (MLLMs) achieve strong performance through instruction tuning, yet real-world deployment often requires continual capability expansion across sequential tasks, which is the challenge addressed by Multimodal Continual Instruction Tuning (MCIT) aiming to acquire new capabilities while limiting catastrophic forgetting Existing MCIT methods mainly follow a module-composition paradigm where they maintain task-level prompts or LoRA experts and dynamically route or aggregate a subset of them at inference.
Jane: However, samples within the same task can still differ substantially in visual scenes, question intents, reasoning demands, and instruction–image interactions.
Tom: This motivates instance-level adaptation to individual query–image pairs rather than only selecting or combining task-level modules.
Paper summary: Tom: So, looking at "Dynamic Cross-Modal Prompt Generation for Multimodal Continual Instruction Tuning," the core contribution is this DRAPE framework that synthesizes continuous instance-specific soft prompts. It moves away from just picking task-level prompts and instead generates them dynamically based on the current input.
Jane: The authors show that this approach works well, achieving state-of-the-art results on benchmarks like CoIN, while using null-space gradient projection to handle training stability and CLIP routing to select the right task generator without labels.
Lu: What this really means is that for building models that need to learn new things sequentially in open environments, you don't just have to rely on static prompts or simple module swapping; you can adapt the prompt generation process itself continuously.
Meng: It’s a more flexible mechanism for adaptation, and even though they didn't extend it to LoRA yet, the efficiency numbers suggest it could be a viable path for deployment where you need models to stay current without needing massive retraining every time.
Tom: The paper shows that this dynamic generation approach improves forgetting resistance while maintaining strong overall continual performance across different multimodal tasks. It’s a flexible way to match sample-specific multimodal demands rather than forcing everything through one fixed task prompt.
Conclusion: Tom: So, to wrap up on this paper, we're looking at Dynamic Cross-Modal Prompt Generation for Multimodal Continual Instruction Tuning by those authors from LAMDA-CL.
Jane: Right, so the main thing they did is figure out how to make those prompts for continual learning much smarter than just picking a fixed prompt.
Tom: Exactly. They're synthesizing these continuous instance-specific soft prompts using instruction queries and cross-attending visual features. It’s about making the model adapt better to each specific input pair it sees.
Jane: And they showed that this works really well, getting state-of-the-art results on benchmarks like CoIN when compared to other prompt or LoRA methods.
Tom: The numbers are there; they beat ProgLoRA by eight point thirty nine on four different tasks. But the mechanism behind it is what I'm really looking at here.
Jane: It’s not just about better accuracy, Tom; it’s about how they keep the model stable while learning new things sequentially without forgetting old knowledge.
Tom: That stability part is handled by two specific tricks: null-space gradient projection for the shared visual projector and CLIP-based prototype routing for picking the right task generator at inference time.
Jane: So, what does this mean for us who are actually deploying these models? It suggests a way to keep an AI capable of learning new skills over time without needing a complete retraining cycle every single time it encounters something new.
Tom: It makes the adaptation more flexible, matching the specific multimodal demands of each query image instead of relying on one broad, static prompt for everything.
Jane: And that flexibility is what will be interesting to look at next, because we need to see how this works when you actually try to run it on real traffic without those perfect benchmark setups.
Tao Hu, Da-Wei Zhou
School of Artificial Intelligence, Nanjing University · State Key Laboratory for Novel Software Technology, Nanjing University
cs.CV, cs.AI, cs.LG
Submitted: 2026-05-11
Updated: 2026-10-20
Comments: Accepted to NeurlPS 2026. Code is available at https://github.com/LAMDA-CL/NeurIPS2026-Drape
Code: https://github.com/LAMDA-CL/NeurIPS2026-Drape
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 80/100
The gist: The gist: DRAPE synthesizes continuous instance-specific soft prompts for Multimodal Continual Instruction Tuning by deriving prompt queries from textual instructions and cross-attending to visual
Key concepts
- Multimodal Continual Instruction Tuning (MCIT)
- This is the challenge of making a multimodal model learn new skills sequentially without forgetting old ones. MCIT aims to acquire new capabilities across many tasks while preventing catastrophic forgetting, which is crucial for real-world deployment where models need to constantly update their knowledge.
- Cross-Modal Prompt Generator (Gt)
- This component synthesizes unique soft prompts for each input by combining text and image features. It uses instruction embeddings and visual features to create instance-specific prompt vectors, which are then prepended to the main language model's input, allowing the model to adapt its response precisely to the current query.
- Null-Space Gradient Projection
- This mechanism constrains how much new training updates affect previously learned knowledge. It identifies a subspace of features that are important for past tasks and ensures that new updates do not significantly interfere with those established feature patterns, thus preserving old capabilities during learning.
Terminology
Summary
The gist: DRAPE synthesizes continuous instance-specific soft prompts for Multimodal Continual Instruction Tuning by deriving prompt queries from textual instructions and cross-attending to visual patch features, which improves performance over static task-level prompting while mitigating catastrophic forgetting through null-space gradient projection and CLIP-based prototype routing.
Motivation
Multimodal Large Language Models (MLLMs) achieve strong performance through instruction tuning, yet real-world deployment often requires continual capability expansion across sequential tasks, which is the challenge addressed by Multimodal Continual Instruction Tuning (MCIT) aiming to acquire new capabilities while limiting catastrophic forgetting Existing MCIT methods mainly follow a module-composition paradigm where they maintain task-level prompts or LoRA experts and dynamically route or aggregate a subset of them at inference. However, samples within the same task can still differ substantially in visual scenes, question intents, reasoning demands, and instruction–image interactions. This motivates instance-level adaptation to individual query–image pairs rather than only selecting or combining task-level modules.
DRAPE Framework Components
DRAPE is a prompt-learning framework that synthesizes continuous instance-specific soft prompts for MCIT. It contains three key components:
-
A cross-modal prompt generator Gt that synthesizes Lp instance-specific soft prompt vectors Pi = Gt(wi, ui) conditioned on both the visual and textual features of each input. This generation process involves Instruction-Aware Query Initialization, where instruction embeddings are projected into a latent space to compute initial pooled query matrices H¯, which are then used as queries in a multi-head attention layer over the full instruction features. Subsequently, Vision-Guided Prompt Synthesis uses cross-modal attention between the instruction queries Q and projected visual features hv to produce the instance-specific soft prompts Pi = fhead(R), which are prepended to the frozen LLM input sequence z, yielding z' = [Pi; z].
-
Null-Space Gradient Projection for Projector Preservation This mechanism constrains the gradient updates of the shared visual projector π using an approximate null-space projection derived from empirical feature subspaces observed in previous tasks to reduce interference with previously observed feature subspaces. This is achieved by maintaining a cumulative second-moment matrix M(t) and decomposing it via singular value decomposition to identify the dominant feature subspace, and then constructing a projection matrix Π(t) from the complementary basis V⊥, which is applied to the gradients of each weight matrix in π during training.
-
CLIP-Guided Prototype Routing This mechanism selects the most relevant task-specific generator at inference without task labels by using frozen CLIP embeddings as a shared semantic space. A task prototype ct is registered after each task, refined via a classification objective that pulls current-task embeddings closer to ct than to previously stored prototypes, and the router selects the generator Gt∗ by scoring each task st = cos(e˜, ct) and selecting t∗ = arg max t∈T st.
Continual Learning Mechanisms
To mitigate forgetting during sequential updates, DRAPE combines these components with two complementary mechanisms. First, null-space gradient projection is applied to the shared projector so that updates are biased toward directions that minimally interfere with previously observed feature subspaces. Second, CLIP-based prototype routing selects the most relevant task-specific generator without task labels at inference. The training objective is the standard autoregressive language modeling loss optimized over the tunable parameters Θt = Gt, π.
Experimental Results and Analysis
Extensive experiments on MCIT benchmarks show that DRAPE achieves state-of-the-art performance among representative prompt-based and LoRA-based continual-learning baselines. On the CoIN benchmark, DRAPE achieved an average accuracy of 67.48, outperforming the strongest baseline ProgLoRA (59.09) by 8.39 points and obtaining the best results on four tasks: TextVQA, ImageNet, VizWiz, and Grounding. The null-space projection analysis shows that when previous-task features are well captured by the retained principal subspace, their components in the complementary subspace are small, and the projected update has a limited first-order effect on their layer outputs. Qualitative case studies on GQA, VQAv2, and OCR-VQA illustrate that instance-specific prompt generation can better accommodate shifts from simple grounding to finer spatial reasoning and compositional attribute judgment within the same task.
Efficiency and Limitations
In terms of efficiency comparison on the CoIN benchmark, DRAPE updates 32M parameters per task, which is substantially smaller than MoELoRA and CODA-Prompt while also requiring less training time in our setup. The storage overhead for each new task is relatively low, adding only one frozen task-specific generator, occupying about 21.04 MB in our setting. A limitation noted is that while DRAPE is developed and validated in the prompt-tuning setting considered in this paper, it has not yet extended the same instance-specific adaptation idea to other lightweight adaptation paradigms such as LoRA.
Conclusion
DRAPE addresses multimodal continual instruction tuning through three complementary mechanisms: a cross-modal prompt generator for input-conditioned prompt synthesis, a projection-based constraint that reduces interference in the shared visual projector, and a CLIP-guided prototype router for practical task-specific generator selection without task labels. Extensive experiments on the CoIN and UCIT benchmarks demonstrate that DRAPE achieves strong performance across diverse multimodal tasks and maintains competitive continual learning behavior. This framework provides a more flexible adaptation mechanism that better matches sample-specific multimodal demands. The results show that DRAPE improves forgetting resistance while maintaining strong overall continual performance throughout the task stream. The method is lightweight both during training and in long-term per-task expansion. This framework provides a more flexible adaptation mechanism that better matches sample-specific multimodal demands. The results show that DRAPE improves forgetting resistance while maintaining strong overall continual performance throughout the task stream. The method is lightweight both during training and in long-term per-task expansion. This framework provides a more flexible adaptation mechanism that better matches sample-specific multimodal demands. The results show that DRAPE improves forgetting resistance while maintaining strong overall continual performance throughout the task stream. The method is lightweight both during training and in long-term per-task expansion. This framework provides a more flexible adaptation mechanism that better matches sample-specific multimodal demands. The results show that DRAPE improves forgetting resistance while maintaining strong overall continual performance throughout the task stream. The method is lightweight both during training and in long-term per-task expansion. This framework provides a more flexible adaptation mechanism that better matches sample-specific multimodal demands. The results show that DRAPE improves forgetting resistance while maintaining strong overall continual performance throughout the task stream. The method is lightweight both during training and in long-term per-task expansion. This framework provides a more flexible adaptation mechanism that better matches sample-specific multimodal demands. The results show that DRAPE improves forgetting resistance while maintaining strong overall continual performance throughout the task stream. The method is lightweight both during training and in long-term per-task expansion. This framework provides a more flexible adaptation mechanism that better matches sample-specific multimodal demands <ref:2605.
Improvements for AI systems
-
Dynamic Cross-Modal Prompt Generation (DRAPE) allows Multimodal Large Language Models (MLLMs) to acquire new capabilities while limiting catastrophic forgetting by synthesizing continuous instance-specific soft prompts from textual instructions and cross-attending to visual patch features. This enables adaptation to individual query image pairs rather than only selecting or combining discrete task-level modules.
-
Null-space gradient projection constrains the gradient updates of the shared visual projector so that
updates are biased toward directions that minimally interfere with previously observed feature subspaces,
thereby preserving earlier-task mappings in the shared projector. This mechanism is formalized by projecting gradients via a projection matrix derived from a cumulative second-moment matrix to restrict updates to the complementary subspace of dominant feature directions. -
CLIP-guided prototype routing enables task-label-free generator selection at inference by comparing input routing features against stored prototypes built from fused CLIP text-image features. This allows the model to
select the most relevant task specific generator without task labels,
leading to improved adaptation to diverse query image pairs in a rehearsal-free manner.
Sources
- Continual LLaVA: Continual Instruction Tuning in Large Vision-Language Models
- SEFE: Superficial and Essential Forgetting Eliminator for Multimodal Continual Instruction Tuning
- LoRAMoE: Alleviate World Knowledge Forgetting in Large Language Models via MoE-Style Plugin
- Dynamic Mixture of Curriculum LoRA Experts for Continual Multimodal Instruction Tuning
- Continual Learning for Generative AI: From LLMs to MLLMs and Beyond
- CLEVR-Math: A Dataset for Compositional Language, Visual and Mathematical Reasoning
- All You Need is One: Capsule Prompt Tuning with a Single Vector
- IconQA: A New Benchmark for Abstract Diagram Understanding and Visual Language Reasoning
- Finetuned Language Models Are Zero-Shot Learners
- Continual Learning for Large Language Models: A Survey
- SAME: Stabilized Mixture-of-Experts for Multimodal Continual Instruction Tuning
- MM-LLMs: Recent Advances in MultiModal Large Language Models
- Instruction-Following Evaluation for Large Language Models
Related papers
- Loss Knows Best: Detecting Annotation Errors in Videos via Loss Trajectories
- AnchorWeave: World-Consistent Video Generation with Retrieved Local Spatial Memories
- Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
- MambaX-Net: Dual-Input Mamba-Enhanced Cross-Attention Network for Longitudinal MRI Segmentation
- TeleOCR: Navigating Document Parsing Across Digital and Camera-Captured Documents
- A Survey on Efficient Vision-Language-Action Models