Speaker independent isolated word recognition system using neural networks

Abstract: The method for speaker independent isolated word recognition is based on a hybrid recognition system, which uses neural networks, availing itself of its parallel processing to improve recognition and optimize system for what concerns time and memory while it keeps some of the consolidated aspects of recognition techniques. Complete words are modeled with left-to-right Markov model automata with recursion on states, each of which corresponds to an acoustic portion of the word, and recognition is obtained by performing a dynamic programming according to the Viterbi algorithm on all automata in order to detect the one having the minimum cost path to which corresponds the recognized word, the emission probabilities being computed through a neural network with feedback, trained in an original way, and the transition probabilities being suitably estimated.

Description: The present invention relates to an automatic speech recognition method, and more particularly it concerns a speaker independent isolated word recognition method wherein neural networks are used, as stated in the preamble of claim 1. It is well known that the supply of vocal services on a telephone line requires the presence of equipment capable of recognising at least a short dictionary, generally comprising some ten words pronounced separately one at a time by the user. It is also well-known that recognition on a telephone line entails additional difficulties with respect to normal recognition because of the poor quality of the audio signal, which is limited in bandwidth and is affected by noises introduced by the switching and transmitting equipment. The recognition technique presently more used is based on the so called Markov models, as described in D. B. Paul's article "Speech Recognition Using Hidden Markov Models", The Lincoln Laboratory Journal, vol. 3, n. 1 (1990). A Markov model, e. g. of the type described by L. R. Rabiner in the article "An introduction to Hidden Markov Models", IEEE ASSP Magazine, January 1986, is a stochastic automaton characterized by two types of parameters: the transition probabilities from one state to another of the automaton and the probabilities for each state of recognizing an input symbol, also called the emission probability of such a symbol. When applied to speech recognition, the Markov model automaton structure is selected by setting a certain number of constraints due to the sequential nature of voice. So, only "left-to-right" automata are being considered where after a state is abandoned it cannot be visited again and any transitions are limited to the recursion on one state and to the transition to the next state. Complete words are hence modeled by left-to-right automata (with recursion on states) where each state corresponds to an acoustic word portion, which is automatically determined during training. The states of the different models are characterized by a probability of recognizing a portion of the input word. Word recognition takes place by carrying out a dynamic programming according to Viterbi algorithm on all the automata, so as to find the path through the states maximizing the recognition probability by the automaton related to the examined word. The path detected is that of the minimum cost and the automaton where this path was found corresponds to the recognized word. The Markov models have achieved satisfactory performances and now are at the basis of many speech recognition systems. Top limits for the performances of this technique seem to have been substantially attained and there is therefore a technical interest in attempting to improve recognition quality. Moreover, in the case of continuous Markov models, where emission probabilities are computed with a linear density combination of gaussian probabilities in a number which generally varies from 8 to 16 per state, computing duty can be very heavy. The present invention concerns a hybrid method using both techniques already used for Markov models and the new technology of neural networks. Word modeling with automata and decoding with dynamic programming are kept, as in Markov models, while emission probabilities are computed with neural networks and transition probabilities are computed in a different way, as it will be described later. Neural networks are a distributed processing model reproducing in a simplified form the organisation of the cerebral cortex. A neural network is a parallel processing model made up of numerous processing units (neurons) strongly interconnected by means of connections with different intensities (Synapses). The activity of the individual unit is simply a non linear function of the weighted sum of inputs and model power is resident in the topology of the connections and in their intensity. Starting from the input units, to which data of the problem to be solved are supplied, processing is parallel propagated in the network till the output units supplying the result. A neural network is not programmed, but it is trained by a set of examples of the reality to be modeled. Neural networks are described, for example, in the book by D. Rumelhart "Parallel Distributed Processing", vol. 1 Foundations, MIT Press, Cambridge, Mass., 1986. This technology allows obtaining very good performances in many sectors such as function estimate, video and speech signal classification, industrial control techniques, forecast and optimization. The aim of the hybrid recognition method, object of the present invention, is to avail itself of the characteristics of neural networks, such as low sensitivity to noise, classification accuracy, parallel processing, in order to improve recognition and to optimize the method for what concerns time and memory, though some consolidated aspects of recognition techniques are kept, such as word modeling with automata and dynamic programming for decoding them. The main advantages of the hybrid recognition method are as follows: increase in recognition accuracy, thanks to the use of contextual information and discriminant training typical of neural networks; and a great potential efficiency of the related system, thanks to the intrinsic parallelism of the neural model, which can be implemented by special devices, such as vectorial processors, digital or analogic VLSI chips for neural networks. Hybrid recognition systems, using Hidden Markov Models in conjunction with neural networks, are disclosed in GB 2230370-A and GB 2240203-A. The first document suggests performing a first analysis with Hidden Semi Markov Models and a second analysis with a neural network only when the level of confidence falls. The second document proposes use of a neural network to rescore the list of words or phonemes identified by the Hidden Markov Models. Contrary to this prior art documents, the present invention provides a method where an integrated analysis is performed and the neural network provides the emission likelihood of the Markov states. The object of the present invention is to provide a speaker independent isolated word recognition method using neural networks, as described in the characterizing part of claim 1. The foregoing and other characteristics of the present invention will be made clearer by the following description of a preferred embodiment of a system carrying out the method, given by way of non limiting example, and by the annexed drawings, wherein: Figure 1 shows the functional block diagram of the system; Figure 2 shows the specific realization of the automata modelling complete words; Figure 3 shows the block denoted by RNA in Figure 1; Figure 4 is an example of emission probabilities for all the states of the automata relating to the ten Italian digits ('ZERO', ...., 'NOVE') in the presence of the word 'SETTE'; Figure 5 is a flow chart of the operations necessary for training the recognition system object of the present invention. The recognition system, shown in Figure 1, receives the speech signals at input, made up of isolated words, and any noises coming from a telephone line LT or from any analogic source and submits them to a sequence of operations. The first operation, carried out by a module SP having known characteristics, allows the extraction of the parameters which characterize the speech signal. It consists of the signal spectral analysis carried out on critical bandwidths of the human auditory system. The signal is first digitized with a sampling rate of 8 KHz and analysed every 10 ms by the fast Fourier transform. The result of the spectral analysis is then submitted to an orthogonal transformation (Cosine transform) in order to obtain 12 so-called cepstral parameters. The logarithm of the total energy contained in each 10 ms temporal interval is moreover calculated. To these 13 values their numeric derivatives are added obtaining in all 26 parameters for each temporal interval. The next module ED is an apparatus which detects approximately the word ends, separating the word from the surrounding silence. The apparatus operates on the parameter related to the total energy of the speech signal supplied by the previous block and supplies a signal used to activate next block RNA. This is a recognizer based on the hybrid model according to the present invention, and it will be described further on in detail. The indications about recognized words are present at output PR of block RNA. The recognizer RNA is a hybrid model inheriting word modeling using left-to-right automata from the Markov model technique, while the emission probability of the states, i. e. the probability that a state recognises an input segment as belonging to it, is estimated by a multilayer perceptron type recurrent neural network. A specific embodiment of the automata modelling complete words to carry out recognition with the invention system is shown in Figure 2. To recognize isolated words, each word is made up of an automaton containing a central sequence of states belonging to the word, denoted by numbers from 3 to 7, preceded and followed by an initial silence state 2 and a final state 8, specific to the word, respectively containing the transition silence- word and word-silence. During recognition other two generic background noise states 1 and 9 are added at the beginning and the end of the automaton to perceive wider silence portions surrounding the word and any hisses and spurious noises. As it can be noted in the figure, automaton states have a recursion on themselves besides the transition to the next state. In Figure 3 block RNA is outlined, comprising a multilayer perceptron neural network, of the type described in the already mentioned book by D. Rumelhart "Parallel Distributed Processing", whose input is a window of the preprocessed speech signal, i. e. a window of cepstral parameters, and whose outputs are the emission probabilities of the states of all the word models denoted by M1, ..., Mk, ...., Mn. The units of each level of the neural network are completely connected with the units of the preceding level through synaptic weights. Output ο i of the individual neuron i is given by the weighted sum of its inputs  j , to which a constant value 0 i , typical of the neuron, is added. The sum is then submitted to a sigmoidal transformation F (x), according to the following formula: where w ij is the synaptic weight of the connection from neuron j to neuron i. The neural network used in the present system is of the recurrent multilayer perceptron type, i. e. provided with feedback. The neural network comprises indeed a level FL which contains at the time t + 1 the contents of the internal level HL at the time t. This contents returns at input at the internal level HL realizing therefore a system with feedback, capable of availing itself of a memory of the preceding states. The input of block RNA, at level IL, is a window comprising seven temporal intervals 10 ms each (a number of intervals from 3 to 9 is suitable) of the cepstral parameters supplied by the block ED (Figure 1); it is followed by the level of the hidden units HL provided with feedback and by an output unit level OL, on which the suitably coded result is read. The output units are in a one-to-one correspondence with the states of all automata M1, ..., Mn, used for modeling the words in the used dictionary. The output of these units (ranging from 0 to 1) gives an estimate of the emission probability of the state. The presence of a window with an amplitude equal to seven 10 ms temporal intervals at neural network input allows considering a part of the speech signal greater than that considered by the Markov models operating with a 10 ms amplitude window. This is an advantage because it makes recognition easier. The presence of the feedback also allows to use a contextual information, by permitting to the neural network to 'remember' the parts of the word already analysed to make recognition of the sounds under test easier. More particularly, the probability of emission of a state does not depend only on the current input but also on the inputs at the preceding instants. This can be very useful in discriminating similar sounds found in different words (such as 'E' in 'DUE' and 'E' in TRE) or in the same word (such as the two 'O' in OTTO), but in different contexts. For example, the contextual information makes the state corresponding to the 'O' of 'ZERO' be activated only in this context and not whenever there is sound 'O' at the input, as in 'UNO', 'NOVE', etc. For a better understanding see Figure 4, showing the activation of output neurons in an already trained neural network operating for recognition of a word ('SETTE' in the example). On the ordinates there are the states of the 10 automata, corresponding to the pronounciation of digits from 'ZERO' to 'NOVE', each comprising a number of states between 5 and 8, shown in a succession from top to bottom. On the abscisses is shown the time, divided into a number of 10 ms temporal intervals. The size of dots is directly proportional to the probability values, estimated by the neural network. It can be seen that besides the states of the correct automaton corresponding to the word 'SETTE', only the first states of the automaton 'SEI' are activated while the states of the other automata are practically disactivated, i. e. they have practically no probability even though these automata contain sounds present in 'SETTE', such a 'E' or 'T'. Recognition system training, based on a set of already classified training words, must be performed before the system be used for the recognition. During the training stage the block RNA must perform two operations at the same time: one consists in detecting a suitable segmentation for each word, by attributing to each state of the automaton modelling the word a certain word portion; the other consists in training the neural network to correctly recognize word portions assigned to the different states, emitting in this case a high probability for the correct state and a low one for the others. As known, the word segmentation is a vector of state end points. For example, the segmentation S t = (6 10 18 22 30) corresponds to a word modelled by a 5 state automaton, the first of which has taken the first six 10ms temporal intervals of the word, the second the intervals from 7 to 10, the third the intervals from 11 to 18, and so on. The training is partly realized according to already known methods, but it contains variants and additions characterizing the invention and producing a useful operation of the training itself. In this way the neural network can be used for recognizing isolated words with good performances. The training of the neural network consists in modifying the weights w ij of the network in order to realize the correct input-output transfer function based on a pair set <input vector, output vector> called training set. Input vectors are composed of segmented words and recorded in the form of cepstral parameters, collected in a data base with optimum characteristics for training. Output vectors, herein called objective vectors, are suitably constructed, as described further on. When the training is over, the synaptic weights obtained are stored in a memory and are used for recognizing the words received from the telephone line. The training method stages of block RNA, shown in the flow chart in Figure 5, are the following: initialization: a. initialization of the neural network with small random synaptic weights; b. creation of the first segmentation by segmenting the training set words uniformly. iteration: 1. initialization of the training set with all the segmented words; 2. random choice of a word not already learnt (a word is considered learnt if the mean error for that word is sufficiently low); 3. updating of the synaptic weights w ij for the considered word by applying the error backpropagation algorithm, suitably modified as described in detail further on; more particularly, the neural network input is made to vary according to a window sliding from left to right on the word and for every input window a suitable objective vector is supplied at output. This objective vector which is the desired value vector is constructed by setting a 1 on the neuron corresponding to the state to which the input window belongs, according to the current segmentation, and by setting 0 on all the other neurons; 4. segmentation recomputation for the considered word, by using the neural network trained until now, and performing the dynamic programming only with the correct model; 5. updating of the current segmentation S t+1 according to an equation described further on; 6. if there still are any non considered words in the training set, going to step 2; 7. recomputation of transition probabilities of automata, as will be described later; 8. if the number of iterations on the training set is greater than a preset maximum number NMAX, termination, otherwise going to step 1. The construction of objective vectors, based on word segmentations, and segmentation updating are realized by an auxiliary part of the learning algorithm. More particularly, segmentations are partly modified at each iteration in the following way. Assuming S t as the segmentation of a word in the time t, S t+1 the segmentation at the next iteration and S', the segmentation of the same word recomputed by the neural network trained until now (step 4), if S t (k) is the k-th element of the segmentation at time t, at next time t + 1 it is changed according to the formula: S t+1 (k) = S t (k) + round [α (S' t (k) - S t (k))] where the round function rounds up the argument to the nearest integer and α goes from ε to 1-ε following the sigmoidal law: α = 1 1 + e -t +ϑ T with T = N-1 log (1-ε) 2 ε 2 ϑ = N + 1 2 where t is the current time (number of iterations on the training set), N is the number of iterations of the training set where parameter α is to be varied, and ε is the variation range of α, wherein 0 < ε < 0.5. Another possibility consists in having a increasing according to a linear law. These methods involve a slow variation of the segmentation, so that there is a gradual evolution from the uniform initial segmentation to the correct segmentation, keeping pace with the training of the neural network. This method is useful for a good result of the training of the recognition system. For what concerns modification of weights, the present invention foresees the use of an algorithm similar to that called "error backpropagation", described by Rumelhart in the mentioned book, which uses the difference between the desired output and the real output, i. e. the error, for modifying network weights so as to minimize such error. The type of training using this modified algorithm will be hereafter called Correlative Training. In general, if there were more classes to discriminate and a sample at input, the output of the correct class was set at 1 for the sample and at 0 for all the other ones. This was admissible when all the classes were well separated. This is not however what happens in the present case since, for example, there can be different states corresponding to the same sound, in different words (e. g. S-E in SEI and in SETTE). Thus it is possible that the same input has to activate more states at the same time. To do this it is necessary to modify the strictly discriminant training of the neural networks per classification, providing that only one class (state) should be active at a time. The Correlative Training allows highlighting the correlations naturally existing between word states, trying to discriminate them as much as possible, without however insisting when this becomes difficult, since this would imply the creation of ill formed states or the reciprocal cancellation of states too similar to one another. Going into a greater detail, the Correlative Training provides to modify the standard algorithm of the error backpropagation according to the following steps: For each sample of the training set: 1. consider input value vector X and desired value vector T (objective vector); 2. position input values on input units; 3. execute the network by forward propagating said values from input units up to output units, and obtain output vector O, according to the well known formulas: ο i = F ( net i ) with where ο i is the output of a generic neuron i in the output level of the network (and hence it is the i-th component of output vector O) and  j is a constant value, typical of the neuron; 4. calculate error E, defined as square error between output vector O and target vector T, according to the formula: where the objective is defined according to the correlation formula of outputs: t k = o k · o h if t k ≠ 1 and t h = 1 t k unvaried if t k = 1 where t k and t h are the k-th and h-th element of the objective vector T, and o k and o h are the outputs of the k-th and h-th neuron of the output level of the network. 5. calculate the partial derivative ∂ E / ∂ w ij of the error with respect to weights, used in the updating equation of synaptic weights Δw ij ( t ) = η ∂ E ∂w ij + βΔw ij (t - 1) = ηδ i o j + βΔw ij (t - 1) where w ij is the synaptic weight from neuron j to neuron i, η is a coefficient determining learning speed, β is a coefficient, called moment, determining the inertia in weight updating, δ i is the backpropagated error on neuron i, and o j is the output of neuron j in the output level of the network. Starting from the error defined at step 4, the new backpropagation error laws for Correlative Training are obtained, defined as follows: for output neurons: δ i = (t i - o i ) F'(net i ) if t i = 1 δ i = -o i (o h -1) 2 F'(net i ) if t i ≠1 t h = 1 for internal neurons: where F' (net i ) is the first derivative of F (net i ) and index k moves on neurons of the upper level. 6. update every synaptic weight w ij , according to the already described equation: Δw ij (t) = -η ∂E ∂w ij + βΔw ij (t - 1) = ηδ i o j + βΔw ij (t - 1) This variation of the error backpropagation algorithm for realizing the Correlative Training is a part of the present invention and is necessary to execute usefully the training stage of the recognition system. Another important characteristic of the hybrid recognition method is the method for modeling transition probabilities of automaton states. The aim of the proposed method provides modeling only minimum durations of the states according to the well set hypothesis that speech phenomena have a minimum duration given by the mechanical limits of the anatomic devices producing them; maximum durations are however highly variable since they are a function of speed of speech depending on the personal characteristics and on the emotional situations of the speaker. Purpose of modelling of the minimum durations of the states is to improve recognition, preventing the best path of an automaton from remaining too short a time in a state corresponding to an acoustic phenomenon requiring in any case a certain duration in time. As shown in Figure 2, automaton states modeling the words have a recursion on themselves and a transition to the next state. The recursion probability can model maximum durations, since it acts on the permanence into the state. Since modelling of maximum durations is not required, the recursion probability is set at 1. The transition probability can model minimum durations, since it operates on the output from the state. A transition probability dependent on the time of permanence in the state is used to model minimum durations. To do this we introduce a parameter K indicating maximum number of permanences in a state for which transition probabilities are calculated. A reasonable value of K can range from 2 to 6. Transition probability to the state i + 1 of the word w at time t + 1, given that it is in the state i at the time t, expressed as P T (S w,i + 1 (t + 1) | S w,i (t)), depends on the state to which it is associated or on the time of permanence in the state; S w,i is the state i of the word w, and t is the time of permanence in the state, expressed as the number of 10 ms temporal intervals. The transition probability is calculated in the following way: where min is the function which gives back the minimum between the considered fraction and 1, and P T (S w,i (t + 1) |S w,i (t)) = 1 if t ≻ K if t<K In this last equation Freq (S w,i (h)) is the number of words which remain in S W,i for h times. Transition probabilities so formulated are calculated for each state of each word model, during the training stage of the recognition system, and are used usefully during the operation of the system improving its recognition performances. It is well known how the learning algorithm parameters of the neural network (error backpropagation) are very sensitive, and that it is necessary to suitably calibrate them. When training the neural network part used for carrying out the recognition method, the following parameters can be advantageously used: moment β = 0.2; number of corrections accumulated before they are actually applied to weights (batch-size) = 10; learning speed η linearly decreasing from 0.1 to 0.001. It is clear that what described has been given only by way of non limiting example. Variations and modifications are possible without going out of the scope of the claims.

Claims: Speaker independent isolated word recognition method, where the input speech signal is digitized and submitted to spectral analysis at constant temporal intervals by using fast Fourier transform, the analysis result is submitted to an orthogonal transformation to obtain cepstral parameters and the logarithm of the total energy contained in each temporal interval is calculated, then the numerical derivatives of these values are calculated, obtaining the characteristic parameters of the speech signal for each temporal interval, the word ends are detected through the energy level of the signal, and the word is analysed by a recogniser (RNA), in which complete words are modelled with Markov model automata of the left-to-right type with recursion on the states, each of which corresponds to an acoustic portion of the word, and in which the recognition is carried out through a dynamic programming according to Viterbi algorithm on all automata for finding the one with the minimum cost path, which corresponds to the recognized word indicated at the output (PR), the emission probabilities being calculated with a neural network with feedback specially trained and the transition probabilities being calculated in a different way, wherein the training method is characterized in that it comprises the following operations: Initialization: a. initialization of the neural network with small random synaptic weights; b. creation of the first segmentation by segmenting the training set words uniformly. Iteration: 1. initialization of the training set with all the segmented words; 2. random choice of a word not already learnt, a word being considered learnt if the mean error for that word is sufficiently low; 3. updating of the synaptic weights w ij for the considered word, by applying a back propagation type of training wherein for the modification of the network weights the error between the desired output and the real output is minimized; more particularly the neural network input is made to vary according to a window sliding from left to right on the word and for every input window a suitable objective vector is supplied at the output, constructed by setting a 1 on the neuron corresponding to the state to which the input window belongs, according to the current segmentation, and by setting 0 on all the other neurons; 4. segmentation recomputation for the considered word, by using the neural network trained until now, and performing a dynamic programming only with the correct model; 5. updating of the current segmentation S t+1 ; 6. if there still are non considered words in the training set, going to step 2; 7. recomputation of the transition probabilities of said automata; 8. if the number of iterations on the training set is greater than a maximum preset number NMAX, termination, or otherwise going to step 1. Speaker independent isolated word recognition method as in claim 1, characterized in that said training applied for updating the synaptic weights w ij includes the following steps, repeated for each sample of the training set: 1. considering input value vector X and objective vector T; 2. positioning input values on input units; 3. executing the network by forward propagating said values from input units up to output units, and obtaining output vector O, according to the well known formulas: o i = F (net i ) with where o i is the output of a generic neuron i in the output level of the network and hence is the i-th component of output vector O and  i is a constant value, typical of the neuron; 4. calculating error E, defined as square error between output vector O and objective vector T, according to the formula: where the objective is defined according to the correlation formula of outputs: t k = o k · o h if t k ≠ + 1 and t h = 1 t k unvaried if t k = 1 where t h , t k are the h-th and the k-th element of the objective vector T, and o k and o h are the outputs of the k-th and h-th neuron of the output level of the network; 5. calculating the partial derivative ∂ E / ∂ w ij of the error with respect to weights, used in the updating equation of synaptic weights Δw ij ( t ) = η ∂ E ∂w ij + βΔw ij (t - 1) = ηδ i o j + βΔw ij (t - 1) where w ij is the synaptic weight from neuron j to neuron i, η is a coefficient determining learning speed, β is a coefficient, called moment, determining the inertia in weight updating, δ i is the backpropagated error on neuron i and o j is the output of neuron j in the output level of the network; starting from the error defined at step 4 the new backpropagation error laws for training are obtained, defined as follows: for output neurons: δ i = (t i - o i ) F' (net i ) if t i = 1 δ i = - ο i (o h - 1) 2 F' (net i ) if t i ≠ 1 t h = 1 for internal neurons: where F' (net i ) is the first derivative of F (net i ) and index k moves on neurons of the upper level; 6. updating every synaptic weight w ij , according to the equation: Δw ij ( t ) = -η ∂E ∂w ij + βΔw ij (t - 1) = ηδ i o j + βΔw ij (t - 1) Speaker independent isolated word recognition method as in claim 1 or 2, characterized in that transition probability into the state i + 1 of the word w at the time t + 1, given the fact that it is in the state i at the time t, is calculated in the following way: where min is the function which gives back the minimum between the considered fraction and 1, and P T (S w,i (t + 1) |S w,i (t)) = 1 if t ≻ K if t ≺ K where, in this last equation, Freq (S w,i (h)) is the number of words which remain in S w,i for h times. Speaker independent isolated word recognition method as in claim 2 or in claim 3 if referred to claim 2, characterized in that the following parameters are used: moment β = 0.2; batchsize, i. e. number of corrections which are accumulated before they are actually applied to weights = 10; learning speed η linearly decreasing from 0.1 of 0.001. Speaker independent isolated word recognition method as in any of claims 1 to 4, characterized in that each word is modeled by an automaton containing a central sequence of states belonging to the word (3, ..., 7), preceded and followed by an initial (2) and final (8) silence state specific of the word, which respectively contain the transitions silence-word and word-silence, in their turn preceded and followed by two further states of generic background noise (1, 9).

Inventors: ALBESANO DARIO, GEMELLO ROBERTO, MANA FRANCO, ALBESANO, DARIO, GEMELLO, ROBERTO, MANA, FRANCO
Applicants: CSELT CENTRO STUDI LAB TELECOM, CSELT CENTRO STUDI E LABORATORI TELECOMUNICAZIONI S.P.A.
Application year: 1994
Main classification: G10L5
IPC codes: G10L15, G06F15, G06N3