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

作为时间知识库的时间感知语言模型

Time-Aware Language Models as Temporal Knowledge Bases

Google Research(谷歌研究院)

Bhuwan Dhingra, Jeremy R. Cole, Julian Martin Eisenschlos, Daniel Gillick, Jacob Eisenstein, William W. Cohen

摘要:

许多事实都有截止日期,从总统的名字到勒布朗·詹姆斯效力的篮球队。但是,语言模型(LM)是在特定时刻收集的数据快照上训练的,这可能会限制它们的实用性,特别是在封闭式设置中,预训练语料库必须包含模型应该记住的事实。我们介绍了一个诊断数据集,旨在探测LM的事实知识,随着时间的推移而变化,并突出了LM在频谱两端的问题-那些在特定的时间数据切片上训练的,以及那些在广泛的时间数据上训练的。为了缓解这些问题,我们提出了一种简单的技术,用于联合建模文本及其时间戳。这改善了对训练时间段中可见事实的记忆,以及对未来时间段中不可见事实的预测的校准。我们还表明,随着新数据的到来,使用时间上下文训练的模型可以有效地“刷新”,而不需要从头开始重新训练。

英文摘要:

Many facts come with an expiration date, from the name of the President to the basketball team Lebron James plays for. But language models (LMs) are trained on snapshots of data collected at a specific moment in time, and this can limit their utility, especially in the closed-book setting where the pretraining corpus must contain the facts the model should memorize. We introduce a diagnostic dataset aimed at probing LMs for factual knowledge that changes over time and highlight problems with LMs at either end of the spectrum -- those trained on specific slices of temporal data, as well as those trained on a wide range of temporal data. To mitigate these problems, we propose a simple technique for jointly modeling text with its timestamp. This improves memorization of seen facts from the training time period, as well as calibration on predictions about unseen facts from future time periods. We also show that models trained with temporal context can be efficiently "refreshed" as new data arrives, without the need for retraining from scratch.

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

↑