Introduction
Sentiment analysis has evolved from simple document-level classification to more granular tasks like Aspect-Level Sentiment Analysis (ALSA). While traditional sentiment analysis might classify a whole review as positive or negative, ALSA seeks to identify the specific sentiment associated with different entities or "aspects" within a single sentence. For instance, in the sentence "The food was delicious, but the service was slow," a robust ALSA model must correctly identify a positive sentiment for "food" and a negative sentiment for "service."
Existing deep learning approaches often rely on either Recurrent Neural Networks (RNNs) to capture sequential dependencies or Convolutional Neural Networks (CNNs) to extract local semantic features. However, these methods frequently fail to fully integrate both types of information or leverage linguistic priors like grammatical structure and word distance. This paper introduces the Interactive Attention-based Convolutional Bidirectional Gated Recurrent Unit (IAC-GRU), a novel architecture designed to bridge these gaps.
The IAC-GRU Architecture
The IAC-GRU model is designed to capture the mutual influence between aspect terms and their surrounding context through a multi-layered approach. The architecture consists of four primary stages: enriched embedding, sequence modeling, feature extraction, and interactive attention.
1. Enriched Embeddings
To provide the model with a strong linguistic foundation, the input layer concatenates standard word embeddings (GloVe) with Position Embeddings and Part-of-Speech (POS) Embeddings. Position embeddings represent the relative distance of context words from the target aspect, based on the heuristic that closer words are often more relevant. POS embeddings focus on sentiment-carrying categories like adjectives, adverbs, and verbs, filtering out grammatical noise.
2. Sequence Modeling (Bi-GRU)
The context and aspect embeddings are processed through separate Bidirectional Gated Recurrent Units (Bi-GRUs). This allows the model to capture both forward and backward dependencies, ensuring that the sequential flow of the sentence is preserved.
3. Feature Extraction (CNN)
The hidden states from the Bi-GRU layer are fed into a CNN layer with max-pooling. This stage is critical for extracting high-level local features and specific sentiment-laden phrases that might be missed by sequential modeling alone.
4. Interactive Attention Network
The final layer employs an interactive attention mechanism that calculates weights in two directions: aspect-to-context and context-to-aspect. This ensures that the model focuses on the specific context words most relevant to the target aspect's sentiment.
Experimental Framework
The model was evaluated using the standard SemEval 2014 Task 4 datasets, specifically the Restaurants and Laptop domains. Following common research protocols, "conflict" labels were removed, focusing the evaluation on Positive, Negative, and Neutral sentiment classifications. These datasets provide a rigorous benchmark for testing a model's ability to handle domain-specific vocabulary and complex sentence structures.
Results and Performance
The IAC-GRU model demonstrated superior performance compared to several established baselines, including TD-LSTM, IAN, and CGAE. As shown in the results table, the model achieved state-of-the-art accuracy across both test domains.
Quantitative Analysis
IAC-GRU reached an accuracy of 82.32% on the Restaurants dataset and 76.02% on the Laptop dataset. Ablation studies further confirmed the importance of each architectural component. For example, removing position embeddings led to a significant drop in accuracy (1.69% for Restaurants and 2.82% for Laptops), proving that spatial distance is a vital prior for sentiment determination. Similarly, removing the CNN layer or POS embeddings resulted in degraded performance, validating the "best of both worlds" approach of combining RNNs and CNNs.
Qualitative Findings
Beyond raw metrics, attention visualizations revealed that the model successfully learns to identify distant but critical sentiment indicators. In cases where a sentiment word is separated from the aspect by several neutral words, the interactive attention mechanism correctly highlights the relevant terms (e.g., linking "never disappoints" to the aspect "people").
Conclusion
The IAC-GRU architecture effectively addresses the complexities of aspect-level sentiment analysis by combining sequential modeling with local feature extraction and linguistic priors. While the model currently processes multiple aspects in a sentence independently, future work will focus on capturing the interactions and transitions between different aspects. Additionally, the authors suggest that replacing the Bi-GRU foundation with pre-trained Transformer models like BERT could offer further performance gains in future iterations.
Summary updated