Sentiment analysis with adaptive multi-head attention in Transformer
Not on the map. Why?
Abstract (arXiv)
We propose a novel framework based on the attention mechanism to identify the sentiment of a movie review document. Previous efforts on deep neural networks with attention mechanisms focus on encoder and decoder with fixed numbers of multi-head attention. Therefore, we need a mechanism to stop the attention process automatically if no more useful information can be read from the memory.In this paper, we propose an adaptive multi-head attention architecture (AdaptAttn) which varies the number of attention heads based on length of sentences. AdaptAttn has a data preprocessing step where each document is classified into any one of the three bins small, medium or large based on length of the sentence. The document classified as small goes through two heads in each layer, the medium group passes four heads and the large group is processed by eight heads. We examine the merit of our model on the Stanford large movie review dataset. The experimental results show that the F1 score from our model is on par with the baseline model.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 1 of its 6 references that are in the map. First posted on arXiv 23 Oct 2023.
Builds on
1 of 6 references.
References · 1
- 2017Attention Is All You Needcited by 60,361
Built on by
Citing papers per year: 2023: 3; 2024: 1; 2025: 0; 2026: 1.
5 papers.
- 2024Evolution and Efficiency in Neural Architecture Search: Bridging the Gap Between Expert Design and Automated Optimizationcited by 3
- 2023FedEmb: A Vertical and Hybrid Federated Learning Algorithm using Network And Feature Embedding Aggregationcited by 2
- 2023Joint Detection Algorithm for Multiple Cognitive Users in Spectrum Sensingcited by 1
- 2023Optimizing the Passenger Flow for Airport Security Checkcited by 1
- 2026Dynamic Adaptive Attention and Supervised Contrastive Learning: A Novel Hybrid Framework for Text Sentiment Classificationcited by 0
- 2026Dynamic Adaptive Attention and Supervised Contrastive Learning: A Novel Hybrid Framework for Text Sentiment Classification12 Apr 2026
- 2024Evolution and Efficiency in Neural Architecture Search: Bridging the Gap Between Expert Design and Automated Optimization11 Feb 2024
- 2023Optimizing the Passenger Flow for Airport Security Check30 Nov 2023
- 2023FedEmb: A Vertical and Hybrid Federated Learning Algorithm using Network And Feature Embedding Aggregation30 Nov 2023
- 2023Joint Detection Algorithm for Multiple Cognitive Users in Spectrum Sensing30 Nov 2023