Abstract
This research introduces a structural learning model that jointly addresses document-level sentiment classification and fine-grained aspect-level analysis. By treating the identification of "informative" sentences as a latent variable within a Structural SVM framework, the model determines which specific review segments influence the overall rating while categorizing them into predefined aspects. Experimental results on a dataset of 9,000 Chinese restaurant reviews show that this joint approach outperforms standard baselines in both sentiment accuracy and aspect assignment.
Introduction
Standard sentiment analysis typically operates at either the document level (overall polarity) or the sentence level in isolation. However, these tasks are intrinsically linked: a customer's overall rating is often a weighted sum of specific experiences described in key "informative" sentences. For instance, a 4-star review might be driven by excellent food despite mediocre service. The challenge lies in the lack of sentence-level labels indicating which parts of a review are pivotal or which aspects they address. This paper proposes a Latent Structural Model to bridge this gap, learning to identify these critical sentences and their associated aspects without requiring exhaustive sentence-level training data.
Methodology
The core of the proposed approach is a Latent Structural Model built upon the Structural SVM framework. The model incorporates several key technical components:
- Latent Variables: The set of "informative sentences" ($s$) is treated as a latent variable. During training, the model iteratively identifies sentences that best explain the overall document rating, updating its weights to favor these selections.
- Joint Discriminant Function: A scoring function combines polarity and subjectivity features, calculated specifically across different aspects (e.g., Taste, Environment).
- Structural Learning: Unlike traditional bag-of-words classifiers, this model leverages the structural relationship between sentences, aspects, and final sentiment.
- Optimization via CCCP: To handle the non-convex optimization problem inherent in latent structural SVMs, the authors employ the Constrained Concave-Convex Procedure (CCCP).
- Initialization: To provide a starting point for latent learning, a rule-based approach initializes sentence sentiment and aspect assignments using a pre-defined set of aspect synonyms.
Experimental Setup
The model was evaluated using a dataset of 9,000 Chinese restaurant reviews sourced from Dianping.com. The dataset was balanced, consisting of 4,500 positive reviews (4-5 stars) and 4,500 negative reviews (1-2 stars). For evaluation, 100 reviews (approximately 966 sentences) were manually annotated to provide ground truth for sentence-level sentiment and aspect assignment.
The authors pre-defined 11 restaurant-specific aspects. The initialization process relied on specific synonym sets to map sentences to these aspects, as shown in Table 1.
Results and Analysis
The research yields several key insights into the benefits of joint structural modeling:
- The Coherence Assumption: The model operates on the premise that a review contains a subset of sentences coherent with the overall rating. By forcing the model to find these justifications, it effectively filters out "noise" or off-topic content.
- Superior Document-Level Accuracy: The proposed model achieved 94.15% accuracy, a significant improvement over the standard SVM baseline of 90.35%.
- Effective Sentence-Level Analysis: In a test of 300 extracted informative sentences, the model correctly identified the sentiment for 251 (83.6%).
- Aspect Assignment Beyond Keywords: While synonyms are used for initialization, the structural learning allows the model to identify aspect-related sentences even without explicit keywords. For sentences lacking explicit keywords, the model correctly assigned aspects at more than double the rate of random guessing (44/222 vs. 21/222).
Conclusion
The Latent Structural Model demonstrates that joint training of document-level sentiment and aspect analysis provides a "top-down" signal that improves performance across both tasks. However, limitations remain, such as the reliance on pre-defined aspects and the difficulty of handling sentences with mixed opinions. Future work may involve incorporating more prior knowledge into latent variables and introducing confidence scores to weight high-certainty predictions during training.
Summary updated