Improving In-Context Learning Via Sequentially Selection and Preference Alignment for Few-Shot Aspect-Based Sentiment Analysis

Qianlong Wang,Keyang Ding,Xuan Luo,Ruifeng Xu
DOI: https://doi.org/10.1145/3626772.3657932
2024-01-01
Abstract:In this paper, we leverage in-context learning (ICL) paradigm to handle few-shot aspect-based sentiment analysis (ABSA). Previous works first rank candidate examples by some metrics and then independently retrieve examples similar to test samples. However, their effectiveness may be discounted because of two limitations: in-context example redundancy and example preference misalignment between retriever and LLM. To alleviate them, we propose a novel framework that sequentially retrieves in-context examples. It not only considers which example is useful for the test sample but also prevents its information from being duplicated by already retrieved examples. Subsequently, we exploit the rewards of LLMs on retrieved in-context examples to optimize parameters for bridging preference gaps. Experiments on four ABSA datasets show that our framework is significantly superior to previous works.
What problem does this paper attempt to address?