[Paper Review] Lexicon Integrated CNN Models with Attention for Sentiment Analysis
This paper proposes a novel CNN-based sentiment analysis model that integrates lexicon embeddings and an attention mechanism to improve performance, stability, and interpretability. By applying separate convolutions to word and lexicon embeddings and using an attention mechanism to weigh important features, the model achieves state-of-the-art results on SemEval’16 and Stanford Sentiment Treebank, with improved learning speed and explainability through attention heatmaps.
With the advent of word embeddings, lexicons are no longer fully utilized for sentiment analysis although they still provide important features in the traditional setting. This paper introduces a novel approach to sentiment analysis that integrates lexicon embeddings and an attention mechanism into Convolutional Neural Networks. Our approach performs separate convolutions for word and lexicon embeddings and provides a global view of the document using attention. Our models are experimented on both the SemEval'16 Task 4 dataset and the Stanford Sentiment Treebank, and show comparative or better results against the existing state-of-the-art systems. Our analysis shows that lexicon embeddings allow to build high-performing models with much smaller word embeddings, and the attention mechanism effectively dims out noisy words for sentiment analysis.
Motivation & Objective
- To investigate whether lexicons remain useful in deep learning-based sentiment analysis when combined with word embeddings.
- To develop an effective method for integrating lexicon embeddings into CNN architectures for sentiment classification.
- To explore the impact of attention mechanisms in enhancing model performance and interpretability in sentiment analysis.
- To evaluate the robustness and generalization of lexicon-integrated models across different datasets and random seeds.
Proposed method
- The model uses separate convolutional layers for word embeddings and lexicon embeddings to capture distinct sentiment-related features.
- Three integration strategies are evaluated: naive concatenation, multichannel, and separate convolution, with the latter showing superior performance.
- An embedding attention mechanism is applied to dynamically weigh the importance of words and lexicon terms across the sequence.
- The attention mechanism generates attention vectors that highlight sentiment-bearing words and suppress non-sentimental terms like stop words.
- The final prediction is made using a fully connected layer followed by softmax, with attention weights visualized via heatmaps for interpretability.
- Experiments are conducted on the SemEval’16 Task 4 and Stanford Sentiment Treebank datasets using multiple random seeds to assess stability.
Experimental results
Research questions
- RQ1Can lexicon embeddings still enhance sentiment analysis performance when used alongside pre-trained word embeddings in a deep learning framework?
- RQ2Which method of integrating lexicon embeddings—concatenation, multichannel, or separate convolution—yields the best performance and stability?
- RQ3How does the attention mechanism improve model performance and interpretability in sentiment classification tasks?
- RQ4Does the integration of lexicon embeddings and attention lead to faster convergence during training?
Key findings
- The SC-EAV model, which combines separate convolution and embedding attention, achieves state-of-the-art performance on both the SemEval’16 and Stanford Sentiment Treebank datasets.
- Lexicon embeddings enable high-performing models even with smaller word embeddings, reducing reliance on large pre-trained embeddings.
- The attention mechanism effectively highlights sentiment-bearing words (e.g., negative words in red on heatmaps) and de-emphasizes non-sentimental terms like stop words (e.g., in green and blue).
- Models incorporating lexicon embeddings and attention show faster convergence, achieving high F1 scores earlier in training, as confirmed by averaged learning curves across ten random seeds.
- The model’s performance is stable across different random seeds, with consistent improvements in accuracy and F1 score, indicating strong generalization.
- The attention heatmap provides meaningful interpretability, offering visual evidence that the model focuses on relevant sentiment cues, enhancing model transparency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.