[论文解读] Mind the Gap: Assessing Temporal Generalization in Neural Language Models
本文提出动态、时间分层的语言建模基准,用以测试 Transformer 语言模型的時态泛化,显示较早的数据会削弱对未来预测,并证明通过动态评估进行持续更新可减缓降解,但并非完全解决。
Our world is open-ended, non-stationary, and constantly evolving; thus what we talk about and how we talk about it change over time. This inherent dynamic nature of language contrasts with the current static language modelling paradigm, which trains and evaluates models on utterances from overlapping time periods. Despite impressive recent progress, we demonstrate that Transformer-XL language models perform worse in the realistic setup of predicting future utterances from beyond their training period, and that model performance becomes increasingly worse with time. We find that, while increasing model size alone -- a key driver behind recent progress -- does not solve this problem, having models that continually update their knowledge with new information can indeed mitigate this performance degradation over time. Hence, given the compilation of ever-larger language modelling datasets, combined with the growing list of language-model-based NLP applications that require up-to-date factual knowledge about the world, we argue that now is the right time to rethink the static way in which we currently train and evaluate our language models, and develop adaptive language models that can remain up-to-date with respect to our ever-changing and non-stationary world. We publicly release our dynamic, streaming language modelling benchmarks for WMT and arXiv to facilitate language model evaluation that takes temporal dynamics into account.
研究动机与目标
- 激励并形式化将时序泛化作为对语言模型在超越静态时间重叠数据上的现实评估。
- 量化 Transformer LMs 在预测超出训练数据的未来话语时的降解程度。
- 分析哪种预测类型(词性标注、实体、话题)更易受到时序变化的影响。
- 评估仅仅增大模型规模是否能缓解时序降解。
- 提出并评估自适应、动态评估方法以使模型保持当前。
提出的方法
- 在动态数据集(WMT、CustomNews、arXiv)上为 Transformer-XL 构建时间分层与对照训练方案。
- 在固定的未来测试集上评估困惑度,并比较时间分层与对照训练数据。
- 通过聚类(LDA)按词性标注和话题分析降解。
- 研究新词的出现和记忆长度在时序泛化中的作用。
- 测试模型规模的扩大(287M 与 448M 参数)对时序降解的影响。
- 通过用新数据流更新模型参数并衡量影响来应用动态评估。
实验结果
研究问题
- RQ1静态训练-评测实践对未来数据上的语言模型性能高估程度有多大?
- RQ2仅仅增大模型规模是否能缓解时序降解,还是需要持续适应?
- RQ3哪些语言现象(例如专有名词、数字、新出现的术语)驱动时序泛化错误?
- RQ4动态评估能否减缓时序降解,以及它的实际成本与局限性?
- RQ5相较于固有困惑度,时序变化如何影响下游问答任务?
主要发现
- 时间分层模型在未来数据上的困惑度高于对照模型,相对降解最高可达 16%,具体取决于数据集。
- 对新出现的词语、专有名词和数字的降解更为显著,反映了与时事相关的事实知识缺口。
- 更大模型(448M)显示更低的绝对困惑度,但与较小的时间分层模型相比,并未降低随时间的降解速率。
- 动态评估降低变得过时的速度,尤其是在新出现词汇上显著提升困惑度(该子情形约降低 39.6%)。
- 时序降解在不同数据集和语言中持续存在,即使测试年份不同或超出两年差距也明显。
- 在问答任务中,过时的模型在知识密集型问题上的准确率下降明显,而在提供上下文的阅读理解任务中影响较小。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。