arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.03062cs.CLcs.AIcs.IRcs.LG
收藏

带有自生成标注的多示例上下文学习的缩放定律

Scaling Laws for Many-Shot In-Context Learning with Self-Generated Annotations

University of Illinois Chicago(伊利诺伊大学芝加哥分校);Cornell University(康奈尔大学);Tsinghua University(清华大学)

Zhengyao Gu, Henry Peng Zou, Yankai Chen, Aiwei Liu, Weizhi Zhang, Philip S. Yu

AI总结:

针对自生成标注的ICL难以扩展至多样本的问题,研究提出含三模块的半监督ICL框架及简单基线(超1000示例时达最优),还提出整合迭代优化与课程伪标记的IterPSD方法,分类任务最高提升6.8%。

摘要:

获取用于上下文学习(ICL)的高质量标注数据成本高昂,这推动了使用自生成标注替代真实标签的方法的发展。尽管这些方法在少样本场景中展现出可观效果,但通常无法扩展至多样本场景。本研究采用与传统半监督学习类似的框架,研究带有自生成示例的ICL,该框架包含标注生成、示例选择和上下文推理三个部分。在该框架内,我们提出了一种简单的基线方法,在零样本、少样本和多样本设置下的表现均优于使用真实标签的ICL。值得注意的是,我们观察到该基线存在缩放定律:当示例数量超过1000个时,性能达到最优。为充分发挥半监督ICL的多样本能力,我们提出了IterPSD,这是一种迭代标注方法,整合了半监督学习中的迭代优化和课程伪标记技术,在分类任务上可带来最高6.8%的额外性能提升。

英文摘要:

The high cost of obtaining high-quality annotated data for in-context learning (ICL) has motivated the development of methods that use self-generated annotations in place of ground-truth labels. While these approaches have shown promising results in few-shot settings, they generally do not scale to many-shot scenarios. In this work, we study ICL with self-generated examples using a framework analogous to traditional semi-supervised learning, consisting of annotation generation, demonstration selection, and in-context inference. Within this framework, we propose a simple baseline that outperforms ground-truth ICL in zero-shot, few-shot, and many-shot settings. Notably, we observe a scaling law with this baseline, where optimal performance is achieved with more than 1,000 demonstrations. To fully exploit the many-shot capabilities of semi-supervised ICL, we introduce IterPSD, an iterative annotation approach that integrates iterative refinement and curriculum pseudo-labeling techniques from semi-supervised learning, yielding up to 6.8% additional gains on classification tasks.

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

↑