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

UCS:用于改进上下文学习的未见覆盖估计

UCS: Estimating Unseen Coverage for Improved In-Context Learning

University of Pennsylvania(宾夕法尼亚大学)

Jiayi Xin, Xiang Li, Evan Qiang, Weiqing He, Tianqi Shang, Weijie J. Su, Qi Long

AI总结:

UCS通过基于覆盖的免训练方法改进上下文学习,通过诱导离散潜在聚类和估计候选子集中的未揭示聚类数量,提升模型性能。

摘要:

上下文学习性能依赖于提示中演示的选择,但现有选择器主要基于启发式相关性或多样性,缺乏对演示集覆盖的洞察。本文提出Unseen Coverage Selection (UCS),通过诱导模型一致的嵌入离散潜在聚类,并利用平滑Good-Turing估计器估计候选子集中的未揭示聚类数量,实现覆盖驱动的免训练方法。UCS可通过简单正则化目标与查询依赖和查询无关的选择基线无缝结合。实验表明,与前沿大语言模型在多个意图分类和推理基准上,增强强基线可使上下文学习准确率提升2-6%,同时揭示任务和模型层面的潜在聚类分布。代码可在https://github.com/Raina-Xin/UCS获取。

英文摘要:

In-context learning (ICL) performance depends critically on which demonstrations are placed in the prompt, yet most existing selectors prioritize heuristic notions of relevance or diversity and provide limited insight into the coverage of a demonstration set. We propose Unseen Coverage Selection (UKS), a training-free, subset-level coverage prior motivated by the principle that a good demonstration set should expose the model to latent cluster unrevealed by the currently selected subset. UCS operationalizes this idea by (1) inducing discrete latent clusters from model-consistent embeddings and (2) estimating the number of unrevealed clusters within a candidate subset via a Smoothed Good--Turing estimator from its empirical frequency spectrum. Unlike previous selection methods, UCS is coverage-based and training-free, and can be seamlessly combined with both query-dependent and query-independent selection baselines via a simple regularized objective. Experiments on multiple intent-classification and reasoning benchmarks with frontier Large Language Models show that augmenting strong baselines with UCS consistently improves ICL accuracy by up to 2-6% under the same selection budget, while also yielding insights into task- and model-level latent cluster distributions. Code is available at https://github.com/Raina-Xin/UCS.

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

↑