Comparison of HMM and DTW for Isolated Word Recognition System of Punjabi Language

Similar documents
Class-Discriminative Weighted Distortion Measure for VQ-Based Speaker Identification

Design Of An Automatic Speaker Recognition System Using MFCC, Vector Quantization And LBG Algorithm

A Comparison of DHMM and DTW for Isolated Digits Recognition System of Arabic Language

International Journal of Computational Intelligence and Informatics, Vol. 1 : No. 4, January - March 2012

AUTOMATIC DETECTION OF PROLONGED FRICATIVE PHONEMES WITH THE HIDDEN MARKOV MODELS APPROACH 1. INTRODUCTION

Speech Segmentation Using Probabilistic Phonetic Feature Hierarchy and Support Vector Machines

Learning Methods in Multilingual Speech Recognition

Analysis of Emotion Recognition System through Speech Signal Using KNN & GMM Classifier

A study of speaker adaptation for DNN-based speech synthesis

Speech Emotion Recognition Using Support Vector Machine

Human Emotion Recognition From Speech

Speaker recognition using universal background model on YOHO database

Eli Yamamoto, Satoshi Nakamura, Kiyohiro Shikano. Graduate School of Information Science, Nara Institute of Science & Technology

WHEN THERE IS A mismatch between the acoustic

Unvoiced Landmark Detection for Segment-based Mandarin Continuous Speech Recognition

ADVANCES IN DEEP NEURAL NETWORK APPROACHES TO SPEAKER RECOGNITION

Speech Recognition at ICSI: Broadcast News and beyond

Speech Recognition using Acoustic Landmarks and Binary Phonetic Feature Classifiers

Analysis of Speech Recognition Models for Real Time Captioning and Post Lecture Transcription

Phonetic- and Speaker-Discriminant Features for Speaker Recognition. Research Project

Speaker Identification by Comparison of Smart Methods. Abstract

Automatic Pronunciation Checker

Modeling function word errors in DNN-HMM based LVCSR systems

Lecture 9: Speech Recognition

Modeling function word errors in DNN-HMM based LVCSR systems

BAUM-WELCH TRAINING FOR SEGMENT-BASED SPEECH RECOGNITION. Han Shu, I. Lee Hetherington, and James Glass

have to be modeled) or isolated words. Output of the system is a grapheme-tophoneme conversion system which takes as its input the spelling of words,

Robust Speech Recognition using DNN-HMM Acoustic Model Combining Noise-aware training with Spectral Subtraction

A Neural Network GUI Tested on Text-To-Phoneme Mapping

Voice conversion through vector quantization

International Journal of Advanced Networking Applications (IJANA) ISSN No. :

On the Formation of Phoneme Categories in DNN Acoustic Models

Likelihood-Maximizing Beamforming for Robust Hands-Free Speech Recognition

Lecture 1: Machine Learning Basics

An Online Handwriting Recognition System For Turkish

A New Perspective on Combining GMM and DNN Frameworks for Speaker Adaptation

Automatic Speaker Recognition: Modelling, Feature Extraction and Effects of Clinical Environment

Reducing Features to Improve Bug Prediction

Vimala.C Project Fellow, Department of Computer Science Avinashilingam Institute for Home Science and Higher Education and Women Coimbatore, India

Speaker Recognition. Speaker Diarization and Identification

QuickStroke: An Incremental On-line Chinese Handwriting Recognition System

Word Segmentation of Off-line Handwritten Documents

Noise-Adaptive Perceptual Weighting in the AMR-WB Encoder for Increased Speech Loudness in Adverse Far-End Noise Conditions

Digital Signal Processing: Speaker Recognition Final Report (Complete Version)

Segregation of Unvoiced Speech from Nonspeech Interference

Support Vector Machines for Speaker and Language Recognition

ACOUSTIC EVENT DETECTION IN REAL LIFE RECORDINGS

Learning Structural Correspondences Across Different Linguistic Domains with Synchronous Neural Language Models

Evolutive Neural Net Fuzzy Filtering: Basic Description

Semi-Supervised GMM and DNN Acoustic Model Training with Multi-system Combination and Confidence Re-calibration

