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

BERT的时间适应性及其在下游文档分类中的性能:来自社交媒体的见解

Temporal Adaptation of BERT and Performance on Downstream Document Classification: Insights from Social Media

University of Oxford(牛津大学)

Paul Röttger, Janet B. Pierrehumbert

摘要:

语言使用在不同领域之间存在差异,甚至在一个领域内,语言使用也会随着时间的推移而变化。对于像BERT这样的预训练语言模型,通过持续的预训练进行领域自适应已被证明可以提高域内下游任务的性能。在这篇文章中,我们调查时间适应是否可以带来额外的好处。为此,我们介绍了一个语料库的社会媒体评论采样超过三年。它包含用于上游掩蔽语言建模任务的适应和评估的未标记数据以及用于下游文档分类任务的微调和评估的标记数据。我们发现,这两个任务的时间性问题:时间适应提高上游和时间微调下游任务的性能。特定时间模型通常在过去的测试集上比在未来的测试集上表现得更好,这与主题词的突发使用相匹配。然而,使BERT适应时间和域并不比仅适应域提高下游任务的性能。标记水平的分析表明,时间适应捕捉事件驱动的变化,在语言使用的下游任务,但不是那些变化,实际上是相关的任务性能。根据我们的研究结果,我们讨论时,时间适应可能更有效。

英文摘要:

Language use differs between domains and even within a domain, language use changes over time. For pre-trained language models like BERT, domain adaptation through continued pre-training has been shown to improve performance on in-domain downstream tasks. In this article, we investigate whether temporal adaptation can bring additional benefits. For this purpose, we introduce a corpus of social media comments sampled over three years. It contains unlabelled data for adaptation and evaluation on an upstream masked language modelling task as well as labelled data for fine-tuning and evaluation on a downstream document classification task. We find that temporality matters for both tasks: temporal adaptation improves upstream and temporal fine-tuning downstream task performance. Time-specific models generally perform better on past than on future test sets, which matches evidence on the bursty usage of topical words. However, adapting BERT to time and domain does not improve performance on the downstream task over only adapting to domain. Token-level analysis shows that temporal adaptation captures event-driven changes in language use in the downstream task, but not those changes that are actually relevant to task performance. Based on our findings, we discuss when temporal adaptation may be more effective.

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

↑