mlsanityData to 7 Oct 2026

Two Vectors Replace In-Context Demos: Structured Task Adaptation via Embeddings

arXiv 2610.07572 ↗First posted 6 Oct 2026cs.CL cs.CV cs.LGcited by 0

On the map: Multimodal LLMs / vision-language models → MLLM training and visual instruction tuning also fits: Prompt learning and adaptation of CLIP

Abstract (arXiv)

In-context learning (ICL) adapts frozen large multimodal models (LMMs) to new tasks from a few demonstrations (demos), but re-encodes them at every query, where each demo image adds up to hundreds of visual tokens. Demo-free methods remove this cost with a compact task state. However, they add it at locations searched per task or at every decoder layer, where task parameters grow with depth. Moreover, inserted tokens or keys cannot change how the original prompt divides its attention within a layer. To address these issues, we propose Structured Task Adaptation via Embeddings (STAVE), which replaces demos with two task-specific vectors added to existing input embeddings. Specifically, a readout vector updates the answer-producing tokens and a context vector updates the other structural token groups. Both are trained with answer labels on prompts with and without demos. We justify these design choices theoretically using a first-order analysis of the loss and a margin bound. Extensive experiments on six LMMs and five large language models show that STAVE matches or outperforms state-of-the-art methods on multimodal tasks with far fewer task parameters and surpasses 15-shot ICL and prior task vectors on 18 text tasks, all at zero-shot inference cost.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in MLLM training and visual instruction tuning, one of 16 directions in Multimodal LLMs / vision-language models. First posted on arXiv 6 Oct 2026.

Builds on

No reference list yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026GRIP: Feedback-Guided Prompt Retrieval for Large Multimodal Models
  2. 2026Why Multimodal In-Context Learning Lags Behind? Unveiling the Inner Mechanisms and Bottlenecks
  3. 2025Meta-Adaptive Prompt Distillation for Few-Shot Visual Question Answering
  4. 2023Generative Multimodal Models are In-Context Learners
  5. 2025True Multimodal In-Context Learning Needs Attention to the Visual Context
  6. 2025Advancing Multimodal In-Context Learning in Large Vision-Language Models with Task-aware Demonstrations
  7. 2025What do vision-language models see in the context? Investigating multimodal in-context learning
  8. 2024Multimodal Task Vectors Enable Many-Shot Multimodal In-Context Learning