Document Modeling with Gated Recurrent Neural Network for Sentiment Classification
Duyu TangBing QinTing Liu
Proposes a hierarchical neural architecture that combines sentence-level convolutional or recurrent encoders with gated recurrent networks to model inter-sentence relationships, outperforming traditional baselines on large-scale document sentiment classification benchmarks.
Understanding customer sentiment from full-text online reviews is critical for modern business intelligence, yet automated document-level classification remains challenging. Traditional machine learning tools rely on sparse word counts that ignore how adjacent sentences relate to one another, while standard neural sequence approaches often struggle to retain context across long multi-sentence texts.
The article demonstrates a bottom-up neural network framework that learns continuous document representations to accurately predict overall review sentiment. The primary objective is to evaluate whether hierarchical composition—encoding word meanings into sentences, and then chaining sentences through gated neural connections—significantly improves classification performance over established baselines.
The researchers evaluated their approach across four large-scale review datasets: three Yelp restaurant collections (from 2013, 2014, and 2015) and a 10-class IMDB movie review dataset, encompassing over 3.3 million documents in total. The model first builds sentence representations using either convolutional filters or long short-term memory units, and then processes those sentence vectors sequentially with a gated recurrent neural network. This end-to-end framework was benchmarked against strong support vector machine classifiers, existing neural embeddings, and standard recurrent networks using classification accuracy and mean squared error.
The findings show that the proposed gated neural approach consistently outperforms all baseline models across every dataset. In particular, pairing sentence-level long short-term memory with a document-level gated recurrent network achieved the highest classification accuracy (up to 67.6% on Yelp and 45.3% on IMDB) and substantially lower prediction error. Additionally, gated networks dramatically outperformed standard recurrent networks, which degraded severely due to information loss over long sentence sequences. Across configurations, sentence-level long short-term memory modestly outperformed convolutional encoders.
These results confirm that capturing inter-sentence relationships without manual feature engineering yields superior predictive accuracy. For engineering teams and decision-makers, adopting hierarchical gated neural architectures reduces reliance on expensive, hand-crafted feature pipelines while improving the fidelity of customer sentiment analytics. Standard recurrent architectures should be avoided for document-level modeling due to severe decay in long-term sequence processing.
Organizations implementing document-level sentiment systems should transition to hierarchical neural pipelines that combine sentence encoders with gated recurrent networks. Future research should explore integrating explicit sentiment-sensitive discourse relations or tree-structured models to further capture complex document structures at scale. Because the models were tested exclusively on English restaurant and movie reviews with reliable numerical rating labels, stakeholders should validate performance when applying the framework to domains with unmatched ratings, informal short texts, or different languages.
- Paper: Convolutional Neural Networks for Sentence Classification, Yoon Kim (2014). This foundational paper established the use of convolutional neural networks over pre-trained word vectors for sentence classification, providing the sentence encoder architecture adapted in the source model.
- Paper: A Convolutional Neural Network for Modelling Sentences, Nal Kalchbrenner et al. (2014). It introduces dynamic convolutional neural networks for semantic sentence modeling, offering direct architectural context for bottom-up sentence representation before document aggregation.
- Paper: Distributed Representations of Sentences and Documents, Quoc V. Le et al. (2014). It establishes distributed representations of paragraphs and documents as fixed-length vectors, serving as a primary baseline and motivation for hierarchical neural document modeling.
- Paper: Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank, Richard Socher et al. (2013). This paper provides core semantic compositionality techniques and the Stanford Sentiment Treebank benchmark that shaped neural sentiment classification.
- Paper: Learning Word Vectors for Sentiment Analysis, Andrew L. Maas et al. (2011). It introduced the widely used 50,000-review IMDB sentiment benchmark and vector-based sentiment modeling, creating the evaluation testbed used by the source paper.
- Paper: Thumbs up? Sentiment Classification using Machine Learning Techniques, Bo Pang et al. (2002). This seminal study formulated document-level sentiment classification using machine learning, defining the core problem addressed by the source.
- Paper: Hierarchical Attention Networks for Document Classification, Zichao Yang et al. (2016). This work directly extends hierarchical document modeling by augmenting word- and sentence-level recurrent encoders with hierarchical attention mechanisms.
- Paper: Deep learning for sentiment analysis: A survey, Lei Zhang et al. (2018). This comprehensive survey contextualizes hierarchical neural networks and gated recurrent architectures within the broader progression of deep learning methods for document- and sentence-level sentiment analysis.
- Paper: A Structured Self-attentive Sentence Embedding, Zhouhan Lin et al. (2017). It advances sequence-based semantic modeling by replacing standard recurrent pooling with a structured self-attentive sentence embedding matrix.
- Paper: Graph Convolutional Networks for Text Classification, Liang Yao et al. (2018). It moves beyond purely sequential document modeling by framing document classification over corpus-wide graph convolutional networks.
