SPEECH RECOGNITION SYSTEM EMPLOYING DISCRIMINATIVELY TRAINED MODELS

Abstract: In the speech recognition system disclosed herein, each input utterance is converted to a sequence of raw vectors. For each raw vector, the system identifies that one of a preselected plurality of quantized vectors which best matches the raw vector. The raw vector information is, however, retained for subsequent utilization. Each model of a vocabulary word to be recognized is in turn represented by sequence of states, the states being selected from a preselected group of states. However, for each word module state, there is provided both a discrete probability distribution function (pdf) and a continuous pdf characterized by preselected adjustable parameters. A stored table is provided which contains distance metric values for each combination of a quantized input vector with model state as characterized by the discrete pdfs. Word models are aligned with an input utterance using the respective discrete pdfs and initial match scores are generated using the stored table. From well matching word models identified from the initial match scores, a ranked scoring of those models is generated using the respective continuous pdfs and the raw vector information. After each utterance, the preselected continuous pdfs parameters are adjusted to increase, by a small proportion, the difference in scoring between the top and next ranking models. Preferably, if a user corrects a prior recognition event by selecting a different word model from the respective selected group, a re-adjustment of the continuous pdfs parameters is accomplished by performing, on the current state of the parameters, an adjustment opposite to that performed with the original recognition event and performing on the then current state of the parameters an adjustment equal to that which would have been performed if the newly identified different word model had been the best scoring.

