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

从跨任务示例到任务内提示:一种面向上下文学习的基于图的伪标签框架

From Cross-Task Examples to In-Task Prompts: A Graph-Based Pseudo-Labeling Framework for In-context Learning

Department of ECE, University of Virginia(电子工程系,弗吉尼亚大学)

Zihan Chen, Song Wang, Xingbo Fu, Chengshuai Shi, Zhenyu Lei, Cong Shen, Jundong Li

AI总结:

针对上下文学习中高质量任务示例标注成本高的问题,提出两阶段伪标签框架,先用跨任务示例生成少量目标任务伪标签,再通过图标签传播扩展全量数据,在降低成本的同时实现了不错的性能。

摘要:

上下文学习(ICL)能力使大语言模型(LLM)能够通过少量输入输出示例作为条件,无需参数更新即可执行新任务。然而,为新任务或有挑战性的任务收集高质量示例成本高昂且耗费人力。本文提出一种低成本的两阶段流水线,可降低数据标注对LLM的依赖。该方法首先利用现成的跨任务示例提示LLM,为一小部分目标任务实例生成伪标签;随后引入基于图的标签传播方法,无需额外LLM查询即可将标签信息传播到其余目标示例。最终得到的全伪标签数据集用于构建ICL的任务内演示。该流水线结合了跨任务监督的灵活性与无需LLM的传播的可扩展性。在五项任务上的实验表明,该方法在降低标注成本的同时取得了优异性能。

英文摘要:

The capability of in-context learning (ICL) enables large language models (LLMs) to perform novel tasks without parameter updates by conditioning on a few input-output examples. However, collecting high-quality examples for new or challenging tasks can be costly and labor-intensive. In this work, we propose a cost-efficient two-stage pipeline that reduces reliance on LLMs for data labeling. Our approach first leverages readily available cross-task examples to prompt an LLM and pseudo-label a small set of target task instances. We then introduce a graph-based label propagation method that spreads label information to the remaining target examples without additional LLM queries. The resulting fully pseudo-labeled dataset is used to construct in-task demonstrations for ICL. This pipeline combines the flexibility of cross-task supervision with the scalability of LLM-free propagation. Experiments across five tasks demonstrate that our method achieves strong performance while lowering labeling costs.

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

↑