Exploiting Document Knowledge for Aspect-level Sentiment Classification

Ruidan He, Wee Sun Lee, Hwee Tou Ng, Daniel Dahlmeier

Abstract

Attention-based long short-term memory (LSTM) networks have proven to be useful in aspect-level sentiment classification. However, due to the difficulties in annotating aspect-level data, existing public datasets for this task are all relatively small, which largely limits the effectiveness of those neural models. In this paper, we explore two approaches that transfer knowledge from document-level data, which is much less expensive to obtain, to improve the performance of aspect-level sentiment classification. We demonstrate the effectiveness of our approaches on 4 public datasets from SemEval 2014, 2015, and 2016, and we show that attention-based LSTM benefits from document-level knowledge in multiple ways.

Introduction

Aspect-level sentiment classification (ALSC) aims to identify the sentiment polarity of specific targets within a sentence. For instance, in the review "The food was great, but the service was slow," a model must distinguish the positive sentiment for "food" from the negative sentiment for "service." While highly valuable for granular business insights, ALSC is significantly more complex than document-level classification.

The primary bottleneck for neural models in this domain is data scarcity. High-quality ALSC datasets require labor-intensive manual annotation of every opinion target. Consequently, benchmark datasets remain small. In contrast, document-level data is abundant; millions of online reviews come with pre-existing star ratings. This research investigates how to leverage this "coarse" document-level knowledge to enhance "fine-grained" aspect-level classification.

Methodology

The authors employ an Attention-based LSTM as the baseline architecture. The LSTM processes word sequences, while the attention mechanism enables the model to focus on context words relevant to a specific aspect (e.g., focusing on "delicious" when the target is "pizza").

To integrate document-level knowledge, three transfer strategies are evaluated:

  1. Pretraining (PRET): The LSTM is first trained on document-level reviews. The resulting weights for word embeddings and LSTM layers initialize the ALSC model before fine-tuning.
  2. Multi-task Learning (MULT): The model is trained simultaneously on document-level and aspect-level tasks, sharing embedding and LSTM layers to learn generalized sentiment representations.
  3. Combined (PRET+MULT): The model undergoes document-level pretraining followed by a multi-task training phase.

The study uses four SemEval datasets (2014-2016) for evaluation and large-scale Yelp and Amazon corpora for document-level knowledge.

Macro-F1 performance improves as the percentage of document-level training examples increases across different datasets.

Key Insights and Results

The experimental results demonstrate that the combined PRET+MULT approach consistently outperforms both the baseline and several state-of-the-art models.

Comparison of the proposed transfer methods (PRET, MULT, PRET+MULT) against baseline and state-of-the-art models across four datasets.

Performance Gains

The transfer methods yielded a 1% to 3% absolute increase in accuracy. More notably, Macro-F1 scores—which better reflect performance on unbalanced datasets—showed dramatic improvements, particularly on the SemEval 2015 and 2016 benchmarks (e.g., rising from ~60% to ~68% on dataset D3).

Why Transfer Works

  • Beyond Static Embeddings: While standard embeddings like GloVe provide semantic meaning, they often lack sentiment polarity. Document-level training helps the model learn that words like "smaller" can be positive or negative depending on the context (e.g., phone size vs. restaurant portion).
  • Handling Neutrality: ALSC models often struggle with neutral instances due to their rarity in small datasets. Document-level data acts as a regularizer, improving the model's ability to distinguish subtle sentiment from true neutrality.
  • Robustness to Negation: By processing millions of words, the LSTM becomes more adept at identifying sequential patterns like negation (e.g., "not the friendliest"), where the sentiment of a word is flipped by its predecessor.
  • Layer Sensitivity: Ablation studies revealed that transferring the LSTM and Embedding layers is crucial, whereas the final output layer is too task-specific to provide significant transfer benefits.

Limitations and Future Work

The current approach relies on domain-matched document data (e.g., Yelp for restaurants). Future research could explore cross-domain transfer capabilities. Additionally, while this work focuses on LSTMs, the underlying principles of PRET and MULT are model-agnostic and likely applicable to modern Transformer-based architectures like BERT.

Summary updated

BibTeX
@inproceedings{he2018exploiting,
  author = {Ruidan He and Wee Sun Lee and Hwee Tou Ng and Daniel Dahlmeier},
  title = {{Exploiting Document Knowledge for Aspect-level Sentiment Classification}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  url = {https://openreview.net/forum?id=B1VxJaedWB},
}
Figure