Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

PaDoc: Parallel Decoding Framework Speeds Up Document Parsing While Preserving Full-Page Context

AI By Crimson AI Hugging Face Papers 7 August 2026 · 00:00 9 views
Share: X Telegram

Hugging Face researchers introduce PaDoc, a layout-grounded document parser that enables parallel decoding of layout and content branches, cutting latency by up to 54.9% and boosting throughput by up to 118% on a single GPU.

PaDoc: Parallel Decoding Framework Speeds Up Document Parsing While Preserving Full-Page Context

Key points

End-to-end document parsers typically serialize page layouts and regional contents into a single autoregressive sequence, forcing independent regions onto a decoding path that grows with total content. Crop-based two-stage parsers offer region-level parallelism but suffer from repeated visual prefills and fragmented page context.

To address this, researchers from Hugging Face propose PaDoc, a layout-grounded parser that treats the predicted layout as a branching structure over a shared page representation. By assuming region sufficiency, they derive a prefix-conditioned factorization that allows the layout stream and regional content branches to advance concurrently, reducing decoding depth to the longest layout-content path.

PaDoc is implemented within a single multimodal large language model (MLLM). It uses packed variable-length ancestor attention to maintain visibility during standard next-token training, and masked parallel decoding to create branches that the vLLM backend serves as concurrent requests with cache-resident shared-prefix reuse.

On the OmniDocBench Full benchmark, PaDoc achieves an Overall layout F1 of 91.1 and a top-tier Overall score of 94.24 among end-to-end parsers, along with the best Text Edit (0.038) and Formula CDM (95.59). On a 384-page subset with one A800 GPU, it is the fastest end-to-end parser at five concurrency levels, improving valid-page throughput by 67.4–118% and reducing P95 latency by 39.2–54.9% relative to a same-backbone Sequential SFT baseline.

The code is available on GitHub at https://github.com/Longin-Yu/Padoc.

MetricPaDocBaseline (Sequential SFT)
Overall Layout F191.1
Overall Score (end-to-end)94.24
Text Edit0.038
Formula CDM95.59
Throughput Improvement+67.4% to +118%
P95 Latency Reduction-39.2% to -54.9%
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 31 Aug 2026

Hugging Face Unveils StepGuard: Step-Level Guardrails for Safer AI Agents

StepGuard, a new step-level guard model from Hugging Face, audits agent actions before execution, reducing attack success rates by...

1
Research paper
Hugging Face 31 Aug 2026

Hugging Face Researchers Unveil ABot-Recon for Stable Long-Horizon 3D Reconstruction

ABot-Recon, a new streaming 3D reconstruction model from Hugging Face, achieves stable long-horizon performance using only local t...

1
Research paper
Hugging Face 31 Aug 2026

ContextPilot: Teaching Agents Proactive Context Management via Fine-Grained RL

Hugging Face researchers introduce ContextPilot, a framework that enhances long-horizon agent reasoning by expanding context-editi...

1