OCR for Arabic using SIFT Descriptors With Online Failure Prediction

The NICT/ATR speech synthesis system for the Blizzard Challenge 2008

Calibration of Confidence Measures in Speech Recognition

Problems of the Arabic OCR: New Attitudes

Unsupervised Acoustic Model Training for Simultaneous Lecture Translation in Incremental and Batch Mode

Mandarin Lexical Tone Recognition: The Gating Paradigm

On Developing Acoustic Models Using HTK. M.A. Spaans BSc.

Speech Recognition by Indexing and Sequencing

STUDIES WITH FABRICATED SWITCHBOARD DATA: EXPLORING SOURCES OF MODEL-DATA MISMATCH

Phonological Processing for Urdu Text to Speech System

PREDICTING SPEECH RECOGNITION CONFIDENCE USING DEEP LEARNING WITH WORD IDENTITY AND SCORE FEATURES

A NOVEL SCHEME FOR SPEAKER RECOGNITION USING A PHONETICALLY-AWARE DEEP NEURAL NETWORK. Yun Lei Nicolas Scheffer Luciana Ferrer Mitchell McLaren

Rule Learning With Negation: Issues Regarding Effectiveness

UNIDIRECTIONAL LONG SHORT-TERM MEMORY RECURRENT NEURAL NETWORK WITH RECURRENT OUTPUT LAYER FOR LOW-LATENCY SPEECH SYNTHESIS. Heiga Zen, Haşim Sak

Affective Classification of Generic Audio Clips using Regression Models

Lip reading: Japanese vowel recognition by tracking temporal changes of lip shape

CS Machine Learning

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Chinese Language Parsing with Maximum-Entropy-Inspired Parser

On the Combined Behavior of Autonomous Resource Management Agents

Learning Optimal Dialogue Strategies: A Case Study of a Spoken Dialogue Agent for

System Implementation for SemEval-2017 Task 4 Subtask A Based on Interpolated Deep Neural Networks

Experiments with SMS Translation and Stochastic Gradient Descent in Spanish Text Author Profiling

NCU IISR English-Korean and English-Chinese Named Entity Transliteration Using Different Grapheme Segmentation Approaches

Improvements to the Pruning Behavior of DNN Acoustic Models

SARDNET: A Self-Organizing Feature Map for Sequences

INPE São José dos Campos

Lahore University of Management Sciences. FINN 321 Econometrics Fall Semester 2017

Body-Conducted Speech Recognition and its Application to Speech Support System

IEEE TRANSACTIONS ON AUDIO, SPEECH, AND LANGUAGE PROCESSING, VOL. 17, NO. 3, MARCH

Reinforcement Learning by Comparing Immediate Reward

Large vocabulary off-line handwriting recognition: A survey

Python Machine Learning

Using Articulatory Features and Inferred Phonological Segments in Zero Resource Speech Processing

Rule discovery in Web-based educational systems using Grammar-Based Genetic Programming

Non intrusive multi-biometrics on a mobile device: a comparison of fusion techniques

Circuit Simulators: A Revolutionary E-Learning Platform

Automatic segmentation of continuous speech using minimum phase group delay functions

The Strong Minimalist Thesis and Bounded Optimality

Detailed course syllabus

Australian Journal of Basic and Applied Sciences

Lecture 10: Reinforcement Learning

GCSE Mathematics B (Linear) Mark Scheme for November Component J567/04: Mathematics Paper 4 (Higher) General Certificate of Secondary Education

PHONETIC DISTANCE BASED ACCENT CLASSIFIER TO IDENTIFY PRONUNCIATION VARIANTS AND OOV WORDS

BUILDING CONTEXT-DEPENDENT DNN ACOUSTIC MODELS USING KULLBACK-LEIBLER DIVERGENCE-BASED STATE TYING

COMPUTER INTERFACES FOR TEACHING THE NINTENDO GENERATION

Rule Learning with Negation: Issues Regarding Effectiveness

Detecting English-French Cognates Using Orthographic Edit Distance

TIMSS ADVANCED 2015 USER GUIDE FOR THE INTERNATIONAL DATABASE. Pierre Foy

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

Transcription:

