Litcius/Paper detail

Explaining transformer-based image captioning models: An empirical analysis

Marcella Cornia, Lorenzo Baraldi, Rita Cucchiara

2021AI Communications43 citationsDOIOpen Access PDF

Abstract

Image Captioning is the task of translating an input image into a textual description. As such, it connects Vision and Language in a generative fashion, with applications that range from multi-modal search engines to help visually impaired people. Although recent years have witnessed an increase in accuracy in such models, this has also brought increasing complexity and challenges in interpretability and visualization. In this work, we focus on Transformer-based image captioning models and provide qualitative and quantitative tools to increase interpretability and assess the grounding and temporal alignment capabilities of such models. Firstly, we employ attribution methods to visualize what the model concentrates on in the input image, at each step of the generation. Further, we propose metrics to evaluate the temporal alignment between model predictions and attribution scores, which allows measuring the grounding capabilities of the model and spot hallucination flaws. Experiments are conducted on three different Transformer-based architectures, employing both traditional and Vision Transformer-based visual features.

Topics & Concepts

InterpretabilityClosed captioningComputer scienceTransformerArtificial intelligenceVisualizationMachine learningGenerative grammarNatural language processingComputer visionImage (mathematics)PhysicsQuantum mechanicsVoltageMultimodal Machine Learning ApplicationsHuman Pose and Action RecognitionAdvanced Image and Video Retrieval Techniques
Explaining transformer-based image captioning models: An empirical analysis | Litcius