Utterance verification using word based minimum verification error training for recognizing a keyword string

Abstract: A speech recognition method and apparatus which has a first stage to provide keyword hypotheses and a second stage to provide testing of those hypotheses by utterance verification. The utterance verification used has three separate models for each word: one keyword verification model, one misrecognition verification model, and one non-keyword verification model. Further, all three are developed independently of the recognizer keyword models. Because of this independence, the three verification models can be iteratively trained using existing speech data bases to jointly provide a minimum amount of verification errors.

Description: The invention relates to automatic speech recognition and more particularly to a method and apparatus for verifying one or more words of a sequence of words. Utterance verification is a process by which keyword hypotheses produced by a speech recognizer are verified to determine if the input speech does indeed contain the recognized words. In many known speech recognition applications, such as keyword spotting, utterance verification is performed using statistical hypothesis testing. Typically, likelihood ratio functions are formulated for this purpose, where a null hypothesis that the input speech segment does contain the recognized keyword is tested against an alternate hypothesis that the segment does not contain that keyword. In a known system 100 that is shown in FIG. 1, the alternate hypothesis includes two equally important categories: non-keyword speech and keyword speech that was misrecognized by the speech recognizer. Known utterance verification methods emphasize the first category of the alternate hypothesis when estimating the probability distribution. Since the second category is not considered, the ability to reliably test for misrecognition errors is limited. Further, many of the systems and methods proposed as solutions use the recognition models themselves in formulating the verification likelihood ratios. Thus, Speaker Independent Recognizer Hidden Markov Models (HMMs) and Filler HMMs are stored in mass storage device 110. These models are used by the Speaker Independent Recognition unit 106 to formulate the hypothesis keyword that is subsequently verified. In the system 100, connection 122 and 124 connect the Speaker Independent Recognizer HMMs and the Filler HMMs stored in mass storage unit 110 to utterance verification unit 130. Thus, the same models are used for recognition as well as rejection. For system 100, and similar systems, the recognizer HMMs are used to perform two different functions, so recognition performance versus verification performance tradeoffs are necessarily involved in such a design. Therefore, there is a need in the art for a speech recognition system and method in which both speech recognition and utterance verification categories are considered and modeled independently to improve overall verification performance. There is a further need in the art for a speech recognition system and method in which the verification is performed using verification specific models that are constructed to specifically minimize the verification error rate. Briefly stated, in accordance with one aspect of the invention, the aforementioned needs are provided by formulating a verification test by constructing and discriminatively training verification-specific models to estimate the distributions of the null and alternate hypotheses. In addition, a composite alternate hypothesis model that includes both alternate hypothesis categories described above is constructed. The hypothesis test is developed in the context of recognizing and verifying a string of keywords (e.g., connected digit strings). This discriminative training procedure is constructed to minimize the verification error rate of each word in the recognized string. This training procedure is thus referred to as Word-Based Minimum Verification Error (WB-MVE) training. The use of such a training procedure along with verification-specific models provide a way to focus exclusively on minimizing the overall verification error rate in performing a likelihood ratio test. FIG. 1 illustrates a known voice recognition system. An article entitled: "Robust Utterance Verification for Connected Digits Recognition" by Rahim et al., published by ICASSP 1995, pp 285-288, describes a method and apparatus that provide good verification as well as good recognition performance. A method and apparatus according to the invention are as set out in claims 1 and 4. Preferred forms are set out in the dependent claims. FIG. 2 illustrates a voice recognition system according to the present invention. FIG. 3 is a flow diagram illustrating the method of utterance verification according to the present invention. FIG. 4 is a flow diagram illustrating a method of training a voice recognition system according to the invention. FIGs. 5-7 are plots of data showing various performance characteristics of the present invention and of another well performing system. FIG. 2 shows a system 200 according to the present invention. System 200 has a speaker independent automatic speech recognition unit 206 which uses Speech Recognizer HMMs from storage unit 210 to perform speech recognition. Speech Recognition unit 206 receives input speech that has been transformed by some type of transducer, e.g. a microphone, into corresponding electrical or electromagnetic signals on line 202. The input speech signals on line 202 corresponds to a string or sequence of words, for example a string of spoken digits. These speech signals are processed into time segments and a number of characteristic statistics. This segmentation and processing can either be performed before speech recognition unit 206, or it can be the first part of the operation of the speech recognition unit 206. The Speech Recognizer HMM set consists of models corresponding to a keyword vocabulary set. The Speech Recognizer HMMs in conjunction with Speech Recognition unit 206 perform the functions of recognizing a word string in the input speech and segmenting each input word string. The Speech Recognition unit 206 uses a high performance processor (not shown) and memory (not shown) to perform this speech recognition in real time. Such processor and memory arrangements are found in high performance personal computers, workstations, speech processing boards and minicomputers. The word recognition function of Speech Recognizer 206 and the segmenting function are fairly standard. The recognition digit model set used is similar to the one described in the article "Context-dependent acoustic modeling for connected digit recognition" by C. H. Lee, W. Chou, B. H. Juang, L. R. Rabiner and J.G. Wilpon in Proceedings of the Acoustical Society of America 1993; and consists of continuous density context dependent subword HMMs that were trained in a task-dependent mode. The training of these recognition models is based on minimum classification error training process using the generalized probabilistic descent discriminative training framework. Once trained, the speech recognizer HMMs are stored in mass storage device 210. The output of the Speech Recognition unit 206 is a hypothesis of what keywords correspond to the string of spoken words which was inputted on line 202. This string hypothesis and the processed speech segments and components are connected by lines 226 and 228 to utterance verification unit 230 for further processing according to the present invention. Utterance verification unit 230 tests the hypothesis for each word of a spoken string against a multiple part verification model. Ultimately, a string based test is performed and the string is either accepted or rejected, as will be explained. To accomplish these tests, likelihood ratios are used. To formulate a string based likelihood ratio test, first a word based likelihood ratio is defined that has probability distribution parameters which are determined discriminatively. First, let the general string S=w q(1) w q(2) w q(3) ... w q(N) represent a keyword string hypothesis of length N produced by a Hidden Markov Model (HMM) recognizer with a vocabulary set of {w k }, where 1≤ k ≤ K. The function q(n), where 1 ≤ n ≤ N, then maps the word number in the string sequence S to the index of the word in the vocabulary set. By defining O n to be the observation vector sequence corresponding to the speech segment of word w q(n) in S, as determined by the HMM segmentation, the word likelihood ratio may be expressed as: T (O n ; w q ( n ) )= L [O n | H 0 ( w q(n) )] L [O n | H 1 ( w q(n) )] where H 0 (w q(n) ) and H 1 (w q(n) ) are the null and alternate hypotheses for verifying w q(n) , respectively. In the system 200 the likelihood functions are modeled using HMMs that are different than the HMMs used in the recognition unit 206. Therefore, the immediately preceding equation may be rewritten as: T (O n ; w q ( n ) )= L [O n |Λ q(n) ] L [O n |ψ q(n) ] where Λ q ( n ) and ψ q ( n ) are the HMM sets corresponding to the null and alternate hypothesis for word w q(n) , respectively. In general Λ q ( n ) and ψ q ( n ) can each consist of one or more HMMs. In this work λ q ( n ) is represented by a single HMM model denoted by λ q(n) , L [O n |Λ q ( n ) ] = L [O n |λ q ( n ) ]. The word likelihood ratio for w q(n) , T(O n ; w q(n) ), is also called the verification confidence score for w q(n) . The definition of the alternate hypothesis model is motivated by a system objective of reliably detecting both misrecognitions as well as non-keyword speech. Accordingly, a composite alternate hypothesis model consisting of a set of two HMMs is defined for use. Specifically, Ψ q(n) ={ψ q(n) , q(n) },where ψ q(n) is an "anti-keyword model" modeling misrecognitions, and,  q(n) is a filler model included to model non-keyword speech. The likelihoods of the anti-keyword and filler models are combined to result in the likelihood of the composite alternate hypothesis, as follows: where κ is a positive constant. We denote the verification specific model set for a iven keyword, w q(n) , as V q(n) = {λ q(n) , ψ q(n) ,  q(n) }. The likehoods of the models comprising V q(n) , are called the verification scores or verification likelihoods for w q(n) . A string based likelihood ratio is defined as a geometric mean of the likelihood ratio of the words in the string, in which case the string likelihood ratio is given by: where O is the observation sequence of the whole string and y is a positive constant. The string likelihood ratio score, T( O ; S), is compared to a threshold to make the string verification decision. Defining the string likelihood score as given in the above equation suggests that the keywords with low likelihood ratio scores tend to dominate the string score. For many applications (e.g., connected digits which may be telephone numbers or account numbers) it makes good sense to reject a whole string if one or more words in the string are in error. Other forms of weighting and combining the word likelihood ratios besides the geometric mean may also be applied. The combining of the word likelihood ratios is provided by combiner unit 250. An important feature of the present invention is that the verification HMMs are trained/optimized for minimum verification error. The verification HMMs are based on whole words. These verification HMMs are different from the speech recognizer HMMs used by the speech recognition unit 206. Conceptually, the speech recognition unit 206 is a net that gathers any utterance that remotely resembles a keyword into the catch. The utterance verification unit 230 conceptually is a filter which lets the true keywords pass and rejects everything else. Since these verification HMMs are different from the recognizer HMMs, they may be trained for optimal verification without concern for tradeoffs with recognition as occurred in the prior art. Thus, the word based verification HMMs stored in mass storage unit 240 are trained to provide minimum verification errors. The procedure to provide minimum verification errors uses discriminative training, which is employed to determine the parameters of the verification model set, V q(n) , for each of the keywords in the recognizer vocabulary set. Based on the definition of the word likelihood ratio given for T( O n ;w q(n) ) in the equation above, the goal of this discriminative training is three fold: i) to make L[ O n |λ q(n) ] large compared to L[ O n | ψ q(n) ] and L[ O n |  q(n) ] when w q(n) is recognized correctly in the string, ii) to make L[ O n | Ψ q(n) ] large compared to L[ O n |λ q(n) ] when w q(n) is misrecognized, and iii) to make L[ O n | q(n) ] large compared to L[ O n |λ q(n) ] when the input speech does not contain any keyword and w q(n) is recognized. Taking the log of the inverse of the word likelihood ratio results in a log likelihood difference, written as G (O n ; w q ( n ) ) = - log L [O n|Λ q ( n ) ] + log L [O n |Ψ q ( n ) ] The training procedure adjusts the parameters of V q(n) by minimizing G( O n ; w q(n) ) when w q(n) is correctly recognized, and maximizing G( O n ; w q(n) ) when w q(n) is misrecognized or when the input speech does not contain any keyword and w q(n) is recognized. Examples of all three of these cases are presented during the training procedure. Since misrecognitions usually occur much less frequently than correct recognitions in a high performance recognizer, an N-best algorithm is employed during training to generate more keyword string hypotheses that include misrecognitions. During this training, the function, G( O n ; w q(n) ) is optimized using a generalized probabilistic descent framework, such as described in "Segmental GPD training of HMM based speech recognizer" by W. Chou, B. H. Juang and C. H. Lee from Proceedings of ICASSP 1992. In such a framework G( O n ; w q(n) ) is incorporated into a smooth loss function that is conducive to applying a gradient descent procedure to iteratively adjust the parameters of V q(n) . Specifically, the loss function gives a measure of the verification error rate for a given w q(n) and takes the form of a sigmoid function which is written as R (O n ; w q ( n ) ) = 1 1+exp[- b α G (O n ; w q(n) )] where α is a constant controlling the smoothness of the sigmoid function, and b takes on the binary values of +1 and -1 as follows: +1 if wq ( n )∈ CR -1 if wq ( n ) ∈MR - 1 if wq ( n ) ∈NR For the values of b , CR refers to the class where w q(n) is correctly recognized, MR refers to the class where w q(n) is misrecognized and NK refers to the class where the input speech contains no keyword with w q(n) being recognized. The loss function, R( O n ; w q(n) ) shown above, is iteratively minimized with respect to the parameters of V q(n) during the training procedure. However, at each iteration, only a subset of the models in the set V q(n) are updated depending on the class in which w q(n) falls. If w q(n) ∈ CR, then all three models in the set are updated. If w q(n) ∈ MR , then λ q(n) and ψ q(n) are updated. Finally, if w q(n) ∈ NK, then only the filler model,  q(n) , is updated. In this fashion, the function of each of the models in the verification model set, V q(n) is controlled and fine tuned for the desired minimum error operation. A connected digit recognition task was used to evaluate the verification performance of the word based minimum verification error (WB-MVE) method. The database used in the evaluation consisted of a training set of 16089 digits strings and a testing set of 21723 strings. The string lengths ranged from 1 to 16 digits with an average string length of 5.5. This database represents a collection of speech collected from many different trials and data collection efforts over the U.S. telephone network. Therefore, it contains a wide range of recording conditions. To evaluate "out of vocabulary" performance, we used a second speech database that does not have any digit strings. It consists of 6666 phonetically balanced phrases and sentences, where 3796 phrases were used for training and the rest for testing. The recognizer feature vector consisted of the following 39 parameters: 12 LPC derived cepstral coefficients, 12 delta cepstral coefficients, 12 delta-delta cepstral coefficients, normalized log energy, and the delta and delta-delta of the energy parameter. The recognition digit model set was similar to the one used in the article "Context-dependent acoustic modeling for connected digit recognition" by C.H. Lee, W. Chou, B. H. Juang, L. R. Rabiner and J.G. Wilpon in Proceedings of the Acoustical Society of America 1993 mentioned previously, and consisted of continuous density context dependent subword HMMs that were trained in a task-dependent mode. The training of these recognition models was based on minimum classification error training using the generalized probabilistic descent discriminative training framework set forth in the article "Context-dependent acoustic modeling for connected digit recognition" by C.H. Lee, W. Chou, B. H. Juang, L. R. Rabiner and J.G. Wilpon in Proceedings of the Acoustical Society of America 1993. The trained speech recognizer HMMs are stored in storage device 210 for use by a CPU and a memory (not shown) to provide the speaker independent recognition function. A string error rate of 4.86% with a null grammar was achieved with these models. The corresponding word error rate was 1.14%. To benchmark the performance of the WB-MVE method of the present invention, it was compared to another high performance utterance verification technique suggested by M. G. Rahim, C. H. Lee and B. H. Juang in their article "Discriminative Utterance Verification for Connected Digits Recognition" to be published in Proceedings of Eurospeech '95, in September 1995. In this baseline method, the verification hypothesis testing was performed using the same models used in the recognition phase. It should be noted that while the technique suggested in the baseline method uses no additional model memory space for utterance verification, the amount of computation necessary for determining the string confidence score is much higher than the WB-MVE method of the current invention. The WB-MVE model set, V q(n) , represents context independent models that are discriminatively trained. Each model in the set, V q(n) , is represented by a 10 state, 8 mixture HMM. A total of 11 sets corresponding to the digits 0-9 and oh are trained. FIGs. 5-7 show the performance of the baseline method compared with that of the WB-MVE method. FIG. 5 shows string accuracy as a function of string rejection rate. Another way of viewing the improvement in recognition accuracy as a function of the string rejection rate is shown in FIG.6. FIG. 6 represents an ROC curve showing the false alarm rate of valid digit strings that are incorrectly recognized versus the false rejection rate of strings that are correctly recognized. FIGs. 5 and 6 show that the WB-MVE system and method significantly outperform the baseline system and method. For example at an operating point of 5% string rejection, the WB-MVE-based system and method result in a 2.70% string error rate compared to 3.51% string error rate for the baseline system and method. The verification performance on the non-keyword database is shown in Figure 7. FIG. 7 shows an ROC curve of the false alarm rate of non-keyword strings versus false rejection of correctly recognized strings. Here the performance of the two methods is comparable and both are able to reject in excess of 99% of non-keyword sentences at the 5% overall string rejection level. While the invention has been particularly illustrated and described with reference to preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form, details, and applications may be made therein. It is accordingly intended that the appended claims shall cover all such changes in form, details and applications which do not depart from the invention as defined in the appended claims.

