Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Transformer-based Models for Arabic Online Handwriting Recognition

Author 1: Fakhraddin Alwajih Author 2: Eman Badr Author 3: Sherif Abdou
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 13, No. 5 · Published 2022 · Cited by 12

DOI: https://doi.org/10.14569/IJACSA.2022.01305102

Abstract

Transformer neural networks have increasingly be-come the neural network design of choice, having recently been shown to outperform state-of-the-art end-to-end (E2E) recurrent neural networks (RNNs). Transformers utilize a self-attention mechanism to relate input frames and extract more expressive sequence representations. Transformers also provide parallelism computation and the ability to capture long dependencies in contexts over RNNs. This work introduces a transformer-based model for the online handwriting recognition (OnHWR) task. As the transformer follows encoder-decoder architecture, we investigated the self-attention encoder (SAE) with two different decoders: a self-attention decoder (SAD) and a connectionist temporal classification (CTC) decoder. The proposed models can recognize complete sentences without the need to integrate with external language modules. We tested our proposed mod-els against two Arabic online handwriting datasets: Online-KHATT and CHAW. On evaluation, SAE-SAD architecture per-formed better than SAE-CTC architecture. The SAE-SAD model achieved a 5% character error rate (CER) and an 18%word error rate (WER) against the CHAW dataset, and a 22% CER and a 56% WER against the Online-KHATT dataset. The SAE-SAD model showed significant improvements over existing models of the Arabic OnHWR.

Keywords

How to Cite this Article

Alwajih, F., Badr, E., & Abdou, S. (2022). Transformer-based Models for Arabic Online Handwriting Recognition. International Journal of Advanced Computer Science and Applications, 13(5). https://doi.org/10.14569/IJACSA.2022.01305102

Alwajih, Fakhraddin, et al.. "Transformer-based Models for Arabic Online Handwriting Recognition." International Journal of Advanced Computer Science and Applications, vol. 13, no. 5, 2022, https://doi.org/10.14569/IJACSA.2022.01305102.

@article{Alwajih2022,
  title     = {Transformer-based Models for Arabic Online Handwriting Recognition},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {13},
  number    = {5},
  year      = {2022},
  publisher = {The Science and Information Organization},
  author    = {Fakhraddin Alwajih and Eman Badr and Sherif Abdou},
  doi       = {10.14569/IJACSA.2022.01305102},
  url       = {https://doi.org/10.14569/IJACSA.2022.01305102}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.