PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
January 1, 2020139 citationsOpen Access

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

View Full Paper
GKGoro KobayashiTKTatsuki KuribayashiSYSho Yokoi

Key Points

Key points are not available for this paper at this time.

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.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Kobayashi et al. (2020) studied this question.

synapsesocial.com/papers/6a11e9c5997792fb8c8e19bdhttps://doi.org/10.18653/v1/2020.emnlp-main.574
Ask AI
Helpful
Bookmark
Share
View Full Paper