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

TExplain:通过预训练(冻结)语言模型解释学习到的视觉特征

TExplain: Explaining Learned Visual Features via Pre-trained (Frozen) Language Models

Autodesk Research(奥多 research 研究院);Simon Fraser University(西蒙菲莎大学)

Saeid Asgari Taghanaki, Aliasghar Khani, Ali Saheb Pasand, Amir Khasahmadi, Aditya Sanghi, Karl D. D. Willis, Ali Mahdavi-Amiri

AI总结:

TExplain通过训练神经网络连接图像分类器特征空间与预训练语言模型,生成解释性句子并提取高频词,以揭示分类器决策依据、检测虚假相关性和偏差,从而提升可解释性与鲁棒性。

摘要:

解释视觉模型学习到的特征一直是机器学习领域长期存在的挑战。为了解决这一问题,我们提出了一种新方法,利用语言模型的能力来解释预训练图像分类器学习到的特征。我们的方法称为 TExplain,通过训练一个神经网络来建立图像分类器特征空间与语言模型之间的联系,从而完成这一任务。然后,在推理阶段,我们的方法会生成大量句子,以解释分类器针对给定图像学习到的特征。随后,利用这些句子提取出现频率最高的词,从而全面理解分类器内部学习到的特征和模式。我们的方法首次利用与视觉表示相对应的这些高频词,来洞察独立训练的分类器的决策过程,从而能够检测虚假相关性、偏差,并更深入地理解其行为。为验证方法的有效性,我们在多个数据集上进行了实验,包括 ImageNet-9L 和 Waterbirds。结果表明,我们的方法在提升图像分类器的可解释性和鲁棒性方面具有潜力。

英文摘要:

Interpreting the learned features of vision models has posed a longstanding challenge in the field of machine learning. To address this issue, we propose a novel method that leverages the capabilities of language models to interpret the learned features of pre-trained image classifiers. Our method, called TExplain, tackles this task by training a neural network to establish a connection between the feature space of image classifiers and language models. Then, during inference, our approach generates a vast number of sentences to explain the features learned by the classifier for a given image. These sentences are then used to extract the most frequent words, providing a comprehensive understanding of the learned features and patterns within the classifier. Our method, for the first time, utilizes these frequent words corresponding to a visual representation to provide insights into the decision-making process of the independently trained classifier, enabling the detection of spurious correlations, biases, and a deeper comprehension of its behavior. To validate the effectiveness of our approach, we conduct experiments on diverse datasets, including ImageNet-9L and Waterbirds. The results demonstrate the potential of our method to enhance the interpretability and robustness of image classifiers.

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

↑