arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2109.15101cs.CLcs.LGcs.NE
收藏

基于预训练Transformers的语义解析合成泛化

Compositional generalization in semantic parsing with pretrained transformers

New York University(纽约大学)

A. Emin Orhan

摘要:

大规模的预训练将大量的知识灌输到深度神经网络中。这反过来又改善了这些模型在下游任务中的泛化行为。大规模预训练的泛化优势究竟有哪些限制?在这里,我们报告的意见,从一些简单的实验,旨在解决这个问题的背景下,涉及自然语言,扫描和COGS的两个语义解析任务。我们发现,与从头开始训练的模型相比,专门用非英语语料库,甚至用程序设计语言语料库预训练的语言模型在这些基准测试中显着提高了分布外泛化,即使这两个基准测试都是基于英语的。这证明了预先训练的表示和知识具有惊人的广泛可移植性。另一方面,使用大规模蛋白质序列预测任务进行预训练主要会恶化SCAN和COGS中的泛化性能,这表明预训练的表示不会普遍转移,并且预训练和下游域之间的相似性存在限制,以便成功转移。最后,我们表明,较大的模型更难从头开始训练,并且在相对较小的SCAN和COGS数据集上训练收敛时,其泛化精度较低,但大规模预训练的好处在较大的模型中变得更加清晰。

英文摘要:

Large-scale pretraining instills large amounts of knowledge in deep neural networks. This, in turn, improves the generalization behavior of these models in downstream tasks. What exactly are the limits to the generalization benefits of large-scale pretraining? Here, we report observations from some simple experiments aimed at addressing this question in the context of two semantic parsing tasks involving natural language, SCAN and COGS. We show that language models pretrained exclusively with non-English corpora, or even with programming language corpora, significantly improve out-of-distribution generalization in these benchmarks, compared with models trained from scratch, even though both benchmarks are English-based. This demonstrates the surprisingly broad transferability of pretrained representations and knowledge. Pretraining with a large-scale protein sequence prediction task, on the other hand, mostly deteriorates the generalization performance in SCAN and COGS, suggesting that pretrained representations do not transfer universally and that there are constraints on the similarity between the pretraining and downstream domains for successful transfer. Finally, we show that larger models are harder to train from scratch and their generalization accuracy is lower when trained up to convergence on the relatively small SCAN and COGS datasets, but the benefits of large-scale pretraining become much clearer with larger models.

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

↑