MathBERT: A Pre-trained Language Model for General NLP Tasks in Mathematics Education
Not on the map. Why?
Abstract (arXiv)
Since the introduction of the original BERT (i.e., BASE BERT), researchers have developed various customized BERT models with improved performance for specific domains and tasks by exploiting the benefits of transfer learning. Due to the nature of mathematical texts, which often use domain specific vocabulary along with equations and math symbols, we posit that the development of a new BERT model for mathematics would be useful for many mathematical downstream tasks. In this resource paper, we introduce our multi-institutional effort (i.e., two learning platforms and three academic institutions in the US) toward this need: MathBERT, a model created by pre-training the BASE BERT model on a large mathematical corpus ranging from pre-kindergarten (pre-k), to high-school, to college graduate level mathematical content. In addition, we select three general NLP tasks that are often used in mathematics education: prediction of knowledge component, auto-grading open-ended Q&A, and knowledge tracing, to demonstrate the superiority of MathBERT over BASE BERT. Our experiments show that MathBERT outperforms prior best methods by 1.2-22% and BASE BERT by 2-8% on these tasks. In addition, we build a mathematics specific vocabulary 'mathVocab' to train with MathBERT. We discover that MathBERT pre-trained with 'mathVocab' outperforms MathBERT trained with the BASE BERT vocabulary (i.e., 'origVocab'). MathBERT is currently being adopted at the participated leaning platforms: Stride, Inc, a commercial educational resource provider, and ASSISTments.org, a free online educational platform. We release MathBERT for public usage at: https://github.com/tbs17/MathBERT.
Key facts. Cited by 37 papers in the map (data through 7 Oct 2026). Builds on 21 of its 43 references that are in the map. First posted on arXiv 2 Jun 2021.
Builds on
21 of 43 references.
References · 21
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2018Deep contextualized word representationscited by 2,285
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2019Publicly Available Clinical BERT Embeddingscited by 995
- 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 487
- 2019How to Fine-Tune BERT for Text Classification?cited by 409
- 2015Deep Knowledge Tracingcited by 328
- 2016Dynamic Key-Value Memory Networks for Knowledge Tracingcited by 170
9 more
- 2019A Self-Attentive model for Knowledge Tracingcited by 169
- 2019EKT: Exercise-aware Knowledge Tracing for Student Performance Predictioncited by 109
- 2015A Neural Network Approach to Context-Sensitive Generation of Conversational Responsescited by 98
- 2021MathBERT: A Pre-Trained Model for Mathematical Formula Understandingcited by 58
- 2021MelBERT: Metaphor Detection via Contextualized Late Interaction using Metaphorical Identification Theoriescited by 46
- 2015Mathematical Language Processing: Automatic Grading and Feedback for Open Response Mathematical Questionscited by 19
- 2020E-BERT: A Phrase and Product Knowledge Enhanced Language Model for E-commercecited by 19
- 2020DeText: A Deep Text Ranking Framework with BERTcited by 13
- 2019Creating A Neural Pedagogical Agent by Jointly Learning to Review and Assesscited by 6
Built on by
Citing papers per year: 2021: 1; 2022: 5; 2023: 14; 2024: 10; 2025: 5; 2026: 2.
37 papers.
Sort:
By area:
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
- 2024A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discoverycited by 96
- 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoringcited by 68
- 2023Fine-tuning ChatGPT for Automatic Scoringcited by 50
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
- 2024TelecomGPT: A Framework to Build Telecom-Specfic Large Language Modelscited by 38
- 2023Retrieval-augmented Generation to Improve Math Question-Answering: Trade-offs Between Groundedness and Human Preferencecited by 37
- 2023MosaicBERT: A Bidirectional Encoder Optimized for Fast Pretrainingcited by 33
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2022Automatic Short Math Answer Grading via In-context Meta-learningcited by 18
- 2022JiuZhang: A Chinese Pre-trained Language Model for Mathematical Problem Understandingcited by 15
25 more
- 2023A Symbolic Framework for Evaluating Mathematical Reasoning and Generalisation with Transformerscited by 15
- 2023Tree-Based Representation and Generation of Natural and Mathematical Languagecited by 12
- 2023BERT is not The Count: Learning to Match Mathematical Statements with Proofscited by 9
- 2024A Survey of Pre-trained Language Models for Processing Scientific Textcited by 7
- 2024KidLM: Advancing Language Models for Children -- Early Insights and Future Directionscited by 7
- 2023Algebra Error Classification with Large Language Modelscited by 4
- 2024Autograding Mathematical Induction Proofs with Natural Language Processingcited by 4
- 2024Leveraging Label Semantics and Meta-Label Refinement for Multi-Label Question Classificationcited by 4
- 2022PhysNLU: A Language Resource for Evaluating Natural Language Understanding and Explanation Coherence in Physicscited by 3
- 2023Injecting knowledge into language generation: a case study in auto-charting after-visit care instructions from medical dialoguecited by 3
- 2024The Life Cycle of Large Language Models: A Review of Biases in Educationcited by 3
- 2022End-to-End Evaluation of a Spoken Dialogue System for Learning Basic Mathematicscited by 2
- 2023From Robots to Books: An Introduction to Smart Applications of AI in Education (AIEd)cited by 2
- 2024G-SciEdBERT: A Contextualized LLM for Science Assessment Tasks in Germancited by 2
- 2025Evaluating NLP Embedding Models for Handling Science-Specific Symbolic Expressions in Student Textscited by 2
- 2025Automated Grading of Students' Handwritten Graphs: A Comparison of Meta-Learning and Vision-Large Language Modelscited by 2
- 2024Fine-Tuning BERTs for Definition Extraction from Mathematical Textcited by 1
- 2025MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Trainingcited by 1
- 2025Detecting Instruction Fine-tuning Attacks using Influence Functioncited by 1
- 2025Superstudent intelligence in thermodynamicscited by 1
- 2022Changes from Classical Statistics to Modern Statistics and Data Sciencecited by 0
- 2023Inspecting Spoken Language Understanding from Kids for Basic Math Learning at Homecited by 0
- 2023Modeling and Analyzing Scorer Preferences in Short-Answer Math Questionscited by 0
- 2026PyraMathBench: Evaluating and Improving Mathematical Capability in Large Language Modelscited by 0
- 2026Syntax Meets Semantics: Understanding Scientific Formulaecited by 0
- 2026Syntax Meets Semantics: Understanding Scientific Formulae3 Aug 2026
- 2026PyraMathBench: Evaluating and Improving Mathematical Capability in Large Language Models2 Jun 2026
- 2025Automated Grading of Students' Handwritten Graphs: A Comparison of Meta-Learning and Vision-Large Language Models3 Jul 2025
- 2025Superstudent intelligence in thermodynamics11 Jun 2025
- 2025Evaluating NLP Embedding Models for Handling Science-Specific Symbolic Expressions in Student Texts23 May 2025
- 2025Detecting Instruction Fine-tuning Attacks using Influence Function12 Apr 2025
- 2025MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training28 Feb 2025
- 2024Leveraging Label Semantics and Meta-Label Refinement for Multi-Label Question Classification4 Nov 2024
- 2024KidLM: Advancing Language Models for Children -- Early Insights and Future Directions4 Oct 2024
- 2024TelecomGPT: A Framework to Build Telecom-Specfic Large Language Models12 Jul 2024
- 2024Fine-Tuning BERTs for Definition Extraction from Mathematical Text19 Jun 2024
- 2024A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discovery16 Jun 2024
25 more
- 2024Autograding Mathematical Induction Proofs with Natural Language Processing11 Jun 2024
- 2024The Life Cycle of Large Language Models: A Review of Biases in Education3 Jun 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2024G-SciEdBERT: A Contextualized LLM for Science Assessment Tasks in German9 Feb 2024
- 2024A Survey of Pre-trained Language Models for Processing Scientific Text31 Jan 2024
- 2023MosaicBERT: A Bidirectional Encoder Optimized for Fast Pretraining29 Dec 2023
- 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoring30 Nov 2023
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inference7 Nov 2023
- 2023Fine-tuning ChatGPT for Automatic Scoring16 Oct 2023
- 2023Retrieval-augmented Generation to Improve Math Question-Answering: Trade-offs Between Groundedness and Human Preference4 Oct 2023
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutors29 Jun 2023
- 2023Injecting knowledge into language generation: a case study in auto-charting after-visit care instructions from medical dialogue6 Jun 2023
- 2023Modeling and Analyzing Scorer Preferences in Short-Answer Math Questions1 Jun 2023
- 2023Inspecting Spoken Language Understanding from Kids for Basic Math Learning at Home1 Jun 2023
- 2023A Symbolic Framework for Evaluating Mathematical Reasoning and Generalisation with Transformers21 May 2023
- 2023Algebra Error Classification with Large Language Models8 May 2023
- 2023BERT is not The Count: Learning to Match Mathematical Statements with Proofs18 Feb 2023
- 2023Tree-Based Representation and Generation of Natural and Mathematical Language15 Feb 2023
- 2023From Robots to Books: An Introduction to Smart Applications of AI in Education (AIEd)11 Jan 2023
- 2022End-to-End Evaluation of a Spoken Dialogue System for Learning Basic Mathematics7 Nov 2022
- 2022Changes from Classical Statistics to Modern Statistics and Data Science30 Oct 2022
- 2022JiuZhang: A Chinese Pre-trained Language Model for Mathematical Problem Understanding13 Jun 2022
- 2022Automatic Short Math Answer Grading via In-context Meta-learning30 May 2022
- 2022PhysNLU: A Language Resource for Evaluating Natural Language Understanding and Explanation Coherence in Physics12 Jan 2022
- 2021Training Verifiers to Solve Math Word Problems27 Oct 2021
- 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoringcited by 68
- 2023A Symbolic Framework for Evaluating Mathematical Reasoning and Generalisation with Transformerscited by 15
- 2026PyraMathBench: Evaluating and Improving Mathematical Capability in Large Language Modelscited by 0
- 2026PyraMathBench: Evaluating and Improving Mathematical Capability in Large Language Models2 Jun 2026
- 2023Applying Large Language Models and Chain-of-Thought for Automatic Scoring30 Nov 2023
- 2023A Symbolic Framework for Evaluating Mathematical Reasoning and Generalisation with Transformers21 May 2023
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
- 2024A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discoverycited by 96
- 2023Fine-tuning ChatGPT for Automatic Scoringcited by 50
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
- 2024TelecomGPT: A Framework to Build Telecom-Specfic Large Language Modelscited by 38
- 2023MosaicBERT: A Bidirectional Encoder Optimized for Fast Pretrainingcited by 33
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2022Automatic Short Math Answer Grading via In-context Meta-learningcited by 18
- 2022JiuZhang: A Chinese Pre-trained Language Model for Mathematical Problem Understandingcited by 15
- 2023Tree-Based Representation and Generation of Natural and Mathematical Languagecited by 12
- 2023BERT is not The Count: Learning to Match Mathematical Statements with Proofscited by 9
12 most cited of 32 All 32 (JSON)
- 2026Syntax Meets Semantics: Understanding Scientific Formulae3 Aug 2026
- 2025Automated Grading of Students' Handwritten Graphs: A Comparison of Meta-Learning and Vision-Large Language Models3 Jul 2025
- 2025Superstudent intelligence in thermodynamics11 Jun 2025
- 2025Evaluating NLP Embedding Models for Handling Science-Specific Symbolic Expressions in Student Texts23 May 2025
- 2025Detecting Instruction Fine-tuning Attacks using Influence Function12 Apr 2025
- 2025MAMUT: A Novel Framework for Modifying Mathematical Formulas for the Generation of Specialized Datasets for Language Model Training28 Feb 2025
- 2024Leveraging Label Semantics and Meta-Label Refinement for Multi-Label Question Classification4 Nov 2024
- 2024KidLM: Advancing Language Models for Children -- Early Insights and Future Directions4 Oct 2024
- 2024TelecomGPT: A Framework to Build Telecom-Specfic Large Language Models12 Jul 2024
- 2024Fine-Tuning BERTs for Definition Extraction from Mathematical Text19 Jun 2024
- 2024A Comprehensive Survey of Scientific Large Language Models and Their Applications in Scientific Discovery16 Jun 2024
- 2024Autograding Mathematical Induction Proofs with Natural Language Processing11 Jun 2024
12 newest of 32 All 32 (JSON)