arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.33072cs.CVcs.AI
收藏

VLMProbe:用于视觉语言模型探测与解释的开源库

VLMProbe: An Open-source Library for VLM Probing and Interpretation

The University of British Columbia(不列颠哥伦比亚大学);Vector Institute(向量研究所)

Gexin Huang, Haisheng Fu, Yanting Yang, Chen Zhao, Ruinan Jin, Jiaqi Liu, Xiaoxiao Li

AI总结:

vlmprobe是整合多类分析工具的开源库,用于系统对比VLM等模型的表征分析方法,为模型解释提供可复用基础。

摘要:

要理解视觉语言模型(VLM)如何利用视觉信息,需将其内部表征与模型行为关联起来。我们提出vlmprobe,这是一个开源库,在统一模型接口中整合了透镜读出(lens readouts)、注意力归因、因果干预及稀疏自编码器(SAE)分析。共享适配器、校准与检查点工具、评估流水线及可视化功能,支持跨架构的系统分析。利用该框架,我们通过匹配案例研究和对预训练稀疏字典的受控评估,对比了视觉语言模型、语言模型及视觉模型的相关方法。对比结果显示,表征读出与空间解释依赖于分析目标和观测位点,且局部归因估计可能与实测干预效应存在分歧。SAE评估进一步揭示了重建保真度、概念读出及空间定位间的不同权衡。这些结果共同支持结合多种证据形式来评估解释,vlmprobe为方法选择、结论对比及模型行为假设验证提供了可复用的基础,代码可在该http URL获取。

英文摘要:

Understanding how vision-language models use visual information requires connecting internal representations to model behavior. We present vlmprobe, an open-source library that integrates lens readouts, attention attribution, causal interventions, and sparse autoencoder (SAE) analysis within a common model interface. Shared adapters, calibration and checkpoint utilities, evaluation pipelines, and visualizations support systematic analysis across architectures. Using this framework, we compare methods across vision-language, language, and vision models through matched case studies and controlled evaluations of pretrained sparse dictionaries. The comparisons show that representation readouts and spatial explanations depend on the analysis objective and observation site, and that local attribution estimates can disagree with measured intervention effects. SAE evaluations further expose distinct trade-offs in reconstruction fidelity, concept readout, and spatial localization. Together, these results support combining multiple forms of evidence to evaluate an interpretation. vlmprobe provides a reusable basis for selecting methods, comparing their conclusions, and testing hypotheses about model behavior. The code is available on github.com/ubc-tea/vlm-probe

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

↑