Improving In-Context Learning with Prediction Feedback for Sentiment Analysis

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Xu, Hongling, Wang, Qianlong, Zhang, Yice, Yang, Min, Zeng, Xi, Qin, Bing, Xu, Ruifeng
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914824657567744
author Xu, Hongling
Wang, Qianlong
Zhang, Yice
Yang, Min
Zeng, Xi
Qin, Bing
Xu, Ruifeng
author_facet Xu, Hongling
Wang, Qianlong
Zhang, Yice
Yang, Min
Zeng, Xi
Qin, Bing
Xu, Ruifeng
contents 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%.
format Preprint
id arxiv_https___arxiv_org_abs_2406_02911
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improving In-Context Learning with Prediction Feedback for Sentiment Analysis
Xu, Hongling
Wang, Qianlong
Zhang, Yice
Yang, Min
Zeng, Xi
Qin, Bing
Xu, Ruifeng
Computation and Language
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%.
title Improving In-Context Learning with Prediction Feedback for Sentiment Analysis
topic Computation and Language
url https://arxiv.org/abs/2406.02911