VisQA: X-raying Vision and Language Reasoning in Transformers
Open accessThe DOI matches its Crossref record; 77 of the 78 references it cites were found in a registry or an index.
Abstract
Visual Question Answering systems target answering open-ended textual questions given input images. They are a testbed for learning high-level reasoning with a primary use in HCI, for instance assistance for the visually impaired. Recent research has shown that state-of-the-art models tend to produce answers exploiting biases and shortcuts in the training data, and sometimes do not even look at the input image, instead of performing the required reasoning steps. We present VisQA, a visual analytics tool that explores this question of reasoning vs. bias exploitation. It exposes the key element of state-of-the-art neural models - attention maps in transformers. Our working hypothesis is that reasoning steps leading to model predictions are observable from attention distributions, which are particularly useful for visualization. The design process of VisQA was motivated by well-known bias examples from the fields of deep learning and vision-language reasoning and evaluated in two ways. First, as a result of a collaboration of three fields, machine learning, vision and language reasoning, and data analytics, the work lead to a better understanding of bias exploitation of neural models for VQA, which eventually resulted in an impact on its design and training through the proposition of a method for the transfer of reasoning patterns from an oracle model. Second, we also report on the design of VisQA, and a goal-oriented evaluation of VisQA targeting the analysis of a model decision process from multiple experts, providing evidence that it makes the inner workings of models accessible to users.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The check wasn’t confident either way, so it gives no verdict — never disputed.
In the citing paper
“In general, if aim to learn more explicit object concepts, more complex pretext losses will be used [204].”
From Multimodal learning with transformers: A survey (2023) · cites this paper as [204]
Experimental — accuracy not yet measuredIn the citing paper
“The RACE dataset [14] is a multiple-choice reading comprehension dataset built from English examinations used for benchmarking this task.”
From Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation With Large Language Models (2022) · cites this paper as [14]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
Ren, S., He, K., Girshick, R., & Sun, J. (2017) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2016.2577031 · Cited by 73,472 · cited 3×
“While the input image itself does contain all clear pictures of the answer, the neural transformer model reasons over a list of objects detected by a first object detection and recognition module (Faster R-CNN [48]) which may output errors.”
InfluentialBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks
Ren, S., He, K., Girshick, R., & Sun, J. (2015) · arXiv · doi:10.48550/arxiv.1506.01497 · Cited by 70,812 · cited 3×
“While the input image itself does contain all clear pictures of the answer, the neural transformer model reasons over a list of objects detected by a first object detection and recognition module (Faster R-CNN [48]) which may output errors.”
InfluentialBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
Microsoft COCO: Common Objects in Context
Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., & Zitnick, C. L. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-10602-1_48 · Cited by 45,460
PyTorch: An Imperative Style, High-Performance Deep Learning Library
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al. (2019) · arXiv · doi:10.48550/arxiv.1912.01703 · Cited by 31,473 · cited 2×
“The user interface of V IS QA is implemented using D3 [6], and directly interacts with transformer models implemented in Pytorch [46], using JSON files through a python Flask server.”
MethodVisualizing and understanding convolutional networks
Zeiler, M. D., & Fergus, R. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-10590-1_53 · Cited by 15,839 · cited 1×
“Prior work focused on the analysis of image processing models, known as convolutional neuronal networks, by exposing their gradients over the inputted images [63].”
BackgroundWang, X., Girshick, R., Gupta, A., & He, K. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00813 · Cited by 11,596
How transferable are features in deep neural networks?
Yosinski, J., Clune, J., Bengio, Y., & Lipson, H. (2014) · arXiv · doi:10.48550/arxiv.1411.1792 · Cited by 6,061
Cited by
Multimodal learning with transformers: A survey
Xu, P., Zhu, X., & Clifton, D. A. (2023) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2023.3275156 · Cited by 1,072
“Depth to Binaural Audio [14], music piece & seed 3D motion to long-range future 3D motions [146], X-raying image & question to answer [244], video & text & audio to text [245]), and”
BackgroundExplainability for Large Language Models: A Survey
Zhao, H., Chen, H., Yang, F., Liu, N., Deng, H., Cai, H., Wang, S., Yin, D., & Du, M. (2024) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/3639372 · Cited by 681
“Some systems also allow users to manually modify attention weights to observe effects (Jaunet et al., 2021).”
BackgroundInteractive and Visual Prompt Engineering for Ad-hoc Task Adaptation With Large Language Models
Strobelt, H., Webson, A., Sanh, V., Hoover, B., Beyer, J., Pfister, H., & Rush, A. M. (2022) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2022.3209479 · Cited by 204
“…expose the internals of a particular architecture (e.g., Transformers, RNNs, LSTMs) to understand how it encodes knowledge of the language [1,6,11,12,19,24,34,39,40]; (2) to explore and compare the behavior of a model’s internal distributions during text generation [9, 35]; and (3) to understand…”
AttentionViz: A Global View of Transformer Attention
Yeh, C. V., Chen, Y., Wu, A., Chen, C., Viégas, F. B., & WATTENBERG, M. P. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3327163 · Cited by 163
“Another system, VisQA [16], visualizes attention at different heads for visual question-answering tasks by showing heatmaps of language self-attention, vision self-attention, and language-vision cross-attention.”
BackgroundState of the Art of Visual Analytics for eXplainable Deep Learning
Rosa, B. L., Blasilli, G., Bourqui, R., Auber, D., Santucci, G., Capobianco, R., Bertini, E., Giot, R., & Angelini, M. (2023) · Computer Graphics Forum · doi:10.1111/cgf.14733 · Cited by 117
How Does Attention Work in Vision Transformers? A Visual Analytics Attempt
Li, Y., Wang, J., Dai, X., Wang, L., Yeh, C. M., Zheng, Y. L., Zhang, W., & Ma, K. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3261935 · Cited by 79
Visual Analytics for Machine Learning: A Data Perspective Survey
Wang, J., Liu, S., & Zhang, W. Z. (2024) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2024.3357065 · Cited by 73
“Furthermore, the complicated relationship between varying modalities also challenges VIS4ML works to take advantage of the hidden information between modalities to refine and improve ML models [80], [81].”
BackgroundToward Realistic 3D Human Motion Prediction With a Spatio-Temporal Cross- Transformer Approach
Yu, H., Fan, X., Hou, Y., Pei, W., Ge, H., Yang, X., Zhou, D., Zhang, Q., & Zhang, M. (2023) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2023.3255186 · Cited by 55
“Recent studies have shown that the transformer network significantly improves the performance on various tasks, such as image classification [24], [25], object detection [26], [27] and visual question answering systems [28], [29].”
BackgroundYe, S., Chen, D., Han, S., & Liao, J. (2022) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2022.3225327 · Cited by 70
“Generally, the VQA model [35], [40], [44], [45], [70], [89] consists of three components - an image encoder to extract visual information, a language encoder to encode questions, and a fusion module to aggregate information and classify answers.”
MethodPRIME 2.0: Proposed Requirements for Cardiovascular Imaging-Related Multimodal-AI Evaluation
Kagiyama, N., Tokodi, M., Hathaway, Q. A., Arnaout, R., Davies, R. H., Dey, D., Duchateau, N., Fraser, A. G., Goto, S., Jamthikar, A. D., et al. (2025) · JACC. Cardiovascular imaging · doi:10.1016/j.jcmg.2025.08.004 · Cited by 45
Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Models
Strobelt, H., Webson, A., Sanh, V., Hoover, B., Beyer, J., Pfister, H., & Rush, A. M. (2022) · arXiv · doi:10.48550/arxiv.2208.07852 · Cited by 204
“…expose the internals of a particular architecture (e.g., Transformers, RNNs, LSTMs) to understand how it encodes knowledge of the language [1,6,11,12,19,24,34,39,40]; (2) to explore and compare the behavior of a model’s internal distributions during text generation [9, 35]; and (3) to understand…”
Pârcălăbescu, L., & Frank, A. (2023) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2023.acl-long.223 · Cited by 88
“For reference: the images are around 500 pixels in height and width.”
MethodPromptAid: Visual Prompt Exploration, Perturbation, Testing and Iteration for Large Language Models
Mishra, A., Danzy, B., Soni, U., Arunkumar, A., Huang, J., Kwon, B. C., & Bryan, C. (2025) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2025.3535332 · Cited by 107
“…of NLP models, several prior tools can broadly be categorized as supporting two types of tasks: (1) greying black boxed NLP models [28], [29], [30], [31], [32], [33], [34], [35], primarily for model developers and experts, and (2) understanding post hoc model behavior based on input variances…”
Visual Explanation for Open-Domain Question Answering With BERT
Shao, Z., Sun, S., Zhao, Y., Wang, S., Wei, Z., Gui, T., Turkay, Ç., & Chen, S. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3243676 · Cited by 13
“Other head statistics, such as the k − number used in VisQA [30] to represent the distribution of attention heads, are not considered, because only a few strong interactions exist between tokens in each attribution matrix and the distribution within each head is similar to that in others.”
BackgroundMethodInfluentialVisual Analytics for Efficient Image Exploration and User-Guided Image Captioning
Li, Y., Wang, J., Aboagye, P., Yeh, C. M., Zheng, Y. P., Wang, L., Zhang, W., & Ma, K. (2024) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2024.3388514 · Cited by 19
“Jaunet et al. [16] explained a visual question-answering Transformer through attention heatmaps, exploring potential biases within it.”
BackgroundChen, C. L. P., Xia, H., Zhou, W., Xia, C., Liu, M., Hao, R., & Wang, T. (2026) · Applied Intelligence · doi:10.1007/s10489-026-07102-7 · Cited by 11
“This approach has gained widespread use due to its ability to maintain high performance on complex tasks while providing strong explain-ability [38, 39].”
Visual Analysis of Neural Architecture Spaces for Summarizing Design Principles
Yuan, J., Liu, M., Tian, F., & Liu, S. (2022) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2022.3209404 · Cited by 17
“Most existing efforts focus on revealing the working mechanisms of different models, such as multilayer perceptrons [50], ensemble models [38, 72, 76], convolutional neural networks [28, 37, 67], deep generative models [36], recurrent neural networks [41, 57], and Transformers [14, 24, 34].”
BackgroundVisual Question Answering: A Survey on Techniques and Common Trends in Recent LiteraturePreprint
dos Santos, C. F. G., Bastos, F. D. C., de Faria, A. C. A. M., da Silva, J. V. N. A., Uchôa, V. D. S., & Neto, D. G. D. A. (2023) · Research Square · doi:10.21203/rs.3.rs-3015858/v1 · Cited by 13
POEM: Interactive Prompt Optimization for Enhancing Multimodal Reasoning of Large Language Models
He, J., Wang, X., Liu, S., Wu, G., Silva, C. T., & Qu, H. (2025) · IEEE Pacific Visualization Conference (PacificVis) · doi:10.1109/pacificvis64226.2025.00010 · Cited by 18
“Recently, many works [11, 18, 20, 25, 34, 56, 64] have sought to elucidate the attention mechanism to understand the inner workings of transformer-based models in reasoning and decision-making process.”
Pose Guided Person Image Generation Via Dual-Task Correlation and Affinity Learning
Zhang, P., Yang, L., Xie, X., & Lai, J. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3286394 · Cited by 11
“…in Vision Tasks: Inspired by the success of trans-formers [49] in NLP, many researchers had applied transformer architecture to classic computer vision tasks such as image recognition [50], [51], object detection [52], [53], visual question answering [54], [55], and image generation [56].”
BackgroundOW-Adapter: Human-Assisted Open-World Object Detection with a Few Examples
Jamonnak, S., Guo, J., He, W., Gou, L., & Ren, L. (2023) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2023.3326577 · Cited by 8
“Recent research has focused on diagnosing issues in other types of models, including sequential models [49, 59, 60], deep generative models [33,39,63] , multimodal models [11,29,64], even model-agnostic approaches [36,75] .”
BackgroundQian, Y., Zhuang, X., & Wang, M. (2025) · EURASIP Journal on Audio Speech and Music Processing · doi:10.1186/s13636-025-00411-8 · Cited by 6
“Manually adjusting attention weights reveals their influence on the model [16].”
Promptexp: Multi-Granularity Prompt Explanation of Large Language Models
Dong, X., Wang, S., Lin, D., Rajbahadur, G. K., & Hassan, A. E. (2025) · ACM International Conference on AI-Powered Software (AIware) · doi:10.1109/aiware69974.2025.00027 · Cited by 12
“…explanation, which is aim to measure measure the relevance of each input feature (e.g., words, phrases, text spans) to a model’s prediction [4], such as perturbation-based explanation [5], [6], Gradient-based explanation [7]–[9], surrogate models [10], [11], and decomposition-based methods [12].”
Wang, H., Wencheng, Z., Wang, Z., Lu, Z., & Ma, Y. (2025) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2025.3634257 · Cited by 2
“VisQA [32] provides a solution for analyzing bias in visual question-answering models by reasoning different attention heads to predictions.”
Visualization methods for explainable medical imaging diagnosis: A survey
Yang, L., Liu, Y., He, L., & Hu, D. (2026) · Computer Science Review · doi:10.1016/j.cosrev.2026.100930 · Cited by 1
DAttnVis: Attention-guided visual diagnostics for stable diffusion inference in image generation
Liang, X., Chen, Y., & Lv, C. (2026) · Information Visualization · doi:10.1177/14738716261434840 · Cited by 1
“42 45 For instance, VisQA 46 employs multi-view coordination to trace attention flow and activation probes in Transformers, explaining their reasoning in VQA.”
Cho, A. Y., Kim, G. C., Karpekov, A., Lee, S., Helbling, A., Hoover, B., Wang, Z. J., Kahng, M., & Chau, D. H. (2026) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3772318.3791725 · Cited by 12
“Other systems extend this approach to specific domains, such as head-level analysis for Vision Transformers (ViTs) [49], cross-modal interactions in vision-language Transformers [2], and examines reasoning in Transformer-based Visual Question Answering (VQA) models [40].”
Deep learning-based oracle image enhancement and calibration methods
Qiao, Y., & Xing, L. (2025) · Journal of Computational Methods in Sciences and Engineering · doi:10.1177/14727978251365056
Explaining Pre-Trained Language Models in the Context of Higher Education
Chovanec, K., Fields, J., & Madiraju, P. (2025) · IEEE International Conference on Big Data (BigData) · doi:10.1109/bigdata66926.2025.11402656
“Systems have been proposed that allow users to manipulate attention weights and examine the impact, for example [32], while several approaches have investigated attention heads [33], [34].”
Zhang, Z., Chen, L., Lv, Z., Lv, H., Sheng, W., Wei, Z., Wang, B., Shen, Y., Tian, Y., Hu, J., et al. (2026) · JMIR Medical Informatics · doi:10.2196/93522
Visual analytics of transfer learning with LSTM for modeling multi-condition industrial processes
Ji, L., Xu, Z., Tian, W., Yao, X., Fu, Y., Yang, G., & Tian, B. (2026) · Visual Informatics · doi:10.1016/j.visinf.2026.100366
Metadata
- Authors
- Jaunet, T., Kervadec, C., Vuillemot, R., Antipov, G., Baccouche, M., & Wolf, C.
- Affiliations
- Laboratoire d'Informatique en Images et Systèmes d'Information (FR)
- École Centrale de Lyon (FR)
- Institute of Electrical and Electronics Engineers (US)
- Orange (France) (FR)
- Venue
- IEEE Transactions on Visualization and Computer Graphics
- Published
- 2022-01
- Volume
- 28
- Issue
- 1
- Pages
- 976-986
- ISSN
- 1077-2626 (ISSN-L)
- 1941-0506
- 2160-9306
- OpenAlex
- W3147788876
- Cited by
- 30
- References
- 74
- Citations by year
- 2026: 6 · 2025: 8 · 2024: 3 · 2023: 10 · 2022: 3
- FWCI
- 1.41
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- IEEE Transactions on Visualization and Computer Graphics (publishedVersion)
- PubMed (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- HAL (submittedVersion, other-oa)
- arXiv (Cornell University)
- Funders
- Agence Nationale de la Recherche (ANR-20-CHIA-0018)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Explainable Artificial Intelligence (XAI)
- Physical Sciences › Computer Science › Computer Graphics and Computer-Aided Design › Data Visualization and Analytics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Multimodal Machine Learning Applications
- Keywords
- visual question answering, attention maps, transformer models, shortcut learning, vision-language reasoning, model interpretability, visual analytics tools, explainable AI
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.