arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2212.10012cs.CL
收藏

基于潜在情境的语言建模

Language Modeling with Latent Situations

Massachusetts Institute of Technology(麻省理工学院)

Belinda Z. Li, Maxwell Nye, Jacob Andreas

摘要:

语言模型(LM)经常产生不一致的输出:它们引用的事件和实体状态与其输入中描述的世界状态不兼容。我们介绍SituationSupervision,一个家庭的方法,提高一致性LM训练他们构建和条件上明确表示的实体及其状态。SituationSupervision有两个组成部分:一个辅助的情况建模任务,训练模型在上下文中预测状态表示,和一个潜在的状态推理过程,这些状态从部分注释的训练数据。情境监督可以应用于微调(通过监督LM在其隐藏表示中编码状态变量)和提示(通过诱导LM将实体状态的文本描述与输出文本交织)。在这两种情况下,SituationSupervision只需要少量的状态注释就可以产生重大的一致性改进(在4-11%之间),这表明标准LM可以被样本有效地训练,不仅可以对语言进行建模,还可以对它所描述的情况进行建模。

英文摘要:

Language models (LMs) often generate incoherent outputs: they refer to events and entity states that are incompatible with the state of the world described in their inputs. We introduce SituationSupervision, a family of approaches for improving coherence in LMs by training them to construct and condition on explicit representations of entities and their states. SituationSupervision has two components: an auxiliary situation modeling task that trains models to predict state representations in context, and a latent state inference procedure that imputes these states from partially annotated training data. SituationSupervision can be applied to both fine-tuning (by supervising LMs to encode state variables in their hidden representations) and prompting (by inducing LMs to interleave textual descriptions of entity states with output text). In both cases, SituationSupervision requires only a small number of state annotations to produce major coherence improvements (between 4-11%), showing that standard LMs can be sample-efficiently trained to model not just language but the situations it describes.

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

↑