Abstract
Aspect-level sentiment classification (ABSA) aims to identify the sentiment polarity of specific aspects within a sentence. While current state-of-the-art models rely heavily on attention mechanisms, these often fail by focusing on semantically similar but syntactically unrelated words. This paper introduces the Proximity-Weighted Convolution Network (PWCN), which leverages syntactic distances—either through relative word position or dependency trees—to weight context features. Our experiments on the SemEval 2014 Task 4 benchmarks demonstrate that PWCN effectively filters out "attention noise," significantly outperforming traditional attention-based baselines.
Introduction
The goal of aspect-level sentiment classification is to determine whether a sentiment expressed toward a specific "aspect" is positive, negative, or neutral. For example, in the sentence "The food is great but the service is dreadful," a model must correctly associate "great" with food and "dreadful" with service.
A significant challenge in current models is "semantic distraction." Attention mechanisms typically calculate relatedness based on high-dimensional vector similarity. However, a word like "acceptable" might be semantically similar to many aspects (e.g., "size," "weight," "price") but syntactically linked to only one. In the sentence "Its size is ideal and the weight is acceptable," an attention model might incorrectly link size to acceptable. This research addresses this by incorporating the sentence's grammatical structure directly into the neural architecture.
Methodology: Proximity-Weighted Convolution Network (PWCN)
The proposed PWCN architecture integrates syntactic information to guide the feature extraction process. The pipeline consists of four primary stages:
- Embedding & Bi-LSTM: Input words are converted into GloVe vectors and processed through a Bidirectional Long Short-Term Memory (Bi-LSTM) network to capture sequential context.
- Proximity Weighting: This is the core innovation. A proximity weight ($p_i$) is calculated for each word based on its distance from the target aspect. Two distance metrics are explored: Position Proximity (linear distance in the sentence) and Dependency Proximity (shortest path distance in a syntax dependency tree).
- Proximity-Weighted Convolution: These weights are applied to the Bi-LSTM hidden states before they enter a 1D convolution layer. This ensures that the convolution operation, which extracts n-gram features, prioritizes words that are syntactically close to the aspect.
- Pooling & Classification: A max-pooling layer selects the most salient features for final sentiment prediction via a softmax layer.
Experimental Results
The model was evaluated on the SemEval 2014 Task 4 benchmark datasets (Laptop and Restaurant). The results indicate that PWCN models consistently outperform strong baselines such as RAM, IAN, and TNet-LF.
As shown in Figure 3, the dependency-based model (PWCN-Dep) achieved the highest performance, reaching 76.12% accuracy and 72.12% Macro-F1 on the Laptop dataset. Notably, the researchers observed an "Attention Interference" effect: combining proximity weights with standard attention (Att-PWCN-Pos) actually decreased performance, suggesting that standard attention can introduce noise that overrides clear syntactic signals.
Discussion and Conclusion
The success of PWCN highlights that syntax often trumps complex semantic attention in ABSA tasks. By focusing on the "grammatical neighborhood," the model effectively eliminates the noise that confuses standard attention layers. Furthermore, the use of a 1D convolution layer (typically with a 3-gram window) proved essential for capturing multi-word sentiment expressions.
While the dependency-based approach is highly effective, it is sensitive to the accuracy of external dependency parsers. Future work may involve exploring graph-based neural networks to more deeply integrate syntax and semantics without mutual interference.
Summary updated