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

BWArea模型:学习世界模型、逆动力学模型和策略以实现可控语言生成

BWArea Model: Learning World Model, Inverse Dynamics, and Policy for Controllable Language Generation

Nanjing University(南京大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院)

Chengxing Jia, Pengyuan Wang, Ziniu Li, Yi-Chen Li, Zhilong Zhang, Nan Tang, Yang Yu

AI总结:

BWArea模型受大脑布罗卡区和韦尼克区启发,将语言生成视为决策任务,结合世界模型、逆动力学模型和认知策略,在预训练和微调中实现可控生成,性能优于自回归LLMs。

摘要:

大型语言模型(LLMs)已催化了自然语言处理领域的范式转变,但其有限的可控性对下游应用构成了重大挑战。我们旨在通过借鉴人脑的神经机制来解决这一问题,特别是布罗卡区和韦尼克区,它们分别对语言生成和理解至关重要。具体而言,布罗卡区接收来自韦尼克区的认知决策信号,将语言生成视为一个复杂的决策过程,这与现有LLMs的完全自回归语言生成不同。类似地,我们提出的系统——BWArea模型,将语言生成概念化为一个决策任务。该模型包含三个组成部分:语言世界模型、逆动力学模型和认知策略。与韦尼克区类似,逆动力学模型旨在推断每个词元背后的潜在认知意图或潜在动作。BWArea模型像现有LLMs一样适用于预训练和微调。使用300亿个干净的预训练词元,我们训练了一个BWArea模型,其性能与同等规模(10亿参数)的LLMs相当。与完全自回归的LLMs不同,如果意外出现脏数据,其预训练性能不会退化。这显示了BWArea模型分解结构在减少繁琐数据选择和标注工作方面的优势。最后,我们揭示BWArea模型通过使用下游奖励指标微调认知策略,提供了增强的可控性,从而以更简单的方式促进对齐。在TextWorld和BigBench Hard两个套件的10个任务中的9个上,我们的方法表现出优于自回归LLMs的性能。

英文摘要:

Large language models (LLMs) have catalyzed a paradigm shift in natural language processing, yet their limited controllability poses a significant challenge for downstream applications. We aim to address this by drawing inspiration from the neural mechanisms of the human brain, specifically Broca's and Wernicke's areas, which are crucial for language generation and comprehension, respectively. In particular, Broca's area receives cognitive decision signals from Wernicke's area, treating the language generation as an intricate decision-making process, which differs from the fully auto-regressive language generation of existing LLMs. In a similar vein, our proposed system, the BWArea model, conceptualizes language generation as a decision-making task. This model has three components: a language world model, an inverse dynamics model, and a cognitive policy. Like Wernicke's area, the inverse dynamics model is designed to deduce the underlying cognitive intentions, or latent actions, behind each token. The BWArea model is amenable to both pre-training and fine-tuning like existing LLMs. With 30B clean pre-training tokens, we have trained a BWArea model, which achieves competitive performance with LLMs of equal size (1B parameters). Unlike fully auto-regressive LLMs, its pre-training performance does not degenerate if dirty data unintentionally appears. This shows the advantage of a decomposed structure of BWArea model in reducing efforts in laborious data selection and labeling. Finally, we reveal that the BWArea model offers enhanced controllability via fine-tuning the cognitive policy with downstream reward metrics, thereby facilitating alignment with greater simplicity. On 9 out of 10 tasks from two suites, TextWorld and BigBench Hard, our method shows superior performance to auto-regressive LLMs.

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

↑