Human-Like Decision Making: Document-level Aspect Sentiment Classification via Hierarchical Reinforcement Learning

Jingjing Wang, Changlong Sun, Shoushan Li, Jiancheng Wang, Luo Si, Min Zhang, Xiaozhong Liu, Guodong Zhou

Abstract

Document-level Aspect Sentiment Classification (DASC) is challenging due to the high volume of irrelevant text in long reviews. This paper presents a Hierarchical Reinforcement Learning (HRL) framework that models the human cognitive process of scanning for relevance and focusing on keywords. By employing a two-tier selection process at the clause and word levels, the model effectively filters noise, outperforming existing attention-based methods while providing clear, human-readable rationales for its predictions.

Introduction

In sentiment analysis, Document-level Aspect Sentiment Classification (DASC) requires predicting ratings for specific features (e.g., "location" or "service") based on a full-length review. The primary challenge is noise; a review may span several paragraphs, yet only a few sentences may be relevant to a specific aspect. Standard neural networks typically employ "soft-attention" mechanisms. However, these mechanisms are mathematically limited by the softmax function, which assigns non-zero weights to every part of the document, allowing irrelevant text to leak into the final decision. Furthermore, these "black box" models offer limited interpretability.

Methodology

The proposed framework utilizes Hierarchical Reinforcement Learning (HRL) to mimic human-like decision-making. The task is formulated as a semi-Markov Decision Process with two distinct layers:

  1. High-level Policy (Clause Selection): The document is segmented into clauses using Rhetorical Structure Theory. An LSTM-based policy makes binary decisions to select or discard clauses based on their relevance to the target aspect.
  2. Low-level Policy (Word Selection): For each selected clause, a second policy identifies specific sentiment-bearing words (e.g., "close," "convenient") while discarding irrelevant descriptors.
  3. Sentiment Rating Predictor: This component uses the distilled representation of selected text to predict the final sentiment score and provides reward signals to guide the RL policies.
The HRL framework architecture featuring high-level clause selection and low-level word selection policies.

The model is trained using the REINFORCE algorithm, with a multi-faceted reward function that incorporates cosine similarity for thematic matching and a sparsity penalty to encourage conciseness.

Experiments and Results

The HRL approach was evaluated on three public benchmarks: TripUser (~58k documents), TripAdvisor (~29k documents), and BeerAdvocate (~51k documents).

Performance

The HRL model consistently outperformed state-of-the-art baselines, including complex attention models like MAMC and HUARN. On the TripUser dataset, HRL achieved an accuracy of 62.84%, compared to 60.70% for the best baseline. Additionally, the model showed a significant reduction in Mean Squared Error (MSE), indicating higher predictive precision. Ablation studies confirmed that both the clause and word selection layers are critical for handling document-level complexity.

Interpretability

A key advantage of the HRL framework is its built-in interpretability. Unlike soft-attention models, HRL generates explicit rationales by selecting specific snippets of text.

Visualization of the model's selection process for 'location' and 'room' aspects, demonstrating how it filters irrelevant clauses and words.

As shown in the visualization, the model can surgically identify relevant clauses for different aspects within the same document, ignoring noise that would otherwise degrade performance.

Conclusion

While the HRL framework sets a new standard for DASC, some limitations remain. The model occasionally struggles with negation handling (e.g., missing "not" before "good") and complex comparative opinions. Future work will focus on incorporating syntactic information to better capture these nuances and extending the framework to dialog-level sentiment analysis.

Summary updated

BibTeX
@inproceedings{wang2019human,
  author = {Jingjing Wang and Changlong Sun and Shoushan Li and Jiancheng Wang and Luo Si and Min Zhang and Xiaozhong Liu and Guodong Zhou},
  title = {{Human-Like Decision Making: Document-level Aspect Sentiment Classification via Hierarchical Reinforcement Learning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1560},
}
Figure