跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.28081 · v2

TaskVICL: Task-Conditioned Decoder States for Visual In-Context Learning

首次提交 2026-11-16 11:22
版本更新 2026-11-24 10:43
雷达观测 2026-11-25 10:15
arXiv ↗PDF ↗

摘要

The usefulness of an in-context demonstration for a vision-language model (VLM) depends on both the query image and the task posed about it. Common retrievers rank examples by image similarity and ignore the task, while task-aware alternatives require answer generation, external encoders or retriever training. We ask whether the frozen target VLM's own decoder states, read before it answers, can select demonstrations directly. TaskVICL represents each image and task by a task-conditioned processing signature: the hidden states at the final input position across all decoder layers. Its training-free variant, TaskVICL-Raw, averages cosine similarities between corresponding layer states and passes the retrieved examples with their reference answers to the same VLM. Across two VLMs and eight classification and visual question answering datasets, Raw achieves the highest average accuracy among training-free retrievers, exceeding the strongest baseline by 3.30 points on Qwen3-VL and 1.41 on InternVL3.5, with gains carrying over to Gemma-3-12B. When the same NICO++ image is asked about its object or its context, Raw retrieves largely different demonstrations for the two questions and outperforms an image retriever given task-matched demonstrations. A lightweight shared projection, TaskVICL-Proj, adds further gains on classification. Controls show that task text at extraction drives most of the gains, and attention analysis describes how it shifts attention toward the classified object. These results support the target VLM's internal states as a practical basis for task-aware demonstration retrieval.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

本站首次收录为 v2,暂无更早版本可对照。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v2 · 2026-11-24 10:43 · 最新观测版本

TaskVICL: Task-Conditioned Decoder States for Visual In-Context Learning

The usefulness of an in-context demonstration for a vision-language model (VLM) depends on both the query image and the task posed about it. Common retrievers rank examples by image similarity and ignore the task, while task-aware alternatives require answer generation, external encoders or retriever training. We ask whether the frozen target VLM's own decoder states, read before it answers, can select demonstrations directly. TaskVICL represents each image and task by a task-conditioned processing signature: the hidden states at the final input position across all decoder layers. Its training-free variant, TaskVICL-Raw, averages cosine similarities between corresponding layer states and passes the retrieved examples with their reference answers to the same VLM. Across two VLMs and eight classification and visual question answering datasets, Raw achieves the highest average accuracy among training-free retrievers, exceeding the strongest baseline by 3.30 points on Qwen3-VL and 1.41 on InternVL3.5, with gains carrying over to Gemma-3-12B. When the same NICO++ image is asked about its object or its context, Raw retrieves largely different demonstrations for the two questions and outperforms an image retriever given task-matched demonstrations. A lightweight shared projection, TaskVICL-Proj, adds further gains on classification. Controls show that task text at extraction drives most of the gains, and attention analysis describes how it shifts attention toward the classified object. These results support the target VLM's internal states as a practical basis for task-aware demonstration retrieval.

查看此版本解读 →查看此版本原文 ↗