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

学习为语言建模进行长期规划

Learning to Plan Long-Term for Language Modeling

KU Leuven(鲁汶大学)

Florian Mai, Nathan Cornille, Marie-Francine Moens

AI总结:

本文提出一种预测未来多句潜在计划的规划器,通过采样多个计划近似文本延续分布,使语言模型以计算时间换取更准确的下一个词元预测。

摘要:

现代语言模型通过注意力等强大函数考虑过往文本来预测序列中的下一个词元。然而,语言模型缺乏显式机制来花费计算时间为长距离未来文本进行规划,导致词元预测并非最优。本文提出一种规划器,预测未来多个句子的潜在计划。通过一次采样多个计划,我们使语言模型以文本延续分布的准确近似为条件,从而提高下一个词元预测的准确率。实际上,这允许以计算时间换取预测精度。

英文摘要:

Modern language models predict the next token in the sequence by considering the past text through a powerful function such as attention. However, language models have no explicit mechanism that allows them to spend computation time for planning long-distance future text, leading to a suboptimal token prediction. In this paper, we propose a planner that predicts a latent plan for many sentences into the future. By sampling multiple plans at once, we condition the language model on an accurate approximation of the distribution of text continuations, which leads to better next token prediction accuracy. In effect, this allows trading computation time for prediction accuracy.

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

↑