DODO: 离散OCR扩散模型
DODO: Discrete OCR Diffusion Models
AI总结:
针对OCR任务中自回归解码速度慢的问题,提出首个利用块离散扩散的VLM模型DODO,在保持高精度的同时实现高达5倍的推理加速。
摘要:
光学字符识别(OCR)是数字化信息的基础任务,是视觉数据与文本理解之间的关键桥梁。虽然现代视觉语言模型(VLM)在该领域取得了高精度,但它们主要依赖自回归解码,这需要为每个生成的token进行顺序前向传播,因此在处理长文档时计算成本高且速度慢。我们发现了一个克服这一瓶颈的关键机会:与开放式生成不同,OCR是一个高度确定性的任务,视觉输入严格决定了唯一的输出序列,理论上可以通过扩散模型实现高效的并行解码。然而,我们表明现有的掩码扩散模型未能利用这一潜力;它们引入了结构不稳定性,这在灵活任务(如字幕生成)中无害,但对于OCR的刚性精确匹配要求则是灾难性的。为了弥合这一差距,我们引入了DODO,这是首个利用块离散扩散并释放其OCR加速潜力的VLM。通过将生成分解为块,DODO减轻了全局扩散的同步误差。实验上,我们的方法在实现接近最先进精度的同时,与自回归基线相比,推理速度提高了5倍。
英文摘要:
Optical Character Recognition (OCR) is a fundamental task for digitizing information, serving as a critical bridge between visual data and textual understanding. While modern Vision-Language Models (VLM) have achieved high accuracy in this domain, they predominantly rely on autoregressive decoding, which becomes computationally expensive and slow for long documents as it requires a sequential forward pass for every generated token. We identify a key opportunity to overcome this bottleneck: unlike open-ended generation, OCR is a highly deterministic task where the visual input strictly dictates a unique output sequence, theoretically enabling efficient, parallel decoding via diffusion models. However, we show that existing masked diffusion models fail to harness this potential; those introduce structural instabilities that are benign in flexible tasks, like captioning, but catastrophic for the rigid, exact-match requirements of OCR. To bridge this gap, we introduce DODO, the first VLM to utilize block discrete diffusion and unlock its speedup potential for OCR. By decomposing generation into blocks, DODO mitigates the synchronization errors of global diffusion. Empirically, our method achieves near state-of-the-art accuracy while enabling up to 5x faster inference compared to autoregressive baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。