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

超越困惑的语言模型评估

Language Model Evaluation Beyond Perplexity

ETH Zürich(苏黎世联邦理工学院);University of Cambridge(剑桥大学)

Clara Meister, Ryan Cotterell

摘要:

我们提出了另一种方法来量化语言模型学习自然语言的效果:我们询问它们与自然语言的统计趋势的匹配程度。为了回答这个问题,我们分析了从语言模型生成的文本是否表现出它们所训练的人类生成的文本中存在的统计趋势。我们提供了一个框架-配对的显着性测试-用于评估适合这些趋势的语言模型。我们发现,神经语言模型似乎只学习了所考虑的趋势的一个子集,但与所提出的理论分布(当存在时)相比,与经验趋势更接近。此外,对不同分布的拟合高度依赖于模型架构和生成策略。作为具体的例子,在核心抽样方案下生成的文本比使用标准祖先抽样生成的文本更紧密地遵循自然语言的类型-标记关系; LSTM的文本反映了自然语言在长度、停用词和符号上的分布。

英文摘要:

We propose an alternate approach to quantifying how well language models learn natural language: we ask how well they match the statistical tendencies of natural language. To answer this question, we analyze whether text generated from language models exhibits the statistical tendencies present in the human-generated text on which they were trained. We provide a framework--paired with significance tests--for evaluating the fit of language models to these trends. We find that neural language models appear to learn only a subset of the tendencies considered, but align much more closely with empirical trends than proposed theoretical distributions (when present). Further, the fit to different distributions is highly-dependent on both model architecture and generation strategy. As concrete examples, text generated under the nucleus sampling scheme adheres more closely to the type--token relationship of natural language than text produced using standard ancestral sampling; text from LSTMs reflects the natural language distributions over length, stopwords, and symbols surprisingly well.

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

↑