atlas

Research map / Image generation / Autoregressive and latent generation

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

CVPR 2025 · Image generation › Autoregressive and latent generation · approach: Retrieval and matching with generative features · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Character Detection Matching (CDM), an image-level formula recognition metric that renders predicted and ground-truth LaTeX, localizes characters by color coding, and matches them with Hungarian matching plus RANSAC consistency checks.

Problem

Text-based formula recognition metrics (BLEU, Edit Distance, ExpRate) are unreliable because the same formula has multiple valid LaTeX representations and scores depend on training-data style, so they unfairly compare models.

Approach

Evaluate formulas at the image level: render both LaTeX strings, color-code each token to localize its bounding box, then match elements via bipartite (Hungarian) matching with token, position, and order costs, filter inconsistent matches with an affine RANSAC check, and report F1 over matched elements (CDM) and ExpRate@CDM.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CDM instead of BLEU to evaluate formula recognition qualityformula recognition evaluation · Pix2Tex predictions in human preference evaluationagreement with human judgment: 64% prefer CDM; 32% consider both metrics goodHelped
Rewrite formulas in different valid styles while keeping rendered images identicalCDM metric · 50 formulas rewritten five times eachCDM: all samples scoring 1Helped
Rewrite formulas in different valid styles while keeping rendered images identicalBLEU metric · 50 formulas rewritten five times eachBLEUHurt
Evaluate model predictions using CDM rather than character-based ExpRateformula recognition evaluation · UniMER-Testproportion of completely correct predictions: ExpRate@CDM: Pix2tex 0.2910, Texify 0.4950, Mathpix 0.5000, UniMERNet 0.8110Helped
Compare Mathpix with UniMERNet using BLEU rather than CDMformula recognition evaluation · UniMER-Test SCEmodel rankingHurt
Evaluate Pix2Tex on handwriting and screenshot subsets using BLEUPix2tex · UniMER-Test HWE and SCE versus SPE and CPEBLEUMixed
Use CDM rather than BLEU for formula-level evaluationGPT-4o · Tiny-Doc-Math formulamodel ranking relative to other models: BLEU 0.6431; CDM 0.7330Mixed
Evaluate formula crops rather than full document screenshotsGPT-4o · Tiny-Doc-Math formula versus documentCDM: 0.7330; 0.6502Helped
Evaluate formula crops rather than full document screenshotsMathpix · Tiny-Doc-Math formula versus documentCDM: 0.9480; 0.9567Mixed
Evaluate document screenshots using CDMNougat · Tiny-Doc-Math documentCDM: 0.8326Helped

Surprising findings

Limitations

Experimental setup

Datasets: UniMER-Test Tiny-Doc-Math

Benchmarks: UniMER-Test Tiny-Doc-Math

Metrics: CDM ExpRate@CDM BLEU ExpRate F1-score

Baselines: BLEU ExpRate Edit Distance Pix2tex Texify Mathpix UniMERNet Nougat GPT-4o

Builds on: DETR bipartite matching ExpRate BLEU Edit Distance

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy