TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Do we still need Human Annotators? Prompting Large Languag...

Do we still need Human Annotators? Prompting Large Language Models for Aspect Sentiment Quad Prediction

Nils Constantin Hellwig, Jakob Fehle, Udo Kruschwitz, Christian Wolff

2025-02-18Few-Shot LearningAspect-Based Sentiment Analysis (ABSA)
PaperPDFCode

Abstract

Aspect sentiment quadruple prediction (ASQP) facilitates a detailed understanding of opinions expressed in a text by identifying the opinion term, aspect term, aspect category and sentiment polarity for each opinion. However, annotating a full set of training examples to fine-tune models for ASQP is a resource-intensive process. In this study, we explore the capabilities of large language models (LLMs) for zero- and few-shot learning on the ASQP task across five diverse datasets. We report F1 scores slightly below those obtained with state-of-the-art fine-tuned models but exceeding previously reported zero- and few-shot performance. In the 40-shot setting on the Rest16 restaurant domain dataset, LLMs achieved an F1 score of 52.46, compared to 60.39 by the best-performing fine-tuned method MVP. Additionally, we report the performance of LLMs in target aspect sentiment detection (TASD), where the F1 scores were also close to fine-tuned models, achieving 66.03 on Rest16 in the 40-shot setting, compared to 72.76 with MVP. While human annotators remain essential for achieving optimal performance, LLMs can reduce the need for extensive manual annotation in ASQP tasks.

Results

TaskDatasetMetricValueModel
Sentiment AnalysisTASDF1 (R15)62.12Gemma-3-27B (50-shot, self-consistency learning)
Sentiment AnalysisTASDF1 (R16)68.53Gemma-3-27B (50-shot, self-consistency learning)
Sentiment AnalysisTASDF1 (R15)54.37Gemma-3-27B (10-shot, self-consistency learning)
Sentiment AnalysisTASDF1 (R16)66.75Gemma-3-27B (10-shot, self-consistency learning)
Sentiment AnalysisASQPF1 (R15)41.74Gemma-3-27B (50-shot, self-consistency learning)
Sentiment AnalysisASQPF1 (R16)51.54Gemma-3-27B (50-shot, self-consistency learning)
Sentiment AnalysisASQPF1 (R15)39.95Gemma-3-27B (10-shot, self-consistency learning)
Sentiment AnalysisASQPF1 (R16)46.23Gemma-3-27B (10-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)TASDF1 (R15)62.12Gemma-3-27B (50-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)TASDF1 (R16)68.53Gemma-3-27B (50-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)TASDF1 (R15)54.37Gemma-3-27B (10-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)TASDF1 (R16)66.75Gemma-3-27B (10-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)ASQPF1 (R15)41.74Gemma-3-27B (50-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)ASQPF1 (R16)51.54Gemma-3-27B (50-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)ASQPF1 (R15)39.95Gemma-3-27B (10-shot, self-consistency learning)
Aspect-Based Sentiment Analysis (ABSA)ASQPF1 (R16)46.23Gemma-3-27B (10-shot, self-consistency learning)

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Doodle Your Keypoints: Sketch-Based Few-Shot Keypoint Detection2025-07-10An Enhanced Privacy-preserving Federated Few-shot Learning Framework for Respiratory Disease Diagnosis2025-07-10Few-Shot Learning by Explicit Physics Integration: An Application to Groundwater Heat Transport2025-07-08ViRefSAM: Visual Reference-Guided Segment Anything Model for Remote Sensing Segmentation2025-07-03Dynamic Context-Aware Prompt Recommendation for Domain-Specific AI Applications2025-06-25Ancient Script Image Recognition and Processing: A Review2025-06-24Universal Music Representations? Evaluating Foundation Models on World Music Corpora2025-06-20