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:
TECHNICAL FIELD 
     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. 
     DESCRIPTION OF THE PRIOR ART 
     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 206 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 recognition 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. 
     It is an object of the invention to provide a speech recognition system and method in which both utterance verification categories are considered and modeled independently to improve overall verification performance. 
     It is an object of the present invention to provide 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. 
     SUMMARY OF THE INVENTION 
     Briefly stated, in accordance with one aspect of the invention, the aforementioned objects are achieved 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. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 illustrates a known voice recognition system. 
     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. 
    
    
     DETAILED DESCRIPTION 
     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 &#34;Context-dependent acoustic modeling for connected digit recognition&#34; 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 tried, 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: ##EQU1## 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: ##EQU2## 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 On|Λq(n)!=L On|λ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 &#34;anti-keyword model&#34; 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: 
     
         L O.sub.n |ψ.sub.q(n) != 1/2 L O.sub.n |ψ.sub.q(n) !.sup.κ +L O.sub.n |φ.sub.q(n) !.sup.κ !.sup.1/κ 
    
     where κ is a positive constant. We denote the verification specific model set for a given 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: ##EQU3## where O is the observation sequence of the whole string and γ 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.sub.n ; w.sub.q(n))=-log L O.sub.n |Λ.sub.q(n) !+log L O.sub.n |Ψ.sub.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 &#34;Segmental GPD training of HMM based speech recognizer&#34; 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 ##EQU4## 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. 
     In 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 &#34;out of vocabulary&#34; 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 &#34;Context-dependent acoustic modeling for connected digit recognition&#34; 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 &#34;Context-dependent acoustic modeling for connected digit recognition&#34; 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 &#34;Discriminative Utterance Verification for Connected Digits Recognition&#34; to be published in Proceedings of Eurospeech &#39;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 FIG. 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 true spirit and scope of the invention. 
     What is claimed as new and desired to be secured by Letters Patent of the United States is: