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

利用多提示改进最小贝叶斯风险解码

Improving Minimum Bayes Risk Decoding with Multi-Prompt

Georgia Institute of Technology(佐治亚理工学院);School of Interactive Computing(交互计算学院)

David Heineman, Yao Dou, Wei Xu

AI总结:

针对指令微调LLM因提示敏感性导致生成性能不稳定的问题,提出多提示解码方法,结合MBR解码集成多提示生成的候选结果,在多任务、模型和指标下均提升了生成性能。

摘要:

尽管经过指令微调的大语言模型(LLM)是有效的文本生成器,但对提示构建的敏感性导致其性能在实际应用中不稳定且未达最优。依赖单一“最佳”提示无法涵盖生成问题的所有不同解决思路。基于这一观察,我们提出多提示解码方法,在推理阶段从提示库中解码生成大量候选输出。为集成这些候选结果,我们采用最小贝叶斯风险(Minimum Bayes Risk, MBR)解码,通过训练好的价值指标选择最终输出。我们在一整套条件生成任务上验证了多提示可提升MBR性能,且这一提升源于该方法能构建比单一提示更多样、质量更高的候选空间。进一步实验证实,多提示在不同任务、模型和指标下均能提升生成效果。

英文摘要:

While instruction fine-tuned LLMs are effective text generators, sensitivity to prompt construction makes performance unstable and sub-optimal in practice. Relying on a single "best" prompt cannot capture all differing approaches to a generation problem. Using this observation, we propose multi-prompt decoding, where many candidate generations are decoded from a prompt bank at inference-time. To ensemble candidates, we use Minimum Bayes Risk (MBR) decoding, which selects a final output using a trained value metric. We show multi-prompt improves MBR across a comprehensive set of conditional generation tasks, and show this is a result of estimating a more diverse and higher quality candidate space than that of a single prompt. Further experiments confirm multi-prompt improves generation across tasks, models and metrics.

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

↑