Pith. sign in

REVIEW 3 cited by

Attention is Not Only a Weight: Analyzing Transformers with Vector Norms

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 2004.10102 v2 pith:HTOYGQ5V submitted 2020-04-21 cs.CL

classification cs.CL
keywords attentiontransformersanalyzingbertfindingslinguisticnorm-basedonly
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Attention is a key component of Transformers, which have recently achieved considerable success in natural language processing. Hence, attention is being extensively studied to investigate various linguistic capabilities of Transformers, focusing on analyzing the parallels between attention weights and specific linguistic phenomena. This paper shows that attention weights alone are only one of the two factors that determine the output of attention and proposes a norm-based analysis that incorporates the second factor, the norm of the transformed input vectors. The findings of our norm-based analyses of BERT and a Transformer-based neural machine translation system include the following: (i) contrary to previous studies, BERT pays poor attention to special tokens, and (ii) reasonable word alignment can be extracted from attention mechanisms of Transformer. These findings provide insights into the inner workings of Transformers.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 17 citations worldwide. Full citation record

  1. Stable Attention Response for Reliable Precipitation Nowcasting

    cs.LG 2026-05 conditional novelty 7.0 of 10

    Stabilizing head-wise attention-response energy across samples improves precipitation nowcasting accuracy on SEVIR and MeteoNet.

  2. TESSER: Transfer-Enhancing Adversarial Attacks from Vision Transformers via Spectral and Semantic Regularization

    cs.CV 2025-05 conditional novelty 6.0 of 10

    TESSER boosts black-box transferability of ViT-based adversarial attacks by reweighting gradients per token importance and smoothing perturbations spectrally, outperforming ATT on ImageNet benchmarks.

  3. ALPS: Attention Localization and Pruning Strategy for Efficient Alignment of Large Language Models

    cs.CL 2025-05 conditional novelty 5.0 of 10

    ALPS selects task-sensitive attention heads by measuring Wasserstein distance between base and task-tuned weights, and freezing other heads during fine-tuning improves performance and efficiency.

Pith tools