Recent work has shown that large pretrained Language Models (LMs) can not only perform remarkably well on a range of Natural Language Processing (NLP) tasks but also start improving on reasoning tasks such as arithmetic induction, symbolic manipulation, and commonsense reasoning with increasing size of models. However, it is still unclear what the underlying capabilities of these LMs are. Surprisingly, we find that these models have limitations on certain basic symbolic manipulation tasks such as copy, reverse, and addition. When the total number of symbols or repeating symbols increases, the model performance drops quickly. We investigate the potential causes behind this phenomenon and examine a set of possible methods, including explicit positional markers, fine-grained computation steps, and LMs with callable programs. Experimental results show that none of these techniques can solve the simplest addition induction problem completely. In the end, we introduce LMs with tutor, which demonstrates every single step of teaching. LMs with tutor is able to deliver 100% accuracy in situations of OOD and repeating symbols, shedding new insights on the boundary of large LMs in induction.
Language Models are Symbolic Learners in Arithmetic
Department of Computer Science(计算机科学系);Rice University(里士满大学);College of Computing(计算学院);Georgia Institute of Technology(佐治亚理工学院);Duke University(杜克大学)
Grammar Induction with Neural Language Models: An Unusual Replication
New York University(纽约大学)
最近关于潜在树学习的大量工作尝试开发具有解析值潜在变量的神经网络模型,并在非解析任务上对它们进行训练,希望它们能发现可解释的树结构。在最近的一篇论文中,Shen et al.(2018)介绍了这样一个模型,并报告了语言建模目标任务的最新结果,以及选区解析的第一个强潜在树学习结果。在尝试重现这些结果时,我们发现了使原始结果难以信任的问题,包括调整甚至训练有效的测试集。在这里,我们试图在一个公平的实验中重现这些结果,并将其扩展到两个新的数据集。我们发现这项工作的结果是稳健的:所研究的模型的所有变体都优于所有潜在树学习基线,并且与符号语法归纳系统竞争。我们发现,这个模型代表了第一个经验的成功,潜在树学习,和神经网络语言建模值得进一步研究的语法归纳设置。