Interpreting Vision and Language Generative Models with Semantic Visual Priors

Publication date

2023-09-25

Authors

Cafagna, MISNI 0000000421741369
Rojas-Barahona, LM
van Deemter, C.J.ISNI 0000000115590531
Gatt, AlbertORCID 0000-0001-6388-8244ISNI 0000000048277966

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

cc_by

Abstract

When applied to Image-to-text models, explainability methods have two challenges. First, they often provide token-by-token explanations namely, they compute a visual explanation for each token of the generated sequence. This makes explanations expensive to compute and unable to comprehensively explain the model's output. Second, for models with visual inputs, explainability methods such as SHAP typically consider superpixels as features. Since superpixels do not correspond to semantically meaningful regions of an image, this makes explanations harder to interpret. 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 to a large family of vision-language models.

Keywords

vision and language, multimodality, explainability, image captioning, visual questionanswering, natural language generation

Citation

Cafagna, M, Rojas-Barahona, LM, van Deemter, K & Gatt, A 2023, 'Interpreting Vision and Language Generative Models with Semantic Visual Priors', Frontiers in Artificial Intelligence, vol. 6, 122047, pp. 1-18. https://doi.org/10.3389/frai.2023.1220476