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

用于大型语言模型的提升式提示集成

Boosted Prompt Ensembles for Large Language Models

University of Toronto(多伦多大学);Vector Institute(矢量研究所)

Silviu Pitis, Michael R. Zhang, Andrew Wang, Jimmy Ba

AI总结:

本文提出提升式提示集成方法,通过逐步选取困难少样本示例构建提示集合,在GSM8k和AQuA等数据集上超越单提示集成与袋装提示集成,并给出训练时与测试时两种版本及实证分析。

摘要:

诸如思维链提示与自一致性等方法已在无需额外训练的情况下推动了语言模型推理性能的前沿。为进一步提升性能,我们提出了一种面向大型语言模型的提示集成方法,该方法利用一个小型数据集来构建一组少样本提示,共同组成一个“提升式提示集成”。每个提示的少样本示例以逐步方式选取,选取的是前一步集成不确定的“困难”示例。我们表明,该方法在GSM8k和AQuA等数据集上优于单提示输出空间集成和袋装提示空间集成。我们提出了提升式提示的训练时版本和测试时版本,它们使用不同级别的可用标注,并对我们的算法进行了详细的实证研究。

英文摘要:

Methods such as chain-of-thought prompting and self-consistency have pushed the frontier of language model reasoning performance with no additional training. To further improve performance, we propose a prompt ensembling method for large language models, which uses a small dataset to construct a set of few shot prompts that together comprise a ``boosted prompt ensemble''. The few shot examples for each prompt are chosen in a stepwise fashion to be ``hard'' examples on which the previous step's ensemble is uncertain. We show that this outperforms single-prompt output-space ensembles and bagged prompt-space ensembles on the GSM8k and AQuA datasets, among others. We propose both train-time and test-time versions of boosted prompting that use different levels of available annotation and conduct a detailed empirical study of our algorithm.

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

↑