TL;DR
When teaching Multimodal Large Language Models (MLLMs) new skills sequentially, most existing methods rely on swapping in pre-baked, task-level modules—ignoring how wildly individual image-question pairs vary within the same task. DRAPE flips this paradigm by dynamically synthesizing custom soft prompts on the fly for every single input, conditioned on both what you ask and what the model sees. Paired with clever math to prevent overwriting past visual mappings, DRAPE achieves state-of-the-art continual learning without saving a single historical training sample.
What Problem Does This Paper Address?
Imagine deploying a vision-language model like LLaVA in the real world. Over time, you need it to learn new tasks—say, reading medical charts today, and parsing street signs tomorrow—without forgetting what it knew yesterday (catastrophic forgetting), and without storing old training data (rehearsal-free). This is Multimodal Continual Instruction Tuning (MCIT).
Current MCIT solutions freeze the massive core model and train lightweight, task-specific add-ons, like discrete pools of "soft prompts" (learnable prefix vectors) or LoRA experts. At test time, the system routes your input to the best-matching historical module.
Here is the catch: tasks aren't monoliths. Within a single task like Visual Question Answering, one sample might ask you to count blurry sheep in a pasture, while the next asks about the emotional subtext of a cartoon. Static, task-level components collapse all this diversity into one fixed adaptation. Instead of picking pre-made tools off a shelf, the model needs a way to forge a custom adaptation for the exact image and question in front of it.
Methods
The authors keep the standard MLLM vision encoder and LLM backbone frozen, introducing DRAPE (Dynamic Cross-Modal Prompt Generation), which relies on three novel mechanisms working in concert:
- Cross-Modal Prompt Generator (New): Instead of maintaining a static prompt pool, DRAPE trains a lightweight generator for each task. Recognizing a natural asymmetry—text tells us what to look for, while the image holds the content—it first summarizes the text instruction into query vectors. Those queries then cross-attend to visual patch features, synthesizing continuous, instance-specific soft prompts that are prepended to the frozen LLM's input.
- Null-Space Gradient Projection (Adapted to MLLM Projectors): While each task gets its own frozen generator after training, the visual projector (which translates image features into LLM-speak) is shared and continually updated. To stop new tasks from wrecking old visual-to-language mappings, DRAPE records compact second-moment statistics of features passing through the projector. Using Singular Value Decomposition (SVD), it identifies the principal subspace used by past tasks and projects new gradient updates onto its orthogonal complement (the null space). New learning happens in "unused" mathematical directions.
- CLIP-Guided Prototype Routing (New): At test time, you don't know which task an input belongs to, so which generator do you use? DRAPE reuses the MLLM's existing CLIP vision tower (avoiding extra model overhead) alongside CLIP text embeddings to create a single, compact prototype vector per task. At inference, it compares the test input's fused image-text CLIP embedding against stored prototypes via cosine similarity to wake up the right generator.
Datasets
The authors evaluate DRAPE on two established rehearsal-free MCIT benchmarks (no new datasets are introduced):
- CoIN: A widely used benchmark of 8 sequential tasks: ScienceQA, TextVQA, ImageNet, GQA, VizWiz, Grounding (RefCOCO), VQAv2, and OCR-VQA.
- UCIT: A cleaner 6-task benchmark designed to minimize data-overlap concerns with pre-trained MLLMs: ImageNet-R, ArxivQA, VizWiz-caption, IconQA, CLEVR-Math, and Flickr30k.
Key Insights and Ideas
- Within-task variance demands instance-level synthesis: Visualizing embeddings via t-SNE shows that DRAPE's generated prompts mirror the spread of individual test samples, whereas static prompts sit as a single lonely point. Furthermore, attention maps on OCR tasks reveal that cross-modal prompts guide the model to look directly at query-relevant text (like a tiny printed year on a calendar) rather than staring diffusely at the whole image.
- Protecting the bridge matters: Ablating the null-space projection drops average accuracy by 2.62 points (with a massive 10.5-point plunge on ImageNet). Freezing task modules isn't enough if the shared visual-language bridge underneath them is allowed to drift.
- One prototype per task is plenty for routing: Despite storing zero historical samples and just one vector per task, the CLIP router hits 67.48% accuracy on CoIN—virtually tying an "oracle" router that cheats by knowing the true task labels (68.17%).
Key Results
Using LLaVA-v1.5-7B as the backbone, DRAPE sets a new state-of-the-art across both benchmarks:
- On CoIN: DRAPE achieves 67.48% final average accuracy, beating the strongest baseline, ProgLoRA (59.09%), by 8.39 points (and crushing standard sequential fine-tuning at 29.06%). Notably, on visual Grounding, DRAPE scores 67.92% where most baselines collapse below 37%.
- On UCIT: DRAPE reaches 69.41% average accuracy, outperforming the top baseline SEFE (66.54%) by 2.87 points and taking first place on ImageNet-R, ArxivQA, and VizWiz.
Limitations and Future Work
The authors note that DRAPE is currently designed and validated strictly within the prompt-tuning paradigm (prepending tokens to the input sequence). They have not yet extended this on-the-fly, cross-modal synthesis concept to weight-space adapters like LoRA, which modify internal model layers directly. Figuring out how to dynamically generate instance-specific LoRA updates without blowing up parameter budgets is highlighted as a prime avenue for future work.
Summary updated