arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.08246cs.AI
收藏

何处与何物重要:用于多轮多模态上下文学习的敏感度感知任务向量

Where and What Matters: Sensitivity-Aware Task Vectors for Many-Shot Multimodal In-Context Learning

Ziyu Ma, Chenhui Gou, Yiming Hu, Yong Wang, Xiangxiang Chu, Bohan Zhuang, Jianfei Cai

AI总结:

针对大型多模态模型多轮上下文学习的挑战,提出敏感度感知任务向量插入框架(STV),通过识别敏感插入位置并构建预聚类激活库选择合适值插入,在多模型和任务上持续优于现有方法。

摘要:

大型多模态模型(LMMs)已展现出良好的上下文学习(ICL)能力,但由于上下文长度有限和推理成本高,扩展至多轮设置仍具挑战。为应对这些问题,研究人员探索了基于任务向量的方法,将多轮上下文演示的紧凑表示插入模型激活中。然而,现有方法要么忽视插入位置的重要性,要么难以确定各位置的合适值。为此,我们提出敏感度感知任务向量插入框架(STV),以解决“何处插入”和“插入何物”的问题。我们的核心见解是,查询-上下文对间的激活差异呈现一致的结构模式,为插入提供可靠线索。基于识别出的敏感位置,我们通过聚类激活值为每个位置构建预聚类激活库,再应用强化学习选择最合适的激活值插入。我们在多种多模态模型(如Qwen-VL、Idefics-2)和任务(如VizWiz、OK-VQA)上评估STV,证明其有效性,并在强泛化性下持续优于先前的基于任务向量的方法。

英文摘要:

Large Multimodal Models (LMMs) have shown promising in-context learning (ICL) capabilities, but scaling to many-shot settings remains difficult due to limited context length and high inference cost. To address these challenges, task-vector-based methods have been explored by inserting compact representations of many-shot in-context demonstrations into model activations. However, existing task-vector-based methods either overlook the importance of where to insert task vectors or struggle to determine suitable values for each location. To this end, we propose a novel Sensitivity-aware Task Vector insertion framework (STV) to figure out where and what to insert. Our key insight is that activation deltas across query-context pairs exhibit consistent structural patterns, providing a reliable cue for insertion. Based on the identified sensitive-aware locations, we construct a pre-clustered activation bank for each location by clustering the activation values, and then apply reinforcement learning to choose the most suitable one to insert. We evaluate STV across a range of multimodal models (e.g., Qwen-VL, Idefics-2) and tasks (e.g., VizWiz, OK-VQA), demonstrating its effectiveness and showing consistent improvements over previous task-vector-based methods with strong generalization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