Introduction
In Aspect-Based Sentiment Analysis (ABSA), identifying the specific opinion words associated with a given target (aspect) is a critical task known as Target-oriented Opinion Words Extraction (TOWE). For instance, in the sentence "The food is delicious, but the service is slow," a model must correctly link "delicious" to "food" and "slow" to "service." Previous approaches often relied on complex neural architectures or rigid rule-based systems that required extensive hyperparameter tuning. This paper introduces TSMSA, a streamlined approach that leverages a simple target-marking strategy and multi-head self-attention to achieve state-of-the-art performance with significantly reduced complexity.
Methodology: TSMSA and MT-TSMSA
The core of the proposed approach is the Target-Specified sequence labeling with Multi-head Self-Attention (TSMSA). The architecture avoids complex feature engineering through an elegant design:
- Target Marking: The target aspect is highlighted within the input sequence using special
[SEP]tokens (e.g., "The [SEP] food [SEP] is delicious"). This simple modification makes the model "target-aware" without requiring specialized layers like Inward-Outward LSTMs. - Encoder: A Multi-head Self-Attention (MHSA) mechanism allows the model to capture relational context by letting every word attend to the marked target. The authors evaluated both a GloVe-based "Base" version and a BERT-based version.
- Decoder: A Conditional Random Field (CRF) layer predicts BIO tags, accounting for dependencies between adjacent labels.
- Multi-Task Extension (MT-TSMSA): For the broader Aspect-Opinion Pair Extraction (AOPE) task, the model is extended to jointly identify aspects and their corresponding opinion words using a shared encoder and task-specific output layers.
Experimental Results
The models were evaluated on four benchmark datasets from the SemEval Challenges (2014, 2015, 2016), covering the Laptop and Restaurant domains. These datasets are particularly challenging due to complex relational structures, such as one-to-many and many-to-one mappings between aspects and opinion words.
Performance and Robustness
The TSMSA (BERT) model established new state-of-the-art results for TOWE, achieving F1 scores between 81.64% and 90.03%, outperforming previous complex models like SDRN by approximately 2% on average. In the AOPE task, the multi-task variant (MT-TSMSA) proved competitive with specialized baselines.
A key advantage of the TSMSA architecture is its relative stability across various hyperparameter settings. Analysis shows that performance remains consistent across different numbers of layers and variations in the multi-task loss weight $\lambda$, reducing the need for the "fiddly" manual tuning required by previous state-of-the-art methods.
Conclusion
By combining a simple target-marking strategy with the power of multi-head self-attention, TSMSA provides a robust and efficient solution for target-oriented opinion word extraction. While the current two-stage inference for pair extraction is effective, it is susceptible to error propagation. Future work will explore one-stage architectures to improve inference speed and overall system reliability.
Summary updated