Abstract
Aspect-Sentiment Triplet Extraction (ASTE) is a critical task in sentiment analysis that identifies triplets consisting of an aspect, an opinion, and the associated sentiment. Traditional methods often treat these extractions as independent decisions, failing to capture the rich contextual dependencies between candidate triplets. We present the ASTE-Transformer, a novel architecture that explicitly models these dependencies using specialized transformer layers. By allowing candidate triplets to interact, the model achieves state-of-the-art performance on benchmark datasets and demonstrates that logical consistency is key to accurate opinion mining.
Introduction
In Natural Language Processing (NLP), understanding opinions requires more than just global sentiment classification. ASTE provides a granular view by extracting triplets: the target aspect, the descriptive opinion, and the sentiment polarity. For instance, in the sentence "The room was fine but the staff was rude," an ASTE system should extract (room, fine, Positive) and (staff, rude, Negative).
Current state-of-the-art methods typically employ a "span-level" approach, identifying and pairing potential phrases. However, these methods often treat each decision in isolation, failing to leverage linguistic cues like conjunctions (e.g., "but") that signal sentiment shifts, or the fact that a single opinion often applies consistently across multiple aspects. The ASTE-Transformer addresses these limitations by treating triplet extraction as a joint, interdependent process.
Methodology
The ASTE-Transformer architecture breaks the extraction process into three specialized stages designed to capture inter-triplet dependencies:
- Contextualized Representation: The model utilizes a pre-trained DeBERTa backbone to generate rich contextual word vectors.
- Aspect-Opinion (A-O) Pair Construction: This layer employs a modified attention mechanism to map potential phrases into a specialized embedding space. Here, "aspect-like" and "opinion-like" vectors that likely belong together are mathematically pulled closer.
- Triplet Construction Layer: This is the core innovation. Candidate pairs are processed by a bidirectional transformer, allowing each potential triplet to "see" and influence others. This global view helps the model enforce logical consistency, such as recognizing that a sentiment shift following "but" should result in opposing polarities for adjacent triplets.
Additionally, the authors introduced a pre-training technique using noisy data. By generating "pseudo-labels" from large sentiment datasets and aligning them with global ratings, the model learns the structural "shape" of the ASTE task before fine-tuning on high-quality benchmarks.
Experimental Results
The model was evaluated on standard English benchmarks (14res, 14lap, 15res, 16res) derived from SemEval reviews, as well as challenging Polish datasets. The ASTE-Transformer established new state-of-the-art (SOTA) performance across most benchmarks.
Ablation studies highlighted the critical role of the Triplet Construction Layer; its removal led to a performance drop of up to 5 F1 points. Furthermore, the noisy pre-training strategy consistently provided a 2 to 4 point boost, demonstrating that structural signals from imperfect data can significantly enhance performance on smaller, curated datasets.
Conclusion
The ASTE-Transformer demonstrates that modelling dependencies between candidate triplets is essential for accurate sentiment extraction. By moving beyond independent classifications, the model captures the nuanced linguistic structure of opinions. While the current implementation uses CRF-based pruning to manage candidate complexity, future work may explore tighter integration of global constraints to further refine the linguistic consistency of the outputs.
Summary updated