Evaluating the Performance of PEFT and LoRA Approaches in Transformer-based Architecture for Handwritten Character Recognition
Handwritten character recognition poses significant challenges due to the variability in writing styles, inconsistencies in character shapes, and noise in the data. In this study, it was conducted a comparative analysis of Parameter-Efficient Fine-Tuning (PEFT) and Low-Rank Adaptation (LoRA) approaches against a traditional Convolutional Neural Network (CNN) for handwritten character recognition. The approaches have been evaluated using the A-Z Handwritten Alphabets dataset based on accuracy, training loss, validation loss, and training time. The PEFT and LoRA approaches were fine-tuned using pre-trained transformers, while the CNN model was trained from scratch. Our results demonstrated that the LoRA approach of the Google/vit-base-patch16-224-in21k achieved the highest accuracy of 100<sup>%</sup> with the shortest training time of approximately 58 minutes. Conversely, the traditional CNN model, while competitive in accuracy (98.28%), required longer training times. The study highlights the efficiency and adaptability of PEFT and LoRA approaches in resource-constrained environments and contributes to the literature by offering a detailed performance comparison. These insights can guide the selection of appropriate model architectures for various handwritten character recognition applications.
Authors
- Pınar Savcı (ORCID: https://orcid.org/0000-0002-3425-8523)
- Bihter Daş (ORCID: https://orcid.org/0000-0002-2498-3297)
- Resul Daş (ORCID: https://orcid.org/0000-0002-6113-4649)
Institutions
- Fırat University (TR)
- Arçelik (Turkey) (TR)
- Software (Spain) (ES)
Publication Details
- Published
- 2024-10-26
- DOI
- https://doi.org/10.1109/ubmk63289.2024.10773540
- Primary Topic
- Handwritten Text Recognition Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00