Abstract:
Method for performing acoustic model estimation to optimize classification accuracy on speaker derived feature vectors with respect to a plurality of classes corresponding to phones to which a plurality of acoustic models respectively correspond comprises: (a) initializing an acoustic model for each phone; (b) evaluating the merit of the acoustic model initialized for each phone utilizing an objective function having a two component discriminant measure capable of characterizing each phone whereby a first component is defined as a probability that the model for the phone assigns to feature vectors from the phone and a second component is defined as a probability that the model for the phone assigns to feature vectors from other phones; (c) adapting the model for selected phones so as to increase the first component for the phone or decrease the second component for the phone, the adapting step yielding a new model for each selected phone; (d) evaluating the merit of the new models for each phone adapted in step (c) utilizing the two component measure; (e) comparing results of the evaluation of step (b) with results of the evaluation of step (d) for each phone, and if the first component has increased or the second component has decreased, the new model is kept for that phone, else the model originally initialized is kept; (f) estimating parameters associated with each model kept for each phone in order to optimize the function; and (g) evaluating termination criterion to determine if the parameters of the models are optimized.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to model estimation and, more particularly, to apparatus and methods for performing model estimation utilizing a discriminant measure which enables the design of classifiers to optimize classification accuracy. 
     In a general classification problem with N classes, the training procedure involves constructing models for each of the N classes using samples of data points from each of these classes. Subsequently, these models are used to classify an incoming test data point by evaluating its &#34;closeness&#34; to each of the N models. There are several possible categories of models that are often used, for instance, linear discriminants (as disclosed by P. O. Duda and P. E. Hart in &#34;Pattern Classification and Scene Analysis&#34;, Wiley, New York, 1973), neural networks (as disclosed by R. Lippman in &#34;Pattern Classification Using Neural Networks&#34;, IEEE Communications Magazine, pp. 11:47-64, 1989) and gaussian mixtures. The training procedure usually involves selecting a category of model (including its size), and then adjusting the parameters of the model to optimize some objective function on the training data samples. The first step of the training procedure, which involves choosing the type and size of the model, is generally done in an ad-hoc fashion, but more recently, some objective criteria have been introduced as an alternative (e.g., as disclosed by Y. Normandin in &#34;Optimal Splitting of HMM Gaussian Mixture Components with MMIE Training&#34;, Proceedings of the ICASSP, pp. 449-452, 1995). The second step of the training procedure involves training the parameters of the model. Several objective functions have been developed in the past to do this, the most commonly used ones being (i) maximizing the likelihood of the data points given the correct class (as disclosed by A. P. Dempster, N. M. Laird, D. B. Rubin in &#34;Maximum Likelihood Estimation from Incomplete Data&#34;, Journal of the Royal Statistical Society (B), vol. 39, no. 1, pp. 1-38, 1979) or (ii) maximizing the likelihood of the correct class given the data points (as disclosed by L. R. Bahl, P. F. Brown, P. V. de Souza, R. L. Mercer in &#34;Maximum Mutual Information Estimation of Hidden Markov Model Parameters for Speech Recognition&#34;, Proceedings of the ICASSP, pp. 49-52, 1986 and as disclosed by B. H. Juang, W. Chou, C. H. Lee in &#34;Minimum Classification Error Rate Methods for Speech Recognition&#34;, IEEE Trans. Speech and Audio Processing, vol. 5, pp. 257-265, May 1997). 
     When modelling data samples corresponding to a class with, for example, a mixture of gaussians, the parameters of the model are the number of mixture components and the means, variances and priors distributions of these components. In general, the number of mixture components is chosen using some simple ad-hoc rule subject to very loose constraints; for instance the number of components has to be sufficient to model the data reasonably well but not so many as to overmodel the data. A typical example of the choice of the number is to make it proportional to the number of data samples. However, such methods may result in models that are sub-optimal as far as classification accuracy is concerned. For instance, if the number of gaussians modelling a class is inadequate, it may result in the class being mis-classified often, and if too many gaussians are chosen to model a class, it may result in the model encroaching upon the space of other classes as well. These two conditions will be referred to as &#34;non-aggressive&#34; and &#34;invasive&#34; models, respectively. 
     Once the number of mixture components has been decided, the next step is to estimate the means and variances of the components. This is often done so as to maximize the likelihood of the training data samples. Though this necessarily gives the parameters that best fit the model to the data, it may result in a model that encroaches on the sample space of a different class, and hence lead to misclassifications. An alternative to maximum likelihood is maximum mutual information or MMI (as disclosed in the L. R. Bahl article cited above) or minimum classification error or MCE (as disclosed in the B. H. Juang article cited above), where the model parameters are directly estimated to minimize misclassification error. Methods that use such objective functions are called discriminant methods because they try to maximize the discrimination power of the models. 
     However, it would be advantageous to provide an objective function that can be used to both select an optimum size for the model and to train the parameters of the model which, further, may be applied to any category of classifier with one example being gaussian classifiers. It would also be advantageous to provide a measure that can be used to determine the number of mixture components in order to avoid classes of models characterized as &#34;non-aggressive&#34; and &#34;invasive&#34;. It would still further be advantageous to provide an objective function that falls into the category of discriminant objective functions, but differs from MMI and MCE, and that can be used to tune the size of the models as well as estimate the parameters of, for example, the gaussians in the models. 
     SUMMARY OF THE INVENTION 
     Before summarizing the invention, the notation employed for describing the invention will be explained. 
     Notation 
     The t th  training data sample will be denoted x t , and the class it belongs to (this is assumed to be known a-priori) will be denoted C(x t ). The model for class l will be denoted M l  ; hence, we denote the probability assigned to data sample x t  by model M l  as p(x t  /M l ). Further, as the classifier is generally far from perfect, for any given data sample x t , in general there will be several models in addition to M C (x).sbsb.t that give a reasonably high (for instance, greater than a specified threshold) probability to x t . The classes corresponding to these models will be designated as the &#34;confusable&#34; classes for data sample x t  and will be denoted F(x t ); hence, to recapitulate, C(x t ) represents the correct class corresponding to x t  and F(x t ) represents a set of confusable classes for x t . 
     The discriminant measure provided in accordance with the present invention is a 2-dimensional vector, d t , characterizing every class l. The two components of the vector will be referred to as the &#34;correct probability of the class&#34;, P c   i , and the &#34;incorrect probability of the class&#34;, P i   t , and are computed as follows. The correct probability for class l is computed from the training data samples that belong to the class l and may be represented as: ##EQU1## where T 1  is a normalizing factor representing the number of training data samples corresponding to the class l. 
     Similarly, the incorrect probability for class l is computed from training data samples that belong to other classes, but that include l in the confusable list of classes for that data sample and may be represented as: ##EQU2## where T 2  is a normalizing factor representing the number of training data samples that include l in their list of confusable classes. 
     Model Complexity Estimation 
     Clearly, the ideal situation would correspond to the case d l  =[1 0] in all l; in this case the model for class l would always give a probability of 1 to data samples that belong to class l, and a probability of 0 to data samples from all other classes. However, this ideal situation is rarely achieved, and in general, the classes are characterized by P c   l  and P i   l  values lying between 0 and 1. However, the following conclusions may be drawn based on these values. If P c   l  is less than or equal to a threshold value (e.g., 0.5), this implies that the model for class l gives data samples belonging to the same class an average probability of less than 0.5 and, therefore, may be categorized as a non-aggressive model. Consequently, it must be the case that the model does not match the data very well, hence, the resolution of the model for the class l must be increased by adding components to its model. If P i   l  is greater than or equal to a threshold value (e.g., 0.5), this implies that this model for class l gives a high probability to data samples from other classes and, therefore, may be characterized as an invasive model. Hence, in order to improve the overall performance of the classifier, the number of components in the model for this class has to be reduced. It is also to be appreciated that a ratio of P c   l  to P i   l  may be calculated and compared to a threshold value in order to determine whether components need to be added or subtracted from the model for a class. 
     The above two observations form the basis for adapting the size of the model for selected classes using the discriminant measure. Further, this can be done in an iterative fashion. 
     Parameter Estimation 
     As the desired value of the discriminant measure for a class is [1 01], an error measure, e l , may be defined as: 
     
         e.sub.l =[1 0]-d.sub.l                                     (3) 
    
     The parameter of the models can now be optimized to minimize the weighted mean square error over all classes, which may be denoted as: ##EQU3## where W l  is a positive-definite symmetric matrix. The objective function is a non-linear function of the model parameters, and standard optimization procedures, such as a gradient-descent (as disclosed by D. Luenberger in &#34;Linear and Non-linear Programming&#34;, Addison-Wesley Publishing Company, 1984), can be used to optimize the objective function. 
     In summary, a new discriminant measure is disclosed that measures the &#34;goodness&#34; (merit) of the models of a classifier. Also, objective functions related to this measure are disclosed that can be used to optimize both the model size and its parameters. Further, the discriminant measure can also be used in adapting models to a particular condition, using the adaptation data from that condition. 
     In one aspect of the present invention, a method for performing model estimation in order to optimize classification accuracy on test data with respect to a plurality of classes to which a plurality of models respectively correspond comprises the steps of: (a) initializing a model for each class; (b) evaluating the merit of the model initialized for each class utilizing an objective function having a two component discriminant measure capable of characterizing each class whereby a first component is defined as a probability that the model for the class assigns to the test data from the class and a second component is defined as a probability that the model for the class assigns to the test data from other classes; (c) adapting the model for selected classes so as to one of increase the first component of the discriminant measure for the class and decrease the second component of the discriminant measure for the class, the adapting step yielding a new model for each selected class; (d) evaluating the merit of the new models for each class adapted in step (c) utilizing the two component discriminant measure; (e) comparing results of the evaluation performed in step (b) with results of the evaluation of step (d) for each class, and if one of the first component of the discriminant measure has increased and the second component of the discriminant measure has decreased, then the new model is kept for that class, else the model originally initialized is kept; (f) estimating parameters associated with each model kept for each class in order to substantially optimize the objective function; and (g) evaluating termination criterion to determine if the parameters of the models are substantially optimized. 
     These and other objects, features and advantages of the present invention will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a flow chart illustrating a method of performing model estimation utilizing a discriminant measure according to the present invention. 
     FIG. 2 is a block diagram illustrating apparatus for performing model estimation utilizing a discriminant measure according to the present invention. 
    
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS 
     In accordance with the invention, a preferred method for adapting the models consists of the following steps. For the purposes of this detailed description, it is assumed that the training data has been preprocessed such that the correct class and the confusable list of classes are available for all data samples. For the specific case of speech recognition, the classes could correspond to phones, and the data samples to feature vectors that are extracted from a frequency domain description of the speech. The correct class in this case can be obtained by using a dynamic programming technique such as disclosed by A. J. Viterbi in &#34;Error Bounds for Convolutional Codes and An Asymptotically Optimal Decoding Algorithm&#34;, IEEE Trans. Information Theory, vol. IT-13, pp. 260-269, April 1967. The list of confusable classes may be obtained in several ways; for instance, by using a speech recognition system to transcribe the data and produce an N-best list. This is generally done by hypothesizing a sequence of words, computing a match between the sequence of words and the stream of feature vectors and picking the highest scoring sequence of words as the decoded utterance. The top N such sequence of words is called the N-best list. It is possible to viterbi align the sequence of feature vectors to each of the sentences in the N-best list to produce the best phone (class) that a feature vector aligns to. Hence, for every feature vector, there is a list of phones that the feature vector has been aligned to based on the different hypotheses of the N-best list. All entries in this list that are not equal to the correct phone make up the confusable list for the feature vector. 
     Referring now to FIG. 1, a preferred method of the invention starts with an initial model and adapts the model in every iteration in order to achieve some desired objective. In block 2, the model for each class is initialized (selection of model type, complexity, and initial parameter values). In block 4, the &#34;goodness&#34; of these models is evaluated. In block 6, based on the evaluation of block 4, the complexity of models of some selected classes is updated. In block 8, the new models are evaluated. In block 10, the performance of the new models and the initial models is compared, and a decision is made as to whether the changes that were made to the specific models are beneficial or not; the changes that are beneficial are retained, and the remaining changes are discarded (i.e., the models for these classes backoff to the initial models) and the final set of models is produced. In block 12, the parameters of the final model are estimated using either a maximum-likelihood objective function as disclosed in the Dempster et al. article cited above, or discriminant object functions as respectively disclosed in the Bahl et al. and Juang et al. articles cited above, or preferably, the objective function described in equation (4). Finally, in block 14, the termination criterion of the iterative process is checked, and the process either terminates or continues for another iteration. 
     A detailed description of the steps of the preferred process will now follow. By way of example and for the purpose of illustration, it is assumed that there are 5 classes, and the model uses mixtures of gaussians to model these classes. These gaussians may be obtained, for instance, by clustering the turning data samples that belong to a class into a pre-determined number of clusters. Again, by way of example and for the purpose of illustration, it is further assumed that the models for the different classes have respectively 10, 8, 6, 7 and 5 mixture components. This defines the initial models (block 1). 
     The steps involved in block 4 of the preferred method are as follows. Using the initial models (from block 1) and information about the correct and confusable list of classes for each data sample (predetermined), d l  is computed for the classes on the training data. As described above, d l  has two components, P c   l  and P i   l , as respectively defined in equations (1) and (2). 
     To compute P c   l , those training data samples that belong to the class l are considered. For each such data sample, the likelihood of the data sample given the model for class l, i.e., p(x t  /M l ), is computed, and also the probability of the data sample given the models of the classes in its confusable list, i.e., p(x t  /M j ) where j ε F(x t ), is computed. Subsequently, the correct probability for the data sample is computed as: ##EQU4## 
     This quantity is computed for every data sample belonging to class l (assume that there are T 1  such samples), and P c   l  is computed as: ##EQU5## 
     Another way to represent P c   l  is as a geometric average representation: ##EQU6## 
     To compute P i   l , the training data samples that include the class l in their list of confusable classes are used (assume that there are T 2  such data samples). For each x t  that includes l in its list of confusable classes, as before, the probability of x t  is computed given that model for its correct class, P(x t  /M C (x).sbsb.t) and given the model for the classes in its confusable list P(x t  /M j ) where j ε F(x). Now l is one of the confusable classes for the data sample, and its probability is computed as: ##EQU7## 
     Summing these terms over all the x t  that include l in their list of confusable classes, and normalizing by T 2  yields: ##EQU8## 
     Another way to represent P i   l  is as a geometric average representation: ##EQU9## 
     At this point, d t  for all classes has been obtained. Again, by way of example and for the sake of illustration, assume that the values are as given in Table 1 (the number of mixture components in the model for each class is also shown in the last column): 
     
                       TABLE 1______________________________________Class   P.sub.c.sup.t                P.sub.i.sup.t                       # number comp______________________________________1       0.9          0.1    102       0.45         0.4    83       0.45         0.1    64       0.9          0.6    75       0.5          0.5    5______________________________________ 
    
     The next step in the preferred method is to adapt the complexity of the models (block 6). First, the non-aggressive classes (classes that have, for example, P c   l  ≦0.5) are selected. From Table 1, classes 2, 3 and 5 fall into this category. In order to improve the resolution of these models, the number of mixture components for these models are increased (for instance, by increasing the number of mixture components by 5); hence, the models for the classes would now respectively have 10, 13, 11, 7 and 10 mixture components. Next, the invasive classes are determined (classes that have, for example, P i   l  ≧0.5). From Table 1, classes 4 and 5 fall into this category. The invasiveness of these classes is reduced by reducing the number of mixture components in the models for these classes (for instance, by reducing the number of mixture components by 4). Hence, the number of mixture components in the various models after making this adjustment would be 10, 13, 11, 3 and 6. These new models are obtained by reclustering the data samples belonging to the appropriate classes to produce the desired number of mixture components. 
     In the next step of the preferred method, the new models are now evaluated by obtaining the d l  for the different classes (block 8). By way of example and for the purposes of illustration, assume that the new d l  values are as given in Table 2. 
     
                       TABLE 2______________________________________Class   P.sub.c.sup.t                P.sub.i.sup.t                       # number comp______________________________________1       0.88         0.1    102       0.52         0.6    133       0.55         0.12   114       0.85         0.45   35       0.6          0.65   6______________________________________ 
    
     It is to be noted that often, if the number of mixture components for a model is increased, the P c   l  as well as the P i   l  of the model both increase; conversely, if the number of mixture components is deceased, both the P c   l  and P i   l  decrease. In the former case, if the increase in P c   l  is much larger than the increase in P i   l , then clearly the change that was made to the model is beneficial. Similarly, if in the latter case, the decrease in P i   l  is much larger than the decrease in P c   l , then the change made to the model is beneficial. 
     In the next step of the preferred method, these effects which arise from a change of the models in are evaluated (block 10). If the change in d l  for a class whose model was changed is not beneficial, then the change in the model is undone and we backoff (return to) to the initial model for that class. If the change in d l  is beneficial, then the new model for the class is retained. A &#34;beneficial&#34; change in d l  may be defined in several ways, for instance, for models whose resolution has increased, a change in d l  could be defined to be beneficial only if the increase in P c   l  is greater than the increase in P i   l . Similarly, for models whose resolution has decreased, a change in d l  could be defined as beneficial only if the decrease in P i   l  is greater than the decrease in P c   l . 
     Based on this definition, comparing Tables 1 and 2, it may be concluded that the change in the models for classes 3 and 4 are beneficial, while the changes in the models for classes 2 and 5 are not. Hence, we backoff to the initial models (with 8 and 5 mixture components, respectively) for classes 2 and 5. The final model at the end of this iteration would model the 5 classes with mixtures of 10, 8, 11, 3 and 5 gaussians, respectively. 
     At this point, the number of parameters in the model has been decided, and the next step of the preferred method is to estimate these model parameters (block 12). The model parameters may be estimated to optimize the objective function in a manner as defined in equation (4). The parameters to be adapted in this case are the means, variances and prior distributions of the mixture components. The objective function of equation (4) is clearly a nonlinear function of these parameters, and nonlinear optimization techniques as disclosed in the Luenberger article cited above (for example, gradient-descent) may be used to obtain these parameter estimates. 
     In the next step of the preferred method (block 14), the termination criterion of the process is checked to decide whether to terminate the iterative process represented by blocks 2-12, or to continue the process. An example of the termination criterion could preferably be to compare the median value of the P c   l  values to a threshold, and if it is greater than the threshold, the process terminates, and if it is less than the threshold, the process continues onto the next iteration (blocks 4-12) of the process. 
     It is to be appreciated that the preferred process described in blocks 2-14 was explained in the context of a general classifier problem; however, the same procedure can also be used for adapting the models of the classifier to provide the best performance for a given condition. In the speech recognition context, this would correspond to adapting the models to a particular speaker. In such a situation, exactly the same procedure outlined in FIG. 1 can be followed to adapt the models, the only difference is that the data on which the models are trained x t  now refer to adaptation data that is provided by the speaker. 
     Furthermore, it is to be understood that apparatus for providing the inventive features of the present invention may include functional modules which respectively perform the steps corresponding to the blocks of the preferred process illustrated and explained in the context of FIG. 1. However, more or less functional modules may be employed. Such functional modules may be implemented in hardware, software or a combination thereof. Preferably, the invention is implemented in software on an appropriately programmed general purpose digital computer. 
     Nonetheless, FIG. 2 is a block diagram illustrating a preferred apparatus 20 for performing model estimation utilizing a discriminant measure according to the present invention. The preferred apparatus 20 of the invention starts with an initial model and adapts the model in every iteration in order to achieve some desired objective. A model initializer 22 performs a function similar to the step described above with respect to block 2 of FIG. 1. That is, the model for each class is initialized such that information such as model type, model complexity and initial parameter values are selected. A model evaluator 24, operatively coupled to the initializer 22, performs a similar function to the step described above with respect to block 4 of FIG. 1. That is, the evaluator 24 evaluates the &#34;goodness&#34; (merit) of these models utilizing the two-dimensional discriminant measure described above. A model adaptor 26, operatively coupled to the evaluator 24, performs a similar function as the step described above with respect to block 6 of FIG. 1. That is, based on the evaluation performed by the evaluator 24, the complexity of models of some selected classes is updated by the adaptor 26. 
     Next, a new model evaluator 28, operatively coupled to the adaptor 26, performs a similar function as the step described above with respect to block 8 of FIG. 1, that is, the new model is evaluated utilizing the two-dimensional discriminant measure described above. A comparator 30, operatively coupled to the new model evaluator 28, performs a similar function to the step 10 described above with respect to block 10 of FIG. 1. That is, the performance of the new models and the initial models is compared by the comparator 30, and a decision is made as to whether the changes that were made to the specific models are beneficial or not; the changes that are beneficial are retained, and the remaining changes are discarded (i.e., the models for these classes backoff to the initial models) and the final set of models is produced. A final model estimator 32, operatively coupled to the comparator 30, performs a similar function to the step described above with respect to block 12. That is, the parameters of the final model are estimated using either a maximum-likelihood objective function as disclosed in the Dempster et al. article cited above, or discriminant object functions as respectively disclosed in the Bahl et al. and Juang et al. articles cited above, or preferably, the objective function described in equation (4). Finally, a termination criterion evaluator 34, operatively coupled to the model evaluator 24 and the final model evaluator 32, performs a similar function as the step described above with respect to block 14, that is, the termination criterion of the iterative process performed by the preferred apparatus is checked, and the process either terminates or continues for another iteration. It is to be appreciated that more detailed and alternative functions described above in relation to the steps of the preferred method may be performed by the related component of the preferred apparatus 20. Also, the apparatus 20 may be used in the specific context of speech recognition, as discussed above. 
     It is to be appreciated that the test data utilized according to the invention may be in the form of test data signals input to the computer executing the apparatus using conventional input/output devices, e.g., keyboard, etc. In the specific example of speech recognition, the test data which is in the form of feature vector signals is derived from spoken utterances provided by a test speaker and input to the present invention via an audio signal-to-electrical signal transducer (e.g., microphone). As is known in the art, the feature vector signals are generated from the electrical signals which represent the spoken utterances using conventional feature vector extraction techniques. After the estimation and optimization of acoustic models performed according to the invention, as described above, the models and classifier may be used to decode spoken utterances provided in various applications implementing a speech recognizer in an otherwise conventional manner. The decoded utterances may then be output to an electrical signal-to-audio signal transducer (e.g., speaker), a display or to another peripheral device or system depending on the specific application. 
     Although illustrative embodiments of the present invention have been described herein with reference to the accompanying drawings, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be affected therein by one skilled in the art without departing from the scope or spirit of the invention.