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

后缀检索增强语言建模

Suffix Retrieval-Augmented Language Modeling

NYU Shanghai(上海纽约大学)

Zecheng Wang, Yik-Cheung Tam

摘要:

因果语言建模(LM)使用单词历史来预测下一个单词。另一方面,BERT利用句子中的双向单词信息来预测掩蔽位置处的单词。虽然BERT在序列编码中是有效的,但它本质上是非因果的,并且不是为序列生成而设计的。在本文中,我们提出了一种新的语言模型,SUffix REtrieval-Augmented LM(SUREALM),它模拟了一个双向的自回归方式的上下文效果。SUREALM采用嵌入检索器在序列生成期间在数据存储中搜索共享相似单词历史的训练句子。特别是,检索到的句子的后缀部分模仿“未来”的上下文。我们在DSTC 9口语对话语料库上评估了我们提出的模型,与竞争基线相比,验证和测试集上显示出有希望的单词困惑减少。

英文摘要:

Causal language modeling (LM) uses word history to predict the next word. BERT, on the other hand, makes use of bi-directional word information in a sentence to predict words at masked positions. While BERT is effective in sequence encoding, it is non-causal by nature and is not designed for sequence generation. In this paper, we propose a novel language model, SUffix REtrieval-Augmented LM (SUREALM), that simulates a bi-directional contextual effect in an autoregressive manner. SUREALM employs an embedding retriever to search for training sentences in a data store that share similar word history during sequence generation. In particular, the suffix portions of the retrieved sentences mimick the "future" context. We evaluated our proposed model on the DSTC9 spoken dialogue corpus and showed promising word perplexity reduction on the validation and test set compared to competitive baselines.

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

↑