Identifying Critical Tokens for Accurate Predictions in Transformer-based Medical Imaging Models

Solha Kang, Joris Vankerschaver, Utku Ozbulak
1/26/2025
cs.CVcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

With the advancements in self-supervised learning (SSL), transformer-based computer vision models have recently demonstrated superior results compared to convolutional neural networks (CNNs) and are poised to dominate the field of artificial intelligence (AI)-based medical imaging in the upcoming years. Nevertheless, similar to CNNs, unveiling the decision-making process of transformer-based models remains a challenge. In this work, we take a step towards demystifying the decision-making process of transformer-based medical imaging models and propose Token Insight, a novel method that identifies the critical tokens that contribute to the prediction made by the model. Our method relies on the principled approach of token discarding native to transformer-based models, requires no additional module, and can be applied to any transformer model. Using the proposed approach, we quantify the importance of each token based on its contribution to the prediction and enable a more nuanced understanding of the model's decisions. Our experimental results which are showcased on the problem of colonic polyp identification using both supervised and self-supervised pretrained vision transformers indicate that Token Insight contributes to a more transparent and interpretable transformer-based medical imaging model, fostering trust and facilitating broader adoption in clinical settings.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kang2025identifying,
  title  = {Identifying Critical Tokens for Accurate Predictions in Transformer-based Medical Imaging Models},
  author = {Solha Kang and Joris Vankerschaver and Utku Ozbulak},
  year   = {2025},
  eprint = {2501.15452},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.15452v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.15452.svg)](https://codeofpaper.com/paper/2501.15452)

Discussion