Why CER Misleads for Document-Parsing VLMs
Explained with First-Party Receipt Data (2026)
Last reviewed: 2026-11-06 · Run tier: official · First-party benchmark · 8 engines × 2 receipt datasets
What this page does NOT cover: The definitional difference between character-level and field-level accuracy — that lives on the companion field vs character accuracy definition page; this page is the data layer that quantifies the gap. No invoices, forms, or long documents are measured — receipts only (SROIE 2019 English, CORD v2 Indonesian), one GPU tier (RTX 4090), August 2026 model versions.
Scope:SROIE 2019 English receipts(361) and CORD v2 Indonesian receipts(100), retained from August 2026. No ablation attributes CER quantitatively to punctuation, formatting, reading order or recognition errors. Whole-page CORD CER/WER are not applicable.
Normalized SROIE CER and field F1 rank different targets. Unlimited-OCR records CER 0.6552 and fixed-regex field F1 0.3376; docTR records 0.1971 and 0.0766. That inversion shows that transcript distance does not predict this particular extractor score. It does not prove that scoring convention alone caused either result or that recognition was perfect.
The essential boundary is the scorer: both CER and WER lowercase and collapse whitespace. Case folding and simple newline merging are already normalized away. Field F1 evaluates OCR plus a named postprocessor; SROIE field values remain case-sensitive after whitespace normalization. CORD whole-page text metrics are unavailable, while PaddleOCR-VL records corrected scalar regex field F10.3721.
CER Measures Normalized Transcript Distance
CER divides Levenshtein character edit distance by normalized ground-truth length. The published scorer first lowercases and collapses whitespace for both CER and WER. Report that preprocessing with every score: these values do not measure case preservation or verbatim layout fidelity.
Different engines may emit punctuation, format markers, additional content or reading orders that differ from the reference. These can affect edit distance alongside recognition mistakes. The aggregate score does not distinguish them. Simple case differences and whitespace-only line changes are already normalized away in this benchmark.
No released ablation establishes how much SROIE CER comes from any one mechanism. The corpus scores support reporting observed text distance and downstream field outcomes separately; they do not support a quantitative allocation of errors to formatting or recognition.
Unlimited-OCR records SROIE CER 0.6552 and WER 0.4779. Both use the same normalization, but characters and words have different denominators and edit units. Their relative sizes do not establish a cause. Surya2 records CER 0.1915; these are point diagnostics, without an equivalence test or a complete document-understanding evaluation.
SROIE: Transcript Distance and Field Scores Have Different Orderings
The smallest normalized CER point score is Surya2(0.1915), while the highest fixed-regex field F1 is Unlimited-OCR(0.3376). Different orderings are expected when targets differ: one measures transcript distance and the other the output of OCR plus fixed patterns. Neither column is a universal engine ranking.
The published field F1 is a mean per-document precision/recall summary over exact field-value matches. The fixed regex set is held constant, so engine output and its interaction with those patterns determine the downstream score. SROIE field values collapse whitespace but retain case sensitivity; F1 is not a correct-field percentage or one minus an error rate.
Source: summary_metrics.csv — cer and field_f1_regex columns, sroie_2019 rows (361 samples per engine, error_rate 0.0 for all 8). The two series are not comparable to each other as magnitudes (different units), but their rankings disagree, which is the point.
| Model | Type | CER | WER | Regex field F1 | CER rank | Field-F1 rank | Source |
|---|---|---|---|---|---|---|---|
| Surya2 | Document-parsing VLM | 0.1915 | 0.2735 | 0.3183 | 1 | 4 | summary_metrics.csv · surya2/sroie_2019 row |
| docTR | Traditional OCR (GPU) | 0.1971 | 0.3199 | 0.0766 | 2 | 8 | summary_metrics.csv · doctr/sroie_2019 row |
| PaddleOCR | Traditional OCR (GPU) | 0.2045 | 0.3256 | 0.3254 | 3 | 3 | summary_metrics.csv · paddleocr/sroie_2019 row |
| EasyOCR | Traditional OCR (GPU) | 0.2833 | 0.6158 | 0.1477 | 4 | 7 | summary_metrics.csv · easyocr/sroie_2019 row |
| Tesseract | Traditional OCR (CPU) | 0.3347 | 0.5591 | 0.2335 | 5 | 5 | summary_metrics.csv · tesseract/sroie_2019 row |
| PaddleOCR-VL | Document-parsing VLM | 0.3370 | 0.6462 | 0.3368 | 6 | 2 | summary_metrics.csv · paddleocr_vl_vllm/sroie_2019 row |
| Docling | Pipeline parser | 0.5909 | 0.7596 | 0.2237 | 7 | 6 | summary_metrics.csv · docling/sroie_2019 row |
| Unlimited-OCR | Document-parsing VLM | 0.6552 | 0.4779 | 0.3376 | 8 | 1 | summary_metrics.csv · unlimited_ocr/sroie_2019 row |
Table: summary_metrics.csv — cer / wer / field_f1_regex columns, sroie_2019 rows. Ranks computed within the 8 rows of this table (1 = best under that metric: lowest CER, highest field F1). These are postprocessed_sroie_receipt_regex_* metrics: fixed patterns applied to each engine’s OCR text, not native structured output. Tesseract ran CPU-only (compute_type=cpu).
Unlimited-OCR has the largest SROIE CER and the highest fixed-regex F1 in these eight rows; docTR has the second-smallest CER and the lowest regex F1. This does not make docTR text-perfect or Unlimited-OCR universally better. It shows that the particular downstream extractor must be evaluated instead of inferred from a text-distance score.
Field F1 Evaluates a Named OCR-Plus-Postprocessor Pipeline
Six of eight retained SROIE LLM field scores lie between 0.5685 and 0.6171. EasyOCR(0.3717) and Tesseract(0.4389) remain lower. Across all eight engines the full range is 0.2454, versus 0.2610 under regex. The experiment does not establish that family boundaries or engine differences disappear.
The retained deepseek-v4-flash postprocessor scores higher than the fixed regex set on every released row, with OCR text held fixed. This establishes an observed pipeline effect; no ablation shows whether pattern coverage, content interpretation or output formatting accounts for its size. The LLM scores are not native structured extraction by the upstream engines.
| Model | Type | CER (context) | LLM field F1 | In convergence band (0.57–0.62) | Source |
|---|---|---|---|---|---|
| docTR | Traditional OCR (GPU) | 0.1971 | 0.6171 | Yes — highest | field_method_comparison.csv · llm_field_value_f1, doctr/sroie_2019 row |
| Surya2 | Document-parsing VLM | 0.1915 | 0.6139 | Yes | field_method_comparison.csv · llm_field_value_f1, surya2/sroie_2019 row |
| Unlimited-OCR | Document-parsing VLM | 0.6552 | 0.6054 | Yes | field_method_comparison.csv · llm_field_value_f1, unlimited_ocr/sroie_2019 row |
| PaddleOCR-VL | Document-parsing VLM | 0.3370 | 0.5921 | Yes | field_method_comparison.csv · llm_field_value_f1, paddleocr_vl_vllm/sroie_2019 row |
| PaddleOCR | Traditional OCR (GPU) | 0.2045 | 0.5810 | Yes | field_method_comparison.csv · llm_field_value_f1, paddleocr/sroie_2019 row |
| Docling | Pipeline parser | 0.5909 | 0.5685 | Yes — band edge | field_method_comparison.csv · llm_field_value_f1, docling/sroie_2019 row |
| Tesseract | Traditional OCR (CPU) | 0.3347 | 0.4389 | No — below | field_method_comparison.csv · llm_field_value_f1, tesseract/sroie_2019 row |
| EasyOCR | Traditional OCR (GPU) | 0.2833 | 0.3717 | No — below | field_method_comparison.csv · llm_field_value_f1, easyocr/sroie_2019 row |
Table: field_method_comparison.csv, llm_field_value_f1, sroie_2019 rows. CER is repeated from summary_metrics.csv only for context. Six of eight LLM scores lie in0.5685–0.6171; the two lower scores do not establish a causal classification of OCR quality.
CORD: Whole-Page Text Distance Is Not Applicable
CORD gt_text contains annotation structure rather than a compatible visible-text transcript. Whole-page CER/WER are therefore not applicable. The release reports scalar field scores and output health instead, separately from menu and complete-row metrics and from SROIE.
PaddleOCR-VL has the highest corrected CORD scalar regex field F1,0.3721. The correction distinguishes subtotal and total labels, changing five regex rows while preserving their ordering. Original OCR and retained LLM extraction are unchanged. This is a fixed-postprocessor result, not evidence of a particular native KIE capability.
Source: field_method_comparison.csv, cord_v2 scalar regex_field_value_f1 and retained llm_field_value_f1,100 receipts per engine. Both series are pipeline field F1; no CORD CER is plotted.
| Model | Type | Nonempty OCR outputs | Scalar regex field F1 | Source |
|---|---|---|---|---|
| PaddleOCR-VL | Document VLM | 100.0% | 0.3721 | summary_metrics.csv · paddleocr_vl_vllm/cord_v2 |
| Surya2 | Document VLM | 100.0% | 0.2591 | summary_metrics.csv · surya2/cord_v2 |
| Unlimited-OCR | Document VLM | 90.0% | 0.1249 | summary_metrics.csv · unlimited_ocr/cord_v2 |
| Tesseract | Traditional (CPU) | 75.0% | 0.0818 | summary_metrics.csv · tesseract/cord_v2 |
| Docling | Pipeline parser | 96.0% | 0.0735 | summary_metrics.csv · docling/cord_v2 |
| PaddleOCR | Traditional OCR | 100.0% | 0.0154 | summary_metrics.csv · paddleocr/cord_v2 |
| EasyOCR | Traditional OCR | 100.0% | 0.0067 | summary_metrics.csv · easyocr/cord_v2 |
| docTR | Traditional OCR | 100.0% | 0.0000 | summary_metrics.csv · doctr/cord_v2 |
Table: summary_metrics.csv, cord_v2 field_f1_regex and nonempty_output_rate. All request-error rates are zero, but Tesseract 25/100, Docling4/100 and Unlimited-OCR10/100 transcripts are empty. Empty outputs remain in the score denominator. Whole-page CER/WER are not applicable.
CORD field F1 depends on both the OCR text and fixed extraction patterns. docTR records 0.0000 regex F1 and 0.5500 retained LLM F1 on the same text; that is an absolute gain of 0.5500, with an undefined ratio. These outcomes do not quantify recognition quality or a language-only penalty.
When CER Is Actually the Right Metric
Use normalized CER when distance to a compatible transcript is the target. The reference construction and preprocessing must match the intended use. Because this scorer lowercases and collapses whitespace, these values cannot validate original capitalization, exact line breaks or complete layout fidelity.
- Match the metric to the target. Normalized CER can describe transcript distance within or across engine families, but interpretation depends on comparable outputs and references. It does not by itself establish semantic understanding or downstream extraction accuracy.
- For verbatim requirements, inspect preprocessing. Case-sensitive or layout-preserving output needs additional checks. This benchmark normalizes case and whitespace before text scoring, so its CER is not a direct audit of those properties.
- Publish the scoring boundary. State preprocessing, reference construction, sample count and whether the score measures text, scalar fields or complete rows. Whole-page CORD CER/WER are not applicable.
- State the extraction pipeline. Fixed-regex and retained LLM field F1 compare postprocessed outputs, not native KIE. F1 is not a percentage of wrong fields; pair it with exact-field and complete-document diagnostics when useful.
Frequently Asked Questions
Why is CER misleading when comparing OCR engines and VLMs?
CER can be misleading when a transcript-distance score is read as a complete capability ranking. On SROIE, Unlimited-OCR recordsCER 0.6552 and fixed-regex F1 0.3376, while docTR records 0.1971 and 0.0766. Those different targets have different orderings. Both text metrics normalize case and whitespace; the experiment does not attribute the discrepancy quantitatively to formatting or recognition.
Is CER still a useful OCR metric at all?
Yes, when normalized transcript distance is the intended target and the reference is compatible. The published scorer lowercases and collapses whitespace, so original case and line layout require separate evaluation. CER alone does not establish field extraction quality or general understanding.
Why do VLM OCR models have high character error rates?
These aggregate data cannot isolate the cause. Punctuation, format markers, additional content, reading order and recognition errors may affect normalized distance. Case differences and simple whitespace changes are already removed. No quantitative error decomposition or formatting ablation was performed.
What is the best metric to compare OCR engines and document-parsing VLMs?
Choose metrics for the required output. Normalized CER/WER describe transcript distance; scalar field F1 describes a named OCR-plus-postprocessor pipeline; menu-row and complete-document scores describe other targets. No single score here establishes universal cross-family superiority.
What does PaddleOCR-VL’s CORD field score measure?
Its corrected scalar fixed-regex F1 is 0.3721, the highest of eight released rows. That measures its OCR text plus the fixed receipt extractor under the published scorer, not native KIE. Whole-page CORD CER/WER are not applicable, so no numerical CER contrast is valid.
Does case folding inflate this benchmark’s CER?
No. Both CER and WER lowercase and collapse whitespace before computing distance. Case-only differences and simple newline/space changes therefore do not incur penalties themselves. SROIE field-value matching is separate: it collapses whitespace but remains case-sensitive.
Should I compare OCR engines by CER or by field-level F1?
Use the metric for the intended output, and publish both when both matter. SROIE normalized CER and fixed-regex F1 measure different targets. Field F1 includes the named postprocessor and does not establish native engine extraction capability. Whole-page CORD CER/WER are not applicable.
Where do these CER and field F1 numbers come from?
Every reported number comes from version-pinned Receipt v1.1 summary_metrics.csv or field_method_comparison.csv. Correction manifests link to original prediction/performance artifacts; historical inference manifests hold the original environment metadata. The linked protocol defines applicability, normalization and availability.
Methodology & Sources
Protocol
Receipt v1.1 is an offline correction of retained August 2026 predictions for eight engines on fixed SROIE test receipts (361) and CORD test receipts (100). Recognition, weights, images and retained deepseek-v4-flash field outputs were not rerun. Corrected scoring, metric applicability, timing availability and output-health fields are defined in the version-pinned correction protocol. The historical per-run warm/cold modes are retained. Zero request errors mean execution completed, not that every transcript was nonempty or every field correct.
Runtime Environment
- Hardware: all GPU runs on a single NVIDIA RTX 4090 (24 GB); Tesseract ran CPU-only (compute_type=cpu) and is labeled as such on every table.
- Engines and versions (per run manifests): Tesseract (prediction metadata: 4.1.1; historical binary unverified), PaddleOCR 3.7.0, EasyOCR 1.7.2, docTR v1.0.1, Docling 2.119.0, Surya2 0.22.1, Unlimited-OCR vLLM-served, PaddleOCR-VL 1.6.
- Field postprocessors: regex field F1 = fixed
sroie_receipt_regex/cord_receipt_regexpatterns applied to each engine’s OCR text (postprocessed, not native extraction); LLM field F1 = deepseek-v4-flash (temperature 0) reading the same text (llm_model column of field_method_comparison.csv).
Metric Definitions
- CER: Levenshtein character edit distance after lowercasing and collapsing whitespace, divided by normalized ground-truth length. SROIE values are text-distance diagnostics, not a complete cross-family capability ranking; whole-page CORD CER is not applicable.
- WER: word edit distance after the same lowercase and whitespace normalization. Its denominator differs from CER, so the two aggregate values do not isolate the cause of an error.
- Field-value F1: mean per-document harmonic mean of field-value precision and recall under the published exact-match scorer. It describes the named OCR-plus-postprocessor pipeline, not a fraction of wrong fields or native KIE capability. SROIE field values collapse whitespace but remain case-sensitive.
- Output convention: punctuation, format markers, additional content and ordering may affect distance. Their individual effects were not isolated; case and whitespace are normalized for CER/WER.
- Ground-truth structure: SROIE provides a normalized transcript diagnostic, while CORD gt_text contains annotation structure and is not applicable for whole-page CER/WER.
Source List
- Receipt v1.1 summary_metrics.csv. Sixteen unique model/dataset rows: normalized SROIE text distance, applicable regex fields, request latency, latency-derived and accepted wall-clock throughput, explicit timing/cost availability, request errors and empty-output rates. Source run IDs and correction manifests preserve the original inference lineage.
- Receipt v1.1 field_method_comparison.csv. Corrected regex scalar field scores alongside retained deepseek-v4-flash extraction results, exact-match diagnostics, counts and token/request-latency metadata. The LLM extraction itself is unchanged.
- ImageToTableai/benchmark-ocr repository. Public repo hosting the result CSVs, redacted run manifests, the frozen protocol (
reports/receipt_v1_1_protocol.md), and fixed sample lists for reproduction. - Correction manifests record scoring revisions, source prediction/performance hashes and timing-availability decisions, linking back to the original inference manifests. Historical engine/runtime environment metadata and artifact fingerprints belong to those original manifests; correction manifests do not repeat a complete GPU/driver/PyTorch environment fingerprint. Tesseract prediction metadata records 4.1.1; its historical binary version is not independently verified.
- Receipt v1.1 protocol. Defines retained inference lineage, corrected scalar fields, normalized text scoring, CORD applicability, historical measurement boundaries and explicit timing/cost availability.
- Receipt v1.1 metric applicability and normalization. Defines text-score normalization, CORD scalar extraction corrections, retained inference lineage and explicit timing availability; no quantitative CER error decomposition is claimed.
- OCR-D Project — Quality Assurance Specification. Formal CER definition (insertions + deletions + substitutions) / total characters and the WER analogue. Formal definitional anchor.
- Huang et al., “ICDAR2019 Competition on Scanned Receipt OCR and Information Extraction” (2019). SROIE 2019 dataset definition, task structure, license (CC-BY-4.0).
- Park et al., “CORD: A Consolidated Receipt Dataset for Post-OCR Parsing” (2020). CORD dataset definition, nested field schema, license (CC-BY-4.0).
Limitations
- No causal decomposition: no ablation allocates normalized text distance to punctuation, formatting, reading order or recognition. Aggregate CER/WER differences cannot identify their shares.
- Receipts only:SROIE English and CORD Indonesian receipts. Invoices, forms, tables and long documents are unmeasured; no numeric or causal result is extrapolated to them.
- Single LLM postprocessor:retained deepseek-v4-flash outputs only. Different models, prompts or schemas may alter absolute scores and ordering; no repeated-model robustness is established.
- Text fidelity boundary:normalized CER remains useful for compatible transcript targets. Case preservation, exact line breaks and complete layout fidelity are outside the published normalization boundary.
- CORD not merged into SROIE rankings: different language, different ground-truth structure. CORD is compared on field metrics only, per the benchmark protocol.
- Version and hardware pinning:retained August 2026 inference and one RTX 4090 tier. Changes in versions or workloads may alter results; no statistical equivalence is inferred.
- Sample size:361 SROIE and 100 CORD receipts. These are retained single-run point observations; the correction CSVs do not provide confidence intervals or a repeated-run mean.
Related references: Field-Level vs Character-Level Accuracy (definition) · Traditional OCR vs Document Parsing VLMs · Regex vs LLM Field Extraction · PaddleOCR vs EasyOCR on Receipts · Surya2 vs Unlimited-OCR vs PaddleOCR-VL · OCR Latency Benchmark · OCR Cost per 1,000 Pages
Related reading: why AI OCR accuracy diverges from traditional OCR · AI extraction from images versus traditional OCR pipelines