LIME: Learning Inductive Bias for Primitives of Mathematical Reasoning
arXiv:2101.06223
Abstract
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.
Published as a conference paper at ICML 2021 (16 pages)
References in corpus (13)
- Language Models are Few-Shot Learners
- MASS: Masked Sequence to Sequence Pre-training for Language Generation
- What Can Neural Networks Reason About?
- Generative Language Modeling for Automated Theorem Proving
- Enhancing the Transformer with Explicit Relational Encoding for Math Problem Solving
- Learning to Prove Theorems via Interacting with Proof Assistants
- Improving Graph Neural Network Representations of Logical Formulae with Subgraph Pooling
- Exploration of Neural Machine Translation in Autoformalization of Mathematics in Mizar
- Learning to Reason in Large Theories without Imitation
- Universal linguistic inductive biases via meta-learning
- Enhancing SAT solvers with glue variable predictions
- Learning Branching Heuristics for Propositional Model Counting
- Teaching Temporal Logics to Neural Networks