Description: SPEECH RECOGNITION SYSTEM EMPLOYING DISCRIMINATIVELY TRAINED MODELS Background of the Invention The function of automatic speech recognition (ASR) systems is to determine the lexical identity of spoken utterances. The recognition process, also referred to as classification, typically begins with the conversion of an analog acoustical signal into a stream of digitally represented spectral vectors or frames which describe important characteristics of the signal at successive time intervals. The classification or recognition process is based upon the availability of reference models which describe aspects of the behavior of spectral frames corresponding to different words. A wide variety of models have been developed but they all share the property that they describe the temporal characteristics of spectra typical to particular words or subword segments. The sequence of spectral vectors arising from an input utterance is compared with the models and the success with which models of different words predict the behavior of the input frames, determines the putative identity of the utterance. Currently most systems utilize some variant of a statistical model called the Hidden Markov Model (HMM). Such models consist of sequences of states connected by arcs, and a probability density function (pdf) associated with each state describes the likelihood of observing any given spectral vector at that state. A separate set of probabilities may be provided which determine transitions between states. The process of computing the probability that an unknown input utterance corresponds to a given model, also known as decoding, is usually done in one of two standard ways. The first approach isJ nown as Forward-Backward algorithm, and uses an efficient recursion to compute the match probability as the sum of the probabilities of all possible alignments of the input sequence and the model states permitted by the model topology. An alternative, called the Viterbi algorithm, approximates t summed match probability by finding the single sequence of m states with the maximum probability. The Viterbi algorithm be viewed as simultaneously performing an alignment of the of the input utterance and the model and computing the probability of that alignment. HMMs can be created to model entire words, or alternatively, a variety of subword linguistic units, such as phonemes or syllables. Phone-level HMMs have the advantage that a relatively compact set of models can be used to build arbitrary new words given that their phonetic transcription is known. More sophisticated versions reflect the fact that contextual effects can cause large variations in the way different phones are realized. Such models are known as allophonic or context-dependent. A common approach is to initiate the search with relatively inexpensive context- independent models and re-evaluate a small number of promising candidates with context-dependent phonetic models. As in the case of the phonetic models, various levels of modeling power are available in the case of the probability densities describing the observed spectra associated with the states of the HMM. There are two major approaches: the discrete pdf and the continuous pdf. In the former, the spectral vectors corresponding to the input speech are first quantized with a vector quantizer which assigns each input frame an index corresponding to the closest vector from a codebook of prototypes. Given this encoding of the input, the pdfs take on the form of vectors of probabilities, where each component represents the probability-of observing a particular prototype vector given a particular HMM state. One of the advantages of this approach is that it makes no assumptions about the nature of such pdfs, but this is offset by the information loss incurred in the quantization stage. The use of continuous pdfs eliminates the quantization step, and the probability vectors are replaced by parametric functions which specify the probability of any arbitrary input spectral vector given a state. The most common class of functions used for this purpose is the mixture of Gaussians, where arbitrary pdfs are modeled by a weighted sum of Normal distributions. One drawback of using continuous pdfs is that, unlike in the case of the discrete pdf, the designer must make explicit assumptions about the nature of the pdf being modeled — something which can be quite difficult since the true distribution form for the speech signal is not known. In addition, continuous pdf models are computationally far more expensive than discrete pdf models, since following vector quantization the computation of a discrete probability involves no more than a single table lookup. The probability values in the discrete pdf case and the parameter values of the continuous pdf are most commonly trained using the Maximum Likelihood method. In this manner, the model parameters are adjusted so that the likelihood of observing the training data given the model is maximized. However, it is known that this approach does not necessarily lead to the best recognition performance and this realization has led to the development of new training criteria, known as discriminative, the objective of which is to adjust model parameters so as to minimize the number of recognition errors rather than fit the distributions to the data. As used heretofore, discriminative training has been applied most successfully to small-vocabulary tasks. In addition, it presents a number of new problems, such as how to appropriately smooth the discriminatively-trained pdfs and how to adapt these systems to a new user with a relatively small amount of training data. To achieve high recognition accuracies, a recognition system should use high- resolution models which are computationally expensive (e.g., context-dependent, discriminatively-trained continuous density models). In order to achieve real-time recognition, a variety of speedup techniques are usually used. In one typical approach, the vocabulary search is performed in multiple stages or passes, where each successive pass makes use of increasingly detailed and expensive models, applied to increasingly small lists of candidate models. For example, context independent, discrete models can be used first, followed by context-dependent continuous density models. When multiple sets of models are used sequentially during the search, a separate simultaneous alignment and pdf evaluation is essentially carried out for each set. In other prior art approaches, computational speedups are applied to the evaluation of the high-resolution pdfs. For example, Gaussian-mixture models are evaluated by a fast but approximate identification of those mixture components which are most likely to make a significant contribution to the probability and a subsequent evaluation of those components in full. Another approach speeds up the evaluation of Gaussian-mixture models by exploiting a geometric approximation of the computation. However, even with speedups the evaluation can be slow enough that only a small number can be carried out. In another scheme, approximate models are first used to compute the state probabilities given the input speech. All state probabilities which exceed some threshold are then recomputed using the detailed model, the rest are retained as they are. Given the new, composite set of probabilities a new Viterbi search is performed to determine the optimal alignment and overall probability. In this method, the alignment has to be repeated, and in addition, the approximate and detailed probabilities must be similar, compatible quantities. If the detailed model generates probabilities which are significantly higher than those from the approximate models the combination of the two will most likely not lead to satisfactory performance. This requirement constrains this method to use approximate and detailed models which are fairly closely related and thus generate probabilities of comparable magnitude. It should also be noted that in this method there is no guarantee that all of the individual state probabilities that make up the final alignment probability come from detailed models. The present invention represents a novel approach to the efficient use of high- resolution models in large vocabulary recognition. The proposed method benefits from the use of a continuous density model and a discriminative training criterion which leads to a high recognition performance on a large vocabulary task at the cost of only a marginal increase of computation over a simple discrete pdf system. Another novel feature of the new approach is its ability to make use of limited quantities of new data for rapid adaptation to a particular speaker. As was mentioned above, the probability that an input utterance corresponds to a given HMM can be computed by the Viterbi algorithm, which finds the sequence of model states which maximizes this probability. This optimization can be viewed as a simultaneous probability computation and alignment of the input utterance and the model. In accordance with one aspect of the present invention, it has been determined that the alignment paths obtained with relatively computationally inexpensive discrete pdf models can be of comparable quality to those obtained with computationally costly continuous density pdf models, even though the match probabilities or metrics generated by the discrete pdf alignment do not lead to sufficiently high accuracy for large vocabulary recognition. In accordance with another aspect of the invention, there is provided a decoupling of the alignment and final probability computation tasks. A discrete-pdf system is used to establish alignment paths of an input utterance and a reference model, while the final probability metric is obtained by post-processing frame-state pairs with more powerful, discriminatively trained continuous-density pdfs, but using the same alignment path. Unlike conventional systems, where model states are characterized by one particular type of observed pdf, the state models in the present system are thus associated with both a discrete (low-resolution) pdf and a discriminatively trained, continuous-density (high-resolution) pdf. The high-resolution pdfs are trained using alignments of models and speech data obtained using the low-resolution pdfs, and thus the discriminative training incorporates knowledge of the characteristics of the discrete pdf system. Brief Description of the Invention In the speech recognition system of the present invention, each input utterance is converted to a sequence of raw or unquantized vectors. For each raw vector the system identifies that one of a preselected plurality of quantized vectors which best matches the raw vector. The raw vector information is, however, retained for subsequent utilization. Each word model is represented by a sequence of states, the states being selected from a preselected group of states. However, for each word model state, there is provided both a discrete probability distribution function (pdf) and a continuous pdf characterized by preselected adjustable parameters. A stored table is provided which contains distance metric values for each combination of a quantized input vector with model state as characterized by the discrete pdfs. Word models are aligned with an input utterance using the respective discrete PDFs and initial match scores are generated using the stored table. From well matching word models identified from the initial match scores, a ranked scoring of those models is generated using the respective continuous pdfs and the raw vector information. After each utterance, the preselected parameters are adjusted to increase, by a small proportion, the difference in scoring between the top and next ranking models. Preferably, if a user corrects a prior recognition event by selecting a different word model from the respective selected group, a re-adjustment of the continuous pdf parameters is accomplished by performing, on the current state of the parameters, an adjustment opposite to that performed with the original recognition event and performing on the then current state of the parameters an adjustment equal to that which would have been performed if the newly identified different word model had been the best scoring. Brief Description of the Drawings Fig. 1 is a block diagram of a speech recognition system in accordance with the present invention; Fig. 2 illustrates vocabulary word models used in the speech recognition system of the present invention; Fig. 3 illustrates a recursion procedure used in the speech recognition system of the present invention; Fig. 4 illustrates a training data structure set used in training word models; Fig. 5 is a flow chart illustrating initial, batch training of word models; and Fig. 6 is a flow chart illustrating on-line adaptive training of word models. Corresponding reference characters indicate corresponding elements throughout the several views of the drawings. Description of the Preferred Embodiment As indicated previously, the present invention is particularly concerned with the provision of discriminatively trained multi-resolution vocabulary models which increase accuracy and reduce computational load in an automatic speech recognition (ASR) system. At the outset, however, it is appropriate to describe in general terms the type of speech recognition system to which the present invention is applicable. Referring now to Figure 1, the computer system illustrated there is of the type generally referred to as a personal computer. The computer runs under the MS DOS or WINDOWS® operating system and is organized around a system bus, designated generally by reference character 11. The system bus may be of the so called EISA type (Extended Industry Standards Association). The computer system utilizes a microprocessor, designated by reference character 13, which may, for example, be an Intel Pentium type processor. The system is also provided with an appropriate amount of local or random access memory, e.g., 32 megabytes, designated by reference character 15. Additional storage capacity is provided by a hard disk 17 and floppy diskette drive 19 which operate in conjunction with a controller 23 which couples them to the system bus. User input to the computer system is conventionally provided by means of keyboard 25 and feedback to the user is provided by means of a CRT or other video display 27 operating from the bus through a video controller 29. External communications may be provided through an I O system designated by reference character 31 which supports a serial port 33 and a printer 35. Advantageously, a fax modem may be provided as indicated by reference character 37. This is particularly useful for forwarding structured medical reports as described in co-assigned U. S . Patent No. 5,168,548. To facilitate the use of the computer system for speech recognition, a digital signal processor is provided as indicated by reference character 16, typically this processor being configured as an add-in circuit card coupled to the system bus 11. As is understood by those skilled in the art, the digital signal processor takes in analog signals from a microphone, designated by reference character 18, converts those signals to digital form and processes them e.g., by performing a Fast Fourier Transform (FFT), to obtain a series of spectral frames or vectors which digitally characterize the speech input at successive points in time. As used herein, these input vectors are referred to as the raw input vectors. In the embodiment being described, acoustic vectors (X u ) are generated at a rate of one every 10 ms, and have 14 output dimensions. Preferably, the raw vectors are subjected to a gender-normalizing linear discriminant analysis, as described in my co-pending, coassigned application Serial No. 08/185,500, the disclosure of which is incorporated herein by reference. The purpose of the analysis is to transform the spectral frames so as to enhance the discriminability of different phonetic events. While the raw vectors are subsequently quantized for use in alignment and initial scoring, the data comprising the raw vectors is preserved for use in more precise final scoring using continuous pdfs as described hereinafter. Thus X u = (x U)1 ,.„,x Uιt ,.„,x 11>Tu ), where T u is the length and X„ t is the t* vector of size 14 in the u* input utterance. The transformed acoustic frames are vector quantized with a codebook of 1024 standard vector prototypes and each original spectral frame x t (omitting tbe subscript u) is assigned a corresponding vector quantizer (VQ) label v t . Each sequence X thus gives rise to a VQ label sequence V = (v,,...,v„...,v τ ). Reference vocabulary models are composed of sequences of states Yj = (y l ,—,y l m ,--,y lMi ), where . is the length of a model and i is the model index. Each model state y 1>m is a pointer into a common set of R DTMR states, S = of which is associated in turn with two distinct types of pdf selected from two common pdf pools. The first type of pdf pool contains discrete distributions whicb express the probability of observing a quantized frame v„ given a state _s r referenced by y 1>m which occurs at the m 4 position in tbe 1 th model, i.e., Pr(v t l y m ) = Pr(v t ls r ). The computation of the match probability is simplified if the pdfs are converted to negative logarithms and thus we define the quantity VQLP((v t l y ιm )) = -log(Pr(v t l y 1>m )). Note that VQLP is essentially a table of precomputed log-probabilities and thus the evaluation of the discrete-pdf models consists of a very fast table lookup. The second pool of pdfs, on the other hand, is made up of continuous distributions which give the probability of observing a specific spectrum Xt given a particular state s τ referenced by y ija , i.e., Pr(X t ly i n ) As is the case for the discrete pdfs it is more convenient to use the continuous-density probabilities in the log-domain, and thus we define CDLP(X t ly im ) = -log(Pr(X t ly i4n )). The continuous pdfs are parametric models and thus the probabilities cannot be precomputed. Rather than storing pre-computed probabilities as is the case for the discrete pdfs, we store the pdf parameters themselves and use them to compute the log-probabilities for specific input frames. Note that individual palls in each set may be shared by acoustically similar states in different models. Fig. 2 illustrates the relationship between model states and the two sets of log-pdfs. The vector-quantized input utterances V are matched against reference models Y { by the Viterbi algorithm described in greater detail hereinafter using the discrete-pdf section of the DTMR models. The algorithm evaluates -log(Pr(VIY j )), the negative logarithm of the probability of observing the input sequence given the model by finding the best alignment path between the input utterance and the model states. Define Sum(t,m) as the accumulated negative log-probabilities. The alignment algorithm used in this work can then be summarized as follows. Initialization: Sum(0, 0) = 0 Evaluation: for t := l to Tdo for m := 1 to , do Sum(ϊ, m) = VQLP(v„ y ι;π + ιrdn(Sum(f - 1, w.),(Sum(t - 1, m - 1), (Sum(t, - 1)) Pred,(t, m) - arg min,(Sum(t - 1, m),(Sum(t - 1, m - 1), (Sum(r, m - 1)) Pred m (t, m) = erg min Sum^ - 1, /n),(Sum(t - 1, m - 1), (Sum(t, m - 1)) end; end; Termination: return Sum, = Sυm(T,M)/(T+M) where Pred t (t, m) and Pred m (t, m) are the indices of the best predecessor score at position t, m. This basic recursion is also illustrated in Fig. 3 of the drawings. The following structures are set up to store the alignment path between an input utterance and a given reference model: *ι = ( ι,l'"- ι,p'—! ι,Pι) 0 ) > = føι.l>-...4,,p,...,2_,P_) (2) where / ιp is the input frame index and q ιp is the state index at position p on the path for the i ft refererce model, and P. is the path length. The best alignment path is recovered by using the predecessor arrays Pred t (t, m) and Pred^t, m) in the following backtracking recursion: Initialization: p = 0, t = T. m = M 1 Backtracking: while t >_ 1 and m > 1 do Λ m) m nev , = Pred t, m) ' 'new m = m„ ew p++ end; Termination: Pyp The original acoustic vector at a particular path point p can thus be identified as x(f ιp ) while the state index at path position p is directly given by q ιp . The normalized scores Sum, for all the reference models aligned with a particular input utterance can be sorted and only a small number of models with the lowest normalized score need be restored in the next recognition stage. In the rescoring stage the alignment paths for a small number of the models with the best discrete-pdf scores are traversed, and new scores are computed for the frame-state pairs defined by these paths using the set of discriminatively trained continuous density pdfs. The continuous density pdfs used in this work are a simplified form of Gaussian Mixtures. Experimental evidence revealed that with the use of discriminative training there was no advantage to using the full mixture models over the simplified version. In addition, reducing the number of free parameters in the model significantly improves their trainability with limited quantities of data. The standard Gaussian Mixture log-probability density function GMLP is defined as follows: N s r ) GMLP (x(t),s r ) = -log( ∑ a(s r ,k)N(x(ty,μ (s r ,ky,Σ(s r ,k))) (3) k where a(s r ,k) is the weight of mixture component k in state s r and N(x; μ; Σ ) denotes the probability of observing x(t) given a multivariate Gaussian with mean μ and covariance Σ. N(s r ) is the number of mixture components. The discriminatively trained continuous density log-pdf (CDLP) used in tthis work is as follows where d(x(f ιp ),μ (q ιp k)) = (x(f ιp ,l) - μ (q ιp ,k,l)) 2 (5) The continuous pdf model for state q ιp thus consists of N(q ιp ) 14-dimensional mean vectors μ. Due to the lack of normalizing terms in equation (4), CDLP is not a true log-probability, and thus is not interchangeable with the discrete log-probabilities VQLP. This incompatibility is not an issue, however, because once the alignment paths are established the discrete log-probabilities are no longer used. The ability to utilize incompatible pdfs constitutes an advantage over known schemes. The new score for a path corresponding to an alignment of input utterance with reference model . ' is obtained as Dy ^∑ CDLP(x(f ip ,q. p ) (6) r i p= ι The rescored models are then re-sorted according to their new scores. The role of the discrete-density component of the DTMR models is two- fold: for each input utterance it is used to screen out the great majority of incorrect models and produce a small set of likely candidates, and it is also used to obtain accurate alignment of the input utterance to reference models. It is, however, not called upon to provide fine discrimination between highly confusable models. Rather, that is the role of the continuous density rescoring pdfs. For these reasons it is sufficient to rely on conventional Maximum- Likelihood training for the discrete-density component, and apply a discriminative criterion to the training of the continuous density component only. The continuous pdf training however, users alignment paths established on the basis of the discrete pdfs. The first step in the training of the continuous density pdfs is the initialization of the mean vectors μs r ,k. This can be done by training a conventional Maximum Likelihood Gaussian Mixture pdf for each model state from the input utterance frames aligned with that state using the discrete-pdf component. The total number of mean vectors can be set to reflect the variance of the data frames aligned with each state during the iterative training. Upon convergence of the initial training, the mean vectors with significant probabilities are retained, while all other parameters associated with a standard Gaussian Mixture model are discarded. The next step consists of the discriminative training of the mean vectors. This is accomplished by defining an appropriate training objective function which reflects recognition error-rate and optimizing the mean parameters so as to minimize this function. One common technique applicable to the minimization of the objective function is gradient descent optimization. In this approach, the objective function is differentiated with respect to the model parameters, and the parameters are then modified by the addition of the scaled gradient. A new gradient which reflects the modified parameters is computed and the parameters are adjusted further. The iteration is continued until convergence is attained, usually determined by monitoring the performance on evaluation data independent from the training data. A training database is preprocessed by obtaining for each training utterance a short list of candidate recognition models. Each candidate list contains some number of correct models (subset C) and a number of incorrect (subset I) models. Each list is sorted by the score D ; , and an augmented alignment path structure is retained for each reference model in the list. The additional stored path information is as follows: b, is used to store the index of the best mean vector at a particular path point. For example, if p connects the frame x(f lιP ) and state q, p , b v = ar 8 ι ≤ ^ qι ^ [ (x(f tιp ,μ (q tιp ,k )] (8) Fig. 4 illustrates the training structure set for an input utterance. An error function ε u for a particular training utterance u is computed from the pairwise error functions o, 0 : where o = ( l + e - --^r l (10) β is a sealer multiplier, D„ i e C is the alignment score of the input token and a correct model i, and D,, j e I is the score of the token and an incorrect model j. The sizes of the sets C and I can be controlled to determine how many correct models and incorrect or potential intruder models are used in the training. o 10 takes on values near 1 when the correct model score D, is much greater (i.e., worse) than the intruder score D J5 and near 0 when the converse is true. Values greater than 0.5 represent recognition errors while values less than 0.5 represent correct recognitions. The parameter β controls the amount of influence "near-errors" will have on the training. The score D, between the training utterance and the target model / is obtained by rescoring the alignment path as shown in equation (6). In practice the normalization by path length P. can be ignored during training. Thus Dy ∑ CDLP(x(f ιp ,q ιp ) (11) p=\ which can be rewritten as: P, Dy ∑ d x{f ιp ),μ {q ι p ,b ιp )) (12) p=l A similar expression can be written for D Differentiating the error function with respect to a particular component of the mean vector μ (s,k,l) yields: (k,b p ) ) (13) where δ (a,b) is the Kronecker delta and equals 1 if a = b, and 0 otherwise. The gradient is averaged over all utterances and correct-incorrect pairs: Aμ (s,k,l) = — ∑ — ~ -^— (14) U u N CJu dμ (s,k,l) whereN c Iu is the number of correct-incorrect model pairs for utterance u. The mean components are modified by the addition of the scaled gradient: ύ(s,k,l) = μ (s,k,l) + ωΔμ (s,k,l) (15) where w is a weight which determines the magnitude of the change to the parameter set in one iteration. This procedure is illustrated in the flowchart of Fig. 5. Initially, candidate models are selected using the discrete density pdfs as indicated in step 101. Again using the discrete pdfs, the input utterances aligned with the best models using the Viterbi algorithm and the traceback information is stored as indicated at block 103. The scores are sorted as indicated at block 105 and then the top scoring models are re-scored as indicated at block 107 using the continuous density pdfs, the rescoring being done along the alignment path determined with the discrete pdfs. As indicated at block 109, the models are then re-sorted based on the scores obtained with the continuous density pdfs. Correct and incorrect models are identified as indicated at block 111 and for each pair of correct and incorrect models an error function is computed as indicated at block 113. Since multiple models may be used for each vocabulary word, the procedure provides for subsets rather than just individual correct and incorrect examples. As indicated at block 115, a gradient is accumulated for each pair trace backed along the correct and incorrect paths. An accumulated gradient is applied to the continuous density pdf parameters as indicated at block 119. A test for convergence is applied as indicated at block 121 and the procedure beginning at block 117 is repeated until the models have converged. In each iteration of the batch mode training of the DTMR models outlined in the previous section, all training utterances are processed before the model parameters are updated. It is however also possible to train the models with an on¬ line adaptive algorithm, where the models are updated after each training utterance has been processed. The on-line training makes it possible to rapidly adapt the DTMR models with limited amounts of speech from a new user of the recognition system, and ideally this may be done in a fashion invisible to the user, with speech produced in the course of doing useful work with the recognition system. Like batch training, on-line training requires the computation of the error function gradient for all current model parameters specified by the correct and incorrect alignment paths in the candidate set for a particular input utterance u. Unlike in the batch training case, the gradient is not accumulated but is applied immediately to the model parameters: ύ(s,k,l) = μ (s,k,l) u _ l + ω Δ M μ (_s,A:,/) u _ 1 (16) The notation Δu means that the utterance u is used to compute the gradient, and the operation is performed on the current model μ(s,k,l) u .j (which was presumably also adapted on the previous utterance u - 1). The weighting used in the on-line adaptation ω' is set much smaller than the weighting used in the batch-mode training since the reliability of the change estimated from a single utterance is considerably lower than the estimate from a complete training set. In other words, ω'«ω. A complicating factor in on-line adaptation is that the identity of the input utterances is not known with certainty. Relying on the recognition system to identify the input utterances will inevitably lead to errors and misadaptations of the models. Delaying the adaptation to give the user a chance to make corrections is not desirable, because given the different correction strategies favored by different users, it is difficult to predict how long the delay needs to be. The solution to this problem provided by the present invention is to begin by assuming that the top-choice recognition candidate is in fact the correct answer and to update the models immediately. However, if the user makes a correction at some subsequent time, the original misadaptation will be undone and a new modification of the model parameters will be performed based on the corrected information. In order to undo the incorrect adaptation at a later time, the original input utterance corresponding to each candidate set must be retained, although the candidate alignment paths need not be saved. When the user specifies the correct answer, the candidate alignment paths are regenerated and the utterance gradient term is recomputed. The weighted gradient is subtracted from the affected model parameters. A new gradient term, reflecting the correct target model is calculated and applied to the DTMR parameters. This sequence of operations does not completely undo the original error because to so do would mean undoing all the other updates that may have intervened between the original recognition and the correction action. In practice, however, the delayed correction has proved to be as effective as supervised adaptation, i.e. where the correct answer is identified before gradient computation. The delayed correction algorithm is as follows: for u := 1 to U do Obtain candidate list for u using μ„., Identify subsets I lop . chmce (assumed incorrect models) and C lop . cholce (assumed correct models). Compute Δ u μ(s, k, /) u .ι for all s, k ,1 specified by alignment paths for all pairs in I lop choice and C l→mcc Update μ(s, k, /)„ = μ(s, k, l) aA +ω'Δ v μ(s, k, l) aA . Save candidate list (including alignment paths) for ~ if user corrects result for utterance v, [1 <= v <= u] then Retrieve utterance v Retrieve candidate list and alignment paths for v Identify subsets I lop _ chmce and C lop . cholce Compute Δ v μ(s, k, l) a = for all s, k, I specified by alignment paths for all pairs in I top chmce and C lop. choice Update μ(s, k, /)„ = μ(s, k, /)„ -ω' ≠s, l) a Identify subsets I correcltd and C comcted Compute Δ v μ(s, k, /)„ for all s, k, I specified by alignment paths for all pairs in I correcled and C comcUd Update μ(s, k, T) n = μ(s, k, Z)_ - 'Δ v μ(s, k, l) a end end As indicated previously, adaptation is performed as recognition is performed on each utterrance based on the assumption that the recognition is correct and a re-adjustment is performed only when the user makes a correction, even though that correction may be made after the user has issued several intervening utterances. This procedure is illustrated in the flowchart of Fig. 6. After a candidate list is obtained as indicated at block 151, correct (C) and incorrect (I) subsets are identified as indicated at block 153. Corrections to model parameters are computed for all pairs C and I as indicated at block 155 and the corrections are added to the then current model parameters, as indicated at block 157, using a relatively low weight. The candidate list and alignment paths are stored as indicated at block 159. If the user does not make a correction, the utterance path is incremented, as indicated at block 163, and, if there are no pending utterances, as tested at block 165, the procedure returns to the initial point to await a new utterance. If, at the block 161, the user corrects an earlier utterance, the stored data corresponding to the item to be corrected is retrieved as indicated at block 171. Likewise, the candidate set and alignment paths for the utterance to be corrected are retrieved as indicated at block 173. The correct and incorrect subsets are identified as indicated at block 175 and the correction term is computed for all pairs in I and C as indicated at block 179. This information can either be computed at the time of correction or stored from the initial recognition. The corresponding correction factor is subtracted from the then extant model parameters without attempting to undue all intervening corrections which may have been applied. The subset for the C (after correction) and I (after correction) are identified as indicated at block 183 and correction terms are computed for all pairs in I and C as indicated at block 183. This correction factor is then added to the model parameters as indicated at block 191. As indicated, a relatively low weighting factor is used in this adjustment since it is based on a single example rather than a batch of examples as was the case of the adjustments made during the initial or batch training illustrated in Fig. 5. In view of the foregoing it may be seen that several objects of the present invention are achieved and other advantageous results have been attained. As various changes could be made in the above constructions without departing from the scope of the invention, it should be understood that all matter contained in the above description or shown in the accompanying drawings shall be interpreted as illustrative and not in a limiting sense.

Claims: CLAIMS What is claimed is: 1. In a speech recognition system in which text is created from a sequence of input utterances and in which each input utterance is converted to a sequence of raw vectors, a method of identifying, from a vocabulary of word models, those models which best correspond to said utterance and for improving the word models based on corrections made by the user, said method comprising: providing, for each word model state, a continuous probability distribution function (PDF) characterized by preselected parameters; using the respective continuous PDFs, calculating a ranked scoring of a group of word models; and inserting the word corresponding to the best scoring model into the text being created; after each utterance, adjusting said preselected parameters to increase the difference in scoring between the top and next ranking models; storing said raw vectors for each of a predetermined plurality of successive utterances and storing the identities of the word models in the respective selected group thereby creating a historical record of recognition events; if a user corrects a prior recognition event in said text by selecting a different word model from the respective selected group 1) performing, on the current state of said parameters, an adjustment opposite to that performed with the original recognition event 2) performing, on the then current state of said parameters, an adjustment equivalent to that which would have been performed if said different word model had been best scoring. 2. A method as set forth in claim 1 further comprising: identifying, for each raw vector in an input utterance, that one of a preselected plurality of quantized vectors which best matches the raw vector; providing, for each model, a sequence of states representing the corresponding vocabulary word, said states being selected from a preselected group of states; providing, for each word model state, both a discrete probability distribution function (PDF) and said continuous PDF; providing a stored table containing distance degree-of-match metric values for each combination of quantized vector with model state as characterized by said discrete PDFs; using the respective discrete PDFs, performing an alignment of at least selected ones of said word models with an input utterance and generating initial match scores using said stored table and said alignments; selecting a group of well matching word models based on said initial match scores for further scoring based on said continuous PDFs. 3. A method as set forth in claim 2 wherein the scoring based on said continuous PDFs follows the alignment derived from said discrete PDFs. 4. In a speech recognition system in which text is created from a sequence of input utterances and in which each input utterance is converted to a sequence of raw vectors, a method of identifying, from a vocabulary of word models, those models which best correspond (match) to said utterance, said method comprising: identifying, for each raw vector in an input utterance, that one of a preselected plurality of quantized vectors which best matches the raw vector; providing, for each model, a sequence of states representing the corresponding vocabulary word, said states being selected from a preselected group of states; providing, for each word model state, both a discrete probability distribution function (PDF) and a continuous PDF characterized by Preselected parameters; providing a stored table containing distance degree-of-match metric values for each combination of quantized vector with model state as characterized by said discrete PDFs; using the respective discrete PDFs, performing an alignment of at least selected ones of said word models with an input utterance and generating initial match scores using said stored table and said alignments; selecting a group of well matching word models based on said initial match scores; using the respective continuous PDFs and following the alignments obtained using said discrete PDFs, calculating a ranked scoring of said group of word models; and inserting the word corresponding to the best scoring model into the text beina created; after each utterance, adjusting said preselected parameters to increase (by a small proportion) the difference in scoring between the top and next ranking models. 5. A method as set forth in claim 4 further comprising: storing said raw vectors for each of a predetermined plurality of successive utterances and storing the identities of the word models in the respective selected group thereby creating a historical record of recognition events; if a user corrects a prior recognition event in said text by selecting a different word model from the respective selected group 1) performing, on the current state of said parameters, an adjustment opposite to that performed with the oriainal recoqnition event 2) performing, on the then current state of said parameters, an adjustment equivalent to that which would have been performed if said different word model had been best scoring. 59385

Inventors: SEJNOHA VLADIMIR, SEJNOHA, VLADIMIR
Applicants: LERNOUT & HAUSPIE SPEECHPROD, SEJNOHA VLADIMIR, LERNOUT & HAUSPIE SPEECH PRODUCTS N.V., SEJNOHA, VLADIMIR
Application year: 1998
Main classification: G10L5
IPC codes: G10L15