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

亲和性与多样性:一种基于内部表示的示例选择统一度量

Affinity and Diversity: A Unified Metric for Demonstration Selection via Internal Representations

Japan Advanced Institute of Science and Technology(日本先进科学技术学院);RIKEN(理化学研究所)

Mariko Kato, Hakaze Cho, Yoshihiro Sakai, Naoya Inoue

AI总结:

针对上下文学习示例选择方法目标不一、结果不一致的问题,提出基于模型内部表示的亲和性与多样性统一度量,实验验证其与测试准确率强相关且能统一现有方法的不一致性。

摘要:

上下文学习(ICL)的性能对所选示例高度敏感。现有示例选择方法优化不同目标,结果不一致。为解决此问题,我们提出一种统一度量——亲和性与多样性,它利用ICL模型的内部表示。实验表明,亲和性与多样性均与测试准确率强相关,证明其在示例选择上的有效性。此外,我们提出的度量与多种先前工作高度契合,可统一这种不一致性。

英文摘要:

The performance of In-Context Learning (ICL) is highly sensitive to the selected demonstrations. Existing approaches to demonstration selection optimize different objectives, yielding inconsistent results. To address this, we propose a unified metric--affinity and diversity--that leverages ICL model's internal representations. Our experiments show that both affinity and diversity strongly correlate with test accuracies, indicating their effectiveness for demonstration selection. Moreover, we show that our proposed metrics align well with various previous works to unify the inconsistency.

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

↑