Papers › Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten...

Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognition

29 May 2025arXiv:2505.23566archive 2025-07-28

Yu Li, Jin Jiang, Jianhua Zhu, Shuai Peng, Baole Wei, Yuxuan Zhou, Liangcai Gao

Handwritten Mathematical Expression Recognition (HMER) remains a persistent challenge in Optical Character Recognition (OCR) due to the inherent freedom of symbol layout and variability in handwriting styles. Prior methods have faced performance bottlenecks, proposing isolated architectural modifications that are difficult to integrate coherently into a unified framework. Meanwhile, recent advances in pretrained vision-language models (VLMs) have demonstrated strong cross-task generalization, offering a promising foundation for developing unified solutions. In this paper, we introduce Uni-MuMER, which fully fine-tunes a VLM for the HMER task without modifying its architecture, effectively injecting domain-specific knowledge into a generalist framework. Our method integrates three data-driven tasks: Tree-Aware Chain-of-Thought (Tree-CoT) for structured spatial reasoning, Error-Driven Learning (EDL) for reducing confusion among visually similar characters, and Symbol Counting (SC) for improving recognition consistency in long expressions. Experiments on the CROHME and HME100K datasets show that Uni-MuMER achieves new state-of-the-art performance, surpassing the best lightweight specialized model SSAN by 16.31% and the top-performing VLM Gemini2.5-flash by 24.42% in the zero-shot setting. Our datasets, models, and code are open-sourced at: https://github.com/BFlameSwift/Uni-MuMER

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.23566")

Code

Syntology Ran 7 of 7 code samples harvested from 1 repository linked to this paper; 0 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 3 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bflameswift/uni-mumer officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

7 samples harvested; 7 ran; 2 honoured the contract we drafted; 0 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
3ran · fixture could not drive it
1ran

Licence: 0 of the 7 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from bflameswift/uni-mumer. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Node bflameswift/uni-mumer/preprocess/unimumer_tree/latex2tree.py official repository ran Apache-2.0 (permissive) · 902d6fc90dfc3c3b · report
findendenv bflameswift/uni-mumer/preprocess/unimumer_tree/latex2tree.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 51b08bef9ae97ab4 · report
findnextbracket bflameswift/uni-mumer/preprocess/unimumer_tree/latex2tree.py official repository ran · honoured contract Apache-2.0 (permissive) · fb7b689b9588f582 · report
get_symbol_counts bflameswift/uni-mumer/preprocess/make_unimumer_tree_data.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 75ff77728a39652d · report
latex2Tree bflameswift/uni-mumer/preprocess/unimumer_tree/latex2tree.py official repository ran · our draft was wrong Apache-2.0 (permissive) · b8f2bff4488c69d5 · report
make_count_dict2str bflameswift/uni-mumer/preprocess/make_unimumer_tree_data.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 92e5c6e686c8d6c2 · report
validate_record bflameswift/uni-mumer/preprocess/make_unimumer_tree_data.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 23ca323607bb2020 · report

Tasks

Handwritten Mathmatical Expression RecognitionLanguage ModelingLanguage ModellingOptical Character RecognitionOptical Character Recognition (OCR)Spatial Reasoning

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Handwritten Mathmatical Expression Recognition CROHME 2014 Uni-MuMER ExpRate 82.05 #1 of 17 Archive leaderboard report
Handwritten Mathmatical Expression Recognition CROHME 2014 Uni-MuMER ExpRate 75.36 #2 of 17 Archive leaderboard report
Handwritten Mathmatical Expression Recognition CROHME 2016 Uni-MuMER ExpRate 77.94 #1 of 16 Archive leaderboard report
Handwritten Mathmatical Expression Recognition CROHME 2019 Uni-MuMER ExpRate 79.23 #1 of 14 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections