LIME:学习数学推理原语的归纳偏差
LIME: Learning Inductive Bias for Primitives of Mathematical Reasoning
摘要:
虽然在神经架构中设计感应偏置已经被广泛研究,但我们假设Transformer网络足够灵活,可以从合适的通用任务中学习感应偏置。在这里,我们通过以数据集的形式编码归纳偏差来取代架构工程。灵感来自皮尔士的观点,演绎,归纳和溯因推理的原语,我们设计了三个合成任务,旨在要求模型有这三个能力。我们专门设计这些任务是合成的,没有数学知识,以确保只有基本的推理偏见可以从这些任务中学习。这定义了一种新的预训练方法,称为“LIME”(Learning Inductive Bias for Mathematical REasoning)。使用LIME训练的模型在四个非常不同的大型数学推理基准测试中的表现明显优于vanilla Transformers。与传统预训练方法的计算成本不同,LIME只需要典型下游任务的一小部分计算成本。用于生成LIME任务的代码可以在https://github.com/tonywu95/LIME上获得。
英文摘要:
While designing inductive bias in neural architectures has been widely studied, we hypothesize that transformer networks are flexible enough to learn inductive bias from suitable generic tasks. Here, we replace architecture engineering by encoding inductive bias in the form of datasets. Inspired by Peirce's view that deduction, induction, and abduction are the primitives of reasoning, we design three synthetic tasks that are intended to require the model to have these three abilities. We specifically design these tasks to be synthetic and devoid of mathematical knowledge to ensure that only the fundamental reasoning biases can be learned from these tasks. This defines a new pre-training methodology called "LIME" (Learning Inductive bias for Mathematical rEasoning). Models trained with LIME significantly outperform vanilla transformers on four very different large mathematical reasoning benchmarks. Unlike dominating the computation cost as traditional pre-training approaches, LIME requires only a small fraction of the computation cost of the typical downstream task. The code for generating LIME tasks is available at https://github.com/tonywu95/LIME.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。