mlsanityData to 7 Oct 2026

Measuring and Improving BERT's Mathematical Abilities by Predicting the Order of Reasoning

arXiv 2106.03921 ↗First posted 7 Jun 2021cs.CL cs.AI cs.LGcited by 23

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  8. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  9. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  10. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  11. 2016Identity Mappings in Deep Residual Networkscited by 1,960
  12. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
21 more
  1. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  2. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 653
  3. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  4. 2014Recurrent Models of Visual Attentioncited by 344
  5. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  6. 2016Rationalizing Neural Predictionscited by 281
  7. 2019Measuring Bias in Contextualized Word Representationscited by 275
  8. 2015Stacked Attention Networks for Image Question Answeringcited by 273
  9. 2018Women also Snowboard: Overcoming Bias in Captioning Modelscited by 236
  10. 2016Generating Visual Explanationscited by 156
  11. 2020Injecting Numerical Reasoning Skills into Language Modelscited by 133
  12. 2014A Multi-World Approach to Question Answering about Real-World Scenes based on Uncertain Inputcited by 112
  13. 2019BERTje: A Dutch BERT Modelcited by 109
  14. 2016Neuro-Symbolic Program Synthesiscited by 84
  15. 2015Ask, Attend and Answer: Exploring Question-Guided Spatial Attention for Visual Question Answeringcited by 66
  16. 2020Investigating Gender Bias in BERTcited by 40
  17. 2018Learning Visual Question Answering by Bootstrapping Hard Attentioncited by 24
  18. 2016Learning Executable Semantic Parsers for Natural Language Understandingcited by 21
  19. 2019Text2Math: End-to-end Parsing Text into Math Expressionscited by 13
  20. 2016Dynamic Neural Turing Machine with Soft and Hard Addressing Schemescited by 8
  21. 2019Learning Decision Trees Recurrently Through Communicationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 9; 2023: 6; 2024: 3; 2025: 1; 2026: 2.

23 papers.

Sort:

By area:

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  3. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  4. 2023Mathematical Capabilities of ChatGPTcited by 263
  5. 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 203
  6. 2024The pitfalls of next-token predictioncited by 156
  7. 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
  8. 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
  9. 2022A Causal Framework to Quantify the Robustness of Mathematical Reasoning with Language Modelscited by 68
  10. 2022Sub-Task Decomposition Enables Learning in Sequence to Sequence Taskscited by 41
  11. 2024Path-Consistency with Prefix Enhancement for Efficient Inference in LLMscited by 17
  12. 2023ANALOGICAL -- A Novel Benchmark for Long Text Analogy Evaluation in Large Language Modelscited by 12
11 more
  1. 2025Retrieval-of-Thought: Efficient Reasoning via Reusing Thoughtscited by 12
  2. 2021BiRdQA: A Bilingual Dataset for Question Answering on Tricky Riddlescited by 10
  3. 2022Why are NLP Models Fumbling at Elementary Math? A Survey of Deep Learning based Word Problem Solverscited by 9
  4. 2022A Simple, Yet Effective Approach to Finding Biases in Code Generationcited by 8
  5. 2022Generalizing Math Word Problem Solvers via Solution Diversificationcited by 7
  6. 2024Procedural Adherence and Interpretability Through Neuro-Symbolic Generative Agentscited by 5
  7. 2021LoNLI: An Extensible Framework for Testing Diverse Logical Reasoning Capabilities for NLIcited by 3
  8. 2022Measuring CLEVRness: Blackbox testing of Visual Reasoning Modelscited by 3
  9. 2026Inclusion-of-Thoughts: Mitigating Preference Instability via Purifying the Decision Spacecited by 2
  10. 2023Opening the Black Box: Analyzing Attention Weights and Hidden States in Pre-trained Language Models for Non-language Taskscited by 1
  11. 2026Self-Awareness before Action: Mitigating Logical Inertia via Proactive Cognitive Awarenesscited by 1