Neural Machine Translation for Mathematical Formulae
Felix Petersen, Moritz Schubotz, André Greiner-Petter, Bela Gipp
Abstract
We tackle the problem of neural machine translation of mathematical formulae between ambiguous presentation languages and unambiguous content languages. Compared to neural machine translation on natural language, mathematical formulae have a much smaller vocabulary and much longer sequences of symbols, while their translation requires extreme precision to satisfy mathematical information needs. In this work, we perform the tasks of translating from L A T E X to Mathematica as well as from L A T E X to semantic L A T E X. While recurrent, recursive, and transformer networks struggle with preserving all contained information, we find that convolutional sequence-to-sequence networks achieve 95.1% and 90.7% exact matches, respectively.
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.
1 top-tier paper has 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
Cited by top-tier papers1
Builds on5
- Deep Learning For Symbolic MathematicsGuillaume Lample, François ChartonICLR 2020 · 477 citations
- Seeking Patterns, Not just Memorizing Procedures: Contrastive Learning for Solving Math Word ProblemsZhongli Li, Wenxuan Zhang, Chao Yan, Qingyu Zhou et al.ACL Findings 2022 · 55 citations
- Discovering Mathematical Objects of Interest - A Study of Mathematical NotationsAndré Greiner-Petter, Moritz Schubotz, Fabian Müller, Corinna Breitinger et al.WWW 2020 · 24 citations
- To be or not to be an Integer? Encoding Variables for Mathematical TextDeborah Ferreira, Mokanarangan Thayaparan, Marco Valentino, Julia Rozanova et al.ACL Findings 2022 · 7 citations
- Math Word Problem Solving with Explicit Numerical ValuesQinzhuo Wu, Qi Zhang, Zhongyu Wei, Xuanjing HuangACL 2021
Related papers
- Latexify Math: Mathematical Formula Markup Revision to Assist Collaborative Editing in Math Q&A SitesSuyu Ma, Chunyang Chen, Hourieh Khalajzadeh, John GrundyCSCW 2021 · 4 citations
- Disambiguating Symbolic Expressions in Informal DocumentsDennis Müller, Cezary KaliszykICLR 2021
- Modeling Mathematical Notation Semantics in Academic PapersHwiyeol Jo, Dongyeop Kang, Andrew Head, Marti A. HearstEMNLP Findings 2021 · 10 citations
- Speech-to-LaTeX: New Models and Datasets for Converting Spoken Equations and SentencesDmitrii Korzh, Dmitrii Tarasov, Artyom Iudin, Elvir Karimov et al.ICLR 2026 · 2 citations
- Progressive Self-Learning for Domain Adaptation on Symbolic Regression of Integer SequencesYaohui Zhu, Kaiming Sun, Zhengdong Luo, Lingfeng WangAAAI 2025
