Hugging Face Papers ↗ · 2026-11-24
VenusOCR2.0: Towards Efficient and Effective Document Parsing
Media reports Hugging Face Papers Source language: Chinese
Tencent's VenusOCR 2.0, a 1B-parameter VL recognizer with PTPv2 parallel decoding, achieves ~3× speedup and state-of-the-art scores on OmniDocBench, surpassing large…
Full text
VenusOCR 2.0: Towards Efficient and Effective Document Parsing
Lei Li†, Zheng Wei, Yi Yuan, Qingbin Liu‡, Jiang Bian, Zang Li Affiliation: VenusOCR Team, Tencent Inc.
Abstract
We present VenusOCR 2.0, a compact 1B-parameter vision-language recognizer designed for both high-accuracy and high-throughput document parsing across text, tables, and formulas. To continuously improve recognition quality without self-training collapse, we build a bounded recursive self-improvement (RSI) data engine where the model acts strictly as a weakness probe, while external multi-expert medoid consensus, VLM visual verification, and factorized synthesis supply reliable supervision across pretraining, curated SFT, and RLVR. VenusOCR 2.0 couples a dynamic-resolution SigLIP2 encoder and 2×22\times 2 spatial token merging with a Qwen3-0.6B decoder, adopting compact atomic OTSL tokens to shorten table sequences and reduce structural errors. To further eliminate the autoregressive decoding bottleneck, we introduce PTPv2, a lightweight (∼\sim67M) decoupled parallel draft module that combines frozen multi-layer verifier conditioning, a standalone learned mask, and block-causal all-position next-token prediction. On OmniDocBench v1.6, VenusOCR 2.0 achieves an overall score of 96.45 and a state-of-the-art 98.57 formula CDM—substantially outperforming massive general-purpose VLMs such as Gemini 3 Pro (92.91) and Qwen3-VL-235B (89.78). Deployed in vLLM on a single H20 GPU, PTPv2 delivers a 2.96×2.96\times single-request speedup and up to 2.36×2.36\times higher batched throughput while guaranteeing lossless, token-for-token equivalence with standard autoregressive decoding.
22footnotetext: Project leader.33footnotetext: Corresponding author.
Figure 1: Overview of VenusOCR 2.0. (a) OmniDocBench v1.6 overall accuracy against specialized OCR models and general VLMs (default: PP-DocLayoutV3; ∗*: paired with Tele-layout). (b) Lossless PTPv2 decoding speedups over autoregressive serving on a single H20 GPU across single-request latency and batched throughput. (c–e) Category scores on text, formula, and table recognition.
Contents
1 Introduction
Document parsing converts PDFs, scans, and camera-captured pages into structured formats for retrieval-augmented generation, automated workflows, and agentic tasks [69; 51; 54; 81; 82]. Unlike plain text OCR, faithful parsing requires accuracy across complex layout structures, nested mathematical expressions, and spanning table topology, where dropping a single minus sign, brace, or column boundary breaks downstream semantics. Vision-language models (VLMs) have largely replaced brittle rule-based OCR pipelines, evolving along both layout-decoupled architectures [49; 40; 18; 86] and end-to-end formulations [71; 62; 39; 17]. Yet building a compact (∼\sim1B) parser that matches frontier general VLMs while serving at high throughput remains challenging in terms of both usability and practicality.
First, naive data scaling or self-training quickly hits diminishing returns in compact models. Parsing errors typically come from missing coverage of rare layouts and degradations, noisy labels in public datasets or pseudo-labels, and complex structural targets that token-level cross-entropy only weakly captures. Recent curation pipelines use multi-model agreement [85; 67], targeted region refinement [86; 9], and agent-assisted data flows [35]. However, treating every high-loss or model-disagreed sample as a useful hard example conflates label noise with model weakness, and naive augmentation often duplicates existing failure patterns instead of varying the underlying structural or visual factors. Second, a compact backbone alone does not eliminate autoregressive (AR) decoding latency. High-resolution crops expand visual token counts, and complex tables or multi-line formulas generate long structured outputs one token at a time [33; 37; 79]. To improve the throughput of document parsing models, we previously proposed the Parallel Token Prediction (PTP) method [37]. However, it still executes proposal steps through the full target backbone, incurring non-negligible latency. Recently, decoupled block-diffusion drafting methods, such as DFlash [7; 35], have offloaded drafting to a shallow side network. While this significantly accelerates speculative decoding, it remains ill-suited for direct application in document parsing. This is because its anchor-skipping layout reserves an unused slot, reuses frozen vocabulary embeddings as masks, and relies on bidirectional block attention.
To address these issues, we release VenusOCR 2.0, a 1B-parameter vision-language recognizer for text, tables, and formulas within a layout-guided parsing pipeline. On the data side (Section 3), we build a bounded recursive self-improvement (RSI) data engine in which the current recognizer acts strictly as a weakness probe rather than a label source. External 4–7 expert medoid consensus under task-matched metrics (NED [32], TEDS [90], CDM [68]), 27B VLM visual verification, and factorized Content×Style×Degradation\mathrm{Content}\times\mathrm{Style}\times\mathrm{Degradation} synthesis provide verified targets across modality alignment, pretraining, curated SFT, and metric-aware RL. On the model side (Section 4), our VenusOCR 2.0 model pairs a dynamic-resolution SigLIP2-style encoder [15; 64] and a 2×22\times 2 spatial merger with a Qwen3-0.6B decoder [78] using M-RoPE and atomic OTSL table serialization [46]. After SFT, Stage 4 optimizes task metrics directly via RL with soft penalties for malformed outputs. For fast inference without modifying verifier weights or output distributions, we introduce PTPv2: a shallow 4-layer (∼\sim67M) draft conditioned on frozen multi-layer verifier features that replaces anchor-skipping vocabulary masks with a standalone learned mask vector emaske_{\mathrm{mask}}, applies fixed-anchor block-causal attention (W=2048W=2048), and supervises every query slot under D-PACE prefix-weighted loss (BB queries for BB proposals).
On OmniDocBench v1.6 [51; 67], VenusOCR 2.0 improves steadily from 94.96 overall after pretraining (Stage 2) to 95.69 after curated SFT and 96.24 after metric RL. When paired with Tele-layout, it achieves an overall score of 96.45 and a formula CDM of 98.57, substantially outperforming much larger general VLMs—such as Gemini 3 Pro (92.91) [24] and Qwen3-VL-235B (89.78) [4]—while matching top-tier specialized parsers. In terms of efficiency, our 5-proposal PTPv2 draft attains 91.91% offline teacher agreement, delivers a 2.96×2.96\times single-request latency speedup and a 2.95×2.95\times wall-clock throughput speedup (3.78×3.78\times on formulas and 3.36×3.36\times on tables) along with 1.391.39–2.36×2.36\times throughput gains across concurrency 4–32, and preserves 100% token-for-token equivalence with AR decoding on all non-truncated requests.
Our main contributions are as follows:
•
Bounded RSI Data Engine: We separate weakness probing (ℳt\mathcal{M}_{t}) from label generation via 4–7 expert medoid consensus, VLM render verification, and Content×Style×Degradation\mathrm{Content}\times\mathrm{Style}\times\mathrm{Degradation} synthesis across pretraining, SFT, and metric RL.
•
Compact 1B Recognizer: We design a lightweight vision-language architecture coupling a dynamic-resolution SigLIP2 and Qwen3-0.6B backbone with 2×22\times 2 spatial token merging, M-RoPE, and atomic OTSL table serialization. Through stage-by-stage training, it outperforms massive general VLMs (e.g., 235B) while rivaling leading specialized parsers.
•
PTPv2 Parallel Drafting: We introduce a ∼\sim67M decoupled draft combining multi-layer verifier feature conditioning, a standalone learned mask, fixed-anchor block-causal attention, and all-position next-token supervision with exact AR equivalence.
2 Related Work
Document Parsing.
Document parsing has evolved from traditional multi-stage OCR pipelines and early OCR-free transformers [29; 5; 82] to specialized VLMs [71; 41], broadly categorized into layout-decoupled systems [87; 69; 49; 67; 40; 18; 12; 86] and unified end-to-end models [54; 47; 48; 62; 39; 72; 73; 92]. Across both paradigms, compact 0.8B–4B specialists [17; 45; 6; 75; 8] frequently outperform much larger general VLMs [4; 24; 63; 44; 70]. Achieving such high accuracy in compact document VLMs depends heavily on corpus diversity, label quality [67; 86; 35; 9], and advanced post-training. Recent data pipelines combine multi-model agreement [85; 67; 9], automated VLM diagnostics [83], agentic data workflows [35], and realistic degradation synthesis [25; 34]. On the optimization side, verifiable reinforcement learning [58; 80] with structural and format-decoupled rewards [54; 55; 65; 91; 67; 86] closes structural gaps remaining after SFT on OCR benchmarks [19; 51]. VenusOCR 2.0 builds on these ideas by separating label uncertainty from model difficulty via task-matched medoid consensus, targeting structural gaps with factorized synthesis, and directly optimizing NED, TEDS, and CDM in Stage 4 RL.
Efficient Inference and Parallel Decoding.
Despite the compactness of specialized document VLMs, parsing dense pages still incurs high latency due to lengthy visual inputs and autoregressive (AR) generation. Recent methods lower per-step cost through visual token and KV-cache compression [15; 64; 72; 13; 61; 79] or compact representations like atomic table serialization [46]. Orthogonal to token compression, speculative and parallel decoding [33; 22; 3]—including OCR multi-token prediction, hierarchical drafting, diffusion OCR, and DFlash [37; 77; 42; 28; 7; 35]—cuts sequential AR steps directly. PTPv2 bridges PTP’s all-position next-token contract [37] with DFlash’s shallow feature-conditioned draft [7], eliminating anchor-skipping slots for clean deployment in vLLM [30; 14].
3 Recursive Self-Improvement Data Engine
Scaling a compact (1B) document recognizer by simply adding more data quickly yields diminishing returns and amplifies label noise, while naive self-training reinforces a student model’s own mistakes. VenusOCR 2.0 introduces a bounded recursive self-improvement (RSI) data engine (Figure 2). Across training stages, the current model ℳt\mathcal{M}_{t} serves strictly as a diagnostic probe to expose residual errors, decoding collapses, and coverage gaps—never as a direct source of pseudo-labels. Driven by these diagnostics, the engine co-evolves both the recognizer weights and its own data-production harness (synthesis recipes, diagnostic playbooks, routing policies, and curriculum mixtures), while grounding every target in external multi-expert consensus, VLM visual verification, and pre-degradation synthesis. Specifically, our pipeline integrates corpus curation (§3.1), consensus verification (§3.2), targeted weakness mining (§3.3), closed-loop orchestration (§3.4), and a stage-aligned curriculum (§3.5).

