arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.15045cs.CVcs.LG
收藏

一种基于Transformer的阿拉伯语离线手写文本识别方法

A Transformer-based Approach for Arabic Offline Handwritten Text Recognition

University of Tehran(德黑兰大学)

Saleh Momeni, Bagher BabaAli

AI总结:

针对阿拉伯语离线手写文本识别中循环网络缺乏并行性及需外部语言模型的问题,提出基于预训练Transformer Transducer与序列到序列Transformer的架构,仅依赖注意力机制建模语言依赖,在KHATT数据集上优于现有方法。

摘要:

手写识别是模式识别和机器学习领域中一个极具挑战性且关键的问题,其应用跨越多个领域。本文聚焦于识别离线阿拉伯语手写文本的具体问题。现有方法通常结合使用卷积神经网络进行图像特征提取,以及循环神经网络进行时序建模,并使用连接时序分类进行文本生成。然而,由于循环神经网络的序列特性,这些方法缺乏并行化能力。此外,这些模型无法考虑语言学规则,需要在后处理阶段使用外部语言模型来提升准确率。为了克服这些问题,我们引入了两种替代架构,即Transformer Transducer和标准的序列到序列Transformer,并比较了它们在准确率和速度方面的性能。我们的方法能够建模语言依赖性,且仅依赖注意力机制,从而使其更具并行性且复杂度更低。我们在图像理解和语言建模方面均采用了预训练的Transformer。我们在阿拉伯语KHATT数据集上的评估表明,我们提出的方法在识别离线阿拉伯语手写文本方面优于当前最先进的方法。

英文摘要:

Handwriting recognition is a challenging and critical problem in the fields of pattern recognition and machine learning, with applications spanning a wide range of domains. In this paper, we focus on the specific issue of recognizing offline Arabic handwritten text. Existing approaches typically utilize a combination of convolutional neural networks for image feature extraction and recurrent neural networks for temporal modeling, with connectionist temporal classification used for text generation. However, these methods suffer from a lack of parallelization due to the sequential nature of recurrent neural networks. Furthermore, these models cannot account for linguistic rules, necessitating the use of an external language model in the post-processing stage to boost accuracy. To overcome these issues, we introduce two alternative architectures, namely the Transformer Transducer and the standard sequence-to-sequence Transformer, and compare their performance in terms of accuracy and speed. Our approach can model language dependencies and relies only on the attention mechanism, thereby making it more parallelizable and less complex. We employ pre-trained Transformers for both image understanding and language modeling. Our evaluation on the Arabic KHATT dataset demonstrates that our proposed method outperforms the current state-of-the-art approaches for recognizing offline Arabic handwritten text.

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

↑