journal article·2023Open access

A Novel Siamese Network for Few/Zero-Shot Handwritten Character Recognition Tasks

Nagwa Elaraby, Sherif Barakat, Amira Rezk

Computers, Materials & Continua· Volume 74· Issue 1

Abstract

Deep metric learning is one of the recommended methods for the challenge of supporting few/zero-shot learning by deep networks. It depends on building a Siamese architecture of two homogeneous Convolutional Neural Networks (CNNs) for learning a distance function that can map input data from the input space to the feature space. Instead of determining the class of each sample, the Siamese architecture deals with the existence of a few training samples by deciding if the samples share the same class identity or not. The traditional structure for the Siamese architecture was built by forming two CNNs from scratch with randomly initialized weights and trained by binary cross-entropy loss. Building two CNNs from scratch is a trial and error and time-consuming phase. In addition, training with binary cross-entropy loss sometimes leads to poor margins. In this paper, a novel Siamese network is proposed and applied to few/zero-shot Handwritten Character Recognition (HCR) tasks. The novelties of the proposed network are in. 1) Utilizing transfer learning and using the pre-trained AlexNet as a feature extractor in the Siamese architecture. Fine-tuning a pre-trained network is typically faster and easier than building from scratch. 2) Training the Siamese architecture with contrastive loss instead of the binary cross-entropy. Contrastive loss helps the network to learn a nonlinear mapping function that enables it to map the extracted features in the vector space with an optimal way. The proposed network is evaluated on the challenging Chars74K datasets by conducting two experiments. One is for testing the proposed network in few-shot learning while the other is for testing it in zero-shot learning. The recognition accuracy of the proposed network reaches to 85.6% and 82% in few- and zero-shot learning respectively. In addition, a comparison between the performance of the proposed Siamese network and the traditional Siamese CNNs is conducted. The comparison results show that the proposed network achieves higher recognition results in less time. The proposed network reduces the training time from days to hours in both experiments.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Domain Adaptation and Few-Shot Learning · Handwritten Text Recognition Techniques · COVID-19 diagnosis using AI

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (40)

Show source-provided references
1. Monisha · Computational methods and data engineering · 2021 · 11510.1007/978-981-15-7907-3_9 ↗
2. Character recognition in historical handwritten documents–a survey
3. Handwritten character recognition from images using CNN-ECOC10.1016/j.procs.2020.03.293 ↗
4. Handwritten character recognition using deep-learning
5. Scheduled sampling for one-shot learning via matching network10.1016/j.patcog.2019.07.007 ↗
6. Generalizing from a few examples: A survey on few-shot learning
7. A close look at deep learning with small data
8. Deep learning application pros and cons over algorithm
9. Discriminative deep attributes for generalized zero-shot learning10.1016/j.patcog.2021.108435 ↗
10. Principal characteristic networks for few-shot learning10.1016/j.jvcir.2019.02.006 ↗
11. Siamese neural networks for one-shot image recognition
12. Human-level concept learning through probabilistic program induction10.1126/science.aab3050 ↗
13. S. Jadon, “An overview of deep learning architectures in few-shot learning domain,” arXiv preprint arXiv:2008.06365, 2020.
14. Deep template matching for offline handwritten Chinese character recognition10.1049/joe.2019.0895 ↗
15. Few-shot learning for tamil handwritten character recognition using deep siamese convolutional neural network
16. Supervised contrastive learning
17. Self-supervised learning of Orc-Bert augmentator for recognizing few-shot oracle characters
18. Characters recognition of Korean historical document base on data augmentation
19. A study of data augmentation for handwritten character recognition using deep learning
20. One-shot rule learning for challenging character recognition
21. Robust offline handwritten character recognition through exploring writer-independent features under the guidance of printed data10.1016/j.patrec.2018.02.006 ↗
22. Boosting handwriting text recognition in small databases with transfer learning
23. Handwritten phoenician character recognition and its use to improve recognition of handwritten alphabets with lack of annotated data10.30534/ijatcse/2020/26912020 ↗
24. Author identification from handwritten characters using siamese CNN
25. A generic OCR using deep siamese convolution neural networks
26. Small sample face recognition algorithm based on novel siamese network
27. Imagenet classification with deep convolutional neural networks
28. Alcoholism identification based on an AlexNet transfer learning model
29. Malayalam handwritten character recognition using AlexNet based architecture10.52549/ijeei.v6i4.518 ↗
30. Variations of AlexNet and GoogLeNet to improve Korean character recognition performance
31. M. Cogswell, F. Ahmed, R. Girshick, L. Zitnick and D. Batra, “Reducing overfitting in deep networks by decorrelating representations,” arXiv preprint arXiv:1511.06068, 2015.
32. D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” arXiv Prepr. arXiv1412.6980, 2014.
33. Character recognition in natural images
34. Venkatesan · ASU Electronic Theses and Dissertations, ARIZONA STATE UNIVERSITY · 2017
35. Optical character recognition with neural networks10.26577/JMMCS-2018-4-572 ↗
36. Dey · Data Engineering and Intelligent Computing · 2021 · 62910.1007/978-981-16-0171-2_60 ↗
37. Character recognition using adjustment convolutional network with dropout layer
38. Kannada character recognition in images using histogram of oriented gradients and machine learning
39. Offline character recognition on segmented handwritten kannada characters
40. Deep learning network architecture based kannada handwritten character recognition