R-Cut: Enhancing Explainability in Vision Transformers with Relationship Weighted Out and Cut

Yingjie Niu, Ming Ding, Maoning Ge, Robin Karlsson, Yuxiao Zhang +1 more
7/18/2023
cs.CVcs.AI
transformer-attention

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Transformer-based models have gained popularity in the field of natural language processing (NLP) and are extensively utilized in computer vision tasks and multi-modal models such as GPT4. This paper presents a novel method to enhance the explainability of Transformer-based image classification models.

Show full abstract

Our method aims to improve trust in classification results and empower users to gain a deeper understanding of the model for downstream tasks by providing visualizations of class-specific maps. We introduce two modules: the ``Relationship Weighted Out" and the ``Cut" modules. The ``Relationship Weighted Out" module focuses on extracting class-specific information from intermediate layers, enabling us to highlight relevant features. Additionally, the ``Cut" module performs fine-grained feature decomposition, taking into account factors such as position, texture, and color. By integrating these modules, we generate dense class-specific visual explainability maps. We validate our method with extensive qualitative and quantitative experiments on the ImageNet dataset. Furthermore, we conduct a large number of experiments on the LRN dataset, specifically designed for automatic driving danger alerts, to evaluate the explainability of our method in complex backgrounds. The results demonstrate a significant improvement over previous methods. Moreover, we conduct ablation experiments to validate the effectiveness of each module. Through these experiments, we are able to confirm the respective contributions of each module, thus solidifying the overall effectiveness of our proposed approach.

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. 1 weaker match is 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{niu2023rcut,
  title  = {R-Cut: Enhancing Explainability in Vision Transformers with Relationship Weighted Out and Cut},
  author = {Yingjie Niu and Ming Ding and Maoning Ge and Robin Karlsson and Yuxiao Zhang and Kazuya Takeda},
  year   = {2023},
  eprint = {2307.09050},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.09050v1}
}

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/2307.09050.svg)](https://codeofpaper.com/paper/2307.09050)

Discussion