DeViL: Decoding Vision features into Language

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

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

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 generates textual descriptions of visual features at different layers of the network as well as highlights the attribution locations of learned concepts. 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 and can be applied to any vision backbone. 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. Further, we analyze fine-grained descriptions of layers as well as specific spatial locations and show that DeViL outperforms the current state-of-the-art on the neuron-wise descriptions of the MILANNOTATIONS dataset.

Original languageEnglish
Title of host publicationPattern Recognition - 45th DAGM German Conference, DAGM GCPR 2023, Proceedings
EditorsUllrich Köthe, Carsten Rother
PublisherSpringer Science and Business Media Deutschland GmbH
Pages363-377
Number of pages15
ISBN (Print)9783031546044
DOIs
Publication statusPublished - 1 Jan 2024
Externally publishedYes
Event45th Annual Conference of the German Association for Pattern Recognition, DAGM-GCPR 2023 - Heidelberg, Germany
Duration: 19 Sept 202322 Sept 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14264 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference45th Annual Conference of the German Association for Pattern Recognition, DAGM-GCPR 2023
Country/TerritoryGermany
CityHeidelberg
Period19/09/2322/09/23

Keywords

  • Explainable AI
  • Natural Language Explanations
  • Open-vocabulary Saliency
  • Vision-Language Models

Fingerprint

Dive into the research topics of 'DeViL: Decoding Vision features into Language'. Together they form a unique fingerprint.

Cite this