mlsanityData to 7 Oct 2026

Tree-Based Representation and Generation of Natural and Mathematical Language

arXiv 2302.07974 ↗First posted 15 Feb 2023cs.CLcited by 12

Not on the map. Why?

Abstract (arXiv)

Mathematical language in scientific communications and educational scenarios is important yet relatively understudied compared to natural languages. Recent works on mathematical language focus either on representing stand-alone mathematical expressions, especially in their natural tree format, or mathematical reasoning in pre-trained natural language models. Existing works on jointly modeling and generating natural and mathematical languages simply treat mathematical expressions as text, without accounting for the rigid structural properties of mathematical expressions. In this paper, we propose a series of modifications to existing language models to jointly represent and generate text and math: representing mathematical expressions as sequences of node tokens in their operator tree format, using math symbol and tree position embeddings to preserve the semantic and structural properties of mathematical expressions, and using a constrained decoding method to generate mathematically valid expressions. We ground our modifications in GPT-2, resulting in a model MathGPT, and demonstrate that it outperforms baselines on mathematical expression generation tasks.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 22 of its 49 references that are in the map. First posted on arXiv 15 Feb 2023.

Builds on

22 of 49 references.

References · 22

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  6. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  7. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  8. 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
  9. 2022Galactica: A Large Language Model for Sciencecited by 736
  10. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  11. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  12. 2019Deep Learning for Symbolic Mathematicscited by 266
10 more
  1. 2017Relevance of Unsupervised Metrics in Task-Oriented Dialogue for Evaluating Natural Language Generationcited by 61
  2. 2021MathBERT: A Pre-Trained Model for Mathematical Formula Understandingcited by 58
  3. 2021MathBERT: A Pre-trained Language Model for General NLP Tasks in Mathematics Educationcited by 37
  4. 2021MWP-BERT: Numeracy-Augmented Pre-training for Math Word Problem Solvingcited by 32
  5. 2021Math Word Problem Generation with Mathematical Consistency and Problem Context Constraintscited by 27
  6. 2022Automatic Short Math Answer Grading via In-context Meta-learningcited by 18
  7. 2021NumGPT: Improving Numeracy Ability of Generative Pre-trained Modelscited by 15
  8. 2019Text2Math: End-to-end Parsing Text into Math Expressionscited by 13
  9. 2019TopicEq: A Joint Topic and Mathematical Equation Model for Scientific Textscited by 10
  10. 2019Automatic Generation of Headlines for Online Math Questionscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 5; 2025: 2; 2026: 2.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023An Expression Tree Decoding Strategy for Mathematical Equation Generation
  2. 2024STEM-POM: Evaluating Language Models Math-Symbol Reasoning in Document Parsing
  3. 2024Neuro-Symbolic Data Generation for Math Reasoning
  4. 2024MathCoder2: Better Math Reasoning from Continued Pretraining on Model-translated Mathematical Code
  5. 2025Arrows of Math Reasoning Data Synthesis for Large Language Models: Diversity, Complexity and Correctness
  6. 2023Mathematical Capabilities of ChatGPT
  7. 2025Thinking Machines: Mathematical Reasoning in the Age of LLMs
  8. 2024MARIO: MAth Reasoning with code Interpreter Output -- A Reproducible Pipeline