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

TemporalWiki:用于训练和评估持续演化语言模型的终身基准

TemporalWiki: A Lifelong Benchmark for Training and Evaluating Ever-Evolving Language Models

KAIST(韩国科学技术院);Korea University(高丽大学);LG AI Research(LG人工智能研究院)

Joel Jang, Seonghyeon Ye, Changho Lee, Sohee Yang, Joongbo Shin, Janghoon Han, Gyeonghun Kim, Minjoon Seo

AI总结:

本文提出 TemporalWiki 终身基准,利用维基百科与维基数据连续快照的差异训练和评估语言模型,验证了通过持续学习用最少数据更新事实知识可大幅降低计算成本。

摘要:

语言模型(LMs)会随着世界变化而变得过时;它们常常无法完成需要近期事实信息的任务,而这些信息在训练时并不存在或已经不同,这一现象被称为时间错位。这尤其是一个具有挑战性的问题,因为研究界仍然缺乏一个连贯的数据集来评估语言模型对频繁更新的知识语料库(如维基百科)的适应能力。为此,我们引入了 TemporalWiki,这是一个面向持续演化语言模型的终身基准,分别利用英文维基百科和英文维基数据连续快照之间的差异进行训练和评估。因此,该基准允许研究人员在每个时间点定期跟踪语言模型保留先前知识以及获取更新/新知识的能力。我们还发现,通过持续学习方法在差异数据上训练语言模型,与在我们的基准中在整个快照上训练相比,能够以少 12 倍的计算成本达到相似或更好的困惑度,这验证了语言模型中的事实知识可以通过持续学习用最少的训练数据安全更新。数据集和代码可在 https://github.com/joeljang/temporalwiki 获取。

英文摘要:

Language Models (LMs) become outdated as the world changes; they often fail to perform tasks requiring recent factual information which was absent or different during training, a phenomenon called temporal misalignment. This is especially a challenging problem because the research community still lacks a coherent dataset for assessing the adaptability of LMs to frequently-updated knowledge corpus such as Wikipedia. To this end, we introduce TemporalWiki, a lifelong benchmark for ever-evolving LMs that utilizes the difference between consecutive snapshots of English Wikipedia and English Wikidata for training and evaluation, respectively. The benchmark hence allows researchers to periodically track an LM's ability to retain previous knowledge and acquire updated/new knowledge at each point in time. We also find that training an LM on the diff data through continual learning methods achieves similar or better perplexity than on the entire snapshot in our benchmark with 12 times less computational cost, which verifies that factual knowledge in LMs can be safely updated with minimal training data via continual learning. The dataset and the code are available at https://github.com/joeljang/temporalwiki.

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

↑