Transformer模型能测量文本的连贯性吗?重新思考洗牌测试
Can Transformer Models Measure Coherence In Text? Re-Thinking the Shuffle Test
摘要:
Shuffle测试是评估NLP模型是否可以测量文本连贯性的最常见任务。最新的工作使用直接监督的任务;我们表明,通过简单地微调一个RoBERTa模型,我们可以实现97.8%的近乎完美的准确率,一个国家的最先进的。我们认为,这种出色的表现是不太可能导致一个良好的模型的文本连贯性,并建议洗牌测试应该在Zero-Shot设置接近:模型应该在不接受任务本身培训的情况下进行评估。我们评估了这种设置中的常见模型,如生成式和双向Transformers,并发现较大的架构可以实现开箱即用的高性能。最后,我们提出了k-块洗牌测试,通过增加洗牌块的大小对原始测试进行修改。尽管人类读者的性能仍然很高(准确率约为95%),但随着块大小的增加,模型性能从94%下降到78%,这对基准NLP模型造成了概念上的简单挑战。可用代码:https://github.com/tingofurro/shuffle_test/
英文摘要:
The Shuffle Test is the most common task to evaluate whether NLP models can measure coherence in text. Most recent work uses direct supervision on the task; we show that by simply finetuning a RoBERTa model, we can achieve a near perfect accuracy of 97.8%, a state-of-the-art. We argue that this outstanding performance is unlikely to lead to a good model of text coherence, and suggest that the Shuffle Test should be approached in a Zero-Shot setting: models should be evaluated without being trained on the task itself. We evaluate common models in this setting, such as Generative and Bi-directional Transformers, and find that larger architectures achieve high-performance out-of-the-box. Finally, we suggest the k-Block Shuffle Test, a modification of the original by increasing the size of blocks shuffled. Even though human reader performance remains high (around 95% accuracy), model performance drops from 94% to 78% as block size increases, creating a conceptually simple challenge to benchmark NLP models. Code available: https://github.com/tingofurro/shuffle_test/
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。