arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2202.07206cs.CLcs.LG
收藏

训练前术语频率对Few-Shot推理的影响

Impact of Pretraining Term Frequencies on Few-Shot Reasoning

University of California, Irvine(加州大学欧文分校);Microsoft Semantic Machines(微软语义机器公司);Allen Institute for Artificial Intelligence(艾伦人工智能研究所)

Yasaman Razeghi, Robert L. Logan, Matt Gardner, Sameer Singh

摘要:

预先训练的语言模型(LM)已经证明了通过在Few-Shot设置中从几个例子中推断来执行数值推理的能力。然而,这种推断在多大程度上依赖于可靠的推理尚不清楚。在本文中,我们研究了这些模型在预训练数据中使用频率较低的术语的情况。特别是,我们研究了测试实例上的模型性能与预训练数据中这些实例的术语频率之间的相关性。我们在各种数值推导任务(例如,算术和单位转换)。我们的研究结果一致表明,模型在术语更普遍的实例上更准确,在某些情况下,与底部10%相比,在$70\%$(绝对)以上的顶部10%频繁术语上更准确。总的来说,虽然LM在Few-Shot数值推理任务中表现出很强的性能,但我们的研究结果提出了一个问题,即模型实际上在预训练数据之外推广了多少,我们鼓励研究人员在解释评估结果时考虑预训练数据。

英文摘要:

Pretrained Language Models (LMs) have demonstrated ability to perform numerical reasoning by extrapolating from a few examples in few-shot settings. However, the extent to which this extrapolation relies on robust reasoning is unclear. In this paper, we investigate how well these models reason with terms that are less frequent in the pretraining data. In particular, we examine the correlations between the model performance on test instances and the frequency of terms from those instances in the pretraining data. We measure the strength of this correlation for a number of GPT-based language models (pretrained on the Pile dataset) on various numerical deduction tasks (e.g., arithmetic and unit conversion). Our results consistently demonstrate that models are more accurate on instances whose terms are more prevalent, in some cases above $70\%$ (absolute) more accurate on the top 10\% frequent terms in comparison to the bottom 10\%. Overall, although LMs exhibit strong performance at few-shot numerical reasoning tasks, our results raise the question of how much models actually generalize beyond pretraining data, and we encourage researchers to take the pretraining data into account when interpreting evaluation results.

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

↑