Abstract
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.
Abstract (translated)
手写识别是模式识别和机器学习领域的挑战和关键问题,应用范围广泛。在本文中,我们将专注于识别离线阿拉伯手写文本的特定问题。现有的方法通常使用卷积神经网络的图像特征提取和循环神经网络的时间建模相结合,并用连接主义的时间分类用于文本生成。然而,这些方法由于循环神经网络的序列性质而缺乏并行化。此外,这些模型无法考虑语言学规则,因此需要在处理后期使用外部语言模型来提高准确性。为了克服这些问题,我们介绍了两个 alternative 架构,即Transformer 转换器和标准序列到序列 Transformer,并比较了它们的性能和速度。我们的方法可以建模语言依赖关系,仅依靠注意力机制,因此使其更可并行化,更简洁。我们使用预训练的Transformers 用于图像理解和语言建模。我们对阿拉伯语的KHATT 数据集进行评估,表明我们提出的方法在识别离线阿拉伯手写文本方面优于当前最先进的方法。
URL
https://arxiv.org/abs/2307.15045