Introduction
Aspect-Category Sentiment Analysis (ACSA) aims to identify the sentiment (positive, negative, or neutral) toward specific categories, such as "food" or "service," within a sentence. Traditional methods often attempt to generate a single, aspect-specific representation for the entire sentence. However, this approach can be problematic for complex sentences containing multiple aspects with conflicting polarities. For instance, in the sentence "The drinks were fantastic, but the food was superb," the sentiment for "food" is derived from specific words like "food" and "superb," rather than the whole sentence.
Proposed Methodology: AC-MIMLLN
To address these challenges, this paper introduces the Multi-Instance Multi-Label Learning Network (AC-MIMLLN). This novel architecture treats ACSA as a Multi-Instance Multi-Label (MIML) learning problem, where a sentence is viewed as a "bag" and individual words are "instances."
The AC-MIMLLN architecture consists of two primary components trained jointly:
- Aspect Category Detection (ACD) Module: This auxiliary task employs an attention mechanism over an LSTM-encoded sentence to identify "key instances" for specific categories. For example, it learns that "expensive" is a key indicator for the "price" category.
- ACSA Module: This module predicts sentiment polarities at the word level using a multi-layer Bi-LSTM.
- Aggregation: Category-level sentiment is calculated by aggregating word-level sentiments, weighted by the probabilities provided by the ACD module.
A BERT-based variant, AC-MIMLLN-BERT, was also developed to leverage pre-trained contextual embeddings for improved performance.
Experimental Setup and Datasets
The model was evaluated on three restaurant-domain datasets:
- Rest14: The standard SemEval-2014 Task 4 benchmark.
- Rest14-hard: A subset of Rest14 containing only sentences with at least two different aspect categories and conflicting sentiment polarities.
- MAMS-ACSA: A large-scale dataset where every sentence contains multiple aspects with different polarities, offering a more rigorous challenge.
Key Results and Interpretability
AC-MIMLLN-BERT achieved state-of-the-art results, reaching 89.25% accuracy on Rest14 and 81.20% on MAMS-ACSA. Notably, on the Rest14-hard dataset, the model achieved 74.72% accuracy, significantly outperforming standard BERT-based baselines.
One of the primary advantages of this approach is its inherent interpretability. By assigning weights to specific words for each category, the model allows for clear visualization of which words contribute to a particular sentiment prediction.
Conclusion
The AC-MIMLLN framework demonstrates that shifting from sentence-level representations to instance-level aggregation significantly improves performance and interpretability in ACSA. Future work may explore "multi-grained instances," such as phrases or clauses, to better capture complex sentiment expressions.
Summary updated