Leveraging Transfer Learning and Mobile-enabled Convolutional Neural Networks for Improved Arabic Handwritten Character Recognition
Mohsine El Khayati 1 , Ayyad Maafiri 2 , Yassine Himeur 3 , Hamzah Ali Alkhazaleh 3 , Shadi Atalla 3 , and Wathiq Mansoor 3 · 2025
Read Leveraging Transfer Learning and Mobile-enabled Convolutional Neural Networks for Improved Arabic Handwritten Character Recognition by Mohsine El Khayati 1 , Ayyad Maafiri 2 , Yassine Himeur 3 , Hamzah Ali Alkhazaleh 3 , Shadi Atalla 3 , and Wathiq Mansoor 3 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2509-05019.txt.
Introduction
Reading handwritten Arabic characters is hard for computers, especially on mobile devices with limited power. Mohsine El Khayati, lead author with five co-authors, combine transfer learning with lightweight convolutional networks for that task in a 2025 paper. They compare full fine-tuning, partial fine-tuning, and training from scratch across four mobile network designs.
Experiments use three benchmark datasets with differing difficulty. MobileNet performs best overall in their tests, balancing accuracy, robustness, and efficiency. Full fine-tuning gives the strongest results, while partial fine-tuning underperforms across metrics. One dataset proves hardest because of its variability, a challenge the authors highlight for future work.
Catalog record
| CREATOR | Mohsine El Khayati 1 , Ayyad Maafiri 2 , Yassine Himeur 3 , Hamzah Ali Alkhazaleh 3 , Shadi Atalla 3 , and Wathiq Mansoor 3 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 71 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2509-05019
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Leveraging Transfer Learning and Mobile-enabled Convolutional Neural Networks for Improved Arabic Handwritten Character Recognition Mohsine El Khayati 1 , Ayyad Maafiri 2 , Yassine Himeur 3 , Hamzah Ali Alkhazaleh 3 , Shadi Atalla 3 , and Wathiq Mansoor 3 Abstract The study explores the integration of transfer learning (TL) with mobile-enabled convolutional neural networks (MbNets) to enhance Arabic Handwritten Character Recognition (AHCR). Addressing challenges like extensive computational requirements and dataset scarcity, this research evaluates three TL strategies—full fine-tuning, partial fine-tuning, and training from scratch—using four lightweight MbNets: MobileNet, SqueezeNet, MnasNet, and ShuffleNet. Experiments were conducted on three benchmark datasets: AHCD, HIJJA, and IFHCDB. MobileNet emerged as the top-performing model, consistently achieving superior accuracy, robustness, and efficiency, with ShuffleNet excelling in generalization, particularly under full fine-tuning. The IFHCDB dataset yielded the highest results, with 99% accuracy using MnasNet under full fine-tuning, highlighting its suitability for robust character recognition. The AHCD dataset achieved competitive accuracy (97%) with ShuffleNet, while HIJJA posed significant challenges due to its variability, achieving a peak accuracy of 92% with ShuffleNet. Notably, full fine-tuning demonstrated the best overall performance, balancing accuracy and convergence speed, while partial fine-tuning underperformed across metrics. These findings underscore the potential of combining TL and MbNets for resource-efficient AHCR, paving the way for further optimizations and broader applications. Future work will explore architectural modifications, in-depth dataset features analysis, data augmentation, and advanced sensitivity analysis to enhance model robustness and generalizability. I Introduction Arabic Handwriting Recognition (AHR) is a complex and evolving research domain focused on transforming handwritten text from image format into a machine-readable form [ 1 ] . The challenge stems from the intricate attributes of handwritten Arabic script [ 2 ] , including its cursive nature, the presence of diacritics, artistic nuances, and structural complexities such as over-traces, overlaps, touching elements, and vertical ligatures [ 3 ] . Recent advancements in AHR have been driven largely by the adoption of sophisticated deep learning techniques, particularly Convolutional Neural Networks (ConvNets) [ 4 , 5 ] . ConvNets have demonstrated exceptional performance, especially in Arabic Handwritten Character Recognition (AHCR) [ 6 ] . In recent years, the development of deeper ConvNet models has surged, delivering outstanding results in computer vision applications [ 7 , 8 , 9 ] . However, these deep models come with significant computational demands due to their large parameter counts, which can reach up to 3.9 billion [ 10 ] , and their high Multiply Accumulation Operations (MACs) and Floating Point Operations (FLOPs), which can go as high as 2800 GFLOPs [ 11 ] . Moreover, deep ConvNets are prone to overfitting and require extensive datasets to perform optimally, necessitating ongoing research to address these challenges. Transfer Learning (TL) and Mobile-enabled ConvNet architectures (MbNets) have emerged as pivotal solutions to these issues [ 12 , 13 ] . TL effectively mitigates data scarcity [ 14 , 15 ] by leveraging pre-trained models from related tasks, reducing training time, and eliminating the need to develop models from scratch. Meanwhile, MbNets provide efficient and lightweight architectures that significantly impact memory usage, training/inference times, and deployability [ 16 ] . This study explores the efficiency and effectiveness of TL and MbNets in the context of AHCR, moving beyond the traditional use of heavyweight models such as VGGNet [ 17 ] , Inception V3 [ 18 , 19 ] , ResNet [ 18 , 19 , 20 , 17 ] , and AlexNet [ 21 , 22 ] , which are characterized by substantial parameter loads ranging from 27 million to 143 million. Specifically, we investigate three distinct TL strategies: (i) Training From Scratch (TFS), (ii) Training as a Fixed Feature Extractor (TFE), and (iii) Training as a Weight Initializer (TWI). We assess these strategies in combination with four MbNets—MobileNet, SqueezeNet, MnasNet, and ShuffleNet—on three benchmark Arabic datasets: AHCD [ 23 ] , Hijja [ 24 ] , and IFHCDB [ 25 ] . This comprehensive evaluation provides valuable insights and actionable recommendations. Although the proposed models are trained and evaluated on isolated Arabic characters, such systems have immediate and tangible applications [ 26 ] . Examples include mobile OCR tools for digitizing handwritten forms where characters are written separately, automated grading of quiz answers on sheets in educational or administrative contexts, and teaching aids for character writing in early school programs to support literacy development. They can also be used in rapid data-entry systems for field surveys or postal code recognition, where isolated character input is common. The adoption of mobile-friendly architectures ensures these applications can run efficiently on resource-constrained devices, enabling real-time operation without reliance on high-performance hardware. The main contributions of this work are as follows: • Pioneering the fusion of transfer learning (TL) with mobile-enabled architectures in Arabic Handwritten Recognition (AHR), introducing an innovative approach in the literature. This combination addresses the need for efficient yet accurate solutions in AHR, marking a significant advancement in the field. • Uncovering the potential of lesser-explored models like MnasNet, ShuffleNet, and SqueezeNet in AHR. Through empirical analysis, these models are showcased for their efficacy and advantages, expanding the available toolkit for researchers in the field. • Conducting a meticulous array of experiments to systematically evaluate diverse models, TL strategies, and datasets in AHR. This rigorous evaluation process extracts pertinent conclusions and insights, providing valuable guidance for researchers in the area of AHR. Through this effort, we contribute to the ongoing evolution and enhancement of AHR methodologies, fostering innovation in the field. • Demonstrating superior performance with reduced complexity in AHCR, challenging the prevailing trend towards deeper, more complex models. By achieving higher accuracies while maintaining lower computational demands, this work opens avenues for refining practices in AHCR, emphasizing efficiency and effectiveness in model design and deployment. The remainder of this paper is organized as follows: Section 2 defines key terms, including the features of Arabic handwritten characters, Convolutional Neural Networks (ConvNets), and Transfer Learning (TL). Section 3 provides a review of relevant literature, with a particular focus on the applications of TL in Arabic Handwriting Recognition (AHR). Section 4 outlines the experimental strategies, models, and datasets employed in this study. Section 5 presents and analyzes the experimental results, offering conclusions and actionable recommendations. Finally, Section 6 concludes the paper by summarizing the findings and discussing directions for future research. II Background II-A Arabic Handwritten Characters The Arabic script is inherently cursive, written from right to left, and comprises 28 characters, of which 22 are fully cursive and 6 are semi-cursive. The shape of each character varies depending on its position within a word—whether isolated, initial, medial, or final. Additionally, Arabic script incorporates diacritical marks, including points and signs. Diacritical points are essential for distinguishing characters, as 16 of them feature points above or below the main character’s body. In certain cases, characters with similar base shapes are differentiated solely by the placement or number of diacritical points. Meanwhile, diacritical signs, akin to vowels in English, influence pronunciation and word meanings. However, most Arabic texts omit these signs, as native readers can infer pronunciation from context. The unique characteristics of Arabic script, including its dynamic shapes and reliance on diacritical elements, add considerable complexity to Arabic Handwritten Character Recognition (AHCR). These factors make