UniMERNet: A Universal Network for Real-World Mathematical Expression Recognition

Bin Wang, Zhuangcheng Gu, Guang Liang, Chao Xu, Bo Zhang +2 more
4/23/2024
cs.CV

Official code: opendatalab/UniMERNet (494 stars, Apache-2.0, last commit 2025-09-28).

Abstract

The paper introduces the UniMER dataset, marking the first study on Mathematical Expression Recognition (MER) targeting complex real-world scenarios. The UniMER dataset includes a large-scale training set, UniMER-1M, which offers unprecedented scale and diversity with one million training instances to train high-quality, robust models. Additionally, UniMER features a meticulously designed, diverse test set, UniMER-Test, which covers a variety of formula distributions found in real-world scenarios, providing a more comprehensive and fair evaluation. To better utilize the UniMER dataset, the paper proposes a Universal Mathematical Expression Recognition Network (UniMERNet), tailored to the characteristics of formula recognition. UniMERNet consists of a carefully designed encoder that incorporates detail-aware and local context features, and an optimized decoder for accelerated performance. Extensive experiments conducted using the UniMER-1M dataset and UniMERNet demonstrate that training on the large-scale UniMER-1M dataset can produce a more generalizable formula recognition model, significantly outperforming all previous datasets. Furthermore, the introduction of UniMERNet enhances the model's performance in formula recognition, achieving higher accuracy and speeds. All data, models, and code are available at https://github.com/opendatalab/UniMERNet.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

UniMERNet: A Universal Network for Real-World Mathematical Expression Recognition

49445Shell, PythonApr 23, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2024unimernet,
  title  = {UniMERNet: A Universal Network for Real-World Mathematical Expression Recognition},
  author = {Bin Wang and Zhuangcheng Gu and Guang Liang and Chao Xu and Bo Zhang and Botian Shi and Conghui He},
  year   = {2024},
  eprint = {2404.15254},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.15254v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.15254.svg)](https://codeofpaper.com/paper/2404.15254)

Discussion