arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.10713cs.CLcs.LG
收藏

Flatness-Aware Prompt Selection 提升准确率与样本效率

Flatness-Aware Prompt Selection Improves Accuracy and Sample Efficiency

Johns Hopkins University(约翰斯·霍普金斯大学)

Lingfeng Shen, Weiting Tan, Boyuan Zheng, Daniel Khashabi

AI总结:

本文提出 prompt flatness 指标量化语言提示预期效用,结合现有指标提升了性能与样本效率,在 6 个分类基准上平均准确率提升 5%,Pearson correlation 提升 10%。

摘要:

随着大语言模型能力的增强,提示已成为访问它们的主要方式。这促使了自动选择有效语言提示策略的发展。在本文中,我们引入了 prompt flatness,一种用于量化语言提示预期效用的全新指标。该指标受统计学习中量化模型对其参数扰动鲁棒性的 flatness regularization 启发。我们为该指标及其与其他 prompt selection 指标的关系提供了理论基础,从而全面理解现有方法。在实验中,我们展示了将 prompt flatness 与现有指标相结合可同时提升性能和样本效率。我们的指标超越了以往的 prompt selection 指标,在 6 个分类基准上实现了 5% 的平均准确率提升和 10% 的 Pearson correlation 提升。

英文摘要:

With growing capabilities of large language models, prompting them has become the dominant way to access them. This has motivated the development of strategies for automatically selecting effective language prompts. In this paper, we introduce prompt flatness, a new metric to quantify the expected utility of a language prompt. This metric is inspired by flatness regularization in statistical learning that quantifies the robustness of the model towards its parameter perturbations. We provide theoretical foundations for this metric and its relationship with other prompt selection metrics, providing a comprehensive understanding of existing methods. Empirically, we show that combining prompt flatness with existing metrics improves both performance and sample efficiency. Our metric outperforms the previous prompt selection metrics with an average increase of 5% in accuracy and 10% in Pearson correlation across 6 classification benchmarks.

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

↑