arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.08473cs.CLcs.LG
收藏

论上下文学习中的作文泛化鸿沟

On the Compositional Generalization Gap of In-Context Learning

Mila(米拉研究所);Université de Montréal(蒙特利尔大学);ServiceNow Research(ServiceNow研究院);Microsoft Research(微软研究院)

Arian Hosseini, Ankit Vani, Dzmitry Bahdanau, Alessandro Sordoni, Aaron Courville

摘要:

预训练的大型生成语言模型在许多任务上表现出很好的性能,但表现出较低的组合泛化能力。缩放这些模型已经被证明可以提高它们在各种NLP任务上的性能,即使只是通过几个例子来解决任务而没有任何微调(也称为上下文学习)。在这项工作中,我们看看在分布(ID)和分布(OOD)的性能,这样的模型在语义解析任务与上下文学习之间的差距。在ID设置中,演示来自正在评估模型的同一个分割(测试或训练),而在OOD设置中,演示来自另一个分割。我们看看上下文学习的相对泛化差距如何随着模型的扩大而演变。我们评估了四个模型家族,OPT,BLOOM,CodeGen和Codex三个语义解析数据集,CFQ,SCAN和GeoQuery与不同数量的样本,并观察到一个趋势,减少相对泛化差距模型的规模扩大。

英文摘要:

Pretrained large generative language models have shown great performance on many tasks, but exhibit low compositional generalization abilities. Scaling such models has been shown to improve their performance on various NLP tasks even just by conditioning them on a few examples to solve the task without any fine-tuning (also known as in-context learning). In this work, we look at the gap between the in-distribution (ID) and out-of-distribution (OOD) performance of such models in semantic parsing tasks with in-context learning. In the ID settings, the demonstrations are from the same split (test or train) that the model is being evaluated on, and in the OOD settings, they are from the other split. We look at how the relative generalization gap of in-context learning evolves as models are scaled up. We evaluate four model families, OPT, BLOOM, CodeGen and Codex on three semantic parsing datasets, CFQ, SCAN and GeoQuery with different number of exemplars, and observe a trend of decreasing relative generalization gap as models are scaled up.

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

↑