Manuscript Offprint
arXiv:2610.24917How Well Can LLMs Verbalize Mathematical Formulas? A Multi-Domain Evaluation
Peter Volbach, Tim Schlippe
IU International University of Applied Sciences
Germany
Abstract—Large Language Models (LLMs) have shown strong capabilities across natural language tasks. However, their ability to generate accurate written verbalizations of mathematical formulas has not yet been systematically evaluated. Such verbalization is critical for text-to-speech systems serving audio-based learning and visually impaired users. Consequently, we systematically evaluated the formula verbalization performance of five state-of-the-art LLMs across six scientific domains. Since existing corpora do not jointly provide multi-domain coverage, validated transcription variants, textual context, and controlled formula complexity, we constructed Read-Aloud Math, a balanced multi-domain corpus containing LaTeX formulas, manually validated concise simple transcriptions and explanatory extended transcriptions, multiple transcription variants, surrounding textual context, domain labels, and formula complexity levels. Based on multi-reference BLEU, GPT-5.2 achieved the highest score for simple transcriptions (75.9% without textual context, 64.9% with textual context). In the context-free setting, however, its score did not differ significantly from those of Grok 4.1 Fast or Claude Sonnet 4.5. Claude Sonnet 4.5 obtained the highest score for extended transcriptions without textual context (36.5%), and Grok 4.1 Fast with textual context (48.8%). For extended transcriptions, Statistics and Mathematics scored highest across the two context settings, while Physics scored lowest. The relationship between formula length and BLEU differed by transcription type: For simple transcriptions, BLEU decreased significantly with increasing formula length without context, while the relationship was not significant with context. For extended transcriptions, BLEU increased significantly with formula length in both context settings. Our notation-level analyses showed that parentheses and other grouping symbols were most frequently involved in transcription differences, while variable names, capitalization, and Greek letters were associated with lower BLEU scores. These findings indicate that LLM-based formula verbalization is promising, but remains sensitive to transcription type, textual context, and characteristics of the underlying formulas, including domain, complexity, and notation.
Index Terms—formula verbalization, mathematical formulas, large language models, text-to-speech, accessibility
I. INTRODUCTION
The growing use of audio-based learning materials, from audiobooks to podcast-style lecture content, has created new opportunities for flexible knowledge acquisition [1]–[3]. Students increasingly consume educational content while commuting, exercising, or performing activities where visual attention is unavailable [4]. In parallel, text-to-speech (TTS) technology has become a standard interface for digital text access.
Beyond educational convenience, accessible mathematics is crucial for visually impaired individuals who rely on screen readers and TTS systems to access scientific material [5], [6]. For these users, accurate and unambiguous verbalization of mathematical formulas is essential (although this work does not target a specific accessibility standard).
Despite these advances, mathematical formulas remain a persistent challenge for TTS systems, particularly in science, technology, engineering, and mathematics (STEM) education. The core problem lies not in speech synthesis itself, but in determining what text should be synthesized. Mathematical formulas require verbalization—the conversion of symbolic mathematical notation into natural language text—before speech rendering. Without this step, formulas may be omitted from audio versions or verbalized in ways that prevent listeners from reconstructing the original notation. Even advanced TTS systems often struggle with intelligibility when processing mathematical expressions [7].
Despite decades of research on mathematical formula verbalization, the problem remains only partially solved, particularly when balancing comprehensibility, conciseness, and domain-specific conventions across diverse areas of mathematics and science. Traditional approaches to formula verbalization have relied primarily on rule-based systems [5], [6], [8]–[14]. These systems apply deterministic transformation rules that map mathematical symbols and structures to predefined spoken verbalizations. While such approaches ensure structural consistency and reproducibility, they operate largely at the syntactic level and lack broader discourse awareness. As a result, they struggle with context-dependent interpretations and domain-specific conventions. For instance, may be read as “x prime” or “the derivative of x”, depending on context.
Recent advances in large language models (LLMs) have demonstrated strong capabilities in natural language understanding and generation, including context-sensitive interpretation and adaptation to domain-specific usage. This suggests that they may also be useful for context-aware mathematical verbalization [7], [15], [16]. Unlike rule-based systems, LLMs can condition their outputs on surrounding text, enabling more flexible and semantically informed verbalization strategies.
Formula verbalization can serve two complementary goals: faithfully rendering the symbolic structure and supporting comprehension in audio-only settings through brief explanatory phrasing. Consequently, we distinguish between concise simple transcriptions and explanatory extended transcriptions, allowing us to evaluate both notation-oriented and comprehension-oriented verbalization.
Our work addresses this verbalization challenge: Given a mathematical formula in LaTeX format, what natural language text should be generated for a TTS system to speak? We focus on LaTeX since it remains the predominant format for authoring mathematical expressions in scientific and educational documents. While we do not perform speech synthesis itself, we evaluate how well LLMs can generate appropriate text verbalizations that would enable effective audio rendering of mathematical content. Specifically, we address the following three research questions:
-
How accurately can state-of-the-art LLMs generate formula verbalizations from LaTeX representations?
-
What is the impact of textual context on formula verbalization performance?
-
How does formula verbalization performance vary across scientific domains, formula complexity levels, and notation features?
Throughout this paper, we use verbalization to refer to the general task of converting mathematical notation into spoken language, and transcription to refer to the specific textual outputs generated by this process (simple transcriptions and extended transcriptions).
This paper makes two main contributions: First, we introduce Read-Aloud Math, a balanced multi-domain corpus of mathematical formulas from six scientific domains (Mathematics, Statistics, Physics, Chemistry, Economics, and Computer Science), featuring multiple manually validated variants of simple transcriptions and extended transcriptions and surrounding textual context from Wikipedia articles, and make the corpus publicly available . Second, we present a comprehensive evaluation of five state-of-the-art LLMs across domains, formula complexity levels, notation features, and textual context.
The remainder of this paper is structured as follows: Section II reviews related work. Section III describes our corpus construction methodology and the experimental setup for LLM evaluation. Section IV presents our evaluation results, and Section V concludes and indicates future research directions.
A. Rule-Based Formula Verbalization
Early work established that intelligible verbalization requires explicit modeling of hierarchical mathematical structure rather than linear symbol rendering [14]. Rule-based systems such as MathSpeak, ClearSpeak, i-Math, and subsequent adaptable rule engines [5], [6], [9]–[13], [17] provide deterministic and accessibility-oriented outputs. While these systems ensure reproducibility and structural transparency, they require extensive manual rule engineering and offer limited adaptability to discourse context or domain-specific variation.
Grammar-based approaches provide an alternative to traditional rule-based verbalization systems. The GF Mathematical Grammar Library, developed within the WebALT and MOLTO projects, supports multilingual mathematical verbalization from OpenMath representations using the Grammatical Framework (GF), providing deterministic semantic verbalization while requiring handcrafted grammars and semantic representations [18], [19].
B. Machine Translation-Based Formula Verbalization
To reduce handcrafted rule design, formula verbalization has been framed as a translation problem. Statistical and neural approaches learn LaTeX-spoken mappings from parallel corpora [8], [20]. Transfer learning further advanced this paradigm: MathReader [16] employs a T5-based sequence-to-sequence model fine-tuned on MathBridge [21]. Related work extends this approach to pipelines converting formula images into LaTeX and spoken-English transcriptions, comparing fine-tuned sequence-to-sequence models such as BART and T5 with GPT-based LLMs [22]. Sequence-to-sequence models achieve lower error rates for the LaTeX-to-text step. Overall, treating formula verbalization as a machine translation task improves fluency but remains dependent on training data coverage and domain scope.
C. LLM-Based Formula Verbalization
Recent studies suggest that state-of-the-art LLMs possess contextual reasoning capabilities relevant to mathematical language. Newer GPT-based systems generate plausible formula verbalizations [15], and LLMs resolve context-dependent identifier ambiguities in scientific documents [23]. However, inconsistency and reproducibility remain concerns [15]. Downstream evaluations of mathematical text-to-speech systems further demonstrate that intelligibility varies substantially across expression categories [7], emphasizing the importance of high-quality textual verbalization prior to speech synthesis.
D. Corpora for Formula Verbalization
Since existing corpora differ in scale, domain coverage, annotation depth, and spoken alignment, they restrict which aspects of formula verbalization can be evaluated. Large-scale web corpora such as OpenWebMath [24] and InfiMM-WebMath-40B [25] preserve LaTeX formulas in natural-language context at web scale but lack spoken alignments. Tex80M [26] focuses on visual recognition of mathematical expressions. Thinn et al. [8] constructed a LaTeX-spoken mathematics corpus from textbooks, but it is limited to mathematics, does not incorporate context, and does not report structural complexity characteristics. Formula2Text [22] provides formula images with corresponding LaTeX code and multiple spoken transcriptions, but targets image-based transcription
https://github.com/peter1706/verbalize-math-corpus rather than controlled multi-domain verbalization evaluation. MathBridge [21] provides large-scale LaTeX-spoken English pairs and a limited surrounding-text window, but models only a single automatically generated verbalization per formula. S2L [27] introduces multilingual spoken mathematical data but targets audio-to-LaTeX recognition rather than controlled text-based verbalization generation. Earlier arXiv-based corpora such as the KDD Cup 2003 dataset [28] demonstrated the feasibility of large-scale structured LaTeX collections, yet were domain-specific and not designed for verbalization research.
E. Research Gaps
Prior work shows that intelligible formula verbalization requires preserving hierarchical structure and resolving notation-dependent ambiguities [5], [14]. Rule-based and grammar-based systems provide deterministic verbalizations but require handcrafted rules or grammars, limiting scalability and contextual adaptability [9], [11], [18], [19]. Data-driven and neural approaches [8], [16], [20], including recent LLM-based methods [15], [23], capture contextual dependencies and generate fluent outputs. However, several gaps remain:
-
Multi-Level Transcription. Existing systems produce either minimal readings or explanatory outputs, without systematically distinguishing simple and extended transcriptions.
-
Multi-Domain Evaluation. Evaluations are typically restricted to single domains [16], despite substantial variation in notation across Mathematics, Physics, Statistics, Chemistry, Economics, and Computer Science.
-
Transcription Variant Coverage. Large-scale corpora such as MathBridge [21] provide only one canonical transcription per formula, although mathematical formulas allow multiple legitimate transcriptions.
-
Context-Aware LLM Evaluation. Systematic comparison of verbalization quality with and without surrounding document context across multiple LLMs is missing.
-
Complexity Stratification. Most corpora do not systematically vary formula complexity, making it difficult to analyze how performance changes across complexity levels.
These limitations motivate our multi-domain evaluation of state-of-the-art LLMs, explicitly comparing context-free and context-aware generation, incorporating both transcription types, and analyzing performance across domains, formula complexity levels, and notation features.
III. EXPERIMENTAL SETUP
This section describes the construction and annotation of our corpus, the evaluated LLMs and prompting settings, and the evaluation methodology. The experimental design systematically varies transcription type and textual context while controlling for scientific domain and formula complexity.
A. Corpus Construction
We constructed Read-Aloud Math, a balanced multi-domain corpus of mathematical formulas with manually validated transcriptions for evaluating formula verbalization systems. Rather than maximizing scale, it was designed for controlled analysis across domains and formula complexity levels.
TABLE I CORPUS STATISTICS BY DOMAIN
| Domain | ØSimple vars. | ØExtended vars. | ØContext chars. |
|---|---|---|---|
| Mathematics | 3.1 | 4.9 | 9,065.7 |
| Statistics | 3.6 | 4.7 | 9,787.4 |
| Physics | 3.7 | 4.8 | 16,481.8 |
| Chemistry | 4.2 | 5.0 | 15,306.2 |
| Economics | 3.8 | 5.0 | 9,000.9 |
| Computer Science | 3.8 | 5.0 | 11,635.6 |
| Total | 3.7 | 4.9 | 11,879.6 |
- Domain Selection and Data Source: Table I summarizes our corpus of 120 formulas (20 per domain) across six scientific domains: Mathematics, Statistics, Physics, Chemistry, Economics, and Computer Science. These domains represent major STEM areas with distinct notational conventions. Mathematics and Statistics primarily use abstract symbolic notation, Physics relies on Greek-letter quantities, Chemistry employs subscripts and superscripts for molecular structures, Economics features optimization notation, and Computer Science includes algorithmic and complexity expressions.
Formulas were extracted from Wikipedia-derived documents in the OpenWebMath corpus [24], which preserves both LaTeX expressions and their surrounding article text. Restricting extraction to Wikipedia ensures publicly accessible, community-reviewed scientific content and coherent discourse.
To ensure systematic coverage of structural complexity, each domain includes five formulas with 1–10, 11–20, 21–30, and 31–40 symbols. Symbol count is obtained by parsing LaTeX with , normalizing the parsed output by inserting whitespace around operators, and counting the resulting tokens (commands, operators, and identifiers each count as one). This stratified sampling enables controlled analysis of performance under increasing structural difficulty.
- Transcription Types and Variants: Each formula includes two complementary transcription types. Simple transcriptions provide concise, notation-oriented readings using standard mathematical terminology without explaining the meanings of individual symbols. For example, becomes “Capital E equals m c squared”. Extended transcriptions preserve the formula structure while adding brief explanatory wording and symbol interpretations intended to improve comprehensibility in audio-only settings. The same formula becomes “Energy E equals mass m times the speed of light c squared”. Extended transcriptions were limited to approximately 1.5–3 times the length of their simple counterparts to avoid unnecessarily verbose explanations.
For each formula, the final reference set contains up to five distinct variants per transcription type to capture natural transcription diversity and domain-specific preferences. These variants provide multiple reference transcriptions for evaluation and reflect legitimate variation in mathematical speech.
https://github.com/phfaist/pylatexenc
- Annotation Process: For each formula, each of the five LLMs later evaluated in our experiments generated one initial transcription per transcription type: Gemini 2.5 Flash (Google), DeepSeek V3.2 (DeepSeek), GPT-5.2 (OpenAI), Claude Sonnet 4.5 (Anthropic), and Grok 4.1 Fast (xAI). Thus, five initial simple and five initial extended transcriptions were generated per formula. Each transcription was subsequently manually post-edited. Two expert annotators independently reviewed all outputs using shared annotation guidelines, which required each transcription to preserve all symbols and structural relations, avoid unsupported meaning, and remain natural for spoken rendering. Discrepancies were resolved through discussion and consensus, and the final transcriptions were checked for completeness, correctness, and naturalness.
Since different LLMs occasionally produced identical transcriptions and post-editing could also yield identical outputs, some formulas contain fewer than five distinct reference variants. This is reflected in the average number of variants per transcription type in Table I. The same OpenRouter-based request setup was used to generate both the initial reference transcriptions and the evaluated outputs, with no explicit generation parameters specified.
B. Evaluated LLMs and Experimental Design
We evaluated the five LLMs described above in February 2026. Although all drafts were independently reviewed, post-edited, and validated by two expert annotators, residual LLM-specific wording may increase lexical overlap between an LLM's output and the references, which we consider when interpreting BLEU-based comparisons.
Each LLM was evaluated in two settings: context-free and context-aware. In the context-free setting, only the LaTeX formula was provided, whereas the context-aware setting additionally included surrounding Wikipedia text. In the result tables, these settings are referred to as “without textual context” and “with textual context”, respectively. For both settings, we requested simple and extended transcriptions. Each LLM generated one output per formula, transcription type, and context setting, with no repeated generations.
All LLMs were accessed through the OpenRouter Chat Completions API in February 2026 with the model identifiers google/gemini-2.5-flash, deepseek/deepseek-v3.2, openai/gpt-5.2, anthropic/claudesonnet-4.5, and x-ai/grok-4.1-fast. Only the prompt was specified. Generation parameters such as temperature, top-p, maximum output length, and reasoning settings were left unspecified. OpenRouter automatically routed each request to a provider hosting the requested LLM, which applied its own defaults.
C. Prompting Strategy
We used four fixed prompt variants built from the same core instructions, one for each combination of transcription type (simple or extended) and context setting (context-free or context-aware). The complete verbatim prompts are provided in the public repository. All variants instructed the LLMs to verbalize the complete formula, produce clear and natural spoken English, express numbers as words, state capitalization explicitly, avoid LaTeX notation and mathematical symbols, and return only the transcription. They differed only through condition-specific additions: the context-aware variants additionally provided the text preceding and following the formula and instructed the LLM to use relevant contextual information, while the extended-transcription variants additionally requested a concise but more informative transcription with semantic clarification where appropriate. The context-aware extended variant combined both additions. All variants ended with the same self-check instruction asking the LLM to verify that all prompt instructions had been followed. No chain-of-thought or step-by-step reasoning was requested.
D. Evaluation
We evaluated transcription quality using BLEU computed with the sacreBLEU implementation [29] (default 4-gram setting). We selected multi-reference BLEU since mathematical formulas can have several valid transcriptions, and the use of multiple manually validated reference variants allows legitimate lexical variation to be captured while providing a standardized and reproducible basis for comparing LLM outputs. BLEU was computed separately for each formula and then averaged across formulas, enabling paired comparisons across LLMs. All available reference variants were provided simultaneously, and n-gram matches were counted against the maximum reference frequency across variants, following established machine translation practice. As BLEU measures n-gram overlap with the reference transcriptions, it does not directly assess semantic correctness or whether a listener could reconstruct the original formula. In addition, as the number of available reference variants differs slightly across formulas and domains, domain-level BLEU comparisons may also be influenced by differences in reference coverage.
To assess whether differences between LLMs were statistically reliable, we performed paired two-sided t-tests on formula-level BLEU scores. Since all LLMs were evaluated on the same 120 formulas, comparisons were paired by formula ID. Tests were conducted separately for each transcription type and setting. Within each combination, we performed four paired tests comparing the highest-scoring LLM with each of the other four LLMs. As multiple significance tests increase the chance of incorrectly identifying a difference as statistically significant, we applied the Holm correction to these four p-values at an overall significance level of .
To assess the relationship between formula length and LLM performance beyond the four symbol-count ranges, we also used Spearman's rank correlation. We correlated each formula's symbol count with its BLEU score averaged across the five LLMs, separately for each transcription type and context setting. The Holm correction was applied to these four correlation tests at an overall significance level of .
To better understand which formula characteristics were challenging for LLM-based formula verbalization, we additionally analyzed performance across notation features ex-tracted from the LaTeX representation using rule-based pattern matching. Examples included fractions, subscripts, superscripts, Greek letters, and optimization operators. We first recorded how frequently these features occurred in the corpus and then computed average formula-level BLEU scores for formulas containing each feature. To complement this formula-level analysis, we extracted token-level confusion pairs from aligned reference and generated transcriptions. The resulting confusion pairs were grouped by notation feature and analyzed separately for each transcription type and setting.
IV. EXPERIMENTS AND RESULTS
This section reports the evaluation results and analyzes performance differences across domains, formula complexity levels, notation features, and context settings.
A. Overall Performance Across Domains
Tables II and III report mean formula-level BLEU (%) scores across domains and symbol-count ranges for the five evaluated LLMs: Gemini 2.5 Flash (Gem), DeepSeek V3.2 (Deep), GPT-5.2 (GPT), Claude Sonnet 4.5 (Clau), and Grok 4.1 Fast (Gr). Scores are presented for simple and extended transcriptions under context-free and context-aware settings. Bold values indicate the highest BLEU score within each domain or symbol-count range and setting.
Table IV reports paired t-tests between the LLM with the highest mean formula-level BLEU in each setting and the remaining LLMs. Asterisks indicate significant differences after Holm correction at .
For simple transcriptions without textual context, GPT-5.2 achieved the highest mean formula-level BLEU (75.9%), followed by Grok 4.1 Fast (73.3%) and Claude Sonnet 4.5 (71.3%). Paired t-tests showed that GPT-5.2 significantly outperformed Gemini 2.5 Flash and DeepSeek V3.2, but not Grok 4.1 Fast or Claude Sonnet 4.5.
Providing textual context reduced BLEU for simple transcriptions across all LLMs. GPT-5.2 decreased from 75.9% to 64.9% (-14.5% relative), Grok 4.1 Fast from 73.3% to 60.2% (-17.9%), and Claude Sonnet 4.5 from 71.3% to 61.1% (-14.3%). This suggests that concise structural readings already closely matched the references, while textual context introduced lexical variation that reduced n-gram overlap.
Extended transcriptions exhibited lower formula-level BLEU values due to greater lexical diversity. Without context, scores ranged from 21.0% (GPT-5.2) and 22.7% (DeepSeek V3.2) to 36.5% (Claude Sonnet 4.5). With context, performance improved consistently: GPT-5.2 increased from 21.0% to 42.7% (+103.3% relative), Grok 4.1 Fast from 35.6% to 48.8% (+37.1%), Claude Sonnet 4.5 from 36.5% to 45.2% (+23.8%), and Gemini 2.5 Flash from 29.1% to 31.8% (+9.3%). Paired t-tests found no significant difference between the two highest-scoring LLMs, Claude Sonnet 4.5 and Grok 4.1 Fast, in either context setting.
BLEU scores varied across scientific domains: For simple transcriptions in the context-free setting, GPT-5.2 reached 80.8% in Physics and 77.5% in Chemistry, while Claude Sonnet 4.5 reached 80.2% in Statistics and 79.0% in Economics. For extended transcriptions in the context-aware setting, Grok 4.1 Fast led in Statistics (59.2%) and Mathematics (54.4%), and Claude Sonnet 4.5 in Physics (44.8%). Since no domain-level significance tests were conducted, these comparisons are descriptive and may reflect differences in notation conventions and symbol usage across disciplines.
B. Impact of Formula Complexity
Performance across symbol-count ranges was non-monotonic rather than declining uniformly with formula complexity. For simple transcriptions in the context-free setting, average BLEU decreased from 80.2% for 1–10 symbols to 61.9% for 11–20, rose to 71.4% for 21–30, and fell to 63.8% for 31–40 symbols. The context-aware setting showed a similar pattern. Spearman's rank correlations based on individual symbol counts assessed the overall relationship between formula length and BLEU. For simple transcriptions without context, BLEU decreased significantly as formula length increased ( , ). With context, the relationship was weaker and not significant ( , ). Thus, the higher BLEU for the 21–30 symbol range does not indicate a reversal of the overall trend, since each range contains only 30 formulas and its average depends on which formulas it contains. For extended transcriptions, BLEU tended to increase with formula length, and this relationship was significant both without context ( , ) and with context ( , ).
C. Notation-Level Analysis
Tables V and VI provide a more detailed analysis of notation-specific behavior. Our corpus covers frequent structural features such as brackets/grouping (94.2%), subscripts/indices (61.7%), fractions/divisions (40.8%), and superscripts/exponents (41.7%). Formulas containing structural features such as fractions/divisions, superscripts/exponents, and summations generally achieved comparatively high BLEU scores, while lower scores were observed for variable names, capitalization, and Greek letters, suggesting greater challenges for lexical choices and symbol interpretation. For extended transcriptions, context improved performance for all analyzed features, with the largest relative improvements for Greek letters (+41.7%), capitalization (+34.1%), and variable names (+25.4%). Since notation features frequently co-occur, these scores indicate associations rather than isolated feature effects. Results for rare features such as integrals and optimization operators should be interpreted cautiously.
Table VII complements the formula-level BLEU analysis by identifying the notation features most frequently involved in token-level confusion pairs. The reported percentages indicate the share of all confusion-pair occurrences assigned to each notation feature within the respective transcription setting. The five features shown in the table were selected according to their total number of occurrences across all four settings.
TABLE II BLEU SCORES (%) OF LLM-GENERATED FORMULA TRANSCRIPTIONS ACROSS DOMAINS.
| Domain | Simple transcription | Extended transcription | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without textual context | With textual context | Without textual context | With textual context | |||||||||||||||||||||
| Gem | Deep | GPT | Clau | Gr | Avg. | Gem | Deep | GPT | Clau | Gr | Avg. | Gem | Deep | GPT | Clau | Gr | Avg. | |||||||
| Mathematics | 59.9 | 63.0 | 68.7 | 67.4 | 76.3 | 67.0 | 43.9 | 60.2 | 57.5 | 55.3 | 60.6 | 55.5 | 30.6 | 23.4 | 20.3 | 38.2 | 39.4 | 30.4 | 36.7 | 41.4 | 45.1 | 50.1 | 54.4 | 45.6 |
| Statistics | 75.7 | 68.3 | 74.8 | 80.2 | 81.3 | 76.0 | 55.8 | 69.2 | 66.8 | 71.0 | 73.8 | 67.3 | 38.0 | 23.2 | 23.2 | 37.4 | 43.5 | 33.0 | 34.1 | 37.7 | 45.1 | 47.6 | 59.2 | 44.8 |
| Physics | 60.7 | 54.3 | 80.8 | 63.8 | 61.0 | 64.1 | 37.1 | 46.8 | 64.8 | 52.3 | 52.3 | 50.7 | 22.3 | 19.5 | 19.1 | 31.3 | 33.1 | 25.1 | 25.7 | 26.7 | 37.9 | 44.8 | 39.6 | 34.9 |
| Chemistry | 60.3 | 54.3 | 77.5 | 63.0 | 75.5 | 66.1 | 42.1 | 48.6 | 63.8 | 53.1 | 45.3 | 50.6 | 25.5 | 24.8 | 21.9 | 36.7 | 38.3 | 29.4 | 28.8 | 29.1 | 45.8 | 40.1 | 43.2 | 37.4 |
| Economics | 64.9 | 63.6 | 77.1 | 79.0 | 75.6 | 72.0 | 45.6 | 54.1 | 67.2 | 73.9 | 64.6 | 61.1 | 24.0 | 20.2 | 21.5 | 38.6 | 27.2 | 26.3 | 33.2 | 24.9 | 43.1 | 47.9 | 51.9 | 40.2 |
| Computer Science | 70.5 | 61.1 | 76.5 | 74.3 | 70.2 | 70.5 | 48.8 | 65.9 | 69.5 | 61.2 | 64.6 | 62.0 | 34.4 | 25.2 | 20.3 | 36.9 | 32.5 | 29.9 | 32.2 | 40.0 | 38.9 | 40.4 | 44.6 | 39.2 |
| Total | 65.3 | 60.7 | 75.9 | 71.3 | 73.3 | 69.3 | 45.5 | 57.5 | 64.9 | 61.1 | 60.2 | 57.9 | 29.1 | 22.7 | 21.0 | 36.5 | 35.6 | 29.0 | 31.8 | 33.3 | 42.7 | 45.2 | 48.8 | 40.4 |
TABLE III BLEU SCORES (%) OF LLM-GENERATED FORMULA TRANSCRIPTIONS ACROSS FORMULA SYMBOL-COUNT RANGES.
| #symbols | Simple transcription | Extended transcription | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without textual context | With textual context | Without textual context | With textual context | |||||||||||||||||||||
| Gem | Deep | GPT | Clau | Gr | Avg. | Gem | Deep | GPT | Clau | Gr | Avg. | Gem | Deep | GPT | Clau | Gr | Avg. | |||||||
| 1-10 | 76.4 | 74.9 | 84.0 | 80.4 | 85.2 | 80.2 | 43.2 | 72.0 | 64.7 | 54.7 | 74.4 | 61.8 | 14.3 | 14.1 | 12.1 | 23.4 | 23.1 | 17.4 | 29.2 | 28.5 | 40.5 | 34.2 | 45.3 | 35.5 |
| 11-20 | 55.0 | 55.7 | 70.1 | 61.5 | 67.0 | 61.9 | 42.7 | 48.8 | 64.3 | 59.0 | 53.3 | 53.6 | 27.8 | 23.5 | 20.4 | 33.1 | 32.4 | 27.4 | 26.2 | 30.0 | 36.9 | 40.2 | 45.6 | 35.8 |
| 21-30 | 67.8 | 61.1 | 81.7 | 75.4 | 70.7 | 71.4 | 52.0 | 57.9 | 69.6 | 71.2 | 59.6 | 62.1 | 39.0 | 27.8 | 28.8 | 47.1 | 46.8 | 37.9 | 35.7 | 41.1 | 49.0 | 56.6 | 52.3 | 46.9 |
| 31-40 | 62.0 | 51.3 | 67.7 | 67.7 | 70.2 | 63.8 | 44.2 | 51.1 | 61.1 | 59.7 | 53.5 | 53.9 | 35.5 | 25.6 | 22.8 | 42.4 | 40.2 | 33.3 | 36.2 | 33.6 | 44.2 | 49.7 | 52.1 | 43.2 |
TABLE IV PAIRED t-TEST RESULTS COMPARING THE HIGHEST-SCORING LLM WITH ALL OTHER LLMs IN EACH SETTING. ASTERISKS INDICATE SIGNIFICANCE AFTER HOLM CORRECTION ( ).
| Setting | Comparison | Δ BLEU (%) | p | Sig. |
|---|---|---|---|---|
| Simple transcriptionWithout textual context | GPT-Gemini | 10.57 | < .001 | * |
| GPT-DeepSeek | 15.15 | < .001 | * | |
| GPT-Claude | 4.62 | .099 | ||
| GPT-Grok | 2.60 | .339 | ||
| Simple transcriptionWith textual context | GPT-Gemini | 19.40 | < .001 | * |
| GPT-DeepSeek | 7.46 | .022 | ||
| GPT-Claude | 3.78 | .197 | ||
| GPT-Grok | 4.74 | .156 | ||
| Extended transcriptionWithout textual context | Claude-Gemini | 7.35 | < .001 | * |
| Claude-DeepSeek | 13.77 | < .001 | * | |
| Claude-GPT | 15.45 | < .001 | * | |
| Claude-Grok | 0.85 | .610 | ||
| Extended transcriptionWith textual context | Grok-Gemini | 17.03 | < .001 | * |
| Grok-DeepSeek | 15.51 | < .001 | * | |
| Grok-GPT | 6.17 | .003 | * | |
| Grok-Claude | 3.68 | .143 |
Across all four settings, brackets/grouping accounts for the largest share of token-level confusion pairs (23.8–37.9%). Frequent aligned pairs in this category include “open parenthesis” ↔ “the quantity”, “open square bracket” ↔ “the concentration of”, and “open curly brace” ↔ “the set of”, where ↔ denotes aligned tokens in the reference and generated transcriptions. For example, “open parenthesis” ↔ “the quantity” indicates that the reference explicitly verbalized the opening parenthesis, whereas the generated transcription introduced the expression inside it with “the quantity”. These expressions are therefore
TABLE V NOTATION COVERAGE OF THE FORMULA CORPUS.
| Category | Feature | Count | % | Examples |
|---|---|---|---|---|
| Structural | Brackets/grouping | 113 | 94.2 | (·), [·], {·} |
| Structural | Fractions/divisions | 49 | 40.8 | |
| Structural | Superscripts/exponents | 50 | 41.7 | |
| Structural | Subscripts/indices | 74 | 61.7 | |
| Operator | Basic operators | 100 | 83.3 | +, -, =, ×, · |
| Operator | Integrals | 4 | 3.3 | |
| Operator | Summations | 7 | 5.8 | |
| Operator | Optimization operators | 2 | 1.7 | min, max |
| Symbol | Greek letters | 35 | 29.2 | α, β, λ |
| Symbol | Latin letters | 111 | 92.5 | x, y, A |
| Symbol | Capitalization | 85 | 70.8 | E, X, P |
| Lexical | Variable names | 46 | 38.3 | GDP, ROI, loss |
| Formatting | Punctuation/separators | 52 | 43.3 | ,, ; , ; , | |
not semantic equivalents but different verbalizations of the same part of the formula. Such cases show that LLMs may describe expressions inside grouping symbols without explicitly naming the symbols. Omitting opening or closing grouping markers can make reconstructing the original notation more difficult. Other frequent confusion pairs include “comma” ↔ “and”, “times” ↔ “by”, “equals” ↔ “to”, and “over” ↔ “by”. These pairs show that many remaining differences arise from alternative lexical choices in mathematical verbalization rather than incorrect structural interpretation.
The distribution of confusion pairs differs substantially between transcription types: For simple transcriptions without textual context, punctuation/separators account for 20.7% of
TABLE VI
BLEU SCORES (%) FOR FORMULAS CONTAINING SPECIFIC NOTATION FEATURES.
| Category | Feature | n | Cov. | Simple transcription | Extended transcription | ||
|---|---|---|---|---|---|---|---|
| Without text. context | With text. context | Without text. context | With text. context | ||||
| All | All formulas | 120 | 100.0 | 69.3 | 57.9 | 29.0 | 40.4 |
| Structural | Brackets/grouping | 113 | 94.2 | 67.7 | 57.5 | 29.8 | 40.3 |
| Structural | Fractions/divisions | 49 | 40.8 | 68.4 | 57.6 | 33.1 | 41.7 |
| Structural | Superscripts/exponents | 50 | 41.7 | 67.3 | 56.6 | 33.5 | 43.1 |
| Structural | Subscripts/indices | 74 | 61.7 | 66.0 | 55.5 | 31.5 | 42.2 |
| Operator | Basic operators | 100 | 83.3 | 67.3 | 57.9 | 31.7 | 42.0 |
| Operator | Integrals | 4 | 3.3 | 63.5 | 54.9 | 34.0 | 42.1 |
| Operator | Summations | 7 | 5.8 | 78.2 | 67.6 | 35.3 | 44.1 |
| Operator | Optimization operators | 2 | 1.7 | 59.5 | 55.4 | 39.8 | 44.4 |
| Symbol | Greek letters | 35 | 29.2 | 68.1 | 54.0 | 27.6 | 39.1 |
| Symbol | Latin letters | 111 | 92.5 | 67.8 | 56.9 | 29.7 | 40.5 |
| Symbol | Capitalization | 85 | 70.8 | 65.8 | 54.7 | 29.6 | 39.7 |
| Lexical | Variable names | 46 | 38.3 | 65.2 | 54.7 | 30.3 | 38.0 |
| Formatting | Punctuation/separators | 52 | 43.3 | 66.5 | 55.7 | 32.8 | 42.9 |
TABLE VII
FIVE MOST FREQUENT NOTATION FEATURES INVOLVED IN TOKEN-LEVEL CONFUSION PAIRS (%).
| Category | Feature | Simple transcription | Extended transcription | ||
|---|---|---|---|---|---|
| Without textual context | With textual context | Without textual context | With textual context | ||
| Structural | Brackets/grouping | 37.9 | 32.8 | 23.8 | 23.9 |
| Operator | Basic operators | 5.3 | 7.7 | 19.1 | 19.1 |
| Formatting | Punctuation/separators | 20.7 | 13.2 | 8.6 | 9.9 |
| Symbol | Latin letters | 7.5 | 7.2 | 11.9 | 13.4 |
| Structural | Fractions/divisions | 6.9 | 16.0 | 7.9 | 9.3 |
all confusion-pair occurrences, with “comma” ↔ “and” being the most frequent aligned pair. Their share decreases to 13.2% when textual context is provided. For extended transcriptions, basic operators account for 19.1% of all confusion-pair occurrences both with and without textual context. Frequent operator-related pairs include “times” ↔ “by”, “times” ↔ “and”, and “equals” ↔ “to”, indicating greater lexical variation in extended transcriptions than in simple transcriptions.
Textual context also changes the distribution of confusion pairs within simple transcriptions. The share assigned to fractions/divisions increases from 6.9% without textual context to 16.0% with textual context. Frequent pairs in this category include “divided” ↔ “over”, “over” ↔ “by”, and “and” ↔ “over”. At the same time, the share assigned to punctuation/separators decreases from 20.7% to 13.2%. These results do not imply that textual context uniformly increases or decreases transcription differences. Instead, they show that textual context changes which notation features contribute most strongly to the observed token-level differences.
D. Scope and Limitations
The controlled design of our corpus enables systematic comparisons across six scientific domains, four symbol-count ranges, two transcription types, and two context settings. The study is limited to 120 English-language formulas from Wikipedia-derived documents, so future work should examine other document types, languages, and broader formula distributions. Multi-reference BLEU accounts for multiple valid transcriptions but measures reference overlap rather than semantic correctness or listener reconstructability. The same four fixed prompt variants were used for all LLMs, sharing core instructions and differing only through condition-specific additions for transcription type and textual context. Each LLM produced one output per formula and condition, so alternative prompt wording and repeated generations were not examined. The same OpenRouter request setup was used throughout, with generation parameters unspecified and provider routing handled automatically, so results reflect the applied provider defaults. Some notation features are rare and frequently co-occur, limiting fine-grained attribution. Annotator disagreements were resolved by consensus, with no separate pre-consensus agreement metric.
V. CONCLUSION AND FUTURE WORK
Our work presents a systematic multi-domain evaluation of five state-of-the-art LLMs for mathematical formula verbalization across context settings, scientific domains, and formula complexity levels. The evaluated LLMs achieved high reference overlap for concise structural readings, with GPT-5.2 reaching the highest mean formula-level BLEU of 75.9% for simple transcriptions without context. This highlights the potential of LLMs for notation-oriented formula verbalization.
For simple transcriptions, textual context increased lexical variation and lowered BLEU scores. In contrast, extended transcriptions achieved higher BLEU with textual context, suggesting that LLMs can use surrounding context when generating more explanatory descriptions.
Performance varied across scientific domains, formula complexity levels, and notation features. Formulas with variable names, capitalization, and Greek letters tended to show lower BLEU than those with structural features such as fractions, superscripts, and summations. Token-level confusion analysis further showed that grouping symbols were most frequently involved in transcription differences across all settings, while other confusion pairs varied between simple and extended transcriptions and with textual context. Overall, LLMs capture many structural aspects of mathematical notation, while semantic interpretation and explicit preservation of hierarchical grouping remain key challenges.
Future work should complement BLEU-based evaluation with human intelligibility and reconstruction studies assessing whether listeners can recover the original formulas from generated speech. Further directions include reasoning-oriented prompting, ensemble methods, larger multi-domain corpora, and closer integration with text-to-speech systems.
ACKNOWLEDGMENTS
This research was funded by IU Int. University of Applied Sciences (IU Incubator) from April 2026 to March 2028.
REFERENCES
[1] K. F. Hew, “Use of Audio Podcast in K-12 and Higher Education: A Review of Research Topics and Methodologies,” Educational Technology Research and Development, vol. 57, no. 3, pp. 333–357, 2009. [Online]. Available: https://doi.org/10.1007/s11423-008-9108-3
[2] A. Z. S. Ahmad, B. Rahmatullah, H. A. Majid, and S. M. Samuri, "A Systematic Literature Review on the Use of Podcasts in Education Among University Students," Asean Journal of Teaching and Learning in Higher Education, vol. 14, no. 1, pp. 222–236, 2022. [Online]. Available: https://ejournal.ukm.my/ajtlhe/article/view/53152/13154
[3] E. Meden, M. Radovan, and D. Štefanc, “Podcasts and Informal Learning: Exploring Knowledge Acquisition and Retention,” Education Sciences, vol. 14, no. 10, p. 1129, 2024. [Online]. Available: https://doi.org/10.3390/educsci14101129
[4] H. Crompton and D. Burke, “The Use of Mobile Learning in Higher Education: A Systematic Review,” Computers & Education, vol. 123, pp. 53–64, 2018. [Online]. Available: https://doi.org/10.1016/j.compedu.2018.04.007
[5] A. Nazemi, I. Murray, and N. Mohammadi, “Mathspeak: An Audio Method for Presenting Mathematical Formulae to Blind Students,” in HSI. IEEE, 2012. [Online]. Available: http://dx.doi.org/10.1109/HSI.2012.17
[6] L. Frankel, B. Brownstein, N. Soiffer, and E. Hansen, “Development and Initial Evaluation of the ClearSpeak Style for Automated Speaking of Algebra,” ETS Research Report Series, vol. 2016, no. 2, p. 1–43, Aug. 2016. [Online]. Available: http://dx.doi.org/10.1002/ets2.12103
[7] S. Roychowdhury, H. G. Ranjani, S. Soman, N. Paul, S. Bandyopadhyay, and S. Iyengar, “Intelligibility of Text-to-Speech Systems for Mathematical Expressions,” 2025. [Online]. Available: https://arxiv.org/abs/2506.11086
[8] M. M. Thinn, Y. K. Thu, H. M. Nwe, N. N. Yee, T. Myint, H. A. Thant, and T. Supnithi, “Machine Translation of LATEX Based Mathematical Equations to Spoken Mathematics,” in ICSEC, 2020. [Online]. Available: http://dx.doi.org/10.1109/ICSEC51790.2020.9375339
[9] A. Bier and Z. Sroczyński, “Rule Based Intelligent System Verbalizing Mathematical Notation,” Multimedia Tools and Applications, vol. 78, no. 19, p. 28089–28110, Jul. 2019. [Online]. Available: http://dx.doi.org/10.1007/s11042-019-07889-3
[10] K. Dumkasem, P. Srisingchai, and P. Rattanatamrong, "EyeMath: Increasing Accessibility of Mathematics to Visually Impaired Readers," in ICSEC, 2019. [Online]. Available: http://dx.doi.org/10.1109/ICSEC47112.2019.8974682
[11] A. Bier and Z. Sroczyński, “Adaptive Math-To-Speech Interface,” in MIDI, ser. MIDI '15. ACM, Jun. 2015, p. 1–9. [Online]. Available: https://dl.acm.org/doi/10.1145/2814464.2814471
[12] W. Wararat, N. Kanlaya, and C. Nick, I-Math: an Intelligent Accessible Mathematics System for People with Visual Impairment. IOS Press, 2013. [Online]. Available: https://ebooks.iospress.nl/publication/33808
[13] W. Wongkia, K. Naruedomkul, and N. Cercone, “i-Math: Automatic Math Reader for Thai Blind and Visually Impaired Students,” Computers & Mathematics with Applications, vol. 64, no. 6, p. 2128–2140, Sep. 2012. [Online]. Available: http://dx.doi.org/10.1016/j.camwa.2012.04.009
[14] H. Ferreira and D. Freitas, Audio Rendering of Mathematical Formulae Using MathML and AudioMath. Springer Berlin Heidelberg, 2004, p. 391–399. [Online]. Available: http://dx.doi.org/10.1007/978-3-540-30111-0_34
[15] A. Bier and Z. Sroczynski, Capability of LLM-Based AI to Verbalize Math: A User Perspective Case Study. Springer Nature Switzerland, 2025, p. 17–29. [Online]. Available: http://dx.doi.org/10.1007/978-3-031-79086-7_3
[16] S. Hyeon, K. Jung, N.-J. Kim, H. G. Ryu, and J. Do, “MathReader: Text-to-Speech for Mathematical Documents,” in ICASSP. IEEE, Apr. 2025, p. 1–5. [Online]. Available: http://dx.doi.org/10.1109/ICASSP49660.2025.10890531
[17] A. Mazzei, M. Monticone, and C. Bernareggi, “Using NLG for Speech Synthesis of Mathematical Sentences,” in INLG. ACL, 2019, p. 463–472. [Online]. Available: http://dx.doi.org/10.18653/v1/W19-8658
[18] A. Strotmann et al., “Multilingual Access to Mathematical Exercise Problems,” in WebALT, 2005.
[19] O. Caprotti and J. Saludes, “The GF Mathematical Grammar Library: from OpenMath to Natural Languages,” in OpenMath Workshop, ser. CEUR Workshop Proceedings, vol. 921, 2012.
[20] S. Dong, S. Liu, S. Liu, and B. Tang, “Chinese Spelling Text Generation of Mathematical Formulas,” in ICASSP, 2022. [Online]. Available: http://dx.doi.org/10.1109/icassp43922.2022.9747049
[21] K. Jung, S. Hyeon, J. Y. Kwon, N.-J. Kim, H. G. Ryu, H.-J. Lee, and J. Do, “MathBridge: A Large Corpus Dataset for Translating Spoken Mathematical Expressions into LaTeX Formulas for Improved Readability,” 2024. [Online]. Available: https://arxiv.org/abs/2408.07081
[22] C. Feichter and T. Schlippe, “Investigating Models for the Transcription of Mathematical Formulas in Images,” Applied Sciences, vol. 14, no. 3, 2024. [Online]. Available: https://www.mdpi.com/2076-3417/14/3/1140
[23] A. Dev, T. Asakura, and R. Settre, “An Approach to Co-reference Resolution and Formula Grounding for Mathematical Identifiers Using Large Language Models,” in MATHNLP, 2024. [Online]. Available: https://api.semanticscholar.org/CorpusID:269950986
[24] K. Paster, M. D. Santos, Z. Azerbaijan, and J. Ba, “OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text,” 2023. [Online]. Available: https://arxiv.org/abs/2310.06786
[25] X. Han, Y. Jian, X. Hu, H. Liu, Y. Wang, Q. Fan, Y. Ai, H. Huang, R. He, Z. Yang, and Q. You, “InfiMM-WebMath-40B: Advancing Multimodal Pre-Training for Enhanced Mathematical Reasoning,” 2024. [Online]. Available: https://arxiv.org/abs/2409.12568
[26] H. Li, J. Li, J. Cao, Z. Yang, and Y. Xiong, “Towards Scalable Training for Handwritten Mathematical Expression Recognition,” 2025. [Online]. Available: https://arxiv.org/abs/2508.09220
[27] D. Korzh, A. Iudin, N. Kuzmin, E. Karimov, M. Skripkin, O. Rogov, and I. Oseledets, “Listening to formulas: Pioneering models and datasets for converting speech to latex equations,” in ICLR, 2024. [Online]. Available: https://huggingface.co/datasets/marsianin500/Speech2Latex
[28] J. Gehrke, P. Ginsparg, and J. Kleinberg, “Overview of the 2003 KDD Cup,” ACM SIGKDD Explorations Newsletter, vol. 5, no. 2, p. 149–151, Dec. 2003. [Online]. Available: http://dx.doi.org/10.1145/980972.980992
[29] M. Post, “A Call for Clarity in Reporting BLEU Scores,” in WMT. Brussels, Belgium: ACL, 2018. [Online]. Available: https://aclanthology.org/W18-6319