# Causal Attribution via Activation Patching

*Amirmohammad Izadi, Mohammadali Banayeeanzade, Alireza Mirrokni, Hosein Hasani, Mobin Bagherian, Faridoun Mehri, Mahdieh Baghshah*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155095) · [OpenReview](https://openreview.net/forum?id=8SdGwDmfly) · [alphaXiv](https://www.alphaxiv.org/abs/2603.13652) · [Open on the map](../papers.html#p155095)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Mechanistic Interpretability](../pgroup/413.md) · Type: new method · Keywords: causal attribution, Vision Transformers, activation patching, interpretability, attribution methods

Areas: [Causal Inference](../areas/causal-inference.md) › Causal Learning › Causal Explanations; [Interpretability](../areas/interpretability.md) › Model Explanations › Attribution Methods

## Summary
CAAP estimates the contribution of individual image patches to Vision Transformer predictions by directly intervening on internal activations, producing more faithful and localized attribution maps.

## Explained to a 5-year-old
The paper helps a computer see pictures and understand why it thinks something is a cat. It looks at the inside parts of the computer’s brain where pictures are stored. By moving those inside parts around, it can see how much each picture piece really helped the decision. This makes the computer’s guesses clearer and more accurate than before. So people can trust the computer more when it makes important choices.

## Explained to a 5-year-old, longer
Computers can look at pictures and try to guess what’s in them, like a cat or a dog. To be useful, we want to know which part of the picture made the computer think that. Existing ways to find this are like guessing, and they often get it wrong. The new idea is to look inside the computer’s brain where the picture pieces are stored. It takes the piece that belongs to a certain part of the picture and moves it into a neutral place. Then it sees what the computer would say about that piece. This tells us how important that piece really was for the decision. By doing this for every piece, we get a clear map showing which parts matter most. The result is a picture that shows the important spots more accurately than before. This helps people trust the computer’s answers because they can see the reasoning. It also works better on different kinds of computers that look at pictures. So the method makes image understanding clearer and more reliable.

## For a technical reader
The paper introduces a causal attribution technique for Vision Transformers that directly manipulates internal patch activations instead of relying on gradients or input perturbations. For each image patch, the method copies its activation into a neutral context across intermediate layers and measures the resulting class score as an attribution signal. This intervention isolates the semantic contribution of each patch after initial representation formation, yielding more faithful and spatially precise attribution maps. Experiments across multiple ViT backbones show consistent improvements over existing attribution methods on standard metrics. The approach provides a principled, post-hoc interpretability tool that can be integrated into existing models without altering their training.

## Problem
Faithful and well-localized attribution for Vision Transformers remains challenging because existing methods rely on indirect proxies such as gradients, attention weights, or input perturbations rather than directly testing the predictive effect of patch representations.

## Method
The approach intervenes on internal patch activations by inserting source-image activations into a neutral target context across intermediate layers and uses the resulting class scores as attribution signals.

## Results
The approach achieves higher scores on standard attribution metrics across multiple Vision Transformer backbones compared to existing methods.

## Contributions
It introduces a causal attribution technique that directly manipulates internal activations to measure patch influence, providing more faithful and localized attribution maps than prior gradient-based, relevance-propagation, or perturbation methods.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155095)
