Verdict
rl_v3 reads Arabic text better and loops much less, and keeps the base's English and Chinese performance. Arabic tables got worse.
- Arabic text: about 10 % fewer character errors on KITAB-Bench (22.0 % → 19.9 %). The largest gains are on the hardest material: historical handwriting 55.1 % → 45.9 %, literature 48.6 % → 40.9 %.
- Arabic documents (MDPBench): 93.3 → 95.0.
- Looping: runaway readings that hit the token limit fell on every benchmark (MDPBench 152 → 113, KITAB 12 → 2).
- No forgetting: OmniDocBench is a tie (96.72 vs 96.64), olmOCR-bench is slightly better (71.6 → 72.5), and no MDPBench language got significantly worse.
- Regression: Arabic tables fall from 85.9 to 75.8 TEDS, because rl_v3 often writes table columns in mirrored order. This also lowers KITAB PDF → Markdown (83.7 → 75.6).
Next step: normalise the column order of the Arabic tables in the training data, retrain, and confirm on the held-out test set.
1. Simple table
Higher is better, except CER (lower is better).
Table with columns: Benchmark, Metric, Base, rl_v3, Change| Benchmark | Metric | Base | rl_v3 | Change |
|---|
| MDPBench (17 languages) | overall | 88.7 | 89.0 | +0.3 |
| MDPBench, Arabic | overall | 93.3 | 95.0 | +1.7 |
| OmniDocBench v1.6 | overall | 96.72 | 96.64 | −0.08 |
| olmOCR-bench | pass rate | 71.6 | 72.5 | +0.9 |
| KITAB-Bench, Arabic text | CER ↓ | 22.0 % | 19.9 % | −9.7 % relative |
| KITAB-Bench, Arabic tables | TEDS | 85.9 | 75.8 | −10.1 |
| KITAB-Bench, Arabic PDF → Markdown | MARS | 83.7 | 75.6 | −8.1 |
2. Paper-style tables
Same layout as the OvisOCR3 report: one row per model, arrows give the direction of each metric, and bold marks the better of our two runs. "OvisOCR3 (published)" is the model card / leaderboard value. "OvisOCR3 (ours)" is the same base model run with our pipeline, and it reproduces the published numbers. † = significant after Holm–Bonferroni correction over the pre-registered endpoints (p < 0.05). ‡ = significant in an analysis chosen after the runs (p < 0.05).
2.1 Overview
Table with columns: Model, OmniDocBench1.6 ↑, MDPBench ↑, olmOCR-bench ↑, KITAB OCR CER ↓, KITAB Tables TEDS ↑, KITAB PDF→MD MARS ↑| Model | OmniDocBench1.6 ↑ | MDPBench ↑ | olmOCR-bench ↑ | KITAB OCR CER ↓ | KITAB Tables TEDS ↑ | KITAB PDF→MD MARS ↑ |
|---|
| OvisOCR3 (published) | 96.74 | 88.80 | – | – | – | – |
| OvisOCR3 (ours) | 96.72 | 88.65 | 71.6 | 22.01 | 85.9 | 83.7 |
| OvisOCR3-Arabic rl_v3 | 96.64 | 89.02 | 72.5 | 19.87 ‡ | 75.8 | 75.6 † |
2.2 MDPBench (2,720 pages, public split)
Official scorer, formulas scored with CDM, primary reading. Per-language values are not published for the base model.
Table with columns: Model, DE, EN, ES, FR, ID, IT, NL, PT, VI, Latin Avg, AR, HI, JP, KO, RU, TH, ZH, ZH-T, Non-Latin Avg, Overall, Digital, Photo| Model | DE | EN | ES | FR | ID | IT | NL | PT | VI | Latin Avg | AR | HI | JP | KO | RU | TH | ZH | ZH-T | Non-Latin Avg | Overall | Digital | Photo |
|---|
| OvisOCR3 (published) | – | – | – | – | – | – | – | – | – | 89.5 | – | – | – | – | – | – | – | – | 88.0 | 88.8 | 93.0 | 87.4 |
| OvisOCR3 (ours) | 90.0 | 92.7 | 86.3 | 78.1 | 87.3 | 94.1 | 91.1 | 91.7 | 90.1 | 89.0 | 93.3 | 89.1 | 79.3 | 93.8 | 89.1 | 86.6 | 92.8 | 81.7 | 88.2 | 88.7 | 92.7 | 87.4 |
| rl_v3 | 90.6 | 93.4 | 87.2 | 78.7 | 88.1 | 93.9 | 91.1 | 91.0 | 91.1 | 89.5 | 95.0 | 91.0 | 78.4 | 94.3 | 88.0 | 86.7 | 93.1 | 81.6 | 88.5 | 89.0 | 92.7 | 87.8 |
Table with columns: Model, Text ↑, Tables ↑, Formulas (CDM) ↑, Reading order ↑| Model | Text ↑ | Tables ↑ | Formulas (CDM) ↑ | Reading order ↑ |
|---|
| OvisOCR3 (ours) | 90.7 | 69.3 | 90.3 | 88.5 |
| rl_v3 | 91.0 | 71.0 | 89.6 | 88.6 |
Verdict: better in 11 of 17 languages and equal in one, with the largest gains in Arabic (+1.7) and Hindi (+1.9). Italian, Portuguese, Japanese, Russian and Traditional Chinese are slightly lower, but none significantly.
2.3 OmniDocBench v1.6 (1,651 pages, Chinese and English)
Official scorer (overall = mean of text 1 − edit, formula CDM and table TEDS), mean of two readings.
Table with columns: Model, Overall ↑, Text Edit ↓, Formula CDM ↑, Table TEDS ↑, Table TEDS-S ↑, Read Order Edit ↓| Model | Overall ↑ | Text Edit ↓ | Formula CDM ↑ | Table TEDS ↑ | Table TEDS-S ↑ | Read Order Edit ↓ |
|---|
| OvisOCR3 (published) | 96.74 | – | – | – | – | – |
| OvisOCR3 (ours) | 96.72 | 0.027 | 97.80 | 95.06 | 97.38 | 0.1145 |
| rl_v3 | 96.64 | 0.028 | 97.63 | 95.09 | 97.41 | 0.1146 |
Table with columns: Model, Slides, Academic papers, Books, Textbooks, Exam papers, Notes, English, Chinese, Mixed EN–ZH| Model | Slides | Academic papers | Books | Textbooks | Exam papers | Notes | English | Chinese | Mixed EN–ZH |
|---|
| OvisOCR3 (ours) | 97.89 | 96.23 | 96.86 | 97.11 | 97.82 | 88.52 | 96.53 | 96.19 | 96.35 |
| rl_v3 | 97.75 | 96.30 | 96.48 | 97.16 | 97.72 | 89.02 | 96.42 | 95.95 | 96.87 |
Verdict: a tie (−0.07, 95 % CI [−0.23, +0.09]). No forgetting on English and Chinese documents.
2.4 olmOCR-bench (1,403 PDFs, 8,413 unit tests)
Official unit tests, mean of two readings.
Table with columns: Model, ArXiv, Old Scans Math, Tables, Old Scans, Headers & Footers, Multi Column, Long Tiny Text, Base, Overall| Model | ArXiv | Old Scans Math | Tables | Old Scans | Headers & Footers | Multi Column | Long Tiny Text | Base | Overall |
|---|
| OvisOCR3 (ours) | 90.3 | 74.8 | 87.0 | 34.9 | 17.4 | 86.2 | 82.4 | 99.7 | 71.6 |
| rl_v3 | 90.2 | 79.6 | 88.8 | 34.9 | 16.9 | 86.3 | 83.4 | 99.8 | 72.5 |
Verdict: slightly better (+0.9, 95 % CI [+0.04, +2.16]), with the clearest gains on old math scans (+4.8) and tables (+1.8).
2.5 KITAB-Bench (Arabic)
Text recognition: CER ↓ per dataset, under KITAB's own 500-token output limit, mean of two readings.
Table with columns: Model, PATS, ArabicOCR, ISI-PPT, Hindawi, SynthesizeAr, EvArEST, KHATT para., Online-KHATT, KHATT, Hist. books, HistoryAr, Adab, Muharaf, Avg| Model | PATS | ArabicOCR | ISI-PPT | Hindawi | SynthesizeAr | EvArEST | KHATT para. | Online-KHATT | KHATT | Hist. books | HistoryAr | Adab | Muharaf | Avg |
|---|
| OvisOCR3 (ours) | 2.0 | 1.0 | 3.9 | 10.8 | 9.8 | 18.0 | 21.3 | 23.7 | 25.5 | 32.9 | 33.6 | 48.6 | 55.1 | 22.0 |
| rl_v3 | 1.9 | 1.0 | 3.8 | 9.4 | 6.3 | 17.4 | 20.3 | 23.5 | 25.0 | 32.9 | 30.0 | 40.9 | 45.9 | 19.9 ‡ |
Tables: TEDS ↑ per domain.
Table with columns: Model, Financial, Medical, Scientific, Social, Sports, Weather, World, Coloured cells, Coloured columns, Coloured header, Coloured rows, Highlighted, Merged cells, Avg| Model | Financial | Medical | Scientific | Social | Sports | Weather | World | Coloured cells | Coloured columns | Coloured header | Coloured rows | Highlighted | Merged cells | Avg |
|---|
| OvisOCR3 (ours) | 86.6 | 86.9 | 88.4 | 86.0 | 88.0 | 83.3 | 88.5 | 84.8 | 90.7 | 77.4 | 88.4 | 91.9 | 75.1 | 85.9 |
| rl_v3 | 70.0 | 74.0 | 80.9 | 74.2 | 75.9 | 78.0 | 75.0 | 69.5 | 80.1 | 78.0 | 72.3 | 82.6 | 72.9 | 75.8 |
PDF → Markdown: MARS ↑ (33 PDFs).
Table with columns: Model, Text, Tables, MARS| Model | Text | Tables | MARS |
|---|
| OvisOCR3 (ours) | 81.7 | 85.7 | 83.7 |
| rl_v3 | 81.6 | 69.7 | 75.6 † |
Verdict: text reading is better (about 10 % fewer errors, with the largest gains on historical and handwritten pages). Tables and PDF → Markdown are worse. On 47–49 % of tables, rl_v3 writes the columns in mirrored order (base: 13–15 %), and orientation explains roughly 57–69 % of the PDF → Markdown gap.
3. Failures of rl_v3
Every failure is in benchmarks/<benchmark>/failures.jsonl. Each record includes the item ID, the reason it failed, the scores of both models in both readings, rl_v3's reading, the base's reading and the reference. "Failure" means one of the following for rl_v3 (mean of its two readings): a score below 0.70 (KITAB text: CER above 0.30; PDF → Markdown: chrF below 70), the 16,384-token limit was hit, or the reading loops. These thresholds were chosen for this collection and are not part of any benchmark's definition.
Table with columns: Benchmark, Items, Failures, Share, rl_v3 clearly worse than base (≥ 0.10)| Benchmark | Items | Failures | Share | rl_v3 clearly worse than base (≥ 0.10) |
|---|
| MDPBench | 2,720 pages | 454 | 16.7 % | 55 |
| OmniDocBench v1.6 | 1,651 pages | 343 | 20.8 % | 15 |
| olmOCR-bench | 8,413 tests | 1,678 | 19.9 % | 28 |
| KITAB text | 3,760 lines | 765 | 20.3 % | 91 |
| KITAB tables | 456 tables | 139 | 30.5 % | 102 |
| KITAB PDF → Markdown | 33 PDFs | 14 | 42.4 % | 6 |
Most failures are hard for both models. The items where rl_v3 is clearly worse than the base are mostly KITAB tables, which is the mirrored-column problem. Breakdowns by language, element, group and subset are in benchmarks/failures_summary.json.
4. How the benchmarks were run
- Inference: the base model card's settings. vLLM 0.22.1, bf16, greedy decoding, images 448²–2880² px, up to 16,384 new tokens, the card's prompts and Markdown post-processing.
- Scoring: each benchmark's official scorer. MDPBench and OmniDocBench use CDM for formulas.
- Readings: two per model, because vLLM greedy decoding is not bit-reproducible.
- Statistics: paired cluster bootstrap (10,000 draws), Holm correction over the pre-registered endpoints.
- Reproduction check: our base runs reproduce the published numbers (MDPBench 88.7 vs 88.8, OmniDocBench 96.72 vs 96.74).
- Leakage check: no benchmark page or text was used for training. We checked by ID, SHA-256, perceptual image hash and 30-gram text overlap in both directions.
5. Training data
rl_v3 was trained on 9,576 pages in stage 1 and 1,200 pages in the RL stage, from four datasets:
Taifalmezani/L_R_OCR: real Arabic book pages.
FaisalHejary/synth_OCR: synthetic pages.
lubna888/synth-ocr-augmented: augmented synthetic pages.
ahmedheakl/docatlas_instruct: real documents in 16 other languages.
6,261 gold pages teach Arabic. The other 3,315 are self-generated replay: pages in other languages, labelled by the base model itself and trained only with KL to the base, so the model does not forget. The idea comes from arXiv 2605.26097, "Forgetting in Language Models: Capacity, Optimization, and Self-Generated Replay". DATA_MIX.md lists every source with its revision and counts, and explains how replay was used and why.
The training data itself is in train_data/. It holds every page image and label exactly as trained, as parquet: stage1 (9,576 pages) and rl (1,200 pages).
6. Files
Table with columns: Path, Contents| Path | Contents |
|---|
model.safetensors + config, tokenizer, processor, prompts/ | rl_v3, bf16: the evaluated model (SHA-256 0725b850…) |
fp32/ | rl_v3 fp32 master (SHA-256 b7e47de1…) |
BASE_MODEL_CARD.md, LICENSE, assets/ | the base model card and its Apache-2.0 licence |
benchmarks/<benchmark>/failures.jsonl | every rl_v3 failure, with readings and reference |
benchmarks/<benchmark>/per_item_scores.csv | every item: both models, both readings, cap and loop flags |
benchmarks/<benchmark>/readings/ | all raw readings of both models |
benchmarks/failures_summary.json | failure counts and breakdowns |
reports/ | full reports: methods, pre-registration, statistics, every number |
build_failures.py | the script that built benchmarks/ |
7. Use
Use it exactly like the base model, with the same prompts (prompts/), chat template and vLLM 0.22.1. Swap in this repository's ID in place of the base model's. Code examples are in BASE_MODEL_CARD.md.
8. Limitations
- Arabic tables regress (mirrored column order); this model does not fix it.
- The KITAB text gain was measured under KITAB's own 500-token limit, in an analysis chosen after the runs (p = 0.003). The pre-registered test at 16,384 tokens was not significant, because a few runaway lines dominate it.
- The Arabic MDPBench pages were among those whose errors were studied during development. KITAB, which was not used in development, is the independent check for Arabic.
- The held-out synthetic test set (1,620 pages) has not been run on rl_v3 yet.