AIm2Markup: Structured Target Representations for Image-to-Markup Mathematical Expression Recognition

Purpose: This study investigates how LaTeX, simplified Presentation MathML, and Typst targets affect recognition accuracy and structural fidelity in mathematical expression recognition. Methods: We introduce three aligned AIm2Markup datasets containing identical equation images paired with targets generated from the same source equations under specified conversion and normalization procedures. Six encoder-decoder configurations, including scratch-trained and pretrained models, are evaluated using normalized Edit Distance, BLEU, normalized Tree Edit Distance (nTED), Exact Match, and structural similarity measures. Results: Across the evaluated models, MathML achieves the lowest overall Edit Distance and nTED and the highest BLEU and Exact Match in most configurations. Typst generally provides competitive performance with LaTeX among the scratch-trained models, while representation rankings vary across architectures and metrics. Complexity-stratified analysis shows that highly complex expressions are more difficult across representations and that mean nTED and threshold-based nTED can yield different representation rankings. The OCR-pretrained TrOCR-Qwen exhibits a distinct pattern, with stronger LaTeX performance in several exact-match and threshold-based evaluations. Conclusion: Target representation affects token-level accuracy and structural fidelity. These findings support treating target representation as a design choice alongside model architecture, pretraining, and training strategy.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-12-01
DOI
https://doi.org/10.21203/rs.3.rs-10936207/v1
Primary Topic
Handwritten Text Recognition Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

AIm2Markup: Structured Target Representations for Image-to-Markup Mathematical Expression Recognition

Clayton T. Morrison, Eungjoo Lee, Gaurav Sharma
Research Square
Handwritten Text Recognition Techniques
preprint

AIm2Markup: Structured Target Representations for Image-to-Markup Mathematical Expression Recognition

Clayton T. Morrison, Eungjoo Lee, Gaurav Sharma
preprint en

Abstract

Purpose: This study investigates how LaTeX, simplified Presentation MathML, and Typst targets affect recognition accuracy and structural fidelity in mathematical expression recognition. Methods: We introduce three aligned AIm2Markup datasets containing identical equation images paired with targets generated from the same source equations under specified conversion and normalization procedures. Six encoder-decoder configurations, including scratch-trained and pretrained models, are evaluated using normalized Edit Distance, BLEU, normalized Tree Edit Distance (nTED), Exact Match, and structural similarity measures. Results: Across the evaluated models, MathML achieves the lowest overall Edit Distance and nTED and the highest BLEU and Exact Match in most configurations. Typst generally provides competitive performance with LaTeX among the scratch-trained models, while representation rankings vary across architectures and metrics. Complexity-stratified analysis shows that highly complex expressions are more difficult across representations and that mean nTED and threshold-based nTED can yield different representation rankings. The OCR-pretrained TrOCR-Qwen exhibits a distinct pattern, with stronger LaTeX performance in several exact-match and threshold-based evaluations. Conclusion: Target representation affects token-level accuracy and structural fidelity. These findings support treating target representation as a design choice alongside model architecture, pretraining, and training strategy.

Research Square
University of Arizona (US)
Handwritten Text Recognition Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
AIm2Markup: Structured Target Representations for Image-to-Markup Mathematical Expression Recognition — Clayton T. Morrison, Eungjoo Lee, et al. · Research Square (2026) | TGRS Research Map | TGRS