Domain-Expanded ASTE: Rethinking Generalization in Aspect Sentiment Triplet Extraction

Yew Ken Chia, Hui Chen, Guizhen Chen, Wei Han, Sharifah Mahani Aljunied, Soujanya Poria, Lidong Bing

Abstract

Aspect Sentiment Triplet Extraction (ASTE) is a critical task in fine-grained sentiment analysis, yet it has long been constrained by narrow benchmarks and the "black box" nature of Large Language Models (LLMs). This paper introduces a more diverse ASTE benchmark, expanding beyond traditional laptop and restaurant domains to include hotel and cosmetic reviews. To address the reliability issues of LLMs in structured extraction, we propose CASE (Confidence-Aware Sentiment Extraction). CASE utilizes a stochastic sampling and frequency-based filtering strategy to enhance both extraction accuracy and model interpretability. Our results demonstrate that CASE consistently improves performance across various models, particularly in few-shot and cross-domain scenarios.

Introduction: The Challenge of Fine-Grained Sentiment

Sentiment analysis has progressed significantly from document-level classification to the more nuanced task of Aspect Sentiment Triplet Extraction (ASTE). The goal of ASTE is to identify triplets consisting of an Aspect Target, an Opinion Term, and the associated Sentiment Polarity. For instance, in the review "The sushi was fresh," a model must extract (sushi, fresh, positive).

Despite its utility, the field faces two primary hurdles. First, Domain Narrowness: most research relies almost exclusively on two datasets (Laptops and Restaurants). This lack of diversity makes it difficult to determine if models are truly learning sentiment logic or simply overfitting to specific domain vocabularies. Second, LLM Reliability: while Large Language Models like ChatGPT show promise, they often function as "black boxes" for structured tasks, occasionally hallucinating triplets or failing to provide a measure of confidence in their outputs.

Methods: Confidence-Aware Sentiment Extraction (CASE)

To bridge the gap between generative power and structured reliability, we introduce CASE (Confidence-Aware Sentiment Extraction). Unlike standard "greedy" decoding, which selects the single most probable next token, CASE leverages the inherent variance in LLM outputs to identify the most stable and trustworthy extractions.

The CASE pipeline: Candidate Sampling, Aggregation, Confidence Estimation, and Filtering.

The CASE framework operates through a four-step pipeline:

  1. Candidate Sampling: The model generates multiple diverse output sequences (e.g., 20 samples) using temperature-based sampling.
  2. Aggregation: All unique triplets identified across these samples are compiled into a candidate pool.
  3. Confidence Estimation: A confidence score is assigned to each triplet based on its frequency of occurrence across the samples. High-frequency triplets are considered more reliable.
  4. Filtering: Triplets falling below a predefined confidence threshold are discarded, ensuring only the most consistent results are retained.

This approach is inspired by self-consistency methods in LLM reasoning, adapted specifically for the constraints of structured information extraction.

Expanding the Benchmark: New Domains

A core contribution of this work is the expansion of the ASTE evaluation landscape. We annotated over 4,000 new samples to create two new domain datasets:

  • Hotel: Derived from TripAdvisor reviews, focusing on service, amenities, and room quality.
  • Cosmetics: Derived from Amazon reviews, focusing on product efficacy, texture, and packaging.

By including these alongside the standard Laptop and Restaurant domains, we provide a more rigorous test of a model's ability to generalize to unseen industries.

Key Results and Insights

Our evaluation reveals several critical insights into the current state of ASTE.

Generative vs. Discriminative Models

The study found that generative models (which "write" triplets) generalize to new domains significantly better than discriminative models (which "label" tokens). Generative models appear to leverage the semantic meaning of labels—for example, understanding that "fresh" is inherently positive in a culinary context—rather than just learning statistical patterns of token sequences.

Performance and the LLM Gap

In fully supervised settings with abundant training data, specialized smaller models still maintain an edge over general-purpose LLMs like ChatGPT. However, the introduction of CASE narrows this gap.

Performance comparison of various ASTE methods across four domains, with and without the CASE strategy.

As shown in the results table, CASE consistently improves F1 scores. For ChatGPT, the average in-domain F1 rose from 47.28 to 49.36. More importantly, in few-shot scenarios (e.g., only 5 examples provided), ChatGPT with CASE outperformed specialized models by nearly 11 points (47.34 vs. 36.53 for GAS). This suggests that while specialized models are superior for high-resource domains, LLMs are the optimal choice for "cold-starting" sentiment analysis in new, low-resource domains.

Conclusion and Future Work

The CASE strategy demonstrates that consistency is a powerful proxy for accuracy in LLM-based extraction. By filtering out "hallucinated" or inconsistent triplets, we can significantly improve the reliability of sentiment analysis.

However, the primary trade-off is computational cost. Generating 20 sequences per input increases inference time and token usage. Future research should explore more efficient sampling methods or techniques to align LLMs with structured requirements more directly. While CASE enhances trustworthiness, it is a step toward, rather than a complete solution for, the broader challenge of model hallucination in complex information extraction tasks.

Summary updated

BibTeX
@misc{chia2023domain,
  author = {Yew Ken Chia and Hui Chen and Guizhen Chen and Wei Han and Sharifah Mahani Aljunied and Soujanya Poria and Lidong Bing},
  title = {{Domain-Expanded ASTE: Rethinking Generalization in Aspect Sentiment Triplet Extraction}},
  year = {2023},
  eprint = {2305.14434},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.14434},
}
Figure