English

Improving In-Context Learning with Prediction Feedback for Sentiment Analysis

Computation and Language 2024-06-06 v1

Abstract

Large language models (LLMs) have achieved promising results in sentiment analysis through the in-context learning (ICL) paradigm. However, their ability to distinguish subtle sentiments still remains a challenge. Inspired by the human ability to adjust understanding via feedback, this paper enhances ICL by incorporating prior predictions and feedback, aiming to rectify sentiment misinterpretation of LLMs. Specifically, the proposed framework consists of three steps: (1) acquiring prior predictions of LLMs, (2) devising predictive feedback based on correctness, and (3) leveraging a feedback-driven prompt to refine sentiment understanding. Experimental results across nine sentiment analysis datasets demonstrate the superiority of our framework over conventional ICL methods, with an average F1 improvement of 5.95%.

Keywords

Cite

@article{arxiv.2406.02911,
  title  = {Improving In-Context Learning with Prediction Feedback for Sentiment Analysis},
  author = {Hongling Xu and Qianlong Wang and Yice Zhang and Min Yang and Xi Zeng and Bing Qin and Ruifeng Xu},
  journal= {arXiv preprint arXiv:2406.02911},
  year   = {2024}
}

Comments

Accepted by ACL 2024 (Findings)

R2 v1 2026-06-28T16:53:55.493Z