



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Laboratory IRF-SIC faculty of sciences Ibn Zohr University Agadir Morocco [email protected]
Laboratory IRF-SIC faculty of sciences Ibn Zohr University Agadir Morocco [email protected]
High school of technology. Ibn Zohr University Agadir Morocco [email protected]
Abstract — Recognizing unconstrained cursive Arabic handwritten text is a very challenging task the use of hybrid classification to take advantage of the strong modeling of Hidden Markov Models (HMM) and the large capacity of discrimination related to Multilayer Perceptron (MLP) is a very important component in recognition systems. The proposed work reports an effective method on improvement our previous work that takes into consideration the context of character by applying an embedded training based HMMs this HMM is enhanced by an Artificial neural network that are incorporated into the process of classification to estimate the emission probabilities. The experiments are done on the same benchmark IFN/ENIT database of our previous work to compare the results and show the effectiveness of hybrid classifier for enhancing the recognition rate the results are promising and encouraging.
Keywords- Arabic Handwriting Recognition; Context; Embedded training; HMMs; Multilayer Perceptron (MLP).
Systems for handwriting recognition are referred to as off-line or on-line systems depending on whether ordinary handwriting on paper is scanned and digitized or a special stylus and a pressure-sensitive tablet are used. In both the ultimate objective is to convert handwritten sentences or phrases words or characters in analogue form (off-line or on-line sources) into digital form (ASCII).
More than 300 million people around the world speak Arabic and their derivative. Arabic is naturally written cursively in both handwritten and typewritten modes. In comparison to Latin Arabic seem to be more complex. For example many letters in this language have complementary diacritics such as dots madda and zigzag bars. In addition the letters have different shapes at different locations of the word.
Due to variability in handwriting styles and distortions caused by the digitizing process even the best handwritten word recognizer is unreliable when the number of word choices is
large. This necessitates the use of advanced concepts to achieve a performance level comparable to that of humans. The researches focus on the use of new methods and approaches to perform handwriting recognition. In this area the concept of combining multiple classifiers is proposed as a new direction for the development of highly reliable handwriting recognition systems and some preliminary results have indicated that the combination of several complementary classifiers will improve the performance of individual classifiers [01] [02].
In current work our system performs training and recognition of words and characters. In order to model the variations related to the character context in the corpus we have opted for a specific type of learning. Therefore character models are trained and obtained through embedded training; thereafter the decision has been done by the proposed hybrid classifier which mainly based on HMMs and neural network.
The remainder of this paper is organized as follow. Section 2 presents a literature review and related works of handwriting recognition system. Section 3 is focused on our contribution starting with our developed reference system then the incorporation of hybrid classifier. The performance of the recognition system has been experimented on the benchmark database IFN/ENIT and the obtained experimental results are shown and analysed in section 4. The paper finally closed with a conclusion and perspectives.
Hidden Markov Models have proven to be one of the most successful and widely used classifiers in the area of text recognition. There are many reasons for success of HMMs in text recognition including avoidance of the need to explicitly segment the text into recognition units; characters or graphemes. In addition HMMs have sound mathematical and theoretical foundation [03].
In [04], the authors have investigated on contextual sub- characters HMMs for text recognition by using multi-stream HMMs where the features calculated from a sliding window frame form one stream and its derivative features are part of the second stream. The experiments were conducted with different train-test configurations on the IFN/ENIT database and the best recognition rate achieved was 85.12%. In [05] Azeem used an effective technique for the recognition of offline Arabic handwritten words using Hidden Markov Models. Besides the vertical sliding window two slanted sliding windows are used to extract the features. Three different HMMs are used: one for the vertical sliding window and two for slanted windows a fusion scheme is used to combine the three HMMs. In [06], Alkhateeb proposed a combined scheme for Arabic handwritten word recognition using a HMM classifier followed by re-ranking. Basically intensity features are used to train the HMM and topological features are used for re-ranking to improve accuracy. Experiments were carried out using IFN/ENIT database and the achieved recognition rate was 83.55%.An alternative approach is proposed in [07] and [08] where multi-stream HMM models is used this paradigm provides an interesting framework for the integration of multiple source of information. Significant experiments have been carried out on two public available database the recognition rate was 79.8% in IFN/ENIT for Arabic and 89.8% in IRONFF for Latin script. In [08], Maqqor proposed a system of Arabic handwriting recognition based on combining methods of decision fusion approach. The combination of the multiple HMMs classifiers was applied by using the different methods of decision fusion approach. The system is evaluated using the IFN/ENIT database. Experimental results demonstrate that the Weighted Majority Voting (WMV) combination method have given better recognition rate 76.54% with Gaussian distribution. In [09], the authors present an analytical approach of an offline handwritten Arabic text recognition system. It is based on the Hidden Markov Models Toolkit (HTK) without explicit segmentation. The feature extraction uses a sliding window on the line text image and processed by two groups of these features (the features of local densities and the statistical characteristics). The proposed system has been experimented in two different databases: “Arabic-Numbers” database where we achieved a rate of 80.26% for words and 37.93% for sentences and IFN/ENIT database where we achieved a rate of 78.95% for words. Otherwise [10] proposed a new approach for the offline Arabic handwritten word recognition based on the Dynamic Hierarchical Bayesian Network (DHBN) using a free segmentation released by a smoothed vertical projection histogram with different width values. The model is consisting of three levels. The first level represents the layer of the hidden node which models the character class. The second layer models a frame set representing the sub-characters and the third layer models the observation nodes. The developed system has been experimented and the results are provided on a subset of the IFN/ENIT benchmark data base. These results show a significant improvement in the recognition rate
because of the use of the DHBN. Most of the recognition errors of the proposed system can be attributed to the segmentation process error and to the poor quality of some data samples. In many other works neural networks in its different applications have been extensively applied to classify characters as part of isolated or continuous handwritten word recognizers [11] [12] [13] [14] [15].
This paper focuses on the impact of using a embedded training based on a hybrid classifier the motivation for the work on the hybrid HMMs and Artificial neural network models presented here originates from a critical analysis of the state of the art in offline handwritten text recognition [16] [17] [18] our previous work on offline handwriting recognition using HMMs [19] researches and experiences in using hybrid HMM/ANN models for automatic speech recognition [20] [21, 22, 23, 24] and for online handwriting recognition [25]. All these criteria making hybrid modeling an important factor in order to achieve an effective and efficient system.
III. CONTRIBUTION
A. Reference System [19] Our reference system (figure1) was analytical without explicit segmentation based HMMs using embedded training to perform and enhance the character models.
Figure.1. Synopsis of reference system
Feature extraction was preceded by baseline estimation; the approach used to estimate these baseline based on the horizontal projection curve that is computed with respect to the horizontal pixel density knowing that the skew and slant correction of words are made in pre-processing step to
each MLP output unit is associated with a specific state of the model and if it is trained as a classifier. The a posteriori probability estimates from the MLP outputs P(q|x) can be converted to emission probabilities P(x|q) by applying Bayes rule:
The class priors P(q) can be estimated from the relative frequencies of each state from the information produced by a forced Viterbi alignment of the training data. Thus the scaled likelihoods P(x|q)/P(q) can be used as emission probabilities in the proposed system since during recognition the scaling factor P(x) is a constant for all classes. This allows MLPs to be integrated into hybrid structural connectionist models via a statistical framework.
Figure 3: Global scheme design of the hybrid model HMM/MLP
The advantages of this approach are the discriminate training criterion (all MLP parameters are updated in response to every input feature vector) and the fact that it is no longer necessary to assume an a priori distribution of the data. Furthermore if left and right contexts are used at the input of the MLP important contextual information can be incorporated into the probability estimation process. Another strength of this approach is that computing emission probabilities with hybrid HMM/ANN models is usually faster than conventional HMMs
with Gaussian emissions since it only requires a forward pass of the MLP for all states of the Markov chains.
To evaluate the performance of our recognition system experiments are conducted using IFN/ENIT [31] database of handwritten Arabic words. It was produced by the Institute for Communications Technology at the Technical University of Braunschweig (IFN) and the “Ecole Nationale d’ingénieur de Tunis (ENIT) “National school of engineering Tunis.” This database is used by more than 110 research groups in about 35 countries [32].
A. HMM vs HMM/MLP Classification
Reference recognition HMM experiments were conducted using continuous density HMMs with diagonal covariance matrices of Gaussians in each state, a right-to-left topology was applied with four states for each character and three transitions for each state. The optical models were trained and tested using the HTK toolkit [33]. The developed system used hybrid classifier based HMMs enhanced by an artificial neural network that are incorporated into the process of classification to estimate the emission probabilities. Table1 shows the experimental results of our developed system compared to reference system using the same benchmarking database IFN/ENIT to illustrate the reliability of our improvement models.
reference system System Models RR*^ % Reference HMM 87. Hybrid HMM/MLP 89. RR: Recognition Rate
We compare the reference system [19] with the developed system using hybrid HMM/MLP classifier. Results in Table show an improvement due to embedded training using the hydride classification: accuracy is increased by 1.1%.
B. Comparison with other systems
A comparison of the recognition rates of our system with other state-of-the-art systems evaluated on the IFN/ENIT database is presented. Table2 shows the results of recognition rates for various offline systems recognition of cursive Arabic handwritten text using divers type of models and the same database with the same configuration (training-testing); sets a, b and c for training and d for test, to compare rates and infer the effectiveness of the proposed method.
TABLE2: Recognition results of various systems System Models RR*^ % Irfan [04] Contextual sub character 85. Alkhateeb[06] HMM+ re-ranking 83. Kessentini[07] Multi-stream HMM 79. Maqqor[08] Multiple classifier 76. ElMoubtahij[09] HMM 78. Khaoula[10] DBN 82. Our system HMM/MLP 89.
As it can be noted from Table 2 most of the previous systems are based on HMM using various techniques exploiting the contextual approach, multiple HMM classifier, re-ranking or other techniques to improve HMM models and the recognition rate for the results of the systems mentioned does not exceed 86%. Others used hybrid classifier such as HMM and Dynamic Bayesian Network and the recognition rate achieved was 82.00%. Whereas the proposed system using HMM/MLP outperforms the results and achieve 89.03% due to enhancement of HMMs by incorporating an artificial neural network into the process of classification to estimate the emission probabilities.. This illustrates the effectiveness of embedded training to take account the context of characters to perform the models and using hybrid HMM/MLP classifier to improve the performance of recognition system.
In this paper we have enhanced the HMM based reference system by using a hybrid HMM/MLP classifier. Extracted features are statistical and geometric to integrate both the peculiarities of the text and the pixel distribution characteristics in the word image. These features are modelled using hidden Markov models. These models as already mentioned in [19] take into account the context of character by applying a embedded training to perform the models. In addition, the contribution in this paper is the improving of HMM modeling by incorporating MLPs to estimate emission probabilities that present the major HMM problem in order to take advantage of the strength of HMM modeling and neural networks classification. The modelling proposed has improved recognition and shown encouraging results to be perfect using annexes improvements. Due to variability in handwriting styles even the best handwritten word recognizer is unreliable when the number of word choices is large. This forced the use of linguistic constraints to enhance HMMs modeling by a statistical language model that are incorporated as a post-processing into the process of recognition. Statistical Language Modeling involves attempts to capture regularities of natural language in order to improve the performance of various natural language applications, e.g. , Speech recognition, Machine translation, Handwriting recognition, Information retrieval and other applications.
The goal of Statistical Language Modeling is to build a statistical language model that can estimate the distribution of natural language as accurate as possible, which could improve significantly the results especially when we extend our system for line and paragraph recognition.
REFERENCES
[01] J. H. Alkhateeb O. Pauplin J. Ren J. Jiang Performance of hidden Markov model and dynamic Bayesian network classifiers on handwritten Arabic word recognition In Knowledge-Based Systems 24 (2011) pp.680-688. [02] Salvador Espan˜a-Boquera Maria Jose Castro-Bleda Jorge Gorbe-Moya and Francisco Zamora-Martinez “Improving Offline Handwritten Text Recognition with Hybrid HMM/ANN models” 2011 [03] T.Plots and G.A.Fink; “ Markov models for offline handwriting recognition: a survey” Int J.Anal.Recongit vol 12 no 4 pp 269- 298 2009. [04] Irfan Ahmad Gernot A.Fink and Sabri A.Mahmoud “Improvement in Sub-character HMM Model Based Arabic Text Recognition” 2014 14th International Conference on frontiers in Handwrting Recognition. [05] S. Azeem and H. Ahmed “Effective technique for the recognition of offline Arabic handwritten words using hidden Markov models” Int. J. Doc. Anal. Recognit. vol. 16 no. 4 pp.399–412 2013. [06] J. AlKhateeb H. Ren Jinchang Jiang Jianmin Al-Muhtaseb Husni Offline handwritten arabic cursive text recognition using hidden markov models and re-ranking Pattern Recognition Lett. 32 (8) 1081–1088 2011. [07] Y. Kessentini T. Paquet A. Ben Hamadou Off-line handwritten word recognition using multistream hidden Markov models in: Pattern Recognition Letters 31 (2010) pp. 60- [08] A. Maqqor A. Halli K. Satori and H. Tairi Off-line recognition Handwriting combination of mutiple classifiers In 3rd International IEEE Colloquium on Information Science and Technology IEEE CIST’14 October 2014. [09] El Moubtahij Hicham Halli Akram Khalid Satori “Using features of local densities statistics and HMM toolkit (HTK) for offline Arabic handwriting text recognition” 2016 [10] Khaoula Jayech Mohamed Ali Mahjoub and Najoua Ben Amara “Arabic Handwritten Word Recognition based on Dynamic Bayesian Network” 2016. [11] A.K. Abdul Hassan, Mustafa S. Kadhm “Handwriting Word Recognition Based on Neural Networks” International Journal of Applied Engineering Research ISSN 0973 4562 Volume 10, Number 22 (2015) pp 43120- 43124 [12] Shan Pang, Xinyi Yang “Deep Convolutional Extreme Learning Machine and Its Application in Handwritten Digit Classification” Comput Intell Neurosci. Published online 2016 Aug 17. doi: 10.1155/2016/3049632. [13] Parshuram M. Kamble, Ravindra S. Hegadi “Deep neural network for handwritten Marathi character recognition” International Journal of Imaging and Robotics, 2017, Volume 17, Issue Number 1 [14] Théodore Bluche “Deep Neural Networks for Large Vocabulary Handwritten Text Recognition.”Computers and Society [cs.CY]. Universit_e Paris Sud - Paris XI, 2015. English. <NNT : 2015PA112062>. <tel-01249405> [15] Ahmed Mahdi Obaid Hazem M. El Bakry M.A. Eldosuky IVA.I. Shehab “Handwritten Text Recognition System Based on