Minimum error rate training of combined string models

Abstract: A method of making a speech recognition model database is disclosed. The database is formed based on a training string utterance signal and a plurality of sets of current speech recognition models. The sets of current speech recognition models may include acoustic models, language models, and other knowledge sources. In accordance with an illustrative embodiment of the invention, a set of confusable string models is generated, each confusable string model comprising speech recognition models from two or more sets of speech recognition models (such as acoustic and language models). A first scoring signal is generated based on the training string utterance signal and a string model for that utterance, wherein the string model for the utterance comprises speech recognition models from two or more sets of speech recognition models. One or more second scoring signals are also generated, wherein a second scoring signal is based on the training string utterance signal and a confusable string model. A misrecognition signal is generated based on the first scoring signal and the one or more second scoring signals. Current speech recognition models are modified, based on the misrecognition signal to increase the probability that a correct string model will have a rank order higher than other confusable string models. The confusable string models comprise N -best word string models. The first recognizer scoring signal reflects a measure of similarity between the training string utterance signal and the string model for that utterance. The second recognizer scoring signal reflects a measure of similarity between the training string utterance signal and a confusable string model. The misrecognition signal reflects a difference of the first scoring signal and a combination of one or more second scoring signals. The modification of current speech recognition models is accomplished by generating a recognition model modification signal according to a gradient of a function, which function reflects a recognizer score of a training string utterance based on a string model for that utterance and one or more recognizer scores of the training string utterance based on one or more confusable string models.

