TL;DR
This paper tackles the challenge of sentiment analysis in long documents by leveraging discourse structure, which often carries crucial sentiment information. They propose a novel framework that augments sentiment analysis with automatically generated discourse trees, leading to improved performance, especially for longer texts.
What Problem Does This Paper Address?
Sentiment analysis, the task of determining the emotional tone of text, is fundamental in NLP. While traditional "bag-of-words" models and even sequential models (like LSTMs and Transformers) have achieved success, they often struggle with long documents. This is because the sentiment in longer texts can be conveyed not just by individual words or sentences, but by the way these elements are connected and structured through discourse. For instance, a seemingly positive statement might be undermined by a subsequent negative discourse relation, or vice-versa. Existing methods often fail to capture these complex inter-sentence relationships, leading to suboptimal sentiment predictions for lengthy content.
Methods
The authors propose a "sentiment to sentiment" framework that integrates discourse parsing with sentiment prediction. The core idea is to use sentiment information to generate discourse structures, which are then used to improve sentiment prediction.
Here's a breakdown of their approach:
- Discourse Augmentation: They start with documents that have sentiment labels. Using a neural Multiple-Instance Learning (MIL) method, they infer sentiment polarity and importance scores for individual "elementary discourse units" (EDUs) – essentially clause-like fragments of text. These are then combined using a CKY-like dynamic programming approach to generate "silver-standard" discourse trees. This process is designed to be scalable to long documents using beam-search.
- Discourse Parser Training: These generated discourse trees are then used to train a discourse parser. The paper highlights that using trees generated from sentiment-specific data (their MEGA-DT corpus) leads to better results than using generic, human-annotated discourse treebanks like RST-DT.
- Sentiment Prediction Model: They develop a novel neural architecture that combines a sequential Hierarchical Attention Network (HAN) with a discourse-inspired TreeLSTM. The HAN component processes EDUs sequentially, while the TreeLSTM aggregates information hierarchically based on the predicted discourse tree structure. This allows the model to capture both sequential and structural dependencies. They specifically convert constituency-based discourse trees into dependency-based ones, as this representation better captures nuclearity (the relative importance of discourse units).
- Ensemble Method: To further boost performance, they employ an ensemble approach that combines the strengths of their best discourse-aware model and the standard HAN model, using a document length threshold to select which model to rely on.
Datasets
- MEGA-DT: A large-scale, "silver-standard" discourse treebank automatically generated from sentiment annotations on the Yelp'13 dataset. This is a key contribution, as it provides sentiment-specific discourse structures.
- RST-DT: A human-annotated, gold-standard discourse treebank widely used in research, containing news articles. Used for training the discourse parser.
- Yelp'13: A publicly available sentiment dataset containing customer reviews with gold-label sentiment on a 5-point scale. This dataset is used for training and evaluating the sentiment prediction models. For models incorporating discourse, a pre-segmented version is used.
Key Insights and Ideas
- Sentiment-Driven Discourse Generation: The core innovation is using sentiment labels to create discourse structures. This "sentiment to sentiment" pipeline is powerful because the generated discourse trees are inherently relevant to the sentiment analysis task, unlike generic discourse trees.
- Discourse is Crucial for Long Documents: The paper strongly supports the intuition that discourse structure becomes increasingly important for accurately predicting sentiment in longer, more complex documents.
- MEGA-DT Outperforms RST-DT: The discourse parser trained on their automatically generated MEGA-DT corpus yields better results for sentiment prediction than one trained on the human-annotated RST-DT. This highlights the value of domain-specific, sentiment-aware discourse annotations.
- Hybrid Sequential-Tree Model: Combining sequential processing (HAN) with tree-structured aggregation (TreeLSTM guided by discourse) effectively captures both local and global textual dependencies for sentiment.
- Ensembling for Robustness: An ensemble of models, switching based on document length, can further improve performance by leveraging the strengths of different approaches across various document sizes.
Key Results
- The proposed Discourse Augmented HAN (DAH) model, particularly when using the MEGA-DT treebank (DAHMega-DT), achieves performance statistically equivalent to the strong HAN baseline on the Yelp'13 dataset.
- DAHMega-DT shows statistically significant improvements over the DAHRST-DT model, indicating the superiority of sentiment-inspired discourse trees.
- The ensemble method combining HAN and DAHMEGA-DT achieves the best overall performance, outperforming individual models, albeit by a narrow margin.
- Figure 5 demonstrates that the discourse-dependent systems (DAHMega-DT and DAHRST-DT) show significant improvements over the sequential HAN model for longer documents (specifically in the rightmost bins representing documents with >632 words). This confirms the hypothesis that discourse is more beneficial for longer texts.
Limitations and Future Work
- Document Length Distribution: The Yelp'13 dataset has a skewed distribution towards shorter documents. This limits the evaluation of performance on very long documents, as the "support" (number of documents) in the longest bins is small.
- Future Work:
- Compare their model with DocBERT and its discourse-inspired variants.
- Generate and evaluate on other large-scale "silver-standard" discourse datasets.
- Explore using neural discourse parsers to train on MEGA-DT.
- Investigate the application of their DAH model to other discourse-sensitive tasks like extractive summarization.
- Develop more sophisticated ensemble methods for combining sequential and discourse tree-based models.
Summary updated