Science AdvancesBioinformaticsPeer-reviewed journal article
Quantifying Interpretation Reproducibility in Vision Transformer Models with TAVAC
Yue ZhaoiD, Dylan Agyemang, Yang LiuiD, J. Matthew MahoneyiD, Sheng LiiD
Abstract
The use of deep learning algorithms to extract meaningful diagnostic features from biomedical images holds the promise to improve patient care given the expansion of digital pathology. Among these deep learning models, Vision Transformer (ViT) models have been demonstrated to capture long-range spatial relationships with more robust prediction power for image classification tasks than regular convolutional neural network (CNN) models, and also better model interpretability. Model interpretation is important for understanding and elucidating how a deep learning model makes predictions, especially for developing transparent models for digital pathology. However, like other deep learning algorithms, with limited annotated biomedical imaging datasets, ViT models are prone to poor performance due to overfitting, which can lead to false predictions due to random noise. Overfitting affects model interpretation when predictions are made out of random noise. To address this issue, we introduce a novel metric - Training Attention and Validation Attention Consistency (TAVAC) - for evaluating ViT model degree of overfitting on imaging datasets and quantifying the reproducibility of interpretation. Specifically, the model interpretation is performed by comparing the high-attention regions in the image between training and testing. We test the method on four publicly available image classification datasets and two independent breast cancer histological image datasets. All overfitted models exhibited significantly lower TAVAC scores than the good-fit models. The TAVAC score quantitatively measures the level of generalization of model interpretation on a fine-grained level for small groups of cells in each H&E image, which cannot be provided by traditional performance evaluation metrics like prediction accuracy. Furthermore, the application of TAVAC extends beyond medical diagnostic AI models; it enhances the monitoring of model interpretative reproducibility at pixel-resolution in basic research, to reveal critical spatial patterns and cellular structures essential to understanding biological processes and disease mechanisms. TAVAC sets a new standard for evaluating the performance of deep learning model interpretation and provides a method for determining the significance of high-attention regions detected from the attention map of the biomedical images.
- assay: imaging
- research focus: benchmarking
- research focus: gene regulatory network inference
- research focus: cell-cell communication
- approach: statistical model
- Citations
- 11
- FWCI
- 1.62
- Field percentile
- top 15%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Benchmarking attention-based methods for vision transformers' interpretability in retinal fundus imaging
Sacha Bors, Michael Beyeler, … Sven Bergmann·bioRxiv·Jun 18, 2026
- Evaluating reproducibility of AI algorithms in digital pathology with DAPPER
Andrea Bizzego, Nicole Bussola, … Cesare Furlanello·PLoS Computational BiologyPeer-reviewed·Mar 27, 2019
- Compact Vision--Language Models Enable Efficient and Interpretable Automated OCT Analysis Through Layer Specific Multimodal Learning
Tania Haghighi, Sina Gholami, … Minhaj Nur Alam·bioRxiv·Aug 7, 2025
- Comparing tangible retinal image characteristics with deep learning features reveals their complementarity for gene association and disease prediction
Michael J. Beyeler, Olga Trofimova, … Sven Bergmann·medRxiv·Dec 23, 2024
- Multi-task learning of a deep k-nearest neighbour network for histopathological image classification and retrieval
T. Peng, M. Boxberg, … C. Marr·bioRxiv·Jun 6, 2019
- Attcatvgg-Net: an Explainable Multioutput Deep Learning Framework for Cataract Stage Classification and Visual Acuity Regression using Multicolor Fundus Images
Mostafa Nazarpour-Servak, Neda Taghinezhad, … Mohammad Hossein Nowroozzadeh·bioRxiv·Oct 25, 2025