Comparison of HMM and DTW for Isolated Word Recognition System of Punjabi Language Kumar Ravinder Department of Computer Science & Engineering, Thapar Univeristy, Patiala 147004 (India) ravinder@thapar.edu Abstract. Issue of speech interface to computer has been capturing the global attention because of convenience put forth by it. Although speech recognition is not a new phenomenon in existing developments of user-machine interface studies but the highlighted facts only provide promising solutions for widely accepted language English. This paper presents development of an experimental, speaker-dependent, real-time, isolated word recognizer for Indian regional language Punjabi. Research is further extended to comparison of speech recognition system for small vocabulary of speaker dependent isolated spoken words in Indian regional language (Punjabi) using the Hidden Markov Model (HMM) and Dynamic Time Warp (DTW) technique. Punjabi language gives immense changes between consecutive phonemes. Thus, end point detection becomes highly difficult. The presented work emphasizes on template-based recognizer approach using linear predictive coding with dynamic programming computation and vector quantization with Hidden Markov Model based recognizers in isolated word recognition tasks, which also significantly reduces the computational costs. The parametric variation gives enhancement in the feature vector for recognition of 500-isolated word vocabulary on Punjabi language, as the Hidden Marko Model and Dynamic Time Warp technique gives 91.3% and 94.0% accuracy respectively. Keywords: Dynamic programming (DP), dynamic time warp (DTW), hidden markov model (HMM), linear predictive coding (LPC), Punjabi language, vector quantization (VQ). 1 Introduction Research in automatic speech recognition has been known for many years, various researchers have tried to analyze the different aspects of speech in Indian languages. Existing literature reveals that Punjabi (ਪ ਜ ਬ in Gurmukhi script) is highly phonetic language as compared to other national and international languages. Punjabi language is one of the popular and used north western India and in Pakistan. Gurmukhi script alphabet consists of 41 consonants and 10 vowels (laga matra), two symbols for nasal sounds (bindī and ṭippī), and one symbol which duplicates the sound of any consonant (addak) with writing style from left to right. Three consonants are used in Punjabi as conjuncts. I. Bloch and R.M. Cesar, Jr. (Eds.): CIARP 2010, LNCS 6419, pp. 244 252, 2010. Springer-Verlag Berlin Heidelberg 2010

Comparison of HMM and DTW for Isolated Word Recognition System 245 Recently British researchers have used the Punjabi language to help narrow down the identity of writers and develop a technique that could profile criminal authors of documents [1]. In consecutive phoneme that has immense variation, end point detection is highly difficult. However in time-domain equation the deviation of preemphasis filter enhances filtering of end point detection. As indicated in figure 1, the speech recognition system contains four components: end point detection, linear predictive coding (LPC) processor, statistical-patternrecognition techniques HMM /DTW and recognition process [2] [3]. The speech recognition has two algorithmic procedures to deal with the non-stationary speech signals: the temporal alignment technique and markov modeling. The time warping technique is combined with linear predictive coding analysis in DTW approach. In HMM approach, well known techniques of vector quantization and hidden markov modeling are combined with a linear predictive coding analysis. The DTW approach uses the nearest neighbor (NN) decision rule and HMM uses the maximum likelihood (ML) decision rule. Fig. 1. Block diagram of Speech Recognition System These methods display certain superficial similarities, as a result of which, it has occasionally been claimed that they are identical. From the simulation, it is clear that the methods are not identical. While their overall performances are comparable, they

