Transformer 见,Transformer 作:复制作为学习类比推理的中间步骤
Transformer See, Transformer Do: Copying as an Intermediate Step in Learning Analogical Reasoning
AI总结:
本文研究了通过Meta-Learning for Compositionality训练的Transformer在类比推理任务中的表现,发现引入复制任务可提升模型对字母字符串类比的学习能力,并通过异质数据集训练提高了对新字母集的泛化能力。
摘要:
类比推理是人类智能的标志,使我们能够通过将知识从一个情境转移到另一个情境来解决新问题。然而,开发能够实现鲁棒的人类级类比推理的人工智能系统却 proved 难以实现。在本工作中,我们使用Meta-Learning for Compositionality (MLC)训练Transformer,以完成类比推理任务(字母-字符串类比),并评估其泛化能力。我们发现,当引导模型关注由训练数据中包含复制任务所诱导的最有信息量的问题元素时,字母-字符串类比变得可学习。此外,当模型在更多异质数据集上训练时,泛化到新字母集的能力会提高,我们的3层编码器-解码器模型在大多数前沿模型之上表现更优。MLC方法也使模型能够对训练的转换组合进行一些泛化,但不能对完全新的转换进行泛化。为了理解模型如何运作,我们识别出一个近似模型计算的算法。我们通过可解释性分析验证了这一点,并显示模型可以根据从算法中得出的期望进行精确操控。最后,我们讨论了我们的发现对更大模型泛化能力的影响以及与人类类比推理的类比。
英文摘要:
Analogical reasoning is a hallmark of human intelligence, enabling us to solve new problems by transferring knowledge from one situation to another. Yet, developing artificial intelligence systems capable of robust human-like analogical reasoning has proven difficult. In this work, we train transformers using Meta-Learning for Compositionality (MLC) on an analogical reasoning task (letter-string analogies) and assess their generalization capabilities. We find that letter-string analogies become learnable when guiding the models to attend to the most informative problem elements, induced by including copy tasks in the training data. Furthermore, generalization to new alphabets improves when models are trained with more heterogeneous datasets. For the best training run, our 3-layer encoder-decoder model performs on par with frontier models on our letter-string analogy datasets. The MLC approach also enables some generalization to compositions of trained transformations, but not to completely novel transformations. To understand how the model solves the analogies, we identify an algorithm for one analogy task that approximates the model's computations. We verify this using interpretability analyses and show that head-level attention weights causally affect model output, allowing steering between different analogy tasks. We discuss the implications of our findings for generalization capabilities of larger models and the parallels to human analogical reasoning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。