Image Over Text: Transforming Formula Recognition Evaluation with Character Detection Matching

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Bin, Wu, Fan, Ouyang, Linke, Gu, Zhuangcheng, Zhang, Rui, Xia, Renqiu, Zhang, Bo, He, Conghui
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917965651247104
author Wang, Bin
Wu, Fan
Ouyang, Linke
Gu, Zhuangcheng
Zhang, Rui
Xia, Renqiu
Zhang, Bo
He, Conghui
author_facet Wang, Bin
Wu, Fan
Ouyang, Linke
Gu, Zhuangcheng
Zhang, Rui
Xia, Renqiu
Zhang, Bo
He, Conghui
contents Formula recognition presents significant challenges due to the complicated structure and varied notation of mathematical expressions. Despite continuous advancements in formula recognition models, the evaluation metrics employed by these models, such as BLEU and Edit Distance, still exhibit notable limitations. They overlook the fact that the same formula has diverse representations and is highly sensitive to the distribution of training data, thereby causing unfairness in formula recognition evaluation. To this end, we propose a Character Detection Matching (CDM) metric, ensuring the evaluation objectivity by designing an image-level rather than a LaTeX-level metric score. Specifically, CDM renders both the model-predicted LaTeX and the ground-truth LaTeX formulas into image-formatted formulas, then employs visual feature extraction and localization techniques for precise character-level matching, incorporating spatial position information. Such a spatially-aware and character-matching method offers a more accurate and equitable evaluation compared with previous BLEU and Edit Distance metrics that rely solely on text-based character matching. Experimentally, we evaluated various formula recognition models using CDM, BLEU, and ExpRate metrics. Their results demonstrate that the CDM aligns more closely with human evaluation standards and provides a fairer comparison across different models by eliminating discrepancies caused by diverse formula representations. Code is available at https://github.com/opendatalab/UniMERNet/tree/main/cdm.
format Preprint
id arxiv_https___arxiv_org_abs_2409_03643
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Image Over Text: Transforming Formula Recognition Evaluation with Character Detection Matching
Wang, Bin
Wu, Fan
Ouyang, Linke
Gu, Zhuangcheng
Zhang, Rui
Xia, Renqiu
Zhang, Bo
He, Conghui
Computer Vision and Pattern Recognition
Computation and Language
Formula recognition presents significant challenges due to the complicated structure and varied notation of mathematical expressions. Despite continuous advancements in formula recognition models, the evaluation metrics employed by these models, such as BLEU and Edit Distance, still exhibit notable limitations. They overlook the fact that the same formula has diverse representations and is highly sensitive to the distribution of training data, thereby causing unfairness in formula recognition evaluation. To this end, we propose a Character Detection Matching (CDM) metric, ensuring the evaluation objectivity by designing an image-level rather than a LaTeX-level metric score. Specifically, CDM renders both the model-predicted LaTeX and the ground-truth LaTeX formulas into image-formatted formulas, then employs visual feature extraction and localization techniques for precise character-level matching, incorporating spatial position information. Such a spatially-aware and character-matching method offers a more accurate and equitable evaluation compared with previous BLEU and Edit Distance metrics that rely solely on text-based character matching. Experimentally, we evaluated various formula recognition models using CDM, BLEU, and ExpRate metrics. Their results demonstrate that the CDM aligns more closely with human evaluation standards and provides a fairer comparison across different models by eliminating discrepancies caused by diverse formula representations. Code is available at https://github.com/opendatalab/UniMERNet/tree/main/cdm.
title Image Over Text: Transforming Formula Recognition Evaluation with Character Detection Matching
topic Computer Vision and Pattern Recognition
Computation and Language
url https://arxiv.org/abs/2409.03643