NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Document-Level Multi-Aspect Sentiment Classification as Machine Comprehension

Yichun Yin, Yangqiu Song, Ming ZhangEMNLP 2017 · DOI

TL;DR

This paper tackles the challenge of understanding nuanced customer feedback by framing document-level multi-aspect sentiment classification as a machine comprehension problem. They introduce a novel hierarchical iterative attention model that allows for deep, aspect-specific understanding of reviews, outperforming existing methods on benchmark datasets.

What Problem Does This Paper Address?

Customer relationship management relies heavily on understanding user feedback. While overall sentiment analysis is useful, it often misses crucial details about specific aspects of a product or service. For instance, a hotel review might be generally positive, but it's more valuable to know why – was the room clean, the service excellent, or the value good? This is the domain of multi-aspect sentiment classification. However, existing methods often struggle with long, complex reviews and don't effectively capture the intricate relationships between different aspects and the text. This paper aims to bridge this gap by treating each aspect's sentiment as a "question" that a machine comprehension model needs to answer by "reading" the review document.

Methods

The core of this paper is a novel hierarchical iterative attention model. This model treats aspect sentiment classification as a machine comprehension task.

  • Pseudo Question Generation: For each aspect (e.g., "Room," "Cleanliness"), they create pseudo questions by using aspect-specific keywords (e.g., "room," "bed," "view" for "Room"). These questions, paired with a rating, form training examples.
  • Hierarchical Architecture: The model operates at both word and sentence levels. This allows it to first understand word-level semantics within sentences and then aggregate this information to understand sentence-level meaning within the document.
  • Iterative Attention Module (IAM): This is the key innovation. The IAM allows the model to iteratively attend to both the document and the aspect "question" (keywords). This multi-hop mechanism enables the model to refine its understanding by repeatedly interacting with the text and question, progressively building more discriminative aspect-specific representations. It's designed to mimic how humans might re-read and focus on different parts of a review to answer specific aspect-related queries.
  • Input Encoders: Bi-directional LSTMs are used to encode word and sentence level information, creating memory representations for the attention modules.

Datasets

The authors evaluate their model on two publicly available datasets:

  • TripAdvisor: Contains hotel reviews with ratings for aspects like "value," "room," "location," "cleanliness," "check in/front desk," "service," and "business service."
  • BeerAdvocate: Contains beer reviews with ratings for aspects like "feel," "look," "smell," and "taste."

The datasets were preprocessed and split into training, development, and testing sets (80/10/10%).

Key Insights and Ideas

  • Framing as Machine Comprehension: The insight that multi-aspect sentiment classification can be effectively modeled as a machine comprehension problem is central. This allows leveraging powerful attention mechanisms designed for question answering.
  • Iterative Refinement: The iterative attention mechanism is crucial. It allows the model to "re-read" and refine its focus, leading to more nuanced understanding of how different parts of the text relate to specific aspects, especially in longer documents.
  • Hierarchical Understanding: Building representations from word to sentence level is essential for capturing the complex semantics in long reviews.
  • Keyword Importance: The study on the number of aspect keywords shows that a moderate number (around 20) is sufficient for good performance, suggesting that the model can effectively learn to utilize relevant keywords without being overwhelmed by too many.

Key Results

The proposed model consistently outperforms several strong baselines, including traditional methods like SVM and SLDA, as well as neural approaches like DAN, CNN, LSTM, and HAN.

  • Accuracy Gains: On the TripAdvisor dataset, their model achieved an accuracy of 46.56%, outperforming the best baseline (MHAN) by 1.5%. On BeerAdvocate, they achieved 38.06%, outperforming MHAN by 1.24%.
  • MSE Improvement: The Mean Squared Error (MSE) was also significantly lower for their model, indicating more accurate rating predictions.
  • Attention Effectiveness: Case studies and visualizations demonstrate that the iterative attention mechanism assigns more sensible weights to words and sentences for specific aspects, especially in higher hops.

Limitations and Future Work

  • Keyword Selection: While they propose a method for selecting keywords, the paper acknowledges that more sophisticated aspect keyword selection methods (e.g., topic models) could potentially further improve performance.
  • Hop Number Sensitivity: The performance is sensitive to the number of hops, with optimal values varying between word and sentence levels. Further research could explore more adaptive hop mechanisms.
  • Dataset Specificity: While the model performs well on TripAdvisor and BeerAdvocate, its generalization to other domains with different review structures and aspect granularities could be explored.
  • Future Work: The authors suggest exploring more sophisticated aspect keyword selection and investigating adaptive hop mechanisms. They also hint at the potential for this approach in other text comprehension tasks.

Summary updated

BibTeX
@inproceedings{yin2017document,
  author = {Yichun Yin and Yangqiu Song and Ming Zhang},
  title = {{Document-Level Multi-Aspect Sentiment Classification as Machine Comprehension}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1217},
}
Figure