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

神经语言建模中的分布失真评估

Evaluating Distributional Distortion in Neural Language Modeling

McGill University(麦吉尔大学);Mila – Quebec Artificial Intelligence Institute(米拉-魁北克人工智能研究所);Microsoft Research(微软研究院)

Benjamin LeBrun, Alessandro Sordoni, Timothy J. O'Donnell

摘要:

自然语言的一个基本特征是说话者产生新颖表达的高速率。由于这种新颖性,罕见事件的重尾占语言分布的总概率质量的很大一部分(Baayen,2001)。标准的语言建模度量,如复杂度,量化了语言模型(LM)的总体性能。因此,我们对神经LM是否能准确估计这种罕见事件的重尾序列的概率知之甚少。为了解决这一差距,我们开发了一种受控的评估方案,该方案使用在自然数据上训练的生成模型作为人工语言,我们可以从中精确计算序列概率。在这些人工语言的生成上训练LM,我们将LM给出的序列级概率估计与目标语言中的真实概率进行比较。我们的实验表明,LSTM和Transformer语言模型(i)系统地低估了从目标语言中提取的序列的概率,并且(ii)对不太可能的序列做得更严重。调查这个概率质量去了,(iii)我们发现,LM往往高估的概率病态(扰动)序列。此外,我们发现,这种低估行为(iv)被削弱,但没有消除更大量的训练数据,和(v)是加剧与较低的熵的目标分布。

英文摘要:

A fundamental characteristic of natural language is the high rate at which speakers produce novel expressions. Because of this novelty, a heavy-tail of rare events accounts for a significant amount of the total probability mass of distributions in language (Baayen, 2001). Standard language modeling metrics such as perplexity quantify the performance of language models (LM) in aggregate. As a result, we have relatively little understanding of whether neural LMs accurately estimate the probability of sequences in this heavy-tail of rare events. To address this gap, we develop a controlled evaluation scheme which uses generative models trained on natural data as artificial languages from which we can exactly compute sequence probabilities. Training LMs on generations from these artificial languages, we compare the sequence-level probability estimates given by LMs to the true probabilities in the target language. Our experiments reveal that LSTM and Transformer language models (i) systematically underestimate the probability of sequences drawn from the target language, and (ii) do so more severely for less-probable sequences. Investigating where this probability mass went, (iii) we find that LMs tend to overestimate the probability of ill formed (perturbed) sequences. In addition, we find that this underestimation behaviour (iv) is weakened, but not eliminated by greater amounts of training data, and (v) is exacerbated for target distributions with lower entropy.

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

↑