Speech-to-LaTeX: New Models and Datasets for Converting Spoken Equations and Sentences
By: Dmitrii Korzh , Dmitrii Tarasov , Artyom Iudin and more
Potential Business Impact:
Lets computers write math from spoken words.
Conversion of spoken mathematical expressions is a challenging task that involves transcribing speech into a strictly structured symbolic representation while addressing the ambiguity inherent in the pronunciation of equations. Although significant progress has been achieved in automatic speech recognition (ASR) and language models (LM), the problem of converting spoken mathematics into LaTeX remains underexplored. This task directly applies to educational and research domains, such as lecture transcription or note creation. Based on ASR post-correction, prior work requires 2 transcriptions, focuses only on isolated equations, has a limited test set, and provides neither training data nor multilingual coverage. To address these issues, we present the first fully open-source large-scale dataset, comprising over 66,000 human-annotated audio samples of mathematical equations and sentences in both English and Russian, drawn from diverse scientific domains. In addition to the ASR post-correction models and few-shot prompting, we apply audio language models, demonstrating comparable character error rate (CER) results on the MathSpeech benchmark (28% vs. 30%) for the equations conversion. In contrast, on the proposed S2L-equations benchmark, our models outperform the MathSpeech model by a substantial margin of more than 40 percentage points, even after accounting for LaTeX formatting artifacts (27% vs. 64%). We establish the first benchmark for mathematical sentence recognition (S2L-sentences) and achieve an equation CER of 40%. This work lays the groundwork for future advances in multimodal AI, with a particular focus on mathematical content recognition.
Similar Papers
Intelligibility of Text-to-Speech Systems for Mathematical Expressions
Audio and Speech Processing
Makes computers read math out loud better.
The Return of Structural Handwritten Mathematical Expression Recognition
CV and Pattern Recognition
Helps computers understand math handwriting better.
Towards Scalable Training for Handwritten Mathematical Expression Recognition
CV and Pattern Recognition
Helps computers read math written by hand.