Description: Field of the Invention The present invention relates generally to the training of pattern databases and, more specifically, to the training of speech pattern databases for speech processing tasks, such as speech recognition. Background of the Invention The objective of continuous speech recognition is to identify ( i.e. , recognize) an underlying word sequence from an input speech utterance. Recognition is performed with use of a set of speech recognition patterns or models (hereinafter, models). These basic speech recognition models are the building blocks for words and strings of words, such as phrases or sentences. Recently, significant research effort has been concentrated on the problem of how to select and represent these basic speech recognition units for use in continuous speech recognition. One conventional approach to the continuous speech recognition problem is that of statistical pattern recognition using acoustic recognition models, such as templates or hidden Markov models (HMMs). Based on a lexical description of a vocabulary, acoustic speech recognition models are prescribed and their parameters are then statistically determined through a process known as training . The basic models may reflect vocabulary words or subwords (such as phones that are the acoustic manifestation of linguistically-based phonemes). One assumption generally made in this approach to continuous speech recognition is that a fluently spoken sequence of words, i.e. a word string , may be adequately represented by a linear concatenation of the basic speech recognition models (of words or subwords) according to the lexical transcription of the words in the string. Conventionally, this has meant a concatenation of speech recognition models estimated directly from training tokens (such as words). A concatenation of acoustic recognition models forms a model of the word string and is a type of word string model . In continuous speech recognition, multiple string models are hypothesized for a given recognition task. Each such string model is compared with a continuous utterance to be recognized. The closeness of each comparison is indicated by a recognition score . The string model which most closely compares with the continuous utterance "recognizes" the utterance. Another conventional approach to continuous speech recognition is to augment word string models with non -acoustic recognition models. These non-acoustic recognition models include, inter alia , language models, phonetic-based models, semantic models, syntactic models, and other knowledge sources ( e.g. , pitch, energy, speaking rate, duration, etc .). In such an approach, a word string may be modeled as a combination of acoustic models, language models, etc . Recognition scores from individual models are incorporated into an overall string model recognition score. The incorporation of scores into a string model recognition score is accomplished by, for example, a weighted sum of individual recognition scores from individual string models. Conventionally, the training of individual recognition models is performed on an individualized basis. In acoustic model training, for example, training speech is segmented into individual word or subword training tokens. Individual acoustic models are therefore trained with training tokens which have been isolated from a longer training utterance. Moreover, acoustic and other models are trained individually, while the parameters used to combine such models for purposes of recognition may be selected heuristically, separate and apart from the training of other models. All of this individualized training belies the fact that such models will be used together for purposes of continuous speech recognition. That is, continuous speech recognition is predicated on how well a combination of models ( i.e. , a string model) compares with an entire unknown string. One combination of models will be selected over another based on how well each string model compares to the unknown string in the aggregate . This aggregate comparison may be referred to as a global score of the combination. Thus, should a continuous speech recognizer make an error, it does so based on comparisons made at a global or string level , not at the individualized levels at which models or other information sources have been trained. Because of the level "discrepancy" between training and recognition philosophy, continuous speech recognition performance may be less than desired. According to the invention there is provided a method as set out in claim 1, a speech recognizer trainer as set out in claim 17 and a speech recognition system as set out in claim 20. Preferred forms of the invention are set out in the dependent claims. Summary of the Invention The present invention provides a technique suitable for training speech recognition models (including acoustic models, language models, and other knowledge sources) at a global string level so as to reduce, e.g. , minimize, word string recognition error rate. The invention applies discriminative analysis to string level model matching. According to an illustrative embodiment of the invention, a set of confusable string models is generated based on a single lexical string from a training database. Each string model comprises a combination of acoustic and language models. Given a training string token from the training database, acoustic, language and combining model parameters are estimated so as to enhance the probability that the lexical string model will exhibit the best recognition score among the set of confusable string models. In this way, string recognition error rate is reduced. Parameter estimation providing minimized string recognition error rate is obtained with the use of a specially designed loss function. This loss function accommodates string level allophonic variations in speech recognition unit models by taking into account the competing string models. By establishing a relationship between competing string model scoring differential and expected string recognition error, the minimization of expected error may be directly related to the maximization of the probability of having correct score rank order between the lexical string model and other confusable string models. Brief Description of the Drawings Figure 1 presents an illustrative speech recognition system according to the present invention. Figure 2 presents an illustrative embodiment of an enhanced trainer appearing in Figure 1. Figure 3 presents an embodiment of string model update processor appearing in Figure 2. Detailed Description A. Illustrative Embodiment Hardware For clarity of explanation, the illustrative embodiment of the present invention is presented as comprising individual functional blocks (including functional blocks labeled as "processors"). The functions these blocks represent may be provided through the use of either shared or dedicated hardware, including, but not limited to, hardware capable of executing software. For example, the functions of processors presented in Figure 1, 2, or 3 may be provided by a single shared processor. (Use of the term "processor" should not be construed to refer exclusively to hardware capable of executing software.) Illustrative embodiments may comprise digital signal processor (DSP) hardware, such as the AT&T DSP16 or DSP32C, read-only memory (ROM) for storing software performing the operations discussed below, and random access memory (RAM) for storing DSP results. Very large scale integration (VLSI) hardware embodiments, as well as custom VLSI circuitry in combination with a general purpose DSP circuit, may also be provided. B. An Illustrative Embodiment Speech recognition is a process by which an unknown speech utterance (usually in the form of a digital PCM signal) is identified. Generally, speech recognition is performed by comparing the features of an unknown utterance to the features of known words or word strings. To recognize an unknown utterance, a speech recognizer extracts features from the utterance to characterize it. The features of the unknown utterance are referred to as a test pattern . The recognizer then compares combinations of one or more reference patterns in the database to the test pattern of the unknown utterance. A scoring technique is used to provide a relative measure of how well each combination of reference patterns matches the test pattern. The unknown utterance is recognized as the words associated with the combination of one or more reference patterns which most closely matches the unknown utterance. Figure 1 presents an illustrative speech recognition system 1 according to the present invention. The system includes a training speech database 10, a feature extractor 20, mode switches 15,30, a scoring comparator 40, score processor 50, conventional HMM trainer 60, recognition model parameter database 70, N -best string model generator 75, and an enhanced trainer 80. The training speech database 10 of system 1 comprises samples of known speech signals in digital form. Each speech signal corresponds to a string of one or more spoken words. These samples are used for the purposes of the conventional and enhanced trainers 60,80, respectively. Samples of known speech strings from database 10 are provided to other components of the system 1 via mode switch 15. Mode switch 15 reflects two operational modes of system 1: a training ( T ) mode and a recognition ( R ) mode. When switch 15 is in the T position (or state), training speech from database 10 may be provided to the balance of the system 1 such that training may be performed by training section 90. When switch 15 is in the R position, unknown speech utterances (signals) in digital form are provided to the balance system 1 for recognition by recognition section 95. The feature extractor 20 of system 1 is coupled to mode switch 15. Depending on the state of mode switch 15, extractor 20 will receive either training or unknown speech signal strings. Based on these received speech signals, extractor 20 produces one or more feature vectors, X, characterizing the received speech. Feature extractor 20 may be any of the conventional feature extractors, such as, e.g., a filter bank feature extractor, a linear predictive coding ( LPC ) feature extractor, or a discrete Fourier transform ( DFT ) feature extractor. Feature vectors output from extractor 20 are provided to a second mode switch 30. This mode switch 30 operates in tandem with mode switch 15. That is, both switches are set to the same state -- T or R -- at the same time based upon a mode signal provided to both switches 15,30. Mode switch 30 directs the output of the extractor 20 to either the recognition or training section of system 1. The recognition section 95 of system 1 comprises a scoring comparator 40 and a score processor 50. Scoring comparator 40 is conventional. Comparator 40 relates a string model to an unknown speech signal string and determines a score indicating the closeness of the comparison. The string models comprise, for example, a combination of acoustic string models and language string models. Conventional scoring comparators for acoustic and language models may be used for comparator 40. See, for example, Lee and Rabiner, A Frame Synchronous Network Search Algorithm for Connected Word Recognition, Vol. 37, No. 4, IEEE Trans. Acoust., Speech, and Sig. Pro., 1649-58 (1989). See also, for example, U.S. Patent No. 4,783,804, entitled "Hidden Markov Model Speech Recognition Arrangement", which is commonly assigned with the present application. Scores produced by comparator 40 are provided to the score processor 50. Score processor 50 determines which of the provided scores is greatest and identifies the string of words responsible for that score. The unknown speech signal string is recognized by processor 50 as the known speech associated with the identified string model. Processor 50 obtains representations of identified speech for output from model parameter database 70 (see below). The training section 90 of system 1 comprises a conventional HMM trainer 60, a model parameter database 70, an N-best string model generator 75, and an enhanced trainer 80. HMM trainer 60, such as, e.g., that described by U.S. Patent No. 4,783,804, provides conventional training of acoustic HMMs. Model parameter database 70 stores a collection, Λ = { Λ 1 ,..., Λ m } , of m sets of recognition models, whether acoustic, language based, etc. In the illustrative embodiment of the invention, Λ = { Λ A ,Λ L ,Λ C } , where Λ A is a set of acoustic models, Λ L is a set of language models and Λ C is a combining model (Λ C comprises a set of parameters used in combining Λ A and Λ L for purposes of forming a global string model). The output of trainer 60 comprises a set of one or more conventionally trained acoustic HMMs, Λ A , as well as the feature vectors, X , of training speech strings on which the set of HMMs are based. For purposes of the illustrative embodiment of the present invention, the degree of training provided by conventional trainer 60 is unimportant. In fact, conventional trainer 60 need do no more than provide an initial set of HMM parameters, Λ l (even if trivial), which may be retrieved from read-only memory. The output of trainer 60, Λ A (0), is recorded in model database 70 for use by generator 75 and enhanced trainer 80 as initialization parameters. Enhanced trainer 80 receives Λ I and X from database 70 and returns to database 70 a set of enhanced or updated HMMs, Λ U . Ultimately, enhanced models, Λ U , are provided to scoring comparator 40 during recognition mode. The scoring comparator's 40 use of enhanced models, Λ U , provides for a reduced string recognition error rate. N -best string model generator 75 receives models Λ I and training speech strings X and generates a set of string models which are highly competitive with the lexical string model. These competitive string models provide a basis for discriminative training of enhanced trainer 80. Generator 75 generates the N -best (or most confusable) string models by determining the N -best (confusable) word strings and, for each such word string, the corresponding string models. Determination of the N -best word strings is made through use of a modified Viterbi decoder of the type described by F. K. Soong and E. F. Huang, A tree-trellis based fast search for finding N-best sentence hypotheses in continuous speech recognition, Proc. ICASSP (1991). This decoder prepares a partial path map, i.e. , a list of all scores (or metrics) of all partial paths leading to any grammar node (i.e., word juncture) at every time instant. At the grammar nodes, a unigram-type language model score may be added to the path score. For example, a log of a unigram probability for a given word may be added to a path score when the path reaches the end state of the given word. At the end of the modified Viterbi forward search, the decoder employs an A * traceback tree-search procedure. Such a procedure is discussed by F.K. Soong and E-F Huang in Proc. ICASSP, 1991, pages 705-708. Generator 75 performs the tree-search by growing the top (best) partial path which is at the top of a "stack" (a rank ordered data list). The rank ordering of all partial paths on the stack is determined by the best possible score that a partial path can achieve when completed. The partial path map prepared in the forward Viterbi search provides a score for any incomplete partial path in the backward tree search. Due to the "best first" nature of the A * procedure, the top N -strings are generated sequentially. The admissibility of the A * algorithm, or sure findings of the optimal path(s), is guaranteed when an upper bound of the incomplete portion of a partial path is used in the stack decoder, given the stack depth is deep enough to avoid any search errors. In the tree-trellis algorithm, the tightest upper bound or the actual score of the path is obtained if the same HMMs and language models are used in the searches along both directions. As a result, the search efficiency of the algorithm is maximized and a stack of N entries is needed. Generator 75 generates N -best string models based on the N -best word strings by a Viterbi alignment of the input speech string, X , against the model sets for each given word string in the N -best string list. This step is performed by generator 75 because there may be many string models corresponding to the same word string; but the string model that best matches the input utterance for a given model set is unique. It should be noted that generator 75 provides a capability of modeling unseen competitive strings. This is due to the fact that competing word strings generated through N -best decoding are not limited by the training material. While a training utterance corresponds to a single word string, the N -best string list associated with the utterance is dynamic and reflects the string level model resolution based on the given speech recognition unit model set. The basic recognition unit models are, therefore, trained by word strings generated by an N-best string model generator. These word strings include word strings not present in the original training material but whose string models the recognizer finds confusable with the string model of the lexical string. Unseen word strings which the recognizer finds confusing with the lexical word string are modeled discriminatively. Therefore, the modeling coverage for the unseen strings can be improved. Modeling unseen strings can be useful because such modeling reduces difficulties encountered in continuous speech recognition due to poor string coverage of the training material. The operation of generator 75 described above may be summarized as follows. Let S = W 1 ,..., W l s be an arbitrary word string. Given the model set Λ including acoustic models, language and other knowledge sources, the optimal state sequence Θ S is a function of the feature vector X and the word string S . The N best string hypothesis {S 1 ,..., S N } can be defined inductively as follows, where log f ( X ,Θ S , S |Λ) represents acoustic model scoring and log f ( S |Λ) represents language model and other knowledge source scoring. In minimum string error rate training, these string level acoustic training tokens are incorporated into a set of discriminant functions specially designed for representing string errors. This is done by operation of the enhanced trainer 80, as described below. Figure 2 presents an illustrative embodiment of the enhanced trainer 80 appearing in Figure 1. Enhanced trainer 80 operates on training speech provided by database 70. As a result of enhanced trainer 80 operation, an updated set of recognition models, Λ U , is returned to the database 70. Λ U may then be used subsequently during recognition mode as a set of recognizer 1 reference patterns, or as a new Λ to be updated further as a result of processing the same or additional training speech. For purposes of explanation clarity and computational simplicity, the update processor 88 is illustratively described as processing one training string at a time. With a slight modification to be described below (see Discussion section), the embodiment can update A based on several training speech samples. Referring to Figure 2, enhanced trainer 80 comprises a string misrecognition measure processor 82, a string model loss function processor 84, and a string model update processor 88. 1. String Misrecognition Measure Processor String misrecognition measure processor 82 receives models, Λ, and a training speech string sample, X , from database 70. Based on string sample, X , and Λ, processor 82 determines a string misrecognition measure, d(X,Λ): where g ( X , S lex ,Λ 1 ,...,Λ m ) is a recognizer score of the input utterance X given S lex as the correct string; g ( X, S k , Λ 1 ,...,Λ m ) is a recognizer score for each competitive string; η is a positive number illustratively set to 2; and N is the total number of competing strings provided by generator 75. Illustratively, g may take the form of a weighted sum of recognizer scores: g ( X , S ,Λ 1 ,...,Λ m )=α 1 g 1 ( X , S ,Λ 1 ) +α 2 g 2 ( X , S ,Λ 2 )+ ··· +α m g m ( X , S ,Λ m ), or, in the case of the embodiment, g ( X,S,Λ A ,Λ L ,Λ C ) = α A g A ( X,S,Λ A ) + α L g L ( X,S,Λ L ) where α A and α L are parameters of the combining model, Λ C , based language model, S is an ordered word string comprising W 1 , W 2 ,...,W n ordered words, P(W) is a probability from the unigram language model and P ( W τ | W τ -1 ) is a probability from a bigram language model. String misrecognition measure processor 82 determines the value of a scalar, d, for use by the subsequent processors shown in Figure 2. 2. String Model Loss Function Processor String model loss function processor 84 evaluates a smooth string loss function, I , based on the scalar value d ( X ,Λ) received from processor 82: l ( X ,Λ) = 1 1 + e -γ( d ( X ,Λ) + d o ) , where γ is illustratively set to 1 and d o is a bias term illustratively set to zero. Processor 84 provides scalar I as output to string model update processor 88. Parameters γ and η, (discussed above) help provide a smoothed approximation to the string loss function, l . The gradient of the string loss function (11) is used by the string model update processor 88 to update the model parameters, Λ. Therefore, minimization of the expected string loss of this loss function is directly linked to the minimization of the string error probability. Bias parameter d o may be used to enhance the effect of competing string models in the training process. 3. String Model Update Processor Figure 3 presents an illustrative block diagram of the string model update processor 88. As shown in the Figure, processor 88 updates acoustic HMM parameters µ, σ 2 , c , and a (the mean, variance, mixture weights and transition probability discussed more fully below) ; language model parameters P ( W j ) and P ( W j | W j -1 ); and combining model parameters α i based on Λ, X and l . Processor 88 returns updated parameters Λ U to parameter data base 70. Both Λ and Λ U comprise parameters µ, σ 2 , c, a, P ( W j ), P ( W j | W j -1 ), and α i , with Λ and Λ U representing unupdated and updated quantities respectively. Prior to presenting a detailed discussion of model parameter updating by processor 88, some background to its operation will be presented. The expected loss which is associated with the string error rate is given by L (Λ) = E X [ l ( X ,Λ)] In minimum string error rate training, the goal is to minimize the expected loss (12) over the training samples. The expected loss (12) may be minimized by updated model parameters such that Λ n +1 = Λ n -ε n - U n ▿ l ( X ,Λ), where ε n is a sequence of step size parameters and U n is a sequence of positive definite matrices defined below. The recursion represented by (13) will converge to a stationary point of the expected loss, provided that ∑ ∞ / n =1 ε n = ∞ and ∑ ∞ / n =1 ε 2 / n < ∞. In the illustrative embodiment of Figure 2, the models, Λ, are adaptively adjusted according to (13) by update processor 88. a. Acoustic Model Update Due to the structure of acoustic HMMs, their parameters must satisfy certain constraints. String model update processor 88 employs transformed HMM parameters as part of the acoustic model parameter update process to satisfy all such constraints. The following transformations are used by processor 88: (1) Logarithm of the variance σ 2 i,j,k,d = logσ 2 i,j,k,d where σ 2 / i,j,k,d is the variance of the i-th recognition unit model, j-th state, k-th mixture component and d-th dimension of a feature vector, where each recognition unit model may reflect, e.g. , a word or subword. (2) Transformed logarithm of the mixture weights The original mixture weights, c i , j , k , are related to the transformed mixture weights c i , j , k as follows: where L is the total number of the mixture weights in the j-th state in the i-th recognition unit model. (3) Transformed logarithm of the transition probability The original transition probabilities, a i , j , are related to the transformed transition probabilities as follows: a i , j = e a i, j Σ M k =1 e a i, k where M is total number of states in i-th recognition unit model. A significant aspect of the illustrative embodiment concerns the handling of small variance. In some corrective training algorithms proposed in the past, variance adjustment is avoided, because if handled incorrectly, it can have an adverse effect. Variances in HMMs can differ by as much as 10 4 to 10 6 times. These variances occur in the exponent part of the observation probability density function b i / l ( x ) and have a dominant effect on the likelihood score of HMMs. In the illustrative embodiment, this leads to a different sensitivity to HMM parameter adjustments, especially to the adjustment of mean parameters in the observation probability density function of HMMs. In order to compensate for this vast difference in sensitivity, the embodiment employs a positive definite matrix U n . The positive definite matrix U n is a diagonal matrix: diag ( σ 2 1 ( n ),...,σ 2 D ( n )), for each state, where σ 2 ( n ) is the variance of HMM Λ I at time n. Regarding the update expressions themselves, each includes a term ▿ l as described in (13) above. In general, ▿ l takes the form ∂ l / ∂ d ( X ,Λ)× ∂ d ( X ,Λ) / ∂Λ, where d ( X ,Λ) is defined in (8). The term ∂ l / ∂ d ( X ,Λ) = l i (1- l i ) is common among the updates and is presented as a partial derivative. The term ∂ d ( X ,Λ) / ∂Λ is presented specifically for each model parameter being updated. The acoustic model parameter updates provided by the update processor 88 are: (4) Mean update where x nn ( d ) is the d-th dimension component of the feature vector x nn ,  j corresponds to the time frame that the optimal path first enters the state j,  j +1 corresponds to the time frame that the optimal path enters the state j+1, l ( X ,Λ) is the loss function constructed according to (11), ε n is the step size and where D is the dimension of the feature vector. The mean update is provided by block 88-1 of Figure 3. (5) Variance update Updating of σ 2 = log σ 2 is performed according to the following formula: where γ i,j,k ( x nn ) is defined as in (19). Therefore, the variance at time n+1 is given by σ 2 i , j , k , d ( n + 1) = e σ 2 i,j,k,d n +1 . Variance is clipped below at 10 -6 and it satisfies the constraint of σ 2 / i,j,k,d ( n ) > 10 -6 . The variance update is provided by block 88-2 of Figure 3. (6) Mixture weights update The parametrized mixture weights are adjusted according to where N ( x , µ, V ) is a normal distribution function with mean µ and variance V . Therefore, the mixture weights at time n+1 is given by c i,j,k ( n +1) = e c i,j,k ( n +1) ∑ L l =1 e c i,j,k ( n +1) . Thus, the adjusted mixture weights meet the constraints of ∑ k c i,j,k ( n ) = 1 and c i,j,k ( n ) >0 during training process. The mixture weights update is provided by block 88-3 of Figure 3. (7) State transition probability update: In a left-to-right HMM, the parametrized transition probability of the l -th word model is adjusted by: where g l is the likelihood score of X in the l -th recognition unit model, i is not the end state and the total number of self-transition inside state i is denoted by N l i,i = {# of t |( t -1 , t )=( i , i ) in l - th recognition unit model λ l } Consequently, the transition probability at time (n+1) is given by which also satisfies the constraints of ∑ j a l / i,j ( n ) = 1, a l / i,i > 0 and a l / i,i +1 > 0. The state transition probability update is provided by block 88-4 of Figure 3. Update expressions (20-23) computed by update processor 88 relate to an updated observation probability density function of the i-th acoustic HMM recognition unit model, in the j-th state according to: where c i,j,k is the mixture weights and N ( x ,µ i,j,k , V i,j,k ) is a D-dimensional normal Gaussian distribution for the i-th recognition unit model, j-th state and k-th mixture with a diagonal covariance matrix V i,j,k . b. Language Model Update For language models, like acoustic models, the update occurs in the transform domain. For example, the following transforms may be used by processor 88: (1) Transform of probability from unigram language model where N is the total number of words and P ( W i ) = log P ( W i ). (2) Transform of a probability from bigram language model where N is the total number of words and P ( W i | W j ) = log P ( W i | W j ). The language model parameter updates performed by processor 88 are done as follows. Let S lex = W l / 1 ··· W l / r l , s 1 = W 1 / 1 ··· W 1 / n 1 ,..., s k = W k / 1,..., W k / n k be the word strings in misrecognition measure (8), where S lex is the lexical (or correct) word string and S i ( i = 1,..., N ) are N competing word strings determined by N -best decoding (75). (3) Unigram language model probability update: The unigram probability update is provided by block 88-5 of Figure 3. (4) Bigram language model probability update: The bigram probability update is provided by block 88-6 of Figure 3. c. Combining Model Parameter Update For the combining model parameters, where string model the update is performed as follows: The combining model parameter update is provided by block 88-7 of Figure 3. Values for µ( n + 1), σ 2 ( n + 1), c ( n +1), a ( n +1), P ( W i )( n +1), P ( W i |W j )( n + 1), and α i ( n + 1) are output from blocks 88-1 through 88-7. As shown in Figure 3, Λ U comprises updated values for µ, σ 2 , c, a , P ( W i ), P ( W i | W j ), and α i . Expressions for parameter updating provided above concern the use of a single speech training string sample from database 70 to enchance model parameters. Enhanced trainer 80 may iterate a plurality of times, however, to improve the model parameters. For example, the enhanced trainer 80 may operate on all training string samples in database 70. However, if desired, trainer 80 may operate on several passes or rounds through the complete database 70. Trainer 80 may be made to stop processing samples in any of several ways. For example, the trainer 80 may stop when it has made a fixed number of rounds through the database 70 of samples. It is preferred, however, that trainer 80 maintain a record of the incremental improvement in string error rate due to processing all speech training strings of the current round. C. Discussion While the acoustic models of the illustrative embodiment specifically concerns HMMs, the present invention is applicable to recognizers employing other types of acoustic models, such as, e.g. , a template-based acoustic recognizers employing dynamic time warping as the method of scoring. In order to adapt the present invention to other types of recognizers, the method of scoring, represented as function g in (8), must be changed to reflect the recognizer type. This change would also be reflected in the recognition unit model update process in terms of ▿ l . In the embodiment described above, each sample string of training speech is used sequentially. The string model update processor 88 takes the information provided by the recognizer on the current sample string and updates model parameters according to the updating formulae provided above. The computational complexity of processor 88 depends mainly on the form of the misrecognition measure which determines how many competing candidate string models will be used for model parameter estimation. As described above, each iteration of the enhanced trainer 80 operates on a single speech training sample. However, it is possible for the trainer to provide an updated set of model parameters, Λ U , based on a plurality of samples. To do this, the string misrecognition measure processor 82 operates on a vector of speech string samples to yield a vector of values for d , where each value corresponds to a given string sample. String model loss function processor 84 receives the vector of d values and yields a vector of l values, each based on a corresponding value of d . string model update processor 88 updates parameters as described above, where each update Λ( n ) to Λ( n + 1) is provided by a single speech string sample (of the N string samples). However, all string samples are used in succession such that Λ( n + 1) resulting from processing one sample serves as Λ( n ) for processing a subsequent sample. Note that in updating Λ based on multiple string samples, the value of Λ on the right side of (18, 20, 22, 24, 30, 31 and 32) remains constant. Only after all string samples have been processed is Λ I updated to the database as Λ U . Note that the loss function presented in (11) is but one type of function applicable to the present invention. Other types of functions, such as that based on the hyperbolic tangent, are also applicable, i.e. , l ( d ( X ,Λ))=tanh(γ d ( X ,Λ)). The process described generally by (13), and specifically by (18, 20, 22, 24, 30, 31 and 32), provides for the identification of a local minimum of the string loss function. However, conventional techniques for finding the global minimum of the loss function, such as simulated annealing , may be applied. In light of the above, it will be apparent to one of ordinary skill in the art that the present invention is applicable to both speaker-dependent and speaker-independent speech recognition. In addition, although the illustrative embodiment of the present invention concerns string models linearly combining acoustic and language models, it will be apparent to one of ordinary skill in the art that the present invention is applicable to string models incorporating other/additional knowledge sources and model types such as semantic models, phonetic models, syntactic models, etc. , as well as other combining models, including nonlinear combining models.

