Measuring and Improving BERT's Mathematical Abilities by Predicting the Order of Reasoning
Not on the map. Why?
Abstract (arXiv)
Imagine you are in a supermarket. You have two bananas in your basket and want to buy four apples. How many fruits do you have in total? This seemingly straightforward question can be challenging for data-driven language models, even if trained at scale. However, we would expect such generic language models to possess some mathematical abilities in addition to typical linguistic competence. Towards this goal, we investigate if a commonly used language model, BERT, possesses such mathematical abilities and, if so, to what degree. For that, we fine-tune BERT on a popular dataset for word math problems, AQuA-RAT, and conduct several tests to understand learned representations better. Since we teach models trained on natural language to do formal mathematics, we hypothesize that such models would benefit from training on semi-formal steps that explain how math results are derived. To better accommodate such training, we also propose new pretext tasks for learning mathematical rules. We call them (Neighbor) Reasoning Order Prediction (ROP or NROP). With this new model, we achieve significantly better outcomes than data-driven baselines and even on-par with more tailored models. We also show how to reduce positional bias in such models.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Builds on 33 of its 62 references that are in the map. First posted on arXiv 7 Jun 2021.
Builds on
33 of 62 references.
References · 33
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
21 more
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
- 2014Recurrent Models of Visual Attentioncited by 344
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
- 2016Rationalizing Neural Predictionscited by 281
- 2019Measuring Bias in Contextualized Word Representationscited by 275
- 2015Stacked Attention Networks for Image Question Answeringcited by 273
- 2018Women also Snowboard: Overcoming Bias in Captioning Modelscited by 236
- 2016Generating Visual Explanationscited by 156
- 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
- 2014A Multi-World Approach to Question Answering about Real-World Scenes based on Uncertain Inputcited by 112
- 2019BERTje: A Dutch BERT Modelcited by 109
- 2016Neuro-Symbolic Program Synthesiscited by 84
- 2015Ask, Attend and Answer: Exploring Question-Guided Spatial Attention for Visual Question Answeringcited by 66
- 2020Investigating Gender Bias in BERTcited by 40
- 2018Learning Visual Question Answering by Bootstrapping Hard Attentioncited by 24
- 2016Learning Executable Semantic Parsers for Natural Language Understandingcited by 21
- 2019Text2Math: End-to-end Parsing Text into Math Expressionscited by 13
- 2016Dynamic Neural Turing Machine with Soft and Hard Addressing Schemescited by 8
- 2019Learning Decision Trees Recurrently Through Communicationcited by 3
Built on by
Citing papers per year: 2021: 2; 2022: 9; 2023: 6; 2024: 3; 2025: 1; 2026: 2.
23 papers.
Sort:
By area:
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2023Mathematical Capabilities of ChatGPTcited by 263
- 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 203
- 2024The pitfalls of next-token predictioncited by 156
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
- 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
- 2022Sub-Task Decomposition Enables Learning in Sequence to Sequence Taskscited by 41
- 2024Path-Consistency with Prefix Enhancement for Efficient Inference in LLMscited by 17
- 2023ANALOGICAL -- A Novel Benchmark for Long Text Analogy Evaluation in Large Language Modelscited by 12
11 more
- 2025Retrieval-of-Thought: Efficient Reasoning via Reusing Thoughtscited by 12
- 2021BiRdQA: A Bilingual Dataset for Question Answering on Tricky Riddlescited by 10
- 2022Why are NLP Models Fumbling at Elementary Math? A Survey of Deep Learning based Word Problem Solverscited by 9
- 2022A Simple, Yet Effective Approach to Finding Biases in Code Generationcited by 8
- 2022Generalizing Math Word Problem Solvers via Solution Diversificationcited by 7
- 2024Procedural Adherence and Interpretability Through Neuro-Symbolic Generative Agentscited by 5
- 2021LoNLI: An Extensible Framework for Testing Diverse Logical Reasoning Capabilities for NLIcited by 3
- 2022Measuring CLEVRness: Blackbox testing of Visual Reasoning Modelscited by 3
- 2026Inclusion-of-Thoughts: Mitigating Preference Instability via Purifying the Decision Spacecited by 2
- 2023Opening the Black Box: Analyzing Attention Weights and Hidden States in Pre-trained Language Models for Non-language Taskscited by 1
- 2026Self-Awareness before Action: Mitigating Logical Inertia via Proactive Cognitive Awarenesscited by 1
- 2026Self-Awareness before Action: Mitigating Logical Inertia via Proactive Cognitive Awareness22 Apr 2026
- 2026Inclusion-of-Thoughts: Mitigating Preference Instability via Purifying the Decision Space15 Mar 2026
- 2025Retrieval-of-Thought: Efficient Reasoning via Reusing Thoughts26 Sep 2025
- 2024Path-Consistency with Prefix Enhancement for Efficient Inference in LLMs25 Aug 2024
- 2024The pitfalls of next-token prediction11 Mar 2024
- 2024Procedural Adherence and Interpretability Through Neuro-Symbolic Generative Agents24 Feb 2024
- 2023Opening the Black Box: Analyzing Attention Weights and Hidden States in Pre-trained Language Models for Non-language Tasks21 Jun 2023
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory6 Jun 2023
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis24 May 2023
- 2023ANALOGICAL -- A Novel Benchmark for Long Text Analogy Evaluation in Large Language Models8 May 2023
- 2023REFINER: Reasoning Feedback on Intermediate Representations4 Apr 2023
- 2023Mathematical Capabilities of ChatGPT31 Jan 2023
11 more
- 2022Generalizing Math Word Problem Solvers via Solution Diversification1 Dec 2022
- 2022A Simple, Yet Effective Approach to Finding Biases in Code Generation31 Oct 2022
- 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Models21 Oct 2022
- 2022Why are NLP Models Fumbling at Elementary Math? A Survey of Deep Learning based Word Problem Solvers31 May 2022
- 2022Sub-Task Decomposition Enables Learning in Sequence to Sequence Tasks6 Apr 2022
- 2022PaLM: Scaling Language Modeling with Pathways5 Apr 2022
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Models21 Mar 2022
- 2022Measuring CLEVRness: Blackbox testing of Visual Reasoning Models24 Feb 2022
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan 2022
- 2021LoNLI: An Extensible Framework for Testing Diverse Logical Reasoning Capabilities for NLI4 Dec 2021
- 2021BiRdQA: A Bilingual Dataset for Question Answering on Tricky Riddles23 Sep 2021
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 203
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
- 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
- 2024Path-Consistency with Prefix Enhancement for Efficient Inference in LLMscited by 17
- 2025Retrieval-of-Thought: Efficient Reasoning via Reusing Thoughtscited by 12
- 2022Measuring CLEVRness: Blackbox testing of Visual Reasoning Modelscited by 3
- 2026Inclusion-of-Thoughts: Mitigating Preference Instability via Purifying the Decision Spacecited by 2
- 2026Self-Awareness before Action: Mitigating Logical Inertia via Proactive Cognitive Awarenesscited by 1
- 2026Self-Awareness before Action: Mitigating Logical Inertia via Proactive Cognitive Awareness22 Apr 2026
- 2026Inclusion-of-Thoughts: Mitigating Preference Instability via Purifying the Decision Space15 Mar 2026
- 2025Retrieval-of-Thought: Efficient Reasoning via Reusing Thoughts26 Sep 2025
- 2024Path-Consistency with Prefix Enhancement for Efficient Inference in LLMs25 Aug 2024
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysis24 May 2023
- 2023REFINER: Reasoning Feedback on Intermediate Representations4 Apr 2023
- 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Models21 Oct 2022
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Models21 Mar 2022
- 2022Measuring CLEVRness: Blackbox testing of Visual Reasoning Models24 Feb 2022
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan 2022
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2023Mathematical Capabilities of ChatGPTcited by 263
- 2024The pitfalls of next-token predictioncited by 156
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
- 2022Sub-Task Decomposition Enables Learning in Sequence to Sequence Taskscited by 41
- 2023ANALOGICAL -- A Novel Benchmark for Long Text Analogy Evaluation in Large Language Modelscited by 12
- 2021BiRdQA: A Bilingual Dataset for Question Answering on Tricky Riddlescited by 10
- 2022Why are NLP Models Fumbling at Elementary Math? A Survey of Deep Learning based Word Problem Solverscited by 9
- 2022A Simple, Yet Effective Approach to Finding Biases in Code Generationcited by 8
- 2022Generalizing Math Word Problem Solvers via Solution Diversificationcited by 7
- 2021LoNLI: An Extensible Framework for Testing Diverse Logical Reasoning Capabilities for NLIcited by 3
- 2023Opening the Black Box: Analyzing Attention Weights and Hidden States in Pre-trained Language Models for Non-language Taskscited by 1
- 2024The pitfalls of next-token prediction11 Mar 2024
- 2023Opening the Black Box: Analyzing Attention Weights and Hidden States in Pre-trained Language Models for Non-language Tasks21 Jun 2023
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory6 Jun 2023
- 2023ANALOGICAL -- A Novel Benchmark for Long Text Analogy Evaluation in Large Language Models8 May 2023
- 2023Mathematical Capabilities of ChatGPT31 Jan 2023
- 2022Generalizing Math Word Problem Solvers via Solution Diversification1 Dec 2022
- 2022A Simple, Yet Effective Approach to Finding Biases in Code Generation31 Oct 2022
- 2022Why are NLP Models Fumbling at Elementary Math? A Survey of Deep Learning based Word Problem Solvers31 May 2022
- 2022Sub-Task Decomposition Enables Learning in Sequence to Sequence Tasks6 Apr 2022
- 2022PaLM: Scaling Language Modeling with Pathways5 Apr 2022
- 2021LoNLI: An Extensible Framework for Testing Diverse Logical Reasoning Capabilities for NLI4 Dec 2021
- 2021BiRdQA: A Bilingual Dataset for Question Answering on Tricky Riddles23 Sep 2021