ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers

Jim Berend, Reduan Achtibat, Daniel Schäffer, Alexander Binder, Wojciech Samek +2 more
9/15/2026
cs.CVcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Vision Transformers (ViTs) are central to most modern vision models, yet obtaining input attributions that are fine-grained, faithful, and stable remains challenging. Layer-wise Relevance Propagation (LRP) has been adapted to transformer attention, but in ViTs it often produces noisy, unfaithful explanations. We show that the missing ingredient is the treatment of residual connections: cancellation effects in residual pathways lead to attribution explosion. Moreover, we find that these cancellations are substantially stronger in ViTs than in language transformers. To address this issue, we introduce Residual-aware Layer-wise Relevance Propagation (ResLRP), a simple extension of LRP whose propagation rules explicitly account for cancellations in residual branches, are exactly conservative, and provably bound relevance explosion. Causal channel-wise interventions confirm that residual cancellation, not a generic regularization effect, drives the instability. ResLRP substantially improves attribution quality across faithfulness and localization, evaluated on ViT architectures spanning supervised, self-supervised, contrastive, hierarchical, and multimodal families, as well as on the ground-truth-controlled FunnyBirds benchmark. The largest gains arise in modern Vision Language Models (VLMs), with +27-29% localization and up to 3.4x faithfulness scores. Beyond benchmarks, ResLRP localizes Sparse Autoencoder (SAE) features in input space, and our residual amplification measure serves as an architecture-level diagnostic predicting where attribution degrades.

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. Any repos shown below are weak matches — 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{berend2026reslrp,
  title  = {ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers},
  author = {Jim Berend and Reduan Achtibat and Daniel Schäffer and Alexander Binder and Wojciech Samek and Sebastian Lapuschkin and Maximilian Dreyer},
  year   = {2026},
  eprint = {2609.17152},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.17152v1}
}

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

Discussion