Interpreting Vision and Language Generative Models with Semantic Visual Priors

Michele Cafagna, Lina M. Rojas-Barahona, Kees van Deemter, Albert Gatt
4/28/2023
9 citations
cs.CVcs.AIcs.CL

No official code found. Best implementation: michelecafagna26/vl-shap (6 stars, Jupyter Notebook, Apache-2.0, last commit 2023-11-26).

Abstract

When applied to Image-to-text models, interpretability methods often provide token-by-token explanations namely, they compute a visual explanation for each token of the generated sequence. Those explanations are expensive to compute and unable to comprehensively explain the model's output.

Show full abstract

Therefore, these models often require some sort of approximation that eventually leads to misleading explanations. We develop a framework based on SHAP, that allows for generating comprehensive, meaningful explanations leveraging the meaning representation of the output sequence as a whole. Moreover, by exploiting semantic priors in the visual backbone, we extract an arbitrary number of features that allows the efficient computation of Shapley values on large-scale models, generating at the same time highly meaningful visual explanations. We demonstrate that our method generates semantically more expressive explanations than traditional methods at a lower compute cost and that it can be generalized over other explainability methods.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[Frontiers in AI Journal] Implementation of the paper "Interpreting Vision and Language Generative Models with Semantic Visual Priors"

61Jupyter Notebook, PythonAug 12, 20233 years agoApache-2.0
explainable-aiexplainable-machine-learningexplanationsgenerative-aiinterpretable-ai+9 more

Similar Papers

Cite this paper

@article{cafagna2023interpreting,
  title  = {Interpreting Vision and Language Generative Models with Semantic Visual Priors},
  author = {Michele Cafagna and Lina M. Rojas-Barahona and Kees van Deemter and Albert Gatt},
  year   = {2023},
  eprint = {2304.14986},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.14986v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.14986.svg)](https://codeofpaper.com/paper/2304.14986)

Discussion