从无标注数据中学习语言建模的规划
Learning to Plan for Language Modeling from Unlabeled Data
AI总结:
本文提出一种自监督规划模块,通过预测聚类文本嵌入空间中的抽象写作动作来辅助语言模型进行未来写作规划,从而在无标注数据下提升语言建模性能,尤其改善文本结构。
摘要:
通过训练在无标注语料库中预测下一个词元,大型语言模型能够在没有任何标注数据的情况下学会执行许多任务。然而,其下一个词元预测目标在需要规划的场景中可能限制了性能,例如撰写一篇连贯的文章。在本文中,我们通过自监督学习目标训练一个用于规划未来写作过程的模块。给定文本上下文,该规划模块学习预测未来的抽象写作动作,这些动作对应于聚类文本嵌入空间中的质心。通过以这些动作为条件,我们的模型以无监督的方式将成功的语言模型范式扩展到更抽象的规划。实验上,我们证明我们的方法普遍提升了语言建模性能,尤其是在文本结构方面。由于我们的框架使用了一个无监督且位于语言模型外部的规划器模块,新的规划器模块可以大规模训练并易于与社区共享。
英文摘要:
By training to predict the next token in an unlabeled corpus, large language models learn to perform many tasks without any labeled data. However, their next-token-prediction objective arguably limits their performance in scenarios that require planning, such as writing a coherent article. In this paper, we train a module for planning the future writing process via a self-supervised learning objective. Given the textual context, this planning module learns to predict future abstract writing actions, which correspond to centroids in a clustered text embedding space. By conditioning on these actions, our model extends the successful language model formula to more abstract planning in an unsupervised way. Empirically, we demonstrate that our method improves language modeling performance in general, particularly with respect to the text structure. Because our framework uses a planner module that is unsupervised and external to the language model, new planner modules can be trained at large scale and easily be shared with the community.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。