AnswerMap:从答案后验实现VLM的忠实空间可解释性

·

研究论文 · 2026/09/29

当VLM回答视觉查询时,当前的可解释性工具依赖于文本理由(使用不匹配的模态)或内部读出(起源过早,无法反映最终输出,且需要白盒访问)。我们引入了AnswerMap,一种无需训练、任务无关、黑盒的视觉理由,从输出头构建。图像被切成K行和K列条带,每个条带单独与查询一起以是/否相关性问题的格式展示给冻结模型。行和列“是”后验的外积给出了查询条件的空间图。关键的是,通过在AnswerMap上定义固定的读出R(例如期望、最大值),我们可以原生地推导出像位置这样的连续输出。这绕过了连续输出任务对离散文本标记的依赖,并通过构造保证了图像相关的答案。然而,理由可能是虚构的,因此我们在四个模型和三个查询分布上通过两个测试验证AnswerMap:(a)与模型自己生成的点的一致性,(b)删除地图区域。地图落在模型指向的位置(AUC 0.85,而注意力为0.38),删除其区域翻转了53%的正确答案(而注意力为19%)。除了建立忠实性,我们通过三种不同的读出展示了地图的任务无关效用:其最大值标记幻觉对象而无需生成,其期望在模型自身指向失败时正确定位,其顶部质量区域作为裁剪反馈修复了模型一半的错误答案。因此,AnswerMap为VLM可解释性提供了新视角,并通过其读出为视觉任务提供了超越文本标记的新输出接口。

AnswerMap提供了一种无需训练、黑盒的视觉可解释性方法,通过输出头构建空间图,在多个模型和任务上验证了忠实性,并展示了修复错误答案等实用功能,为VLM可解释性和视觉任务输出接口提供了新思路。

When a VLM answers a visual query, current interpretability tools rely on text rationales, which use a mismatched modality, or on internal read-outs, which originate too early to reflect the final output and require white-box access to the model. We introduce AnswerMap, a training-free, task-agnostic, black-box visual rationale constructed from the output head. The image is cut into K row and K column bands, each shown alone to the frozen model along with the query in the format of a yes/no relevance question. The outer product of the row and column ``yes'' posteriors gives the query-conditioned spatial map. Crucially, by defining a fixed read-out R (e.g., expectation, maximum) on top of AnswerMap, we can derive continuous outputs like location natively. This bypasses the reliance on discrete text tokens for continuous-output tasks and guarantees an image-dependent answer by construction. However, a rationale can be confabulated, so we validate AnswerMap across four models and three query distributions with two tests: (a) agreement with the model's own generated point and (b) deletion of the map's region. The map lands where the model points (AUC 0.85 against 0.38 for attention), and deleting its region flips 53% of correct answers (against 19% for attention's). Beyond establishing faithfulness, we demonstrate the map's task-agnostic utility through three distinct read-outs: its maximum flags hallucinated objects without generation, its expectation localizes correctly when the model's own pointing fails, and its top-mass region, fed back as a crop, fixes half of the model's wrong answers. AnswerMap thus offers a new lens on VLM interpretability and, through its read-outs, a new output interface for visual tasks beyond text tokens.

阅读原文

参与讨论