Tagging-Assisted Generation Model with Encoder and Decoder Supervision for Aspect Sentiment Triplet Extraction

Xianlong Luo, Meng Yang, Yihao WangEMNLP 2023

Abstract

Aspect Sentiment Triplet Extraction (ASTE) is a critical task in fine-grained sentiment analysis, requiring the identification of aspects, associated opinions, and their sentiment polarities. While generative models have shown promise in this domain, they often suffer from internal representation neglect and underutilization of label semantics. This paper presents TAGS (Tagging-Assisted Generation Model), a framework that introduces dual supervision for both the encoder and decoder. By integrating sequence tagging probabilities into the generation process and aligning hidden states with semantic label representations, TAGS achieves new state-of-the-art results across standard benchmarks.

Introduction

In sentiment analysis, the ASTE task provides a high-resolution view of consumer feedback by extracting triplets consisting of an Aspect (e.g., "service"), an Opinion (e.g., "slow"), and a Sentiment (e.g., "negative"). Current Natural Language Generation (NLG) approaches, which treat triplet extraction as a sequence-to-sequence task, are the leading paradigm. However, these models frequently ignore the internal hidden representations of the encoder-decoder architecture, leading to "model degeneration" where the distinction between salient keywords and filler text is lost. Furthermore, labels are typically treated as one-hot targets, ignoring the rich semantic information they contain, which is vital for identifying implicit aspects or opinions.

The TAGS Framework

To address these limitations, the TAGS framework introduces two primary modules designed to provide "dual supervision" to the underlying generative architecture.

Overview of the TAGS framework, illustrating the dual supervision of the encoder and decoder via the LDSA and EGST modules.

Empowering Generation through Sequence Tagging (EGST)

The EGST module utilizes a secondary sequence tagging task to guide the primary generation process. This is achieved through three mechanisms:

  1. Multitask Learning: The encoder is trained to classify each token into categories (e.g., identifying parts of an aspect with a specific sentiment). This forces the encoder to capture the relevance of specific words.
  2. Tag Attention: The model incorporates tagging probabilities to weight the decoder's attention mechanism. By emphasizing tokens that the tagger identifies as part of a triplet, the decoder can focus its "creative" capacity on relevant input segments.
  3. Result Optimization: During inference, the model cross-references generated triplets with tagging results to filter out low-confidence predictions or hallucinations.

Label-Driven Semantic Alignment (LDSA)

The LDSA module focuses on the decoder's hidden states. The researchers employ a self-decoding process where ground-truth label triplets are fed back into the model to generate "perfect" semantic representations. The model's actual hidden states during training are then forced to align with these ideal representations using cosine similarity, ensuring that the internal "thought process" of the model remains semantically grounded.

Experimental Evaluation

The TAGS model was evaluated on four standard ASTE benchmarks: 14Res, 14Lap, 15Res, and 16Res. These datasets consist of restaurant and laptop reviews annotated for triplet extraction.

TAGS achieved State-of-the-Art (SOTA) performance across all four datasets, as measured by the F1 score:

  • 16Res: Achieved a 76.61 F1 score, a 3.13% improvement over the previous best model (Mvp).
  • 15Res: Achieved a 67.90 F1 score, outperforming the previous SOTA by 2.01%.

Beyond ASTE, the model demonstrated strong generalization capabilities on related tasks such as Aspect Opinion Pair Extraction (AOPE) and Unified ABSA (UABSA).

Key Insights and Parameter Analysis

A critical finding in the development of TAGS was the "$1 + \tilde{p}_i$" weighting trick used in the Tag Attention mechanism. By adding a constant to the tagging probability, the model avoids completely ignoring tokens if the tagger makes an error, resulting in a more robust fusion of information.

Sensitivity analysis of the F1 result relative to the generation ratio ($\alpha_1$) and tagging ratio ($\alpha_2$).

As shown in the parameter analysis, the performance of the model is sensitive to the balance between the generation loss ($\alpha_1$) and the tagging loss ($\alpha_2$). Optimal performance is typically found when these tasks are balanced, preventing the model from becoming overly biased toward either the "creative" generation or the "conservative" tagging task.

Conclusion

TAGS demonstrates that the performance of generative models for ASTE can be significantly enhanced by providing explicit supervision to internal hidden states. By treating tagging as a guardrail and labels as semantic data, TAGS achieves superior precision and recall. Future work will focus on reducing the training overhead associated with the self-decoding process and developing more sophisticated fusion strategies for combining tagging and generation outputs.

Summary updated

BibTeX
@inproceedings{luo2023tagging,
  author = {Xianlong Luo and Meng Yang and Yihao Wang},
  title = {{Tagging-Assisted Generation Model with Encoder and Decoder Supervision for Aspect Sentiment Triplet Extraction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.129},
}
Figure