Pith. sign in

REVIEW 1 cited by

AtMan: Understanding Transformer Predictions Through Memory Efficient Attention Manipulation

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2301.08110 v6 pith:UOT3OVXM submitted 2023-01-19 cs.LG cs.AI

classification cs.LGcs.AI
keywords atmanlargememorytransformeralmostattentionbackpropagationcurrent
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Generative transformer models have become increasingly complex, with large numbers of parameters and the ability to process multiple input modalities. Current methods for explaining their predictions are resource-intensive. Most crucially, they require prohibitively large amounts of extra memory, since they rely on backpropagation which allocates almost twice as much GPU memory as the forward pass. This makes it difficult, if not impossible, to use them in production. We present AtMan that provides explanations of generative transformer models at almost no extra cost. Specifically, AtMan is a modality-agnostic perturbation method that manipulates the attention mechanisms of transformers to produce relevance maps for the input with respect to the output prediction. Instead of using backpropagation, AtMan applies a parallelizable token-based search method based on cosine similarity neighborhood in the embedding space. Our exhaustive experiments on text and image-text benchmarks demonstrate that AtMan outperforms current state-of-the-art gradient-based methods on several metrics while being computationally efficient. As such, AtMan is suitable for use in large model inference deployments.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributions

    cs.CV 2024-11 conditional novelty 6.0 of 10

    LibraGrad prunes and scales backward gradient paths in Vision Transformers to make attribution maps more complete and more faithful, improving existing gradient-based explanation methods.

Pith tools