Claims: A method of making a speech recognition model database based on a training speech utterance signal and a plurality of sets of current speech recognition models, the method comprising the steps of: a. generating a set of one or more confusable string models, a confusable string model comprising a plurality of said current speech recognition models from two or more of said sets of said current speech recognition models, wherein each of at least two of said sets of models corresponds to different characteristics of speech and wherein the confusable string model is a model which, if selected to represent the training speech utterance, would result in a misrecognition of the training speech utterance; b. generating a first scoring signal based on the training speech utterance signal and a string model for that utterance, the string model for the utterance comprising a plurality of said current speech recognition models from said two or more of said sets of said current speech recognition models; c. generating one or more second scoring signals, a second scoring signal based on the training speech utterance signal and a confusable string model; d. generating a signal reflecting a comparison of a likelihood of correctly recognizing the training speech utterance and a likelihood of incorrectly recognizing the training speech utterance, said likelihood of correctly recognizing the training speech utterance based on the first scoring signal and said likelihood of incorrectly recognizing the training speech utterance based on the one or more second scoring signals; and e. based on the signal reflecting the comparison of said likelihoods, modifying one or more of said current speech recognition models to increase the probability that a string model for the utterance will have a rank order higher than the confusable string models. The method of claim 1 wherein the step of generating the set of one or more confusable string models comprises generating N- best word string models. The method of claim 1 wherein the first scoring signal reflects a measure of similarity between the training speech utterance signal and the string model for that utterance. The method of claim 3 wherein the measure of similarity comprises a log-likelihood recognizer score. The method of claim 1 wherein the second scoring signal reflects a measure of similarity between the training speech utterance signal and one of said confusable string models. The method of claim 5 wherein the measure of similarity comprises a log-likelihood recognizer score. The method of claim 1 wherein the step of generating a signal reflecting a comparison comprises forming a difference of the first scoring signal and a combination of one or more second scoring signals. The method of claim 1 wherein the step of modifying the one or more of said current speech recognition models comprises the steps of: 1. generating a recognition model modification signal reflecting a gradient of a function, the function reflecting a recognizer score of a training speech utterance based on a string model for that utterance and one or more recognizer scores of the training speech utterance based on one or more confusable string models; and 2. adjusting the one or more of said current speech recognition models based on the modification signal. The method of claim 8 wherein the function reflects a difference of a recognizer score of a training speech utterance based on a string model for that utterance and a weighted sum of the one or more recognizer scores of the training speech utterance based on one or more confusable string models. The method of claim 1 wherein one of said sets of current speech recognition models comprises acoustic models. The method of claim 10 wherein the acoustic models comprise hidden Markov models. The method of claim 1 wherein one of said sets of current speech recognition models comprises language models. The method of claim 1 wherein one of said sets of current speech recognition models comprises pitch models. The method of claim 1 wherein one of said sets of current speech recognition models comprises energy models. The method of claim 1 wherein one of said sets of current speech recognition models comprises speaking rate models. The method of claim 1 wherein one of said sets of current speech recognition models comprises duration models. A speech recognizer trainer for making a speech recognition model database based on a training speech utterance signal and a plurality of sets of current speech recognition models, the trainer comprising a. means for generating a set of one or more confusable string models, a confusable string model comprising a plurality of said current speech recognition models from two or more of said sets of said current speech recognition models, wherein each of at least two of said sets of models corresponds to different characteristics of speech and wherein the Confusable string model is a model which, if selected to represent the training speech utterance. would result in a misrecognition of the training speech utterance; b. means for generating a first scoring signal based on the speech utterance signal and a string model for that utterance, the string model for the utterance comprising a plurality of said current speech recognition models from said two or more of said sets of said current speech recognition models; c. means for generating one or more second scoring signals, a second scoring signal based on the training speech utterance signal and a confusable string model; d. means for generating a signal reflecting a comparison of a likelihood of correctly recognizing the training speech utterance and a likelihood of incorrectly recognizing the training speech utterance, said likelihood of correctly recognizing the training speech utterance based on the first scoring signal and said likelihood of incorrectly recognizing the training speech utterance based on the one or more second scoring signals; and e. means, responsive to the signal reflecting the comparison of said likelihoods, for modifying one or more of said current speech recognition models to increase the probability that a string model for the utterance will have a rank order higher than the confusable string models. The trainer of claim 17 wherein the means for generating a signal reflecting a comparison comprises means for forming a difference between the first scoring signal and a combination of the one or more second scoring signals. The trainer of claim 17 wherein the means for modifying the one or more of said current speech recognition models comprises: 1. means for generating a recognition model modification signal reflecting a gradient of a function, the function reflecting a recognizer score of a training speech utterance based on a string model for that utterance and one or more recognizer scores of the training speech utterance based on the one or more confusable string models; and 2. means for adapting the one or more of said current speech recognition models based on the modification signal. A speech recognition system comprising: a. a feature extractor (20) for receiving an unknown speech signal and generating feature signals characterizing the unknown speech signal; b. a memory (70) having stored therein a plurality of sets of speech recognition models, one or more of the speech recognition models generated in accordance with a process of modifying parameters of predetermined speech recognition models to enhance the probability that a correct string model will have a rank order higher than one or more confusable string models, wherein each of at least two of said sets of speech recognition models corresponds to different characteristics of speech and wherein said confusable string models are models which, if selected to represent a training speech utterance, would result in a misrecognition of the training speech utterance, and wherein the modification of said parameters is based on a comparison of a likelihood of correctly recognizing a training speech utterance and a likelihood of incorrectly recognizing the training speech utterance, the likelihood of correctly recognizing the training speech utterance based on a first scoring signal and the likelihood of incorrectly recognizing the training speech utterance based on one or more second scoring signals, the first scoring signal generated based on the training speech utterance and a string model for that utterance, the string model for the utterance comprising a plurality of said speech recognition models from said at least two of said sets of said speech recognition models, and each of the second scoring signals generated based on the training speech utterance signal and one of said confusable string models; and c. a scoring processor (40,50), coupled to the feature extractor and the memory, for comparing a string model with features of the unknown speech signal, the string model comprising one or more of said speech recognition models from each of the plurality of said sets of speech recognition models, and for recognizing the unknown speech signal based on one of a plurality of string models which most closely compares with the features of the unknown speech signal.

Inventors: CHOU WU, JUANG BIING-HWANG, LEE CHIN-HUI, CHOU, WU, JUANG, BIING-HWANG, LEE, CHIN-HUI
Applicants: AT & T CORP, AT&T CORP.
Application year: 1994
Main classification: G10L5
IPC codes: G10L15