Research Papers 论文研究 6h ago Updated 2h ago 更新于 2小时前 48

Jina-OCR-v1: Efficient Document Parsing with Speculative Decoding and Dense Verifiable Rewards Jina-OCR-v1:基于投机解码与密集可验证奖励的高效文档解析

Jina-OCR-v1 is an end-to-end document parsing model optimized for low-budget GPUs, combining a compressed-vision encoder with a 3B MoE decoder (activating ~570M parameters per token) FastMTP speculative decoding shares a single draft block recursively across K=3 prediction steps, with greedy verification ensuring lossless decoding Post-training pipeline integrates instruction alignment, robustness fine-tuning on difficult documents, and GRPO with dense verifiable rewards (deterministic checks fo Jina-OCR-v1 是一个专为低预算 GPU 优化的端到端文档解析模型,结合压缩视觉编码器与 3B MoE 解码器,每 token 仅激活约 570M 参数 采用 FastMTP 投机解码技术,通过单个草稿块递归共享实现 K=3 预测步骤,贪婪验证确保解码无损 后训练融合指令对齐、困难文档鲁棒性微调及基于密集可验证奖励的 GRPO,奖励机制包含公式、表格和结构的确定性检查并支持部分得分 在默认动态分辨率设置下,OmniDocBench v1.6 得分 91.14,olmOCR-Bench 得分 83.4,页面吞吐量达 2.57 页/秒 在 NVIDIA L4 等入门级 GPU 上,Fast

65
Hot 热度
72
Quality 质量
68
Impact 影响力

Analysis 深度分析

TL;DR

  • Jina-OCR-v1 is an end-to-end document parsing model optimized for low-budget GPUs, combining a compressed-vision encoder with a 3B MoE decoder (activating ~570M parameters per token)
  • FastMTP speculative decoding shares a single draft block recursively across K=3 prediction steps, with greedy verification ensuring lossless decoding
  • Post-training pipeline integrates instruction alignment, robustness fine-tuning on difficult documents, and GRPO with dense verifiable rewards (deterministic checks for formulas, tables, and structure with partial credit)
  • Achieves 91.14 on OmniDocBench v1.6 and 83.4 on olmOCR-Bench, with a record 2.57 pages/second throughput at default dynamic resolution
  • FastMTP doubles decoding speed over greedy autoregressive decoding on NVIDIA L4 GPUs

Why It Matters

This work demonstrates that high-quality document parsing can be achieved on consumer/low-cost hardware through the combination of efficient model architecture and advanced decoding techniques, making OCR deployment more accessible. The integration of dense verifiable rewards with GRPO represents a novel approach to post-training that could generalize to other structured-output tasks beyond document parsing.

Technical Details

  • Architecture: Combines DeepSeek-OCR's compressed-vision encoder with a 3B mixture-of-experts decoder, activating approximately 570M parameters per token for efficient inference
  • FastMTP Speculative Decoding: Uses a single draft block shared recursively across K=3 prediction steps; greedy verification ensures lossless decoding with no accuracy degradation
  • Post-Training Pipeline: Three-stage process combining instruction alignment, robustness fine-tuning on challenging documents, and GRPO optimization under dense verifiable rewards that provide partial credit for deterministic formula, table, and structural checks
  • Training Data: Mix of cleaned public corpora and targeted synthetic pages designed to cover difficult document types
  • Benchmarks: 91.14 on OmniDocBench v1.6, 83.4 on olmOCR-Bench, 2.57 pages/second throughput (highest in comparison), with 2x speedup on NVIDIA L4 via FastMTP

Industry Insight

  • The FastMTP approach demonstrates that speculative decoding can be made lossless while doubling throughput on budget hardware, making it a practical strategy for deploying document AI at scale without expensive GPU infrastructure
  • Dense verifiable rewards with partial credit in GRPO offer a principled framework for training models on structured outputs, which could be adapted for other domains requiring precise formatting (e.g., code generation, data extraction)
  • The emphasis on dynamic resolution and MoE efficiency suggests the industry is moving toward models that balance quality and cost, enabling broader deployment of document AI in resource-constrained environments

TL;DR

  • Jina-OCR-v1 是一个专为低预算 GPU 优化的端到端文档解析模型,结合压缩视觉编码器与 3B MoE 解码器,每 token 仅激活约 570M 参数
  • 采用 FastMTP 投机解码技术,通过单个草稿块递归共享实现 K=3 预测步骤,贪婪验证确保解码无损
  • 后训练融合指令对齐、困难文档鲁棒性微调及基于密集可验证奖励的 GRPO,奖励机制包含公式、表格和结构的确定性检查并支持部分得分
  • 在默认动态分辨率设置下,OmniDocBench v1.6 得分 91.14,olmOCR-Bench 得分 83.4,页面吞吐量达 2.57 页/秒
  • 在 NVIDIA L4 等入门级 GPU 上,FastMTP 使解码速度较贪婪自回归解码提升约一倍

为什么值得看

本文展示了如何在资源受限环境下通过投机解码与可验证奖励机制实现高效文档解析,为低成本部署大模型提供了实用范式。其技术路线对 OCR 行业及文档理解领域的工程实践具有直接参考价值。

技术解析

  • 模型架构:采用 DeepSeek-OCR 的压缩视觉编码器与 3B 混合专家(MoE)解码器,每 token 仅激活约 570M 参数,显著降低计算开销。FastMTP 投机解码头通过单个草稿块递归共享实现 K=3 预测步骤,贪婪验证保证解码无损。
  • 后训练策略:结合指令对齐、困难文档鲁棒性微调,以及基于密集可验证奖励的 GRPO 训练。奖励函数包含确定性公式检查、表格结构检查和文档结构检查,支持部分得分机制。
  • 训练数据:混合清洗后的公开语料与针对性合成的页面数据,兼顾泛化能力与特定场景鲁棒性。
  • 性能表现:在 OmniDocBench v1.6 上达到 91.14 分,olmOCR-Bench 上 83.4 分,页面吞吐量 2.57 页/秒,在对比实验中达到最高吞吐量。
  • 硬件效率:在 NVIDIA L4 等低预算 GPU 上,FastMTP 使解码速度较贪婪自回归解码提升约一倍,验证了投机解码在资源受限场景的实用价值。

行业启示

  • 低成本部署成为新趋势:随着文档解析需求增长,如何在入门级 GPU 上实现高性能推理成为关键竞争力,投机解码与参数高效架构是可行路径。
  • 可验证奖励推动 RL 训练落地:将确定性规则(公式、表格、结构检查)融入强化学习奖励函数,为文档理解任务提供了可量化、可优化的训练范式。
  • 端到端方案替代传统流水线:Jina-OCR-v1 证明端到端模型在保持精度的同时可实现更高吞吐量,有望逐步替代传统 OCR 预处理+解析的分离架构。

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Open Source 开源 Multimodal 多模态 Inference 推理 GPU GPU Research 科学研究