Better Document-level Sentiment Analysis from RST Discourse Parsing

Parminder Bhatia, Yangfeng Ji, Jacob Eisenstein

Abstract

Traditional sentiment analysis often relies on bag-of-words models that overlook the rhetorical structure of a document. This paper demonstrates that incorporating document-level discourse structure—specifically Rhetorical Structure Theory (RST)—can significantly improve sentiment classification. We propose two methods: a non-parametric Discourse Depth Reweighting approach and a data-driven Rhetorical Recursive Neural Network (R2N2). Our results on standard movie review datasets show that accounting for how sentences relate to one another provides a substantial performance boost, with R2N2 achieving up to 85.6% accuracy.

Introduction

Sentiment analysis is a critical task in natural language processing, yet it is largely dominated by approaches that treat documents as unordered collections of words. While effective, these models fail to capture the rhetorical flow. For instance, a movie review might praise "beautiful scenery" and "great acting" but conclude with "overall, it was a total rip-off." A bag-of-words model might misclassify this as positive due to the frequency of positive terms, missing the structural pivot.

Previous attempts to utilize automatic discourse parsers were hindered by low parser accuracy. However, recent advancements in RST parsing have made it possible to reliably leverage discourse trees to improve document-level sentiment classification.

Methodology

The core of our approach involves using an off-the-shelf RST parser to decompose documents into Elementary Discourse Units (EDUs). These units are organized into a hierarchical structure where nuclei carry the primary meaning and satellites provide supporting information.

An example of an RST discourse tree showing hierarchical relations like Concession and Justify between Elementary Discourse Units (EDUs).

We propose two primary methods to utilize this structure:

  1. Discourse Depth Reweighting: This approach converts the RST tree into a dependency graph. EDUs are weighted based on their depth within this graph; nuclei near the root receive higher weights, while deeply embedded satellites are down-weighted. This method can be easily integrated into existing lexicon-based sentiment analyzers.
  2. Rhetorical Recursive Neural Networks (R2N2): This compositional model recursively propagates sentiment scores up the RST tree. It learns specific weights to combine nuclei and satellites based on their discourse relation (e.g., Concession or Elaboration). To ensure that information from deeply embedded text is preserved, the model includes a global bag-of-words skip-connection to the document root.

Experimental Results

We evaluated our methods on two binary movie review datasets: the Pang & Lee (2004) dataset (2,000 reviews) and the Socher et al. (2013) dataset (50,000 reviews).

Experimental results comparing baseline models with Discourse Depth Reweighting and R2N2 across two datasets.

As shown in the table above, both proposed methods outperformed their respective baselines:

  • Reweighting: Discourse depth reweighting improved lexicon-based accuracy by 4–5%, for example, increasing performance from 68.3% to 72.6% on the Pang & Lee dataset.
  • R2N2: The recursive neural network substantially outperformed bag-of-words classifiers. On the Socher et al. dataset, R2N2 achieved 85.6% accuracy, a significant improvement over the 81.5% baseline.
  • Relation Sensitivity: Explicitly modeling discourse relations in the R2N2 (R2. With relations) yielded the best results, highlighting the importance of knowing whether a satellite contrasts with or supports its nucleus.

Conclusion

This work confirms that document-level sentiment is compositional and that discourse structure is a vital signal. Even simple reweighting based on rhetorical depth provides a significant boost to lexicon-based systems. While improvements are currently bottlenecked by the accuracy of discourse parsers (approx. 60%), the success of the R2N2 model suggests that integrating macro-level discourse structure with micro-level sentence models is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{bhatia2015better,
  author = {Parminder Bhatia and Yangfeng Ji and Jacob Eisenstein},
  title = {{Better Document-level Sentiment Analysis from RST Discourse Parsing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  url = {https://openreview.net/forum?id=H1-B5zMOZH},
}
Figure