246 K. Ravinder appear to make different errors, and involve different amounts of computation and different complexities of training. This recognition system is implemented using Visual C++ with Multimedia API in Windows environment. The speech is recorded in the form of wave file using RIFF structure. The proposed system speech has to be sampled at 6.67 khz, 16 khz sampling frequency, sampling size 8 bit on mono channel and recording of a single word within limit 3000 milliseconds. Threshold energy 10.1917 db is used in the word detection [4] [5] [6]. The organization of this paper is as follows. In section II, the system model is used for endpoint detection and feature extraction. Further, section III elaborates working of HMM and DTW approaches on Punjabi language. In section IV, experimental performance has been conducted and compared. Finally section V provides the concluding remarks. 2 System Model 2.1 End point Detection The significant effort on the implementation of speech recognition is the problem of extricating background silence before and after the input speech. To find, the energy of the speech signal Wave (s) s=48000, it is formatted into blocks of 10 ms and each block, we define Wave (n) is, n(1..160) to be the n th sample in the block. The log energy E s of a block of length N samples is E s N 1 2 = 10 * log10( + Wave ( n)) (1) N n= 1 Where = 1.0 e 007 is a small positive constant added to prevent the computing of log zero. Hence, log energy E s is used for end point detection [7]. 2.1 LPC Feature Analysis To compute LPC feature analysis involves the following operation for each speech frames [2]. Preemphasis: The digitized speech signal is processed by a first order digital network in order to spectrally flatten the recorded signal Wave(s). pre( s) = Wave( s) α Wave( s 1) (2) Where α = 0. 9731 Blocking into frames: Here N is consecutive speech samples (we use N=320 corresponding to 20 ms of signal) are used as a single frame. Consecutive frames are spaced M sample apart (we use M = 160 corresponding to 10ms frame spacing or 20ms frame overlap) and L is the number of frames in voiced speech word. X ( )( n) = pre( M + n) (3)

Comparison of HMM and DTW for Isolated Word Recognition System 247 Frame Windowing: Each frame is multiplied by an N-samples window (we use Hamming window) so as to minimize the adverse effect of chopping N-sample out of the running speech signal. 2πn W ( )( n) = (0.54 0.46cos( )) X ( )( n), N 1 (4) Where 0 n N 1 and 0 L 1 Autocorrelation Analysis: Each windowed set of speech samples is autocorrelated to a given a set of (p + 1) coefficient, where p is the order of the desired LPC analysis (we use p =11). N 1 k n= 0 R( )( k) = W ( )( n) W ( )( n + k) (5) Where 0 k p, 0 n N 1 and 0 L 1 LPC/Cepstral Analysis: For each frame, a vector of LPC coefficients is computed from the autocorrelation vector using a Levinson-Durbin recursion method. An LPC derived cepstral vector is then computed up to the Q th component, where Q is the order of the cepstral coefficients and Q > k, Q = 11 used in this work. Weighted Cepstral Coefficient: After computing cepstral coefficients, weight is given to them by multiplying them with cepstral weight. It will enhance the portion of the cepstrum in vocal tract information. The computation involved at this step is: WC W C C Q πk k) = 1+ sin 2 Q ( (6) ( )( k) W ( k) C ( )( k) C C Where 0 k = (7) Where 0 k p and 0 L 1 Delta Cepstrum: The time derivative of the sequence of the weighted cepstral vectors is approximated by a first order orthogonal polynomial over a finite length window of (2k+1) frames centered on the current vector. The value of k = 2 i.e., 5 frame window is used for computing the derivative). The cepstral derivative (i.e., the delta cepstral vector) is computed as D C K ( )( m) = kwcc ( k)( m) G (8) k = K Where p 0 m Q

248 K. Ravinder Where G is a gain term chosen to make the variances of weighted cepstral coefficient and delta cepstral coefficient equal (A value of G of 0.375 was used.) [8] [9]. 2.2 Vector Quantization The VQ codebook is a discrete representation of speech. We will generate the codebook by using LBG algorithm. This algorithm has used two times, one is on training time and other is testing time. In training time we will generate codebook for delta cepstrum coefficients. In testing we will use stored codebook for getting the indices of codebook that give minimum distortion. The VQ will find a codebook index corresponding to the vector that best represents a given spectral vector, for an input vector sequence V{v(1), v(2), v(3),.., v(n)}, VQ will calculate the vector distance between each vector in codebook C{c(1), c(2), c(3),, c(p)} and each vector v(n), and the codebook index with minimum distance will be chosen as output. After VQ, a sequence of codebook indexes I{i(1), i(2), i(3),., i(n)} will be produced. The vector distance between an input vector v(n) and each vector in codebook are calculated as follows: k = Distance (p) = 11 k = 1 2 [ v ( n)( k) c( p)( k)] (9) i( n) = arg min (Distance (p)) (10) p The vector quantization codebook of size p = 256 and vector length k = 11 are used. This size selection is based on the experimental results [8] [10]. 3 HMM and DTW for Isolated Word Recognition Dynamic Time Warp approach and Hidden Markov approach for isolated word recognition of small vocabulary are implemented. The time warping technique is combined with linear predictive coding analysis and HMM approach used with vector quantization and hidden markov modeling are combined with a linear predictive coding analysis. 3.1 Hidden Markov Model LPC analysis followed by the vector quantization of the unit of speech, gives a sequence of symbols (VQ indices). HMM is one of the ways to capture the structure in this sequence of symbols. In order to use HMM in speech recognition, we should have some means to achieve the following. Evaluation: Given the observation sequence O=O 1, O 2,, O T, and the model λ =(A, B, π ), how we compute Pr (O λ ), the probability of the observation sequence. The evaluation problem is efficient way of computing this probability using forward and backward algorithm.

