用统一概念集解释并增强视觉语言模型的对齐效果
VL-SAE: Interpreting and Enhancing Vision-Language Alignment with a Unified Concept Set
- 设计稀疏自编码器,让神经元对应语义一致的图文概念
- 在多模型上提升零样本分类与幻觉消除性能
- 适合研究模型可解释性及多模态对齐的学者
视觉语言表示对齐赋予当前视觉语言模型强大的多模态推理能力。然而,由于难以将多模态表示语义映射到统一概念集,其对齐组件的可解释性尚未被深入研究。为此,我们提出VL-SAE,一种将视觉语言表示编码为隐藏激活的稀疏自编码器。其隐藏层每个神经元对应一个由语义相似图像和文本表示的概念,从而实现基于统一概念集的可解释性分析。为建立神经元-概念关联,我们在自监督训练中促使语义相似表示产生一致的神经元激活。首先,基于余弦相似度显式对齐多模态表示以衡量语义相似性;其次,构建基于距离的编码器和两个模态特定解码器,确保语义相似表示的激活一致性。在多个VLM(如CLIP、LLaVA)上的实验表明,VL-SAE在解释和增强视觉语言对齐方面表现卓越。解释层面,可通过概念对比理解视觉与语言表示间的对齐关系;增强层面,通过概念级对齐强化视觉语言表示,显著提升下游任务性能,包括零样本图像分类与幻觉消除。代码已开源。
原文摘要 · Abstract (English)
The alignment of vision-language representations endows current Vision-Language Models (VLMs) with strong multi-modal reasoning capabilities. However, the interpretability of the alignment component remains uninvestigated due to the difficulty in mapping the semantics of multi-modal representations into a unified concept set. To address this problem, we propose VL-SAE, a sparse autoencoder that encodes vision-language representations into its hidden activations. Each neuron in its hidden layer correlates to a concept represented by semantically similar images and texts, thereby interpreting these representations with a unified concept set. To establish the neuron-concept correlation, we encourage semantically similar representations to exhibit consistent neuron activations during self-supervised training. First, to measure the semantic similarity of multi-modal representations, we perform their alignment in an explicit form based on cosine similarity. Second, we construct the VL-SAE with a distance-based encoder and two modality-specific decoders to ensure the activation consistency of semantically similar representations. Experiments across multiple VLMs (e.g., CLIP, LLaVA) demonstrate the superior capability of VL-SAE in interpreting and enhancing the vision-language alignment. For interpretation, the alignment between vision and language representations can be understood by comparing their semantics with concepts. For enhancement, the alignment can be strengthened by aligning vision-language representations at the concept level, contributing to performance improvements in downstream tasks, including zero-shot image classification and hallucination elimination. Codes are available at https://github.com/ssfgunner/VL-SAE.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。