arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.10873cs.CL
收藏

IDEAL:影响驱动的选择性标注赋能大型语言模型中的上下文学习者

IDEAL: Influence-Driven Selective Annotations Empower In-Context Learners in Large Language Models

Pennsylvania State University(宾夕法尼亚州立大学);The University of Sydney(悉尼大学);Tsinghua University(清华大学);Xidian University(西安电子科技大学)

Shaokun Zhang, Xiaobo Xia, Zhaoqing Wang, Ling-Hao Chen, Jiale Liu, Qingyun Wu, Tongliang Liu

AI总结:

本文提出IDEAL,一种影响驱动的选择性标注方法,通过构建有向图并利用贪心算法从大规模未标注数据池中选择关键子集进行标注,以端到端方式优化上下文示例质量并降低标注成本,在多个基准上以更低时间消耗实现更优性能。

摘要:

上下文学习是一种有前景的范式,它利用上下文示例作为提示来进行大型语言模型的预测。这些提示对于实现强大的性能至关重要。然而,由于提示需要从大量标注示例中采样,找到合适的提示可能会导致高昂的标注成本。为了应对这一挑战,本文提出了一种影响驱动的选择性标注方法,旨在最小化标注成本的同时提高上下文示例的质量。我们方法的本质是从大规模未标注数据池中选择一个关键子集进行标注,以便后续采样提示。具体而言,首先构建一个有向图来表示未标注数据。随后,通过扩散过程量化候选未标注子集的影响。最后引入了一种简单而有效的贪心算法用于未标注数据选择。它迭代地选择数据,前提是该数据相对于量化影响提供最大的边际增益。与以往在选择性标注方面的努力相比,我们这种影响驱动的方法以端到端的方式工作,避免了在数据多样性和代表性之间进行难以处理的显式平衡,并具有理论支持。实验证实了所提方法在各种基准上的优越性,在子集选择期间以更低的时间消耗实现了更好的性能。项目页面可在 https://skzhang1.github.io/IDEAL/ 获取。

英文摘要:

In-context learning is a promising paradigm that utilizes in-context examples as prompts for the predictions of large language models. These prompts are crucial for achieving strong performance. However, since the prompts need to be sampled from a large volume of annotated examples, finding the right prompt may result in high annotation costs. To address this challenge, this paper introduces an influence-driven selective annotation method that aims to minimize annotation costs while improving the quality of in-context examples. The essence of our method is to select a pivotal subset from a large-scale unlabeled data pool to annotate for the subsequent sampling of prompts. Specifically, a directed graph is first constructed to represent unlabeled data. Afterward, the influence of candidate unlabeled subsets is quantified with a diffusion process. A simple yet effective greedy algorithm for unlabeled data selection is lastly introduced. It iteratively selects the data if it provides a maximum marginal gain with respect to quantified influence. Compared with previous efforts on selective annotations, our influence-driven method works in an end-to-end manner, avoids an intractable explicit balance between data diversity and representativeness, and enjoys theoretical support. Experiments confirm the superiority of the proposed method on various benchmarks, achieving better performance under lower time consumption during subset selection. The project page is available at https://skzhang1.github.io/IDEAL/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