TL;DR
This paper introduces Discourse-LSTM, a novel deep learning model that leverages Rhetorical Structure Theory (RST) to understand the hierarchical relationships within text for improved sentiment analysis. By treating text as a discourse tree and using tensor-based neural networks, Discourse-LSTM can identify salient passages and achieve superior sentiment prediction accuracy compared to traditional methods.
What Problem Does This Paper Address?
Traditional sentiment analysis methods, like the "bag-of-words" approach, often treat all words in a document equally, ignoring their position and the underlying structure of the text. This can lead to inaccurate sentiment predictions, especially for longer or more complex documents where certain parts (like conclusions or arguments) carry more weight than others. The paper aims to bridge this gap by incorporating the discourse structure of a document, as defined by Rhetorical Structure Theory (RST), into sentiment analysis models. RST breaks down text into hierarchical relationships between clauses, allowing for a more nuanced understanding of how different parts of a text contribute to the overall meaning and sentiment.
Methods
The core of this work is the Discourse-LSTM, a tensor-based, tree-structured deep neural network. Here's a breakdown of the key methodological components:
- Rhetorical Structure Theory (RST): The authors use RST to parse documents into hierarchical discourse trees. These trees represent the relationships between elementary discourse units (EDUs), classifying them as either "nucleus" (essential information) or "satellite" (supporting information), and labeling the connections with specific relation types (e.g., "elaboration," "contrast").
- Discourse-LSTM Architecture: This is an extension of Tree-LSTMs. Instead of a single LSTM unit per node, Discourse-LSTM uses multiple tensor structures. This allows it to:
- Incorporate Relation Types: The model uses different LSTM weights based on the specific relation type connecting two nodes in the discourse tree.
- Incorporate Hierarchy Types: It further weights the influence of nuclei and satellites differently, reflecting their importance in conveying information.
- Low-Level Polarity Features: Sentiment scores for individual EDUs are computed using either:
- Sentiment Dictionaries: Leveraging resources like SentiWordNet.
- Word Embeddings: Using pre-trained GloVe embeddings for a more nuanced representation.
- Data Augmentation Techniques: To combat overfitting and improve robustness, two novel techniques are proposed:
- Node Reordering: Swapping sub-trees within the discourse tree while preserving the original order of text passages within nodes.
- Artificial Leaf Insertion: Randomly adding new leaf nodes to the tree, introducing controlled noise.
Datasets
The authors evaluate their approach on three publicly available datasets:
- Rotten Tomatoes: 2000 movie reviews.
- IMDb: 50,000 movie reviews.
- Amazon Fine Food: 6400 food reviews.
These datasets were preprocessed by tokenization, lowercasing, and stemming.
Key Insights and Ideas
- Discourse Structure Matters: The research strongly suggests that understanding the hierarchical and relational structure of text (beyond just word frequencies) is crucial for accurate sentiment analysis, especially for longer documents.
- RST as a Powerful Framework: Rhetorical Structure Theory provides a robust way to represent the semantic and argumentative flow of text, which can be effectively leveraged by deep learning models.
- Tensor-based Networks for Nuance: The Discourse-LSTM's tensor structure allows it to learn and apply different weights based on both the type of relationship between text segments (relation type) and their importance (nucleus/satellite), leading to a more sophisticated understanding.
- Data Augmentation Enhances Robustness: Techniques like node reordering and leaf insertion, while introducing controlled noise, significantly improve model performance and reduce overfitting, highlighting their value in training complex models on tree structures.
- Interpretable Insights: The learned tensor weights provide insights into which discourse relations and hierarchical structures are most indicative of sentiment, offering a degree of explainability.
Key Results
The Discourse-LSTM consistently outperformed baseline models (bag-of-words, random forest, and standard Tree-LSTMs) across all three datasets.
- Rotten Tomatoes: Discourse-LSTM achieved a balanced accuracy of 0.800 and an F1-score of 0.805, an improvement of 4.3% in F1-score over the best Tree-LSTM.
- IMDb: Achieved a balanced accuracy of 0.850 and an F1-score of 0.849.
- Amazon Fine Food: Achieved a balanced accuracy of 0.813 and an F1-score of 0.801.
- Data Augmentation Impact: Node reordering, in particular, showed a significant positive impact on performance, suggesting that increasing training data size through structural modifications is highly beneficial.
- Word Embeddings vs. Sentiment Scores: While word embeddings were used, sentiment scores derived from dictionaries and embeddings generally led to better performance, indicating that explicit sentiment features are still valuable.
Limitations and Future Work
- Parser Dependency: The performance of the Discourse-LSTM is inherently dependent on the accuracy of the discourse parser (DPLP in this case). Sensitivity analysis showed that even minor noise in relation types can impact performance.
- Child-sum vs. N-ary: The paper notes no consistent superiority between the child-sum and N-ary variants of the Discourse-LSTM, suggesting further exploration might be needed.
- Word Embeddings Overfitting: The authors observed that pre-trained word embeddings, when used with complex models and limited training data, could lead to overfitting.
- Future Work: The authors suggest exploring the combination of dropout with their data augmentation techniques for even better overfitting mitigation. They also highlight the potential for their tensor-based approach to provide deeper insights into how discourse structure influences sentiment.
Summary updated