Comparison of HMM and DTW for Isolated Word Recognition System 249 Decoding: Given the observation sequence O=O 1, O 2,, O T, how we choose a state sequence I=i 1, i 2,, i T, which is optimal in some meaningful sense. The decoding helps to find the best matching state sequence given an observation sequence and solve using Viterbi algorithm. Training: How we adjust the model parameters λ =(A, B, π ) to maximize Pr (O λ ). The training problem resolved by Baum-Welch algorithm [11] [12][15]. 3.2 Dynamic Time Warping The DTW deals with features and distances (local and global) concept. To obtain a global distance between two speech patterns (represented as a sequence of vectors) a time alignment must be performed. Dynamic time warp alignment that simultaneously provides a distance score associated with the alignment. Consider a matrix with N n (N reference, n input signal) and a local distance l(i, j) which returns a distance associated with i, j (where i template of reference, j of input signal). Compute the shortest path with minimum distance from each cell of N n matrix. This problem exhibits optimal substructure. The solution to the entire problem relies on solutions to sub problems. Let us define a function g (i, j) as g(i, j) = the minimum distance to reach at final (i, j) in N n j < 1 or g( i, j) = l( i, j) i = 1 min( g( i 1, j 1), g( i 1, j), g( i 1, j + 1)) + l( i, j) otherwise j > n This is recursive process and global distance is the value at top most cell of the last column in matrix. On training time the database of the features LPC Coefficients of the training data is created. In testing time, the input pattern (features vector of the test token) is compared with each reference pattern. The distance scores for all the reference patterns are sent to a decision rule, which gives the word with least distance as recognized word. The distance measure between two feature vectors is calculated using Euclidean distance metric [13] [14][15]. 4 Experimental Performance 4.1 Performance Based on Punjabi Numerals The recordings were done for one male speaker. The experimental result gives incremented accuracy as increases the size of the codebook, but constantly increasing the complexity and time of recognition increases. So the codebook size of 256 for the comparison between DTW and VQ/HMM techniques is used. (Tested various size of code book but give more accuracy/time results optimized on only size of 256). The train the system for Punjabi numerals is the five times. The recognition results of numerals are show in figure 2.

250 K. Ravinder Fig. 2. Performance comparison of Punjabi numerals between DTW and VQ/HMM Fig. 3. Performance comparison of Punjabi words between DTW and VQ/HMM

