Feedback tools and research on learner writing need transcriptions of handwritten essays that keep exactly what the student wrote: misspellings, line breaks, struck-through words and insertions. Vision-language models (VLMs) read handwriting well, but they also tend to rewrite it into correct language. We measure this on BRESSAY, 1,000 handwritten Brazilian Portuguese essays, with a benchmark that adds error preservation, invented errors, edit-markup precision and recall and line structure to the character error rate (CER) and uses paired bootstrap confidence intervals. We restrict the study to open-weight models that schools can run on their own hardware. Of 22 open baselines, the best, Qwen3-VL 235B-A22B, reaches 5.6% CER on the 199 test pages; none reproduces the edit markup reliably, and every VLM replaces 39-78% of the words absent from a Portuguese dictionary with dictionary words. We fine-tune LightOnOCR-3-1B on the 647 training pages in 85 minutes on one GPU. The resulting Escriba-OCR-1B reaches 2.06% CER, 3.5 points below the best baseline (95% CI [-4.2, -2.9]); under the ICDAR 2024 competition metric it reaches 2.1% CER, below the best published page-level results (2.2-2.4%). It recovers 67% of insertions and 77% of illegible deletions, and reproduces the line structure of 97% of the pages, but still normalises 60% of likely misspellings. Three seeds agree within 0.04 CER points, and quantised to 4 bits the model runs on an ordinary CPU at about one minute per page. On 40 letters of another corpus it matches its base model (without that model's appended comments) but misreads unseen words more often; weight interpolation recovers half the gap. A teacher's review finds that 45% of the judgeable apparent corrections are errors in the BRESSAY ground truth, so dictionary-based scores likely understate preservation. We release the model, the benchmark code and the review data.
Figures & tables
Figure 1: Escriba-OCR-1B against the 22 open baselines on the 199 BRESSAY test pages. (a) Page CER against model size; MoE models are plotted at their total parameter count. Fine-tuning puts the 1B model far below zero-shot VLMs up to 400 times larger, including its own base model. (b) The features of a diplomatic transcription, one dot per system. The best zero-shot deletion recall (29%) belongs to Gemma 3 4B at 0.5% precision. HTR-Flor reads ground-truth line crops, so its line structure is not shown. Error preservation, the last row, remains the open problem for every system (§ 8.4 ).
Split
Pages
Lines
Words
Chars/page
Image (px)
px/line
--t-- / --xxx-- / ##t##
Non-dict. words
Train
647
19,565
267,588
2,712
492 × 556
18.4
1,823 / 902 / 930
1,820
Validation
154
4,609
63,957
2,724
525 × 584
19.5
376 / 184 / 140
382
Test
199
5,916
81,118
2,669
538 × 618
20.8
590 / 259 / 379
496
Table 1: BRESSAY statistics. Image sizes are medians; px/line is the median image height divided by the mean number of lines per page. A page holds about 30 lines and 410 words. The last column counts reference words absent from a pt-BR dictionary (§ 4 ).
Systems
Run via
Input
Prompt
Decoding
Max new tokens
Escriba-OCR-1B
vLLM 0.34, A100
1200 px PNG
image only
greedy, rep. penalty 1.05
2,048
13 general VLMs
OpenRouter
1540 px JPEG (q92)
error-preserving instruction
temperature 0, reasoning off
3,000
3 small general VLMs
vLLM 0.34, L4
1600 px PNG
error-preserving instruction
greedy, rep. penalty 1.05
2,048
5 OCR-specialised VLMs
vLLM 0.34, L4
1600 px PNG
native (empty or task tag)
greedy, rep. penalty 1.05
2,048
HTR-Flor
authors’ toolkit
GT line crops
–
CTC beam search (width 32)
–
Table 2: Inference settings. Input sizes refer to the longer side after upscaling; BRESSAY pages are about 490–540 px wide (split medians). The native prompts are empty for LightOnOCR, “OCR:” for PaddleOCR-VL and “Text Recognition:” for GLM-OCR; the error-preserving instruction is given in Appendix B .
Error rates (%) ↓
Markup recall (%) ↑
System
Params
CER
CER case
CER text
WER
--t--
--xxx-- (prec.)
##t##
Lines (%)
Escriba-OCR-1B (ours)
1B
2.06
2.13
1.63
5.9
38
77 (68)
67
97
Qwen3-VL 235B-A22B
235B
5.60
6.44
4.61
11.2
1
1 (100)
3
79
Qwen3.5 27B
27B
8.01
8.40
6.66
16.4
2
1 (100)
16
53
LightOnOCR-3 4B
4B
8.44
8.52
7.14
18.2
0
0 (–)
0
0
Qwen2.5-VL 72B
72B
8.51
9.12
7.58
21.5
0
0 (100)
0
42
Table 3: BRESSAY test set (199 pages), the fine-tuned model and the strongest open baselines (Table 5 lists all 22). All CER variants are capped per page (Eq. 1 ). Precision for --xxx-- is in parentheses; “–” means the system never produced the markup. † Evaluated on ground-truth line crops, so its line structure is correct by construction.
Escriba-OCR-1B minus …
Δ CER [95% CI]
Δ CER text [95% CI]
Δ Pres. [95% CI]
Qwen3-VL 235B-A22B
−3.54 [ −4.19 , −2.94 ]
−2.98 [ −3.58 , −2.44 ]
+2.2 [ −0.8 , +5.1 ]
Qwen3.5 27B
−5.95 [ −8.38 , −4.05 ]
−5.03 [ −7.14 , −3.37 ]
+5.2 [ +1.9 , +8.4 ]
LightOnOCR-3 4B
−6.38 [ −7.49 , −5.43 ]
−5.51 [ −6.61 , −4.55 ]
+8.7 [ +5.7 , +11.8 ]
Qwen2.5-VL 72B
−6.45 [ −7.77 , −5.35 ]
−5.95 [ −7.26 , −4.90 ]
+1.4 [ −2.6 , +5.4 ]
LightOnOCR-3 1B (base)
−6.91 [ −7.64 , −6.20 ]
−6.11 [ −6.82 , −5.39 ]
+10.7 [ +7.4 , +13.9 ]
HTR-Flor
−8.27 [ −9.22 , −7.34 ]
−7.85 [ −8.75 , −6.98 ]
+4.4 [ −1.4 , +10.1 ]
Table 4: Paired page-level bootstrap on the test set ( B=2,000 ), in percentage points. Negative Δ CER and positive Δ Pres. favour Escriba. The intervals reflect variation over pages, not over training seeds; across three seeds the CER of Escriba varies by ±0.02 points.
Model
Params
CER
WER
Pres.
Ins. rec.
Lines
Loops
Qwen3-VL 235B-A22B
235B (22B)
5.60
11.2
21.4
3
79
0
Qwen3.5 27B
27B
8.01
16.4
18.3
16
53
4
LightOnOCR-3 4B
4B
8.44
18.2
14.9
0
0
1
Qwen2.5-VL 72B
72B
8.51
21.5
22.2
0
42
1
LightOnOCR-3 1B (base)
1B
8.97
20.5
12.9
0
12
0
Qwen3.5 4B
4B
9.11
18.0
15.3
1
32
1
Table 5: All 22 open baselines on the BRESSAY test set (%, except Loops), sorted by CER. Pres.: error preservation; Ins. rec.: insertion recall; Loops: pages whose generation hit the token limit, which was 3,000 tokens for OpenRouter models and 2,048 for local ones. MoE models list total (active) parameters. WER is not capped, so looping models can exceed 100%. † Trained on BRESSAY and evaluated on ground-truth line crops, so its line structure is correct by construction. For comparison, Escriba-OCR-1B: 2.06 / 5.9 / 23.6 / 67 / 97 / 0.
System
Source
CER (%)
WER (%)
LITIS
ICDAR 2024 competition
8.80
17.66
Demokritos
ICDAR 2024 competition
6.62
19.49
PERO (competition winner)
ICDAR 2024 competition
3.77
10.08
DAN
Coquenet [5]
2.43
7.85
Meta-DAN
Coquenet [5]
2.38
8.46
Faster DAN
Coquenet [5]
2.34
8.03
Table 6: The best published page-level results on the BRESSAY test set (199 pages), case-sensitive with edit markup and without a per-page cap. Competition results from Neto et al. [34] , with team names and the LITIS and Demokritos results from Vossos [43] ; DAN-family results are the main results of Coquenet [5] with the FCN-M encoder (an ablation setting of MT-DAN reaches 2.24% CER). Escriba’s CER ranges from 1.99% to 2.14% across the readings of the competition’s scoring that we computed (Section 7 ); the table gives the highest.
Language model + projector
Size
CER (%)
Image
Text
Time per page
Peak RAM
bf16, vLLM on A100 (reference)
2.0 GB
2.56
–
–
2.3 s
–
F16 + F16
2.0 GB
2.60
41 s
28 tok/s
69 s
3.6 GB
Q8_0 + Q8_0
1.1 GB
2.60
49 s
38 tok/s
70 s
2.9 GB
Q4_K_M + F16
1.2 GB
2.55
37 s
47 tok/s
55 s
3.0 GB
Q4_K_M + Q8_0
0.85 GB
2.54
48 s
45 tok/s
66 s
2.8 GB
Q4_K_M + Q4_K_M
0.66 GB
2.60
35 s
45 tok/s
53 s
2.7 GB
Table 7: GGUF variants in llama.cpp (commit b019be0 ) on one 4-vCPU VM (AMD EPYC Turin, 16 GB RAM), 30 random test pages processed one at a time with the prompt cache disabled. CER is the mean of capped page CER. Image is the median time to encode the page image (about 1,700 visual tokens), Text the median generation speed, and Time per page the median end-to-end latency; Peak RAM is the server’s peak resident memory over the 30 pages.
CER (%)
Character edits
System
CER
with case
w/o accents
w/o punct.
Subst.
Ins.
Del.
Escriba-OCR-1B
2.06
2.13
1.99
1.77
5,877
2,489
2,593
Qwen3-VL 235B-A22B
5.60
6.44
5.45
4.49
12,999
3,690
13,076
Qwen3.5 27B
8.01
8.40
7.90
6.61
15,636
6,276
13,464
LightOnOCR-3 4B
8.44
8.52
8.30
6.99
17,279
10,598
18,625
Qwen2.5-VL 72B
8.51
9.12
8.22
7.17
20,278
4,187
17,796
Table 8: Decomposition of test errors (all CER values capped per page). “w/o accents” and “w/o punct.” recompute CER after stripping diacritics or punctuation from both sides. Edit counts are summed over the 531k reference characters (case-insensitive). † Ground-truth line crops.
Figure 2: (a) Cumulative distribution of page CER on the test set. (b) Page CER of Escriba against that of its base model. Every point lies below the diagonal: fine-tuning improves every page.
Figure 3: (a) Output for the 496 test words that are absent from the pt-BR dictionary. (b) A teacher’s verdict on 89 judgeable cases where Escriba replaced such a word with a dictionary word.
Configuration (validation, 154 pages)
Examples
CER
Pres.
Ins. rec.
Base model, zero-shot
–
10.01
14.1
0
Decoder only, lr 1×10−5
2.4k
6.12
19.6
49
Decoder only, lr 3×10−5 (seed 0 / seed 1)
2.4k
4.70 / 5.33
21.5 / 20.7
57 / 53
Decoder only, lr 6×10−5
2.4k
4.44
21.7
57
Full model (vision at 0.1× lr), lr 3×10−5
2.4k
2.81
25.7
64
pages + paragraphs only (no line crops)
2.4k
3.39
25.4
63
Table 9: Screening on the validation split (CER capped per page, error preservation and insertion recall, %). Between decoder-only runs, seed-to-seed variation is about 0.6 CER points and evaluation variation about 0.5, so differences below about 1 point are inconclusive; full-model runs vary much less (test SD 0.02 over three seeds).
Figure 5: Validation CER (capped) as a function of (a) the number of training pages, with 8k examples and no augmentation, and (b, c) training examples with and without photo augmentation, on clean scans and on simulated phone photos.
BRESSAY
BFL (40 letters)
α
Val. CER
Test CER
Del. rec.
Lines
CER
Unseen words
0 (Escriba)
2.05
2.09
77.6
97.5
5.12
39.6
0.1
1.98
1.99
70.3
97.5
4.70
36.5
0.2 (selected)
1.99
2.00
61.4
93.5
4.46
34.6
0.3
2.16
2.11
50.6
93.0
4.34
33.2
0.4
2.39
2.42
37.8
85.9
4.20
31.4
Table 10: Interpolating Escriba’s weights with its base model’s (WiSE-FT, α is the base model’s share). CER is capped per page (%); Del. rec. is the recall of illegible deletions on the test set and Lines the share of test pages with the right number of lines; Unseen words is the share of BFL word tokens absent from the BRESSAY training transcriptions that are misread. All models use Escriba’s interface (image only, 1200 px), so the base-model row differs from the 1600 px results in the text, and BFL CER includes the comments that the models append (on 1 letter at α=0.7 and 36 at α=1 ). α was selected on the validation split only.
longer side resized to 1200 px (LANCZOS); maximum sequence 4,608 tokens
Appendix
Table 11: Training and inference configuration of Escriba-OCR-1B.
Figure 6: Training loss of Escriba-OCR-1B (raw and 10-step moving average). The final loss of about 0.005 shows that the model nearly memorises the 647 training pages; validation CER nevertheless keeps improving (Figure 5 ).
Metric (test, %)
Seed 0 (released)
Seed 1
Seed 2
Mean ± SD
CER
2.06
2.05
2.03
2.05±0.02
CER case
2.13
2.11
2.10
2.11±0.02
CER text
1.63
1.67
1.63
1.64±0.02
WER
5.88
5.83
5.83
5.85±0.03
Error preservation
23.6
26.2
25.0
24.9±1.3
Invented errors
1.40
1.37
1.33
1.37±0.04
Appendix
Table 12: Three training seeds of the final configuration on the BRESSAY test set. Only the random seed changes between runs; it controls the sampling of pages, paragraphs and lines, their order and the augmentation. The released model is seed 0.
Automated understanding of handwritten Arabic student essays remains challenging due to script complexity and high variability in children's writing. We introduce ArEssays, a large-scale dataset of authentic essays from primary to secondary students across Egypt, with both verbatim transcriptions and linguistically corrected versions. We benchmark 34 vision-language and OCR models, including fine-tuned systems, and find large performance gaps on real student handwriting. We release the dataset, training pipelines, and results to support research in Arabic OCR, document understanding, and educational NLP.
Hamdy Mubarak, Anas Madkoor, Ehsaneddin Asgari +1
Qatar Computing Research Institute, Hamad Bin Khalifa University, Doha, Qatar
Handwritten Urdu is hard to recognize because the cursive Nastaliq script has no fixed baseline and no clear character boundaries. We benchmark six systems on the Urdu Nastaliq Handwritten Dataset (UNHD): Tesseract (default configuration), a script-specific recognizer trained on printed Urdu (UTRNet-Large), two open-source vision-language models (VLMs), and two commercial VLMs. All six systems are evaluated without fine-tuning on 2,465 single-line images (Part A), and the four VLMs receive the same fixed prompt (decoding uses temperature 0 where configurable, except for Claude Sonnet 5, whose decoding cannot be configured). Both commercial VLMs reach lower error than the printed-Urdu recognizer and the open-source VLMs. We do not compare against handwriting-trained recognizers, which would likely do better in-domain; we characterize zero-shot behavior, not state of the art. We also describe three distinct failure modes among the ranked systems. In one of them, a commercial model explicitly declines to transcribe a few very hard-to-read images instead of guessing. In a second study (Part B), VLMs correct the output of a separate OCR system using both the source image and the noisy text. Once separated from each model's own reading ability, the benefit is small on Tesseract's output (0.7% to 7.4%) and larger (17.9% and 21.9%) only for the two commercial correctors given UTRNet's text. It appears to depend on how legible the supplied text already is, and a weaker corrector can make a more legible text worse.
Haseeb Yaqoob, Fatima Azfar, Emaan Arif Khan
Department of Computer Science NED University of Engineering & Technology Karachi, Pakistan
Multimodal large language models (MLLMs) are increasingly used as OCR systems in document and knowledge-processing pipelines, but their ability to faithfully read real handwriting remains underexplored. Existing OCR benchmarks focus largely on printed text or clean single-line inputs, leaving limited coverage of realistic handwritten OCR scenarios such as multilingual handwriting, writer errors, and structurally complex mathematical expressions. We introduce OmniHandwritingOCR, a diagnostic benchmark for evaluating MLLMs and OCR systems on handwritten OCR. It covers handwritten text recognition and handwritten mathematical expression recognition across six subtasks and twelve subsets, totaling 77.57K labeled images from public datasets and newly collected student writings. A key component is a difficulty-stratified multi-line formula corpus designed to test robustness under increasing structural complexity. We evaluate thirteen open- and closed-source systems with five complementary metrics under a unified protocol. Results show that current systems remain far from faithful transcription: performance drops sharply on complex multi-line formulas, model rankings vary across language and formula settings, and several generative models hallucinate plausible but visually unsupported corrections. OmniHandwritingOCR provides a challenging testbed for diagnosing language, content, structural, and visual-grounding failure modes of multimodal models in handwritten OCR scenarios.