arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.05669cs.CV
收藏

NAF-DPM:一种用于文档增强的无非线性激活扩散概率模型

NAF-DPM: A Nonlinear Activation-Free Diffusion Probabilistic Model for Document Enhancement

Sapienza University of Rome(罗马第一大学)

Giordano Cicchetti, Danilo Comminiello

AI总结:

提出 NAF-DPM 文档增强框架,结合高效 NAF 网络、快速 ODE 采样器和模拟 OCR 的可微模块,在图像质量与 OCR 字符错误率上达到先进水平。

摘要:

现实世界中的文档可能遭受各种形式的退化,往往导致光学字符识别(OCR)系统的准确率降低。因此,必须采用关键的预处理步骤,在消除噪声的同时保留文档的文本和关键特征。本文提出 NAF-DPM,这是一种基于扩散概率模型(DPM)的新型生成框架,旨在恢复退化文档的原始质量。尽管 DPM 以生成高质量图像著称,但其推理时间也很长。为缓解该问题,我们为 DPM 配备了高效的无非线性激活(NAF)网络,并采用一种常微分方程快速求解器作为采样器,该求解器可在少量迭代内收敛。为更好地保留文字字符,我们引入了一个基于卷积循环神经网络的额外可微模块,在训练期间模拟 OCR 系统的行为。在多个数据集上进行的实验展示了本方法的优越性,在像素级和感知相似性指标方面取得了最先进性能。此外,结果表明,当 OCR 系统转录由我们框架增强的现实文档图像时,字符错误显著减少。代码和预训练模型可在 https://github.com/ispamm/NAF-DPM 获取。

英文摘要:

Real-world documents may suffer various forms of degradation, often resulting in lower accuracy in optical character recognition (OCR) systems. Therefore, a crucial preprocessing step is essential to eliminate noise while preserving text and key features of documents. In this paper, we propose NAF-DPM, a novel generative framework based on a diffusion probabilistic model (DPM) designed to restore the original quality of degraded documents. While DPMs are recognized for their high-quality generated images, they are also known for their large inference time. To mitigate this problem we provide the DPM with an efficient nonlinear activation-free (NAF) network and we employ as a sampler a fast solver of ordinary differential equations, which can converge in a few iterations. To better preserve text characters, we introduce an additional differentiable module based on convolutional recurrent neural networks, simulating the behavior of an OCR system during training. Experiments conducted on various datasets showcase the superiority of our approach, achieving state-of-the-art performance in terms of pixel-level and perceptual similarity metrics. Furthermore, the results demonstrate a notable character error reduction made by OCR systems when transcribing real-world document images enhanced by our framework. Code and pre-trained models are available at https://github.com/ispamm/NAF-DPM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