arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.26775cs.LGcs.AIcs.CLcs.CV
收藏

学习选择视觉上下文示例

Learning to Select Visual In-Context Demonstrations

University of Cincinnati(辛辛那提大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)

Eugene Lee, Yu-Chi Lin, Jiajie Diao

AI总结:

本文提出LSD方法,通过强化学习构建最优演示集,提升多模态大语言模型在视觉回归任务中的表现,揭示了学习选择在视觉上下文学习中的必要性。

摘要:

多模态大语言模型(MLLMs)通过上下文学习(ICL)适应视觉任务,其性能依赖于演示质量。主流的演示选择策略是无监督的k近邻(kNN)搜索。尽管简单,这种相似性优先方法在复杂事实回归任务中效果不佳;它选择冗余示例,无法捕捉任务的完整输出范围。我们重新将选择视为一个顺序决策问题,并引入学习选择(LSD),训练强化学习代理构建最优演示集。使用双路径DQN与以查询为中心的Transformer解码器,我们的代理学习了一种策略,以最大化MLLM下游性能。在五个视觉回归基准测试中,我们发现关键二元性:虽然kNN在主观偏好任务中仍最优,LSD在客观事实回归任务中显著优于基线。通过平衡视觉相关性与多样性,LSD更好地定义回归边界,揭示了何时学习选择对视觉ICL是严格必要的。

英文摘要:

Multimodal Large Language Models (MLLMs) adapt to visual tasks via in-context learning (ICL), which relies heavily on demonstration quality. The dominant demonstration selection strategy is unsupervised k-Nearest Neighbor (kNN) search. While simple, this similarity-first approach is sub-optimal for complex factual regression tasks; it selects redundant examples that fail to capture the task's full output range. We reframe selection as a sequential decision-making problem and introduce Learning to Select Demonstrations (LSD), training a Reinforcement Learning agent to construct optimal demonstration sets. Using a Dueling DQN with a query-centric Transformer Decoder, our agent learns a policy that maximizes MLLM downstream performance. Evaluating across five visual regression benchmarks, we uncover a crucial dichotomy: while kNN remains optimal for subjective preference tasks, LSD significantly outperforms baselines on objective, factual regression tasks. By balancing visual relevance with diversity, LSD better defines regression boundaries, illuminating when learned selection is strictly necessary for visual ICL.

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

↑