Comparison of HMM and DTW for Isolated Word Recognition System 251 4.2 Performance Based on Randomly Selected Words The recognition vocabulary of Punjabi words (the English word Newspaper is translated and pronounced as ਅਖਬ ਰ in Punjabi language). The system for each of the words was trained with 10 utterances of the same word. The comparison for the performance of the VQ/HMM recognizer with DTW recognizer, a sub set of 10 randomly selected words from 500 trained words set was tested on both of the recognizers. The recognition accuracies of the VQ/HMM recognizer vs. DTW recognizer are as shown in figure 3. 5 Conclusion Results carried out by above experiments reveal that performance of HMM recognizer is somewhat poorer than the DTW based recognizer because of the insufficiency of the HMM training data. However with the increase in the size of the codebook, the accuracy of the HMM based recognizer may improve but that will increases the complexity of the system. The time and space complexity of the HMM approach is less as compared to the DTW approach for same size of codebook because during HMM testing we have to compute the probability of each model to produce that observed sequence. In DTW testing, the distance of the input pattern from every reference pattern is computed, which is computationally more expensive. In experimental result the system gives very impressive performance for Punjabi language numerals with DTW is 92.3% and with HMM is 87.5%. The experimental research reveals that DTW approach is more appropriate for Punjabi numerals and isolated spoken words. Further, the results have also shown that the errors made by the two recognizers are largely disjoint. Hence there exist the potential of DTW using some fairly standard techniques for Punjabi Language as compared to HMM approach for better accuracy because is more phonetic as compared to other languages. References 1. Prasun, S.: British experts use Gurmukhi to aid forensic research. In: Indo-Asian News Service, London. Hindustan Times (September 21, 2007) 2. Rabiner, L.R.: A Tutorial on Hidden Markov Models and Selected Applications in Speech Recognition. Proceedings of the IEEE 77(2), 257 286 (1989) 3. George, M.W., Richard, B.N.: Speech Recognition Experiments with Linear Prediction, Bandpass Filtering, and Dynamic Programming. IEEE Transaction on Acoustics, Speech, and Signal Processing ASSP-24(2), 183 188 (1976) 4. Bovbel, E.L., Kheidorov, I.E.: Statistical recognition methods, application for isolated word recognition. IEEE Transaction on Digital Signal Processing, 821 823 (June 1997) 5. Guan, C., Zhu, C., Chen, Y., He, Z.: Performance Comparison of Several Speech Recognition Methods. In: 1994 International Symposium on Speech, Image Processing and Neural Networks, Hong Kong, pp. 13 16 (April 1994) 6. Levinson, S.E., Rabiner, L.R., Sondhi, M.M.: Speaker Independent Isolated Digit Recognition Using Hidden Markov Models. In: International Conference on Acoustics, Speech, and Signal Processing, Paper 22.8, pp. 1049 1052 (April 1983)

252 K. Ravinder 7. Picone, J.W.: Signal Modeling Techniques in Speech Recognition. Proceedings of the IEEE 81(9), 1214 1245 (1993) 8. Rabiner, L., Juang, B.-H.: Fundamentals of Speech Recognition. Prentice Hall PTR, Englewood Cliffs (1993) 9. Bahl, L.R., Brown, P.F., de Souza, P.V., Mercer, R.L., Picheny, M.A.: A Method for the Construction of Acoustic Markov Models for Words. IEEE Transaction on Speech and Audio Processing 1(4), 443 452 (1993) 10. Soong, F.K., Rosenberg, A.E., Rabiner, L.R., Juang, B.H.: A Vector Quantization Approach to Speaker Recognition. In: Conference Record 1985 IEEE International Conference on Acoustics, Speech, and Signal Processing, Paper 11.4.1, pp. 387 390 (March 1985) 11. Rabiner, L.R., Juang, B.H., Levinson, S.E., Sondhi, M.M.: Recognition of Isolated Digits Using Hidden Markov Models with Continuous Mixture Densities. Bell System Tech. Jour. 64(6), 1211 1234 (1985) 12. Rabiner, L.R., Juang, B.H.: An Introduction to Hidden Markov Models. IEEE ASSP Magazine 3(1), 4 16 (1986) 13. Rabiner, L.R., Schmidt, C.E.: Application of Dynamic Time Warping to Connected Digit Recognition. IEEE Trans. on Acoustics, Speech, and Signal Processing ASSP 28(4), 377 388 (1980) 14. Myers, C.S., Rabiner, L.R., Rosenberg, A.E.: Performance Tradeoffs in Dynamic Time Warping Algorithms for Isolated Word Recognition. IEEE Trans. on Acoustics, Speech, and Signal Processing ASSP 28(6), 623 635 (1980); Smith, T.F., Waterman, M.S.: Identification of Common Molecular Subsequences. J. Mol. Biol. 147, 195 197 (1981) 15. Axelrod, S., Maison, B.: Combination of hidden markov model with dynamic time warping for speech recognition. In: Proceedings of the ICASSP, pp. 173 176 (2004)