Lune

ICML2021Top-tier venue

LIME: Learning Inductive Bias for Primitives of Mathematical Reasoning

Yuhuai Wu, Markus N. Rabe, Wenda Li, Jimmy Ba, Roger B. Grosse, Christian Szegedy

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 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Proof Artifact Co-Training for Theorem Proving with Language Models cites Graph Representations for Higher-Order Logic and Theorem Proving
  • Proof Artifact Co-Training for Theorem Proving with Language Models cites Language Models are Few-Shot Learners
  • Proof Artifact Co-Training for Theorem Proving with Language Models cites Deep Learning For Symbolic Mathematics
  • Large Language Models as Analogical Reasoners cites Language Models are Few-Shot Learners
  • Vision Transformers provably learn spatial structure cites Language Models are Few-Shot Learners
  • Vision Transformers provably learn spatial structure cites Deep Learning For Symbolic Mathematics
  • A Survey of Deep Learning for Mathematical Reasoning cites Proof Artifact Co-Training for Theorem Proving with Language Models
  • A Survey of Deep Learning for Mathematical Reasoning cites Language Models are Few-Shot Learners
  • A Survey of Deep Learning for Mathematical Reasoning cites Deep Learning For Symbolic Mathematics
  • Exposing Attention Glitches with Flip-Flop Language Modeling cites Language Models are Few-Shot Learners
  • Exposing Attention Glitches with Flip-Flop Language Modeling cites Vision Transformers provably learn spatial structure
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Large Language Models as Analogical ReasonersMichihiro Yasunaga, Xinyun Chen, Yujia Li, Panupong Pasupat et al.ICLR 2024 · 155 citations
  2. Proof Artifact Co-Training for Theorem Proving with Language ModelsJesse Michael Han, Jason Rute, Yuhuai Wu, Edward W. Ayers et al.ICLR 2022 · 149 citations
  3. Vision Transformers provably learn spatial structureSamy Jelassi, Michael E. Sander, Yuanzhi LiNeurIPS 2022 · 115 citations
  4. Exposing Attention Glitches with Flip-Flop Language ModelingBingbin Liu, Jordan T. Ash, Surbhi Goel, Akshay Krishnamurthy et al.NeurIPS 2023 · 90 citations
  5. A Survey of Deep Learning for Mathematical ReasoningPan Lu, Liang Qiu, Wenhao Yu, Sean Welleck et al.ACL 2023 · 43 citations

Builds on11

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Deep Learning For Symbolic MathematicsGuillaume Lample, François ChartonICLR 2020 · 477 citations
  3. What Can Neural Networks Reason About?Keyulu Xu, Jingling Li, Mozhi Zhang, Simon S. Du et al.ICLR 2020 · 281 citations
  4. Global Relational Models of Source CodeVincent J. Hellendoorn, Charles Sutton, Rishabh Singh, Petros Maniatis et al.ICLR 2020 · 252 citations
  5. Graph Representations for Higher-Order Logic and Theorem ProvingAditya Paliwal, Sarah M. Loos, Markus N. Rabe, Kshitij Bansal et al.AAAI 2020 · 110 citations

Related papers

  1. What do Large Language Models Learn beyond Language?Avinash Madasu, Shashank SrivastavaEMNLP Findings 2022 · 6 citations
  2. Learning Language Representations with Logical Inductive BiasJianshu ChenICLR 2023
  3. Fundamental Reasoning Paradigms Induce Out-of-Domain Generalization in Language ModelsMingzi Cao, Xingwei Tan, Mahmud Elahi Akhter, Marco Valentino et al.ACL Findings 2026
  4. Insights into Pre-training via Simpler Synthetic TasksYuhuai Wu, Felix Li, Percy LiangNeurIPS 2022 · 29 citations
  5. Injecting structural hints: Using language models to study inductive biases in language learningIsabel Papadimitriou, Dan JurafskyEMNLP Findings 2023 · 9 citations
Dusk over the sea between two cliffs drawn in fine vertical lines