PASTEL : Polarity-Aware Sentiment Triplet Extraction with LLM-as-a-Judge

Aaditya Bodke, Avinoor Singh Kohli, Hemant Subhash Pardeshi, Prathamesh BhosaleACL 2025

Introduction

Aspect Sentiment Triplet Extraction (ASTE) is a critical task in Aspect-Based Sentiment Analysis (ABSA), aiming to identify (aspect, opinion, sentiment) triplets within a text. For example, in the sentence "The pizza was delicious but the service was slow," the goal is to extract (pizza, delicious, positive) and (service, slow, negative). While Large Language Models (LLMs) excel at general language tasks, they often struggle with the rigid structural requirements and latent dependencies inherent in ASTE, frequently swapping aspects for opinions or failing to produce structured output.

PASTEL (Polarity-Aware Sentiment Triplet Extraction) introduces a modular "divide and conquer" pipeline that decomposes ASTE into specialized subtasks. By utilizing small, finetuned models for extraction and a high-capacity "LLM-as-a-Judge" for validation, PASTEL achieves state-of-the-art performance across standard benchmarks.

Methodology

The PASTEL pipeline moves away from end-to-end extraction, employing a multi-stage approach:

  1. Aspect Term Extraction (ATE): A Llama 3.2 (1B) model is finetuned to identify aspect terms (e.g., "pizza," "service").
  2. Polarity-Aware Opinion Term Extraction (PAOTE): Instead of generic opinion extraction, the model is prompted to find opinions associated with specific polarities (e.g., "Extract all negative opinion phrases"). This reduces early-stage sentiment misclassification.
  3. Candidate Generation: A Cartesian product of extracted aspects and (opinion, polarity) pairs is generated to create all possible triplet candidates.
  4. LLM-as-a-Judge: To filter the noisy candidates generated by the Cartesian product, GPT-4o acts as a judge. Using Chain-of-Thought (CoT) reasoning, it evaluates each candidate against the original sentence to retain only valid triplets.
The PASTEL pipeline architecture, illustrating the decomposition of extraction and the final validation stage.

Experimental Setup

PASTEL was evaluated on four standard SemEval benchmark datasets: 14Res and 14Lap (Restaurant and Laptop reviews from 2014), 15Res (2015), and 16Res (2016). These datasets contain thousands of manually annotated triplets and serve as the industry standard for ASTE performance evaluation.

Results and Analysis

PASTEL achieved state-of-the-art (SOTA) or near-SOTA F1 scores across all evaluated datasets. Notably, on the 14Res dataset, it reached an F1 score of 80.87, significantly surpassing the previous best of 76.06 (ASTE Transformer). On 16Res, it achieved 79.12 F1, compared to the previous best of 76.19.

Performance comparison of PASTEL against sequence-tagging, seq2seq, contrastive learning, and various LLM-based baselines.

A key finding is the superiority of the modular approach over raw LLM performance. In zero-shot settings, GPT-4o achieved an F1 of only 35.37 on 14Res. Even with few-shot prompting and CoT, it reached only 52.54. PASTEL’s pipeline nearly doubles this performance, demonstrating that small models (1B parameters) can outperform much larger models at specific span-identification tasks when properly finetuned.

Discussion and Limitations

The study observed a slight performance dip on the 15Res dataset, which the authors attribute to shorter average sentence lengths and a smaller training set, suggesting the pipeline benefits from richer context. Additionally, the extraction component occasionally struggles with proper nouns or named entities. While the "LLM-as-a-Judge" stage is highly effective, it introduces additional computational cost and latency. Future work may focus on distilling the judge's reasoning into smaller, more efficient models to mitigate these overheads.

Summary updated

BibTeX
@inproceedings{bodke2025pastel,
  author = {Aaditya Bodke and Avinoor Singh Kohli and Hemant Subhash Pardeshi and Prathamesh Bhosale},
  title = {{PASTEL : Polarity-Aware Sentiment Triplet Extraction with LLM-as-a-Judge}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure