Advancing Attribution-Based Neural Network Explainability through Relative Absolute Magnitude Layer-Wise Relevance Propagation and Multi-Component Evaluation

Davor Vukadin, Petar Afrić, Marin Šilić, Goran Delač
12/12/2024
cs.CVcs.AI

Official code: davor10105/relative-absolute-magnitude-propagation (4 stars, last commit 2024-12-05).

Abstract

Recent advancement in deep-neural network performance led to the development of new state-of-the-art approaches in numerous areas. However, the black-box nature of neural networks often prohibits their use in areas where model explainability and model transparency are crucial. Over the years, researchers proposed many algorithms to aid neural network understanding and provide additional information to the human expert. One of the most popular methods being Layer-Wise Relevance Propagation (LRP). This method assigns local relevance based on the pixel-wise decomposition of nonlinear classifiers. With the rise of attribution method research, there has emerged a pressing need to assess and evaluate their performance. Numerous metrics have been proposed, each assessing an individual property of attribution methods such as faithfulness, robustness or localization. Unfortunately, no single metric is deemed optimal for every case, and researchers often use several metrics to test the quality of the attribution maps. In this work, we address the shortcomings of the current LRP formulations and introduce a novel method for determining the relevance of input neurons through layer-wise relevance propagation. Furthermore, we apply this approach to the recently developed Vision Transformer architecture and evaluate its performance against existing methods on two image classification datasets, namely ImageNet and PascalVOC. Our results clearly demonstrate the advantage of our proposed method. Furthermore, we discuss the insufficiencies of current evaluation metrics for attribution-based explainability and propose a new evaluation metric that combines the notions of faithfulness, robustness and contrastiveness. We utilize this new metric to evaluate the performance of various attribution-based methods. Our code is available at: https://github.com/davor10105/relative-absolute-magnitude-propagation

View on arXivView PDF

Code Implementations(1)

Explain the outputs of your Vision Transformers, Residual Networks and classic CNNs with absLRP and evaluate the explanations over multiple criteria using Global Attribution Evaluation.

41PythonJun 11, 20231 years ago
attributionexplainabilityexplainable-aitransformersxai

Cite this paper

@article{vukadin2024advancing,
  title  = {Advancing Attribution-Based Neural Network Explainability through Relative Absolute Magnitude Layer-Wise Relevance Propagation and Multi-Component Evaluation},
  author = {Davor Vukadin and Petar Afrić and Marin Šilić and Goran Delač},
  year   = {2024},
  eprint = {2412.09311},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.09311v1}
}

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

Discussion