Attention-Guided Saliency Maps for Interpreting Visualization Literacy in VLMs

Computer Vision and Pattern RecognitionHuman-Computer Interaction

Summary

The authors developed a simple method to show where vision-language models focus when answering questions about images, especially data visualizations. Their method tracks the model's internal attention and links it back to parts of the image, creating maps that highlight which image areas influence each word generated. This helps researchers see if the model is looking at the right parts of the image for its answers. They tested their method and confirmed it accurately represents the model's behavior.

Authors

Maeve Hutchinson, Abderrahmane Wassim Mehdaoui, Pranava Madhyastha

Abstract

Understanding how vision-language models (VLMs) interpret data visualizations remains an open problem, and is increasingly important as these models are used for analytical tasks where reliable reasoning is essential. We introduce a lightweight, diagnostic saliency map method tailored for text generation over images using transformer models, the current state-of-the-art models in visualization interpretation. Our approach aggregates the language model's attention over the visual tokens across all heads and layers, then maps this attention back onto the vision encoder's patch grid to localise it over the image, producing a direct correspondence between each generated answer token and the image regions it attended to. This yields fast, gradient-free saliency maps that expose how VLMs allocate focus across visual elements during answer generation, enabling inspection of whether model attention aligns with semantically relevant components. We evaluate our approach using a deletion metric which validates the causal faithfulness of our saliency maps to the model's behavior.