Does BERT look at sentiment lexicon?
Not on the map. Why?
Abstract (arXiv)
The main approaches to sentiment analysis are rule-based methods and ma-chine learning, in particular, deep neural network models with the Trans-former architecture, including BERT. The performance of neural network models in the tasks of sentiment analysis is superior to the performance of rule-based methods. The reasons for this situation remain unclear due to the poor interpretability of deep neural network models. One of the main keys to understanding the fundamental differences between the two approaches is the analysis of how sentiment lexicon is taken into account in neural network models. To this end, we study the attention weights matrices of the Russian-language RuBERT model. We fine-tune RuBERT on sentiment text corpora and compare the distributions of attention weights for sentiment and neutral lexicons. It turns out that, on average, 3/4 of the heads of various model var-iants statistically pay more attention to the sentiment lexicon compared to the neutral one.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 14 of its 38 references that are in the map. First posted on arXiv 19 Nov 2021.
Builds on
14 of 38 references.
References · 14
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2013Crowdsourcing a Word-Emotion Association Lexiconcited by 196
- 2019Adaptation of Deep Bidirectional Multilingual Transformers for Russian Languagecited by 109
- 2020How do Decisions Emerge across Layers in Neural Models? Interpretation with Differentiable Maskingcited by 63
- 2020Interpretation of NLP models through input marginalizationcited by 44
- 2015Morphological Analyzer and Generator for Russian and Ukrainian Languagescited by 25
- 2021On Explaining Your Explanations of BERT: An Empirical Study with Sequence Classificationcited by 21
- 2019Modeling emotion in complex stories: the Stanford Emotional Narratives Datasetcited by 20
Built on by
Citing papers per year: 2024: 1.
1 paper.