arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.07802cs.CV
收藏

作为视觉解释器的语言模型

Language Model as Visual Explainer

National University of Singapore(新加坡国立大学)

Xingyi Yang, Xinchao Wang

AI总结:

本研究提出无需训练的视觉模型解释方法LVX,通过LLM与视觉模型协同构建层级视觉嵌入树生成可解释树状结果,还可用于模型校准重训练,经新基准验证具备合理性、忠实性与稳定性。

摘要:

本文提出了“作为视觉解释器的语言模型”(Language Model as Visual Explainer,LVX),这是一种无需模型训练即可通过树状语言解释解读视觉模型内部运作机制的系统性方法。我们的核心策略是让视觉模型与大语言模型(LLM)协同生成解释:一方面,利用LLM梳理分层视觉属性;同时,通过文生图API检索与这些文本概念最匹配的图像。将收集到的文本和图像映射到视觉模型的嵌入空间后,我们构建出具有层级结构的视觉嵌入树。该树通过语言模板查询LLM进行动态剪枝与生长,使解释适配目标模型,既能无缝加入新属性,也能根据模型表征剔除无关概念。将该方法应用于测试样本时,能以富含属性的树结构形式提供人类可理解的解释。除解释功能外,我们还基于生成的概念层级对视觉模型进行校准重训练,使其融入优化后的视觉属性知识。为验证方法有效性,我们引入了新基准并开展严格评估,证明了该方法的合理性、忠实性与稳定性。

英文摘要:

In this paper, we present Language Model as Visual Explainer LVX, a systematic approach for interpreting the internal workings of vision models using a tree-structured linguistic explanation, without the need for model training. Central to our strategy is the collaboration between vision models and LLM to craft explanations. On one hand, the LLM is harnessed to delineate hierarchical visual attributes, while concurrently, a text-to-image API retrieves images that are most aligned with these textual concepts. By mapping the collected texts and images to the vision model's embedding space, we construct a hierarchy-structured visual embedding tree. This tree is dynamically pruned and grown by querying the LLM using language templates, tailoring the explanation to the model. Such a scheme allows us to seamlessly incorporate new attributes while eliminating undesired concepts based on the model's representations. When applied to testing samples, our method provides human-understandable explanations in the form of attribute-laden trees. Beyond explanation, we retrained the vision model by calibrating it on the generated concept hierarchy, allowing the model to incorporate the refined knowledge of visual attributes. To access the effectiveness of our approach, we introduce new benchmarks and conduct rigorous evaluations, demonstrating its plausibility, faithfulness, and stability.

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

↑