Figure 2: Bounded recursive self-improvement (RSI) data engine. Corpus curation (A) and multi-expert consensus (B) supply non-circular supervision (source≠ℳt\mathrm{source}\neq\mathcal{M}_{t}), while the four-step RSI cycle (C) iteratively probes model weaknesses, updates the data harness ℋt\mathcal{H}_{t}, synthesizes and filters training pools, and gates model commits on held-out validation.
3.1 Corpus Curation and Deduplication
Figure 3: Training corpus composition and curriculum mixture. (a) Taxonomy of pretraining data sources grouped into four functional pillars and ten categories. (b–d) Task-level sample distribution across the alignment, pretraining, and curated SFT stages.
To prevent iterative mining from cycling over repeated document templates, we consolidate 97 sub-datasets across ten source categories into a unified schema. The corpus covers real PDFs [54; 27; 53; 36], cropped tables [59; 89; 10], formulas [66; 21], printed and handwritten text OCR [43; 31; 38], general vision-language pairs [74; 84; 57; 26; 20], diverse scenes such as receipts, slides, posters, screenshots, and newspapers [52], and targeted synthetic data (Figure 3a). We apply a three-stage deduplication and filtering pipeline: (1) physical filtering removes corrupted PDFs and crops with extreme aspect ratios; (2) perceptual hashing (intra-document pHash, multi-table LSH pHash, and MinHash LSH over full PDFs, crops, and layout-detected blocks [60]) remove or downsample repeated templates; and (3) cluster-based filtering, which leverages CLIP and DINO embeddings [56; 50] indexed via FAISS IVF-Flat, applies hierarchical kk-means farthest-point sampling to prune semantic near-duplicates.
3.2 Task-Aware Consensus and Verification
To address the lack of ground truth in unlabeled documents and the persistent noise in public datasets, we distill reliable supervision from an ensemble of external OCR experts. We start with a base pool of four experts (GLM, Hunyuan, MinerU, and Paddle [17; 62; 49; 12]) to establish initial consensus labels, and expand to seven (incorporating dots.mocr, FireRed-OCR, and Qianfan [88; 75; 16]) for targeted relabeling of ambiguous cases [85]. Before aggregation, candidate outputs undergo strict syntax validation—such as LaTeX tokenization for formulas and DOM parsing for tables—to filter out malformed generations, severe repetitions, and execution timeouts. Given a set of valid candidates 𝒱(x)\mathcal{V}(x) (|𝒱|≥2|\mathcal{V}|\geq 2), we identify the consensus y∗y^{*} as the medoid under a task-matched disagreement metric dtd_{t} [32; 90; 68]:
y∗\displaystyle y^{*} =yargmini∈𝒱Di,Di=1|𝒱|−1∑j∈𝒱,j≠idt(yi,yj),\displaystyle=y_{\arg\min_{i\in\mathcal{V}}D_{i}},\qquad D_{i}=\frac{1}{|\mathcal{V}|-1}\sum_{j\in\mathcal{V},\,j\neq i}d_{t}(y_{i},y_{j}), (1)
dt(a,b)\displaystyle d_{t}(a,b) ={NED(a,b),t=text,1−TEDS(a,b),t=table,1−CDM(a,b),t=formula,diff(x)=0.5(1−c)+0.3δmax+0.2rinv,\displaystyle=\begin{cases}\operatorname{NED}(a,b),&t=\mathrm{text},\\ 1-\operatorname{TEDS}(a,b),&t=\mathrm{table},\\ 1-\operatorname{CDM}(a,b),&t=\mathrm{formula},\end{cases}\;\;\;\mathrm{diff}(x)=0.5(1{-}c)+0.3\,\delta_{\max}+0.2\,r_{\mathrm{inv}}, (2)
where c=1−Dy∗c=1-D_{y^{*}}, δmax=maxi,j∈𝒱dt(yi,yj)\delta_{\max}=\max_{i,j\in\mathcal{V}}d_{t}(y_{i},y_{j}), and rinvr_{\mathrm{inv}} is the weighted invalid ratio. To stratify data quality, we compute a composite difficulty score diff(x)\mathrm{diff}(x), which integrates the overall consensus level (1−Dy∗1-D_{y^{*}}), the maximum pairwise disagreement among experts, and the proportion of invalid outputs. This metric allows us to partition the dataset into easy, medium, hard, and noisy tiers. For the expanded 7-expert pool, we apply an outlier pruning step: experts that significantly underperform the peer consensus are dropped before recomputing the difficulty score, which helps recover valid hard samples from false noise. Subsequently, an automated visual verification stage renders the candidate texts, formulas, and tables alongside the source image crops, utilizing a specialized multimodal judge [83] to distinguish between genuine annotation errors and degraded inputs. Finally, for extreme edge cases that exhibit severe expert disagreement, we employ a general-purpose VLM as a fallback arbiter to either re-annotate or discard the samples. In practice, we find that such low-consensus instances primarily stem from fundamental defects in the source images, such as severe blur or incomplete cropping.
3.3 Weakness Mining and Factorized Synthesis
To steer data collection toward genuine model weaknesses, the target model ℳt\mathcal{M}_{t} periodically performs inference across both real and synthetic data pools. We identify systematic blind spots by jointly monitoring prediction residuals, dataset-level loss trends, generation degeneracies (e.g., severe repetition), and reinforcement learning reward signals (Figure 2, bottom).
Reliability-conditioned routing.
Rather than treating all high-loss examples equally, we cross-reference ℳt\mathcal{M}_{t}’s failures against the multi-expert consensus established earlier. A sample is routed directly for model refinement only if ℳt\mathcal{M}_{t} fails despite strong agreement among the external experts, split between valid low-similarity cases (to improve accuracy) and repetition or syntax collapses (to stabilize output structure). Conversely, when a sample lacks a reliable external consensus, it is diverted back to our annotation pipeline for expanded relabeling, visual inspection, or outright exclusion.
Agent-assisted diagnosis and factorized synthesis.
For systematic coverage gaps such as dense spanning tables, nested formulas, or degraded scans, an agent-assisted workflow turns failure diagnostics into synthesis specification. Specifically, the agent extracts structural descriptors (e.g., cell span patterns, inline math density, and formatting conventions) from failure seeds to guide syntax-checked LLM synthesis. Generated content feeds into a factorized rendering pipeline that decouples semantic content cc, visual style ss, and degradation δ\delta [25; 34]:
x=Degradeδ(Render(c,s)),y=Serializet(c).x=\operatorname{Degrade}_{\delta}\!\left(\operatorname{Render}(c,s)\right),\qquad y=\operatorname{Serialize}_{t}(c). (3)
For table synthesis, we pair real structural skeletons with diverse cell contents and visual themes. A headless browser engine renders these into clean images strictly aligned with the ground-truth targets yy, before applying realistic visual degradations under strict legibility and layout constraints. As this synthesis pipeline focuses on localized, element-level crops, broader page-level layout understanding and reading order are learned from real documents paired with external layout detectors.
3.4 Closed-Loop Orchestration: Automating the Bounded RSI Cycle
While Sections 3.1–3.3 describe the individual modules for deduplication, external consensus, and factorized synthesis, a static one-off pipeline only yields a single improvement pass. True recursive self-improvement (RSI) requires not only that the recognizer ℳt\mathcal{M}_{t} improves, but that the system’s capability to improve itself—its data-production harness ℋt\mathcal{H}_{t}—also becomes sharper across cycles. To achieve this without sacrificing label integrity, VenusOCR 2.0 orchestrates Sections 3.1–3.3 as a co-evolving harness-and-model loop across iterations t=0,1,…,Tt=0,1,\dots,T (Figure 2). Concretely, each cycle jointly upgrades the data-engine harness ℋt\mathcal{H}_{t} (how failures are diagnosed, routed, and synthesized) and the recognizer weights ℳt\mathcal{M}_{t} (how documents are parsed), while keeping recursion strictly bounded by an independent verification boundary: neither ℳt\mathcal{M}_{t} nor the harness-editing agent grades its own outputs, and all targets come solely from external multi-expert consensus, render-based VLM checks, or programmatic ground truth (source≠ℳt\mathrm{source}\neq\mathcal{M}_{t}).
Each automated iteration runs a continuous explore–propose–verify–commit cycle in four steps:
1.
Failure exploration and triage. The orchestrator runs ℳt\mathcal{M}_{t} over designated probing slices and curated corpus shards, then cross-references prediction residuals against external consensus confidence. This separates genuine model capability gaps (high expert agreement, weak ℳt\mathcal{M}_{t} prediction) from annotation ambiguity (high expert disagreement), sending ambiguous items back to expanded 7-expert relabeling and VLM inspection rather than mistaking label noise for hard examples.
2.
Harness mutation and skill accumulation (ℋt→ℋ^t+1\mathcal{H}_{t}\rightarrow\widehat{\mathcal{H}}_{t+1}). Rather than merely re-weighting a fixed dataset, a diagnostic agent clusters confirmed model-gap cases by failure mode, compares them against corpus statistics, and directly upgrades the data-engine harness ℋt\mathcal{H}_{t}. Specifically, it mutates synthesis recipes and configs (enriching table skeletons, expanding rare LaTeX macro grammars, and adjusting blur, skew, and lighting degradation profiles in Equation 3), refines consensus and routing policies (reallocating 7-expert relabeling budget and adjusting domain-specific outlier filtering), and distills recurring failure patterns into reusable diagnostic templates so subsequent rounds identify subtle blind spots faster.
3.
Independent verification and bounded pool assembly (𝒟t+1\mathcal{D}_{t+1}). Executing the candidate harness ℋ^t+1\widehat{\mathcal{H}}_{t+1} produces newly mined and synthesized shards, all of which must pass independent hygiene gates—perceptual and semantic deduplication, syntax/DOM checks, and render verification—while samples already mastered by ℳt\mathcal{M}_{t} are retired:
𝒟t+1=Φretain(𝒟t,ℳt)∪Φoracle(𝒰t,ℳt,ℋ^t+1)∪Φsynth(𝒢t,ℋ^t+1),\mathcal{D}_{t+1}=\Phi_{\mathrm{retain}}(\mathcal{D}_{t},\mathcal{M}_{t})\;\cup\;\Phi_{\mathrm{oracle}}(\mathcal{U}_{t},\mathcal{M}_{t};\,\widehat{\mathcal{H}}_{t+1})\;\cup\;\Phi_{\mathrm{synth}}(\mathcal{G}_{t};\,\widehat{\mathcal{H}}_{t+1}), (4)
where Φretain\Phi_{\mathrm{retain}} preserves non-saturated anchor data, Φoracle\Phi_{\mathrm{oracle}} collects expert-verified gaps from candidate pool 𝒰t\mathcal{U}_{t}, and Φsynth\Phi_{\mathrm{synth}} generates factorized synthetic data from diagnosed gap specifications 𝒢t\mathcal{G}_{t}.
4.
Held-out evaluation and co-evolutionary commit ((ℋt,ℳt)→(ℋt+1,ℳt+1)(\mathcal{H}_{t},\mathcal{M}_{t})\rightarrow(\mathcal{H}_{t+1},\mathcal{M}_{t+1})). Training ℳt\mathcal{M}_{t} on 𝒟t+1\mathcal{D}_{t+1} distills the harness gains directly into the updated recognizer weights ℳt+1\mathcal{M}_{t+1}. To prevent the harness from overfitting to the probing split, ℳt+1\mathcal{M}_{t+1} is evaluated on separate held-out validation suites across text, formula, and table slices; only harness edits that produce verified net gains without regression are committed as ℋt+1\mathcal{H}_{t+1}, after which ℳt+1\mathcal{M}_{t+1} takes over as the probe for the next recursive cycle.
3.5 Data Normalization and Stage Curriculum
Table 1: Stage-aligned data curriculum (see Figure 3c–d for task-level breakdown).
Stage Supervision focus Samples Key shift
1: Alignment Captions + basic OCR/formula 5.2M Projector-only modality alignment
2: Pretraining Multi-task + synthesis 45.0M Comprehensive and extensive
3: Curated SFT Consensus + RSI synthesis 1.2M Hard samples
4: Metric RL Non-saturated crops 20k Task-metric rewards 1−dt1-d_{t}
Before training, all mined, relabeled, and synthetic data streams undergo a unified formatting and hygiene pipeline. Specifically, we transpile table structures into compact OTSL tokens [46], and standardize mathematical LaTeX delimiters. A rigorous filtering pass then strips residual HTML artifacts, control characters, and degenerate repetitive patterns. To improve robustness against orientation variances in real-world scans, we also apply stochastic orthogonal rotations to a small fraction of table crops during data loading.
As summarized in Table 1, each training stage instantiates a progressively sharper pass of the Bounded RSI loop. Stage 1 warms up the modality projector using foundational image-caption and basic OCR pairs, and Stage 2 scales up to full-model pretraining across the deduplicated multi-task corpus with sub-linear mixture weighting. Building on the Stage 2 checkpoint, Stage 3 executes a targeted Bounded RSI cycle that focuses supervision on consensus-verified and factorized-synthetic hard examples, doubling the average target sequence length. Finally, Stage 4 retires saturated samples relative to the Stage 3 recognizer and applies metric-aware RL to the remaining non-saturated, challenging instances. Dealing with these data characteristics directly shaped our model architecture in Section 4. Specifically, we introduce dynamic visual merging to handle extreme aspect ratios, while adopting an atomic OTSL vocabulary and PTPv2 parallel decoding to efficiently generate long, token-heavy table sequences.
4 Architecture, Training, and Parallel Decoding
To handle wide crop aspect ratios and token-heavy tables and formulas, VenusOCR 2.0 pairs a compact 1B recognition backbone (§4.1) with progressive post-training and metric-aware RL (§4.2), and accelerates inference via decoupled parallel drafting (PTPv2, §4.3).
4.1 Architecture
VenusOCR 2.0 adopts a streamlined vision–projector–language architecture with approximately 1B parameters. To handle diverse document aspect ratios without distortion, we employ a dynamic-resolution SigLIP2 visual encoder [64; 15] that processes high-resolution inputs at their native aspect ratios. Before feeding into the language backbone, a 2×22\times 2 spatial merger and MLP projector compress the visual sequence by 4×4\times. The resulting tokens are then processed by a Qwen3-0.6B decoder [78], which leverages multimodal rotary position embeddings (M-RoPE) to jointly capture 2D spatial layouts and 1D sequence order.
Figure 4: VenusOCR 2.0 architecture overview. An external layout detector supplies region crops and reading order to the 1B recognizer, while the optional PTPv2 draft module conditions on frozen verifier states for parallel decoding.
Following layout-decoupled parsing paradigms [49; 12; 87], an external layout detector supplies layout analysis, while the shared recognizer models the conditional distribution pθ(y∣x,qt)p_{\theta}(y\mid x,q_{t}) for image crop xx and task prompt qtq_{t} (Text Recognition:, Formula Recognition:, or Table Recognition:). Plain text and mathematical formulas are transcribed as standard text and LaTeX, while tables are serialized into seven atomic Optimized Table Structure Language (OTSL) tokens [46]. Replacing verbose HTML tags with atomic OTSL tokens substantially shortens sequences and mitigates structural syntax errors, which is particularly beneficial for a compact language decoder. Keeping layout detection external separates segmentation errors from recognition errors, leaving sequential token generation as the main serving bottleneck.
4.2 Progressive Training
Following the staged data curriculum in Section 3.5, VenusOCR 2.0 adapts the pretrained SigLIP2 and Qwen3-0.6B backbones [64; 78] through four progressive stages—from modality alignment to broad pretraining, curated SFT, and RLVR (Reinforcement Learning with Verifiable Rewards). Across these stages, the trainable scope expands from the projector alone to the full 1B recognizer, while supervision shifts from broad coverage to consensus-verified hard cases and metric-aligned optimization.
Table 2: Training stages across the VenusOCR 2.0 pipeline. Stages 2–4 update the 1B recognizer; PTPv2 is trained separately on frozen Stage 4 verifier features.
Stage Trainable scope Primary optimization objective
1: Alignment Projector only (∼\sim26M) Align dynamic visual features with frozen LLM embeddings
2: Pretraining Full recognizer (1B) Multi-task pretraining
3: Curated SFT Full recognizer (1B) Low-LR refinement on consensus hard cases and synthesis
4: Metric RL Full recognizer (1B) DAPO/GRPO optimization directly on task-matched metrics
PTPv2 (separate) Draft module (∼\sim67M) D-PACE weighted teacher-argmax CE on frozen verifier states
Stage 1: Modality Alignment.
This stage freezes both the SigLIP2 visual encoder and the Qwen3-0.6B decoder, optimizing only the randomly initialized vision–language projector. Training on foundational image–caption pairs mixed with basic OCR and formula examples maps dynamic-resolution visual features into the language embedding space and helps the projector adapt early to dense document typography before full-model updates.
Stage 2: Multi-Task Pretraining and Context Extension.
Stage 2 unfreezes the entire 1B recognizer using differential component learning rates—applying a higher rate to the language decoder than to the vision encoder and projector—to adapt sequence generation while preserving pretrained visual representations. Training covers the deduplicated multi-task corpus across printed and handwritten text, OTSL-serialized tables, LaTeX formulas, and retained general vision–language pairs using square-root mixture weighting.
Stage 3: Curated SFT.
Rather than scaling data volume further, Stage 3 shifts to supervision quality and targeted weakness repair, updating the full recognizer with a conservative, uniform learning rate. Guided by the bounded RSI diagnostics (Section 3.4), training concentrates on consensus-verified hard cases, expanded multi-expert relabeling, and factorized synthetic crops covering dense spanning tables, nested formulas, and degraded scans to resolve residual formatting, truncation, and repetition errors.
Stage 4: Metric-Aligned RLVR.
Token-level cross-entropy weights all token mismatches equally and poorly reflects global structure such as table span topology or rendered formula equivalence. In Stage 4, we apply verifiable-reward policy optimization [58; 80; 55; 65; 91] directly against the task-matched metrics corresponding to Equation (2): normalized edit similarity for text, TEDS (after OTSL-to-HTML conversion) for tables, and CDM for formulas. Following DAPO [80], optimization uses group-relative rollouts with asymmetric clipping, token-level loss normalization, overlong-completion masking, and no KL penalty. Standard OCR metrics often suffer from sharp reward drops when malformed outputs fail to parse or render, which can severely destabilize group-relative advantage estimation. To mitigate this instability without compromising structural rigor, we assign a small positive floor reward to prediction-side syntax or rendering failures, rather than a hard zero. Conversely, invalid ground-truth references or empty generations still receive zero reward, ensuring that uninformative sample groups are cleanly zeroed out. Furthermore, we introduce a multiplicative penalty to discourage repetitive generations and restrict fast string-matching shortcuts in formulas to near-exact matches; this ensures that critical single-symbol errors (e.g., an omitted minus sign) are still rigorously evaluated via visual CDM scoring. Finally, as low-entropy OCR samples quickly saturate during training, we leverage the bounded RSI engine introduced in Section 3 to automatically filter for non-saturated, verifiable crops.
4.3 Parallel Token Prediction with PTPv2
Although visual token merging and atomic OTSL shorten sequences, standard autoregressive (AR) decoding remains memory-bandwidth-bound, running a full 1B forward pass for every output token on long tables and formulas. Existing parallel-decoding methods [33; 22; 3] make awkward trade-offs here. Our earlier coupled PTP (PTPv1) framework [37] inserts learnable register tokens into the target sequence so every slot predicts future tokens, which still passes proposal computation through the full target backbone. Decoupled block-diffusion methods such as DFlash [7] move drafting to a shallow feature-conditioned module, substantially reducing proposal latency. Inspired by this, we introduce PTPv2, a decoupled parallel-drafting framework that pairs shallow verifier-conditioned drafting with PTP’s all-position next-token alignment (Figure 4, bottom, and Table 3).
Table 3: Comparison of decoding mechanisms. PTPv2 combines shallow decoupled drafting with all-position next-token alignment, a standalone learned mask, and block-causal visibility.
Method Proposal model Queries / BB tok Mask representation Block mask Verifier
Standard AR Full model (1B) Sequential (11/step) — Causal Frozen
PTPv1 [37] Coupled full model BB (register tokens) Learned registers Group-causal Modified
DFlash [7] Shallow draft B+1B+1 (anchor skip) Frozen vocab token Bidirectional Frozen
PTPv2 (Ours) Shallow (∼\sim67M) BB (all-position) Learned mask Block-causal Frozen
Decoupled Architecture and Accelerated Decoding.
PTPv2 pairs the frozen 1B recognizer (the verifier) with a shallow, 4-layer decoder-only draft module that shares the verifier’s hidden width and output vocabulary head. Rather than predicting from token embeddings alone, the draft fuses intermediate hidden states sampled across shallow-to-deep verifier layers via a lightweight linear projection and normalization into compact context features, which are injected directly into the key and value caches of every draft layer. Following the prefill stage, decoding proceeds in an iterative draft-and-verify loop: (1) Parallel Drafting: Conditioned on the fused verifier context, the draft module takes the latest committed token embedding appended with a short block of learned mask queries, executing a single parallel forward pass to propose multiple future tokens simultaneously. (2) Parallel Verification: The frozen 1B verifier evaluates all drafted tokens in one forward pass. Because processing a short candidate block remains memory-bandwidth-bound, this parallel verification incurs nearly the same latency as a single autoregressive (AR) step. The verifier then accepts the longest matching prefix plus one correction token (or a bonus token if all proposals match). Finally, it extracts context features for the newly committed tokens and rolls back the rejected KV-cache entries. With the verifier frozen, greedy verification guarantees lossless, token-for-token equivalence with standard AR decoding while achieving speedups proportional to the accepted prefix length.
Design Advances over PTPv1 and DFlash.
PTPv2 bridges feature-conditioned parallel drafting with causal next-token prediction (NTP), resolving key bottlenecks of coupled multi-token prediction (PTPv1) and block-diffusion drafting (DFlash) in structured document parsing:
•
Decoupled drafting with an intact verifier (vs. PTPv1): Rather than inserting register tokens into a fine-tuned target backbone (PTPv1), PTPv2 offloads drafting to a 4-layer side network. This reduces drafting compute by an order of magnitude while keeping the verifier strictly frozen and lossless.
•
Zero-waste NTP alignment (vs. DFlash): DFlash leaves the anchor slot (slot 0) unsupervised, requiring B+1B+1 query slots to emit BB proposals (yielding only B−1B-1 proposals from BB queries). PTPv2 enforces standard NTP alignment across all positions—the anchor predicts the first future token and mask slots predict subsequent ones—eliminating wasted query capacity.
•
Dedicated mask embedding (vs. DFlash): Instead of repurposing a frozen vocabulary token as the mask placeholder, PTPv2 jointly trains a standalone mask embedding, preventing semantic interference with specialized document syntax (e.g., LaTeX commands and OTSL tags).
•
Causal intra-block attention (vs. DFlash): Replacing DFlash’s bidirectional diffusion attention with strictly causal masking preserves left-to-right syntactic dependencies (e.g., matching braces and table tags) and integrates seamlessly with standard causal KV-cache kernels in vLLM.
Draft Training.
We train the draft module from scratch on the Stage 3 dataset. During training, the 1B verifier, token embeddings, and LM head remain frozen; we only update the 4-layer draft decoder, context fusion projection, and learned mask embedding. All query slots are supervised using the frozen verifier’s argmax predictions via D-PACE prefix-weighted cross-entropy loss [76].
5 Experiments
5.1 Evaluation Setup
Full-page parsing quality is evaluated on OmniDocBench v1.6 [51; 67] across text, isolated and display formulas, tables, and reading order. Text and reading-order edit distances [32] range from 00 to 11 (lower is better), while formula CDM [68], table TEDS [90], and structure-only TEDS (TEDSS\mathrm{TEDS}_{S}) are reported as percentages (higher is better). Overall accuracy follows the benchmark definition:
Soverall=100×(1−Etext)+Sformula+Stable3.S_{\mathrm{overall}}=\frac{100\times(1-E_{\mathrm{text}})+S_{\mathrm{formula}}+S_{\mathrm{table}}}{3}. (5)
Table 4: Comparison of document parsing results on OmniDocBench v1.6. Nominal model sizes exclude external layout detectors and optional draft modules. By default, our pipeline (Stages 2–4) pairs the 1B recognizer with PP-DocLayoutV3 [11]; we also report Stage 4 paired with Tele-layout [6] to examine sensitivity to upstream layout segmentation.
Model Type Model Size Overall ↑\uparrow Text Edit↓\downarrow Formula CDM↑\uparrow Table TEDS↑\uparrow Table TEDSS↑{}_{S}\uparrow Order Edit↓\downarrow General VLMs Kimi K2.5 [63] 1T 84.53 0.107 83.50 80.76 84.00 0.211 Qwen3-VL-235B [4] 235B-A22B 89.78 0.063 92.55 83.07 86.75 0.166 Gemini 3 Flash [23] - 92.62 0.066 95.16 89.29 93.51 0.172 Gemini 3 Pro [24] - 92.91 0.064 95.99 89.15 92.96 0.165 Ovis2.6-30B-A3B [1] 30B-A3B 93.70 0.035 95.17 89.44 92.40 0.135 Specialized VLMs Mistral OCR [47] - 85.66 0.097 89.91 76.78 80.93 0.171 OCRVerse [92] 4B 88.60 0.063 89.61 82.44 86.27 0.163 DeepSeek-OCR 2 [73] 3B-A0.5B 90.25 0.050 91.84 83.89 87.75 0.144 dots.ocr [39] 3B 90.77 0.048 89.95 87.18 90.58 0.138 FireRed-OCR [75] 2B 93.26 0.037 95.44 88.04 91.06 0.131 Logics-Parsing-v2 [2] 4B 93.33 0.041 95.65 88.42 91.98 0.137 Unlimited-OCR [79] 3B-A0.5B 93.92 0.042 95.79 90.16 93.32 0.129 HunyuanOCR-1.5 [35] 1B 94.74 0.039 94.50 93.67 94.71 0.129 GLM-OCR [17] 0.9B 95.22 0.044 97.18 92.83 95.39 0.133 MinerU2.5-Pro [67] 1.2B 95.75 0.036 97.45 93.42 95.92 0.120 PaddleOCR-VL-1.6 [86] 0.9B 96.33 0.033 97.49 94.76 97.11 0.127 OvisOCR2 [45] 0.8B 96.58 0.025 97.53 94.76 97.16 0.111 TeleOCR [6] 1.2B 96.91 0.027 96.59 96.82 98.18 0.118 VenusOCR 2.0 (Stage2) 1B 94.96 0.035 95.52 92.83 95.31 0.131 VenusOCR 2.0 (Stage3) 1B 95.69 0.034 97.76 92.73 95.20 0.128 VenusOCR 2.0 (Stage4 + PP-DocLayoutV3) 1B 96.24 0.033 97.86 94.16 96.32 0.128 Ours VenusOCR 2.0 (Stage4 + Tele-layout) 1B 96.45 0.028 98.57 93.58 95.60 0.116
Because VenusOCR 2.0 operates as a region-level recognizer within a layout-decoupled pipeline (Section 4.1), full-page evaluation proceeds in two stages: an external layout detector first segments each document page into categorized regions (text, formulas, and tables) and predicts reading order, after which VenusOCR 2.0 transcribes each cropped region independently before assembling the page-level output. By default, all stage checkpoints (Stages 2–4) use PP-DocLayoutV3 [11], a real-time 33M-parameter detector that jointly predicts region boundaries, element categories, and reading order in a single forward pass. To isolate the sensitivity of end-to-end parsing to upstream layout segmentation and reading-order quality, we also evaluate the Stage 4 recognizer paired with Tele-layout [6], the deformation-aware layout detector from TeleOCR. Throughout Table 4, nominal model sizes reflect the 1B recognition backbone only and exclude external layout detectors as well as optional PTPv2 draft modules.
5.2 Main Results
As shown in Table 4, our VenusOCR 2.0 (Stage 4 + PP-DocLayoutV3) achieves an overall score of 96.24 on OmniDocBench v1.6, which further rises to 96.45 when paired with Tele-layout—notably setting a new state of the art in formula recognition (98.57 CDM). Despite its compact 1B footprint, VenusOCR 2.0 substantially outperforms massive general-purpose VLMs (e.g., Gemini 3 Pro [24] and Qwen3-VL-235B [4]) and remains highly competitive with leading specialized parsers [86; 45; 6].
Table 5: Stage-by-stage progression on OmniDocBench v1.6. Stages 2–4 use PP-DocLayoutV3 by default; the final row isolates switching the external layout detector at Stage 4. Positive similarity deltas and negative edit-distance deltas indicate gains.
Transition Δ\DeltaOverall Δ\DeltaText edit Δ\DeltaCDM Δ\DeltaTEDS Δ\DeltaOrder edit
Stage 2 →\rightarrow Stage 3 (Curated SFT) +0.73+0.73 −0.001-0.001 +2.24+2.24 −0.10-0.10 −0.003-0.003
Stage 3 →\rightarrow Stage 4 (Metric RL) +0.55+0.55 −0.001-0.001 +0.10+0.10 +1.43+1.43 0.0000.000
Stage 4 (PP-DocLayoutV3 →\rightarrow Tele-layout) +0.21+0.21 −0.005-0.005 +0.71+0.71 −0.58-0.58 −0.012-0.012
Table 5 highlights the complementary roles o
Images from the source



