Abstract
In aspect-based sentiment analysis, most existing methods either focus on aspect/opinion terms extraction or aspect terms categorization. However, each task by itself only provides partial information to end users. To generate more detailed and structured opinion analysis, we propose a finer-grained problem, which we call category-specific aspect and opinion terms extraction. This problem involves the identification of aspect and opinion terms within each sentence, as well as the categorization of the identified terms. To this end, we propose an end-to-end multi-task attention model, where each task corresponds to aspect/opinion terms extraction for a specific category. Our model benefits from exploring the commonalities and relationships among different tasks to address the data sparsity issue. We demonstrate its state-of-the-art performance on three benchmark datasets.
Introduction
Traditional aspect-based sentiment analysis (ABSA) typically follows a pipeline approach: first extracting aspect terms (e.g., "service") and opinion terms (e.g., "slow"), and then categorizing them into predefined buckets like SERVICE or PRICE. However, this sequential process is prone to error propagation, where mistakes in the extraction phase inevitably degrade categorization performance.
This paper introduces Multi-task Memory Networks (MTMNs) to address the more challenging task of category-specific co-extraction. The goal is to simultaneously identify aspect and opinion terms and assign them to specific categories in an end-to-end fashion. For instance, the model should identify "soup" as an aspect term specifically under the DRINKS category. A major hurdle in this fine-grained approach is data sparsity; niche categories like DRINKS#STYLE_OPTIONS may appear very infrequently in training data. MTMN overcomes this by treating each category as a separate task and leveraging shared knowledge across tasks.
Methodology: The Multi-task Memory Network
The MTMN architecture consists of four primary components designed to share information and handle sparsity:
- Dual Propagation Memory Network: Serving as the base classifier, it utilizes a Gated Recurrent Unit (GRU) to generate a hidden representation of the sentence. It employs "prototype vectors" (trainable queries for aspects and opinions) to attend to relevant words in the memory.
- Shared Tensor Decomposition: To capture the syntactic interactions between words (e.g., how an adjective modifies a noun), the model uses 3D tensors. To avoid an explosion of parameters for each category, the authors apply low-rank factorization. This allows all categories to share a set of "latent basis interactions," effectively learning a universal "grammar" of sentiment.
- Context-aware Multi-task Feature Learning: Recognizing that categories are not independent, the model calculates similarities between them (e.g.,
FOOD#PRICEis more similar toDRINK#PRICEthan toSERVICE#GENERAL). Features for a specific task are then refined by incorporating information from its most similar "neighbor" tasks. - Auxiliary Task: To provide global guidance, the model predicts the category of the entire sentence. This "bird's eye view" helps filter token-level extractions by suppressing categories that are irrelevant to the overall context of the sentence.
Experiments and Results
The model was evaluated on three benchmark datasets from the SemEval Challenges: S1 (Restaurant 2015), S2 (Restaurant 2016), and S3 (Laptop 2014). The authors augmented these datasets with manual opinion term and category annotations to support the fine-grained task.
As shown in the results table, MTMN consistently achieves state-of-the-art performance, significantly outperforming strong baselines like RNCRF+ and CMLA+. On the S1 dataset, MTMN reached an F1 score of 63.16 for aspect extraction (ASC) and 59.17 for opinion extraction (OPC), marking a substantial improvement over CMLA+.
Discussion and Key Insights
The success of MTMN stems from several key insights:
- Cross-Category Knowledge Sharing: Even rare categories share vocabulary. Multi-task learning allows the model to learn general sentiment terms (like "expensive") once and apply them across multiple categories.
- Universal Syntactic Templates: Shared tensor decomposition enables the model to learn universal patterns of how aspects and opinions relate syntactically, regardless of the specific category.
- Global-to-Local Filtering: The auxiliary sentence-level classification task acts as a crucial filter, significantly reducing false positives by narrowing the focus to relevant categories.
While MTMN shows strong results, its improvement on the Laptop dataset (S3) was less pronounced than on the Restaurant datasets. This suggests that domain-specific categories in technical fields (e.g., MOUSE vs. CPU) may share less common ground, making feature sharing less effective.
Conclusion
The Multi-task Memory Network provides a robust end-to-end solution for category-specific aspect and opinion extraction. By effectively sharing features and syntactic patterns across tasks, it overcomes data sparsity and sets a new benchmark for fine-grained sentiment analysis.
Summary updated