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

DeViL:将视觉特征解码为语言

DeViL: Decoding Vision features into Language

Faculdade de Ciências da Universidade do Porto(波尔图大学理学院);University of Tübingen(图宾根大学);MPI for Intelligent Systems(马克斯·普朗克智能系统研究所);INESC TEC(葡萄牙系统与计算机工程、技术与科学研究所)

Meghal Dani, Isabel Rio-Torto, Stephan Alaniz, Zeynep Akata

AI总结:

DeViL通过Transformer将视觉特征解码为语言,生成分层文本描述和开放词汇归因图,在CC3M和MILANNOTATIONS上超越现有方法,且训练快、适用于任意视觉骨干。

摘要:

事后解释方法常因抽象化了深度神经网络的决策过程而受到批评。在这项工作中,我们希望为视觉骨干网络的不同层所学到的内容提供自然语言描述。我们的DeViL方法将视觉特征解码为语言,不仅突出归因位置,还在网络的不同层生成视觉特征的文本描述。我们训练一个Transformer网络,将任意视觉层的单个图像特征翻译成提示词,再由一个独立的现成语言模型将其解码为自然语言。通过在每层和每个空间位置采用dropout,我们的模型能够将图像-文本对的训练泛化到生成局部解释。由于使用了预训练语言模型,我们的方法训练速度快,可应用于任何视觉骨干网络,并在视觉网络的不同层生成文本描述。此外,DeViL可以创建与单词或短语对应的开放词汇归因图,即使这些单词或短语超出视觉模型的训练范围。我们证明,DeViL在CC3M数据集上生成的文本描述与图像内容相关,超越了以往轻量级字幕模型,并且归因图揭示了视觉骨干网络所学到的概念。最后,我们展示DeViL在MILANNOTATIONS数据集的神经元级描述上也优于当前最先进的方法。代码可在https://github.com/ExplainableML/DeViL获取。

英文摘要:

Post-hoc explanation methods have often been criticised for abstracting away the decision-making process of deep neural networks. In this work, we would like to provide natural language descriptions for what different layers of a vision backbone have learned. Our DeViL method decodes vision features into language, not only highlighting the attribution locations but also generating textual descriptions of visual features at different layers of the network. We train a transformer network to translate individual image features of any vision layer into a prompt that a separate off-the-shelf language model decodes into natural language. By employing dropout both per-layer and per-spatial-location, our model can generalize training on image-text pairs to generate localized explanations. As it uses a pre-trained language model, our approach is fast to train, can be applied to any vision backbone, and produces textual descriptions at different layers of the vision network. Moreover, DeViL can create open-vocabulary attribution maps corresponding to words or phrases even outside the training scope of the vision model. We demonstrate that DeViL generates textual descriptions relevant to the image content on CC3M surpassing previous lightweight captioning models and attribution maps uncovering the learned concepts of the vision backbone. Finally, we show DeViL also outperforms the current state-of-the-art on the neuron-wise descriptions of the MILANNOTATIONS dataset. Code available at https://github.com/ExplainableML/DeViL

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

↑