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

语言模型从它们的训练数据中复制了多少?基于RAVEN的文本生成语言新颖性评价

How much do language models copy from their training data? Evaluating linguistic novelty in text generation using RAVEN

Johns Hopkins University(约翰斯·霍普金斯大学);Microsoft Research(微软研究院);New York University(纽约大学);Facebook AI Research(Facebook人工智能研究院)

R. Thomas McCoy, Paul Smolensky, Tal Linzen, Jianfeng Gao, Asli Celikyilmaz

摘要:

当前的语言模型可以生成高质量的文本。他们只是简单地复制他们以前看过的文本,还是他们学会了概括的语言抽象?为了梳理除了这些可能性,我们介绍了RAVEN,一套分析,用于评估生成的文本的新颖性,专注于顺序结构(n-gram)和句法结构。我们将这些分析应用于四个神经语言模型(LSTM,Transformer,Transformer-XL和GPT-2)。对于本地结构-例如,个体依赖性-模型生成的文本基本上不如我们从每个模型的测试集中人工生成的文本的基线新颖。对于较大规模的结构,例如,整体句子结构-模型生成的文本与人类生成的基线一样新颖,甚至更新颖,但模型有时仍然大量复制,在某些情况下,从训练集中复制超过1,000个单词的段落。我们还进行了大量的手动分析,表明GPT-2的小说文本通常在形态和句法上都是格式良好的,但有相当频繁的语义问题(例如,自相矛盾)。

英文摘要:

Current language models can generate high-quality text. Are they simply copying text they have seen before, or have they learned generalizable linguistic abstractions? To tease apart these possibilities, we introduce RAVEN, a suite of analyses for assessing the novelty of generated text, focusing on sequential structure (n-grams) and syntactic structure. We apply these analyses to four neural language models (an LSTM, a Transformer, Transformer-XL, and GPT-2). For local structure - e.g., individual dependencies - model-generated text is substantially less novel than our baseline of human-generated text from each model's test set. For larger-scale structure - e.g., overall sentence structure - model-generated text is as novel or even more novel than the human-generated baseline, but models still sometimes copy substantially, in some cases duplicating passages over 1,000 words long from the training set. We also perform extensive manual analysis showing that GPT-2's novel text is usually well-formed morphologically and syntactically but has reasonably frequent semantic issues (e.g., being self-contradictory).

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

↑