ICL-R:面向隐式多模态上下文学习的演示计算效应重建方法
ICL-R: Reconstructing the Computational Effects of Demonstrations for Implicit Multimodal In-Context Learning
AI 导读
论文提出 ICL-R,一种轻量级框架,通过重建演示样本对注意力路由和 value 表示的计算效应,实现隐式多模态上下文学习。该方法将注意力输出变化分解为路由偏移、value 偏移及其交互项,并引入质量恢复联合注意力-value 校准和黎曼状态转移目标。实验显示 ICL-R 在多个 MLLM 和 benchmark 上提升性能,推理成本接近标准 zero-shot 推理。
正文 · 原文
Abstract:Multimodal in-context learning (ICL) enables multimodal large language models (MLLMs) to adapt to downstream tasks through interleaved image and text demonstrations. However, retaining these demonstrations not only increases the sequence length and latency at inference time but also makes predictions sensitive to how demonstrations are selected and presented. Although existing implicit ICL methods approximate demonstration effects through representation shifts or attention routing, they still suffer from coarse or partial reconstruction of these effects. To address these limitations, we first decompose the change in attention output caused by demonstrations into the attention routing shift, the value shift, their interaction, and information contributed directly by demonstration tokens. Based on this decomposition, we propose In-Context Learning via Reconstruction (ICL-R), a lightweight framework for jointly reconstructing these computational effects. Aiming at incomplete reconstruction under demonstration removal, we propose mass-restoring joint attention-value calibration which jointly calibrates attention routing and value representations while rescaling the attention output. To further extend supervision beyond isolated state matching, we introduce a Riemannian state transition objective that aligns both incoming states and the transitions induced by attention. Extensive experiments across multiple MLLMs and benchmarks show that ICL-R improves performance while maintaining an inference cost close to that of standard zero-shot inference.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.37031 [cs.AI] |
| (or arXiv:2611.37031v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.37031 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Shi Qiu [view email]
[v1]
Fri, 27 Nov 2026 07:54:40 UTC (13,029 KB)
来源:arXiv cs.AI · arxiv.org