Faster DAN:基于文档位置编码的多目标查询用于端到端手写文档识别
Faster DAN: Multi-target Queries with Document Positional Encoding for End-to-end Handwritten Document Recognition
AI总结:
Faster DAN通过两步策略(先预测每行首字符,再并行完成所有行)加速端到端手写文档识别,在多个数据集上速度提升至少4倍且性能相当。
摘要:
手写文本识别的最新进展使得能够以端到端的方式识别整个文档:文档注意力网络(DAN)通过基于注意力的预测过程逐个识别字符,直到到达文档末尾。然而,这种自回归过程导致推理无法受益于任何并行化优化。在本文中,我们提出了Faster DAN,一种在预测时加速识别过程的两步策略:模型首先预测文档中每个文本行的第一个字符,然后通过多目标查询和特定的文档位置编码方案并行完成所有文本行。与标准DAN相比,Faster DAN在RIMES 2009、READ 2016和MAURDOR数据集的整页单页和双页图像上达到了具有竞争力的结果,同时速度至少快4倍。源代码和训练好的模型权重可在https://github.com/FactoDeepLearning/FasterDAN获取。
英文摘要:
Recent advances in handwritten text recognition enabled to recognize whole documents in an end-to-end way: the Document Attention Network (DAN) recognizes the characters one after the other through an attention-based prediction process until reaching the end of the document. However, this autoregressive process leads to inference that cannot benefit from any parallelization optimization. In this paper, we propose Faster DAN, a two-step strategy to speed up the recognition process at prediction time: the model predicts the first character of each text line in the document, and then completes all the text lines in parallel through multi-target queries and a specific document positional encoding scheme. Faster DAN reaches competitive results compared to standard DAN, while being at least 4 times faster on whole single-page and double-page images of the RIMES 2009, READ 2016 and MAURDOR datasets. Source code and trained model weights are available at https://github.com/FactoDeepLearning/FasterDAN.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。