Mathematical Reasoning via Self-supervised Skip-tree Training
Markus Norman Rabe, Dennis Lee, Kshitij Bansal, Christian Szegedy
Abstract
We demonstrate that self-supervised language modeling applied to mathematical formulas enables logical reasoning. To measure the logical reasoning abilities of language models, we formulate several evaluation (downstream) tasks, such as inferring types, suggesting missing assumptions, and completing equalities. For training language models for formal mathematics, we propose a novel skip-tree task. We find that models trained on the skip-tree task show surprisingly strong mathematical reasoning abilities, and outperform models trained on standard skipsequence tasks. We also analyze the models' ability to formulate new conjectures by measuring how often the predictions are provable and useful in other proofs.
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.
19 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- 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 Teaching Temporal Logics to Neural Networks
- Proof Artifact Co-Training for Theorem Proving with Language Models cites Deep Learning For Symbolic Mathematics
- Solving Quantitative Reasoning Problems with Language Models cites Proof Artifact Co-Training for Theorem Proving with Language Models
- Solving Quantitative Reasoning Problems with Language Models cites Language Models are Few-Shot Learners
- Solving Quantitative Reasoning Problems with Language Models cites Autoformalization with Large Language Models
- Memorizing Transformers cites Language Models are Few-Shot Learners
- Memorizing Transformers cites Teaching Temporal Logics to Neural Networks
- LEGO-Prover: Neural Theorem Proving with Growing Libraries cites Proof Artifact Co-Training for Theorem Proving with Language Models
- LEGO-Prover: Neural Theorem Proving with Growing Libraries cites Solving Quantitative Reasoning Problems with Language Models
- LEGO-Prover: Neural Theorem Proving with Growing Libraries cites Language Models are Few-Shot Learners
- LEGO-Prover: Neural Theorem Proving with Growing Libraries cites Autoformalization with Large Language Models
- LEGO-Prover: Neural Theorem Proving with Growing Libraries cites Deep Learning For Symbolic Mathematics
- Autoformalization with Large Language Models cites Proof Artifact Co-Training for Theorem Proving with Language Models
- Autoformalization with Large Language Models cites Memorizing Transformers
- Autoformalization with Large Language Models cites Language Models are Few-Shot Learners
- Autoformalization with Large Language Models cites Teaching Temporal Logics to Neural Networks
- Teaching Temporal Logics to Neural Networks cites Global Relational Models of Source Code
- Teaching Temporal Logics to Neural Networks cites Language Models are Few-Shot Learners
- Teaching Temporal Logics to Neural Networks cites Deep Learning For Symbolic Mathematics
Cited by top-tier papers19
- Solving Quantitative Reasoning Problems with Language ModelsAitor Lewkowycz, Anders Andreassen, David Dohan, Ethan Dyer et al.NeurIPS 2022 · 2,039 citations
- Autoformalization with Large Language ModelsYuhuai Wu, Albert Qiaochu Jiang, Wenda Li, Markus N. Rabe et al.NeurIPS 2022 · 364 citations
- Memorizing TransformersYuhuai Wu, Markus Norman Rabe, DeLesley Hutchins, Christian SzegedyICLR 2022 · 231 citations
- 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
- LEGO-Prover: Neural Theorem Proving with Growing LibrariesHaiming Wang, Huajian Xin, Chuanyang Zheng, Zhengying Liu et al.ICLR 2024 · 125 citations
Builds on5
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive SummarizationJingqing Zhang, Yao Zhao, Mohammad Saleh, Peter J. LiuICML 2020 · 2,453 citations
- Deep Learning For Symbolic MathematicsGuillaume Lample, François ChartonICLR 2020 · 477 citations
- Global Relational Models of Source CodeVincent J. Hellendoorn, Charles Sutton, Rishabh Singh, Petros Maniatis et al.ICLR 2020 · 252 citations
- Teaching Temporal Logics to Neural NetworksChristopher Hahn, Frederik Schmitt, Jens U. Kreber, Markus Norman Rabe et al.ICLR 2021 · 78 citations
Related papers
- S^3cMath: Spontaneous Step-Level Self-Correction Makes Large Language Models Better Mathematical ReasonersYuchen Yan, Jin Jiang, Yang Liu, Yixin Cao et al.AAAI 2025 · 19 citations
- Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning ProcessTian Ye, Zicheng Xu, Yuanzhi Li, Zeyuan Allen-ZhuICLR 2025 · 3 citations
- Self-Explore: Enhancing Mathematical Reasoning in Language Models with Fine-grained RewardsHyeonbin Hwang, Doyoung Kim, Seungone Kim, Seonghyeon Ye et al.EMNLP Findings 2024 · 6 citations
- Self-training Language Models for Arithmetic ReasoningMarek Kadlcík, Michal StefánikEMNLP Findings 2024 · 1 citation
- SatLM: Satisfiability-Aided Language Models Using Declarative PromptingXi Ye, Qiaochu Chen, Isil Dillig, Greg DurrettNeurIPS 2023 · 126 citations
