Hugging Face Daily Papers论文
AnswerMap:基于回答后验的VLM忠实空间可解释性方法
提出AnswerMap,一种无需训练、任务无关的黑盒视觉推理方法。针对现有VLM可解释性工具依赖文本或内部状态的局限,该方法将图像切分为K行K列条带,单独输入冻结模型进行是/否问答,从输出头构建忠实反映最终输出的视觉推理依据。
这篇是正式发表的长论文,站内提供中文解读,全文请到原文阅读 PDF。
Abstract
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.
🔵tl;dr: Cut the image into row and column bands, ask the model a query for each, and take the outer product of the P(yes) answers → a K×K map from only 2K calls. Multiplying maps from several coprime grid sizes gives a very detailed map, and you just need the logprobs, so it works on closed APIs! and the map gives continuous outputs natively, e.g. a location as its expectation, instead of forcing them through discrete text tokens!