Claims: A method for a speech recognition system to verify whether input speech signals comprising digitized speech represents a probable keyword, said probable keyword being determined by a speech recognizer, said method comprising the steps of: processing said digitized speech into recognizer observation vectors; processing said recognizer observation vectors in a Hidden Markov Model (HMM) keyword recognizer, said HMM keyword recognizer having output signals representing said probable keyword and a likelihood score for said word; developing a plurality of at least three verification scores for said probable keyword; developing a keyword verification confidence score by combining said plurality of word verification scores into word likelihood ratio for said keyword; verifying whether said probable keyword is present in said input speech signals by comparing said keyword verification confidence score to a threshold; and delivering as an output said probable keyword if said threshold test is met, and delivering as an output an indication that no keyword is detected if said threshold test is not met; CHARACTERISED in that models used for developing said plurality of verification scores are determined by discriminative training, said models being independent of the models used in the HMM recognizer. A method in accordance with claim 1, wherein said discriminative training procedure includes the step of iteratively training all models used for developing said plurality of verification scores for a keyword to provide minimum verification errors. A method in accordance with claim 1, wherein said discriminative training uses a generalized probabilistic descent technique. A keyword detection apparatus (200) that determines whether a digitized speech signal (202) includes one of a preselected plurality of keywords, said apparatus comprising: means for receiving input signals (part of 206) representing digitized speech and developing a plurality of signal representing feature vectors (210) of said digitized speech; means responsive to said input signals and said signals representing feature vectors of said digitized speech for developing output signals representing a probable keyword (226), one or more subword segments of said probable keyword (228), and one or more likelihood scores for each of said speech segments; means (230, 240) for developing a plurality of word based verification model scores for said probable keyword; means for determining a confidence score by combining said plurality of word based verification scores of said word (250); and means (DECISION block after 250) for comparing said confidence score against a threshold value for determining whether the probable keyword is present in said input signals; and means (DECISION block after 250) for delivering as an output said probable keyword if said threshold test is met, and delivering as an output an indication that no keyword is detected if said threshold test is not met; CHARACTERISED BY means for determining by discriminative training models used for developing said plurality of verification scores, said models being independent of the models used in the HMM recognizer. An apparatus in accordance with claim 4, wherein said discriminative training uses a generalized probabilistic descent technique.

Inventors: SETLUR ANAND RANGASWAMY, SUKKAR RAFID ANTOON, SETLUR, ANAND RANGASWAMY, SUKKAR, RAFID ANTOON
Applicants: AT & T CORP, AT&T IPM CORP.
Application year: 1996
Main classification: G10L15
IPC codes: G10L15