The present invention relates generally to the data classification systems, such as speech recognition systems and, more particularly, to methods and apparatus for training a pattern recognition system utilizing an improved objective function.
Pattern recognition and data classification techniques, often referred to as supervised learning, attempt to find an approximation or hypothesis to a target concept that assigns objects (such as processes or events) into different categories or classes. Pattern recognition can normally be divided into two phases, namely, a training phase and a testing phase. The training phase applies a learning algorithm to training data. The training data is typically comprised of descriptions of objects (a set of feature variables) together with the correct classification for each object (the class variable).
The goal of the training phase is to find correlations between object descriptions to learn how to classify the objects. In speech recognition systems, for example, the goal of the training phase is to find the Hidden Markov Model (HMM) parameters that will result in a speech recognizer with the lowest possible recognition error rate. The training data is used to construct models in which the class variable may be predicted in a record in which the observations are given but the class variables for each observation needs need to be determined. Thus, the end result of the training phase is a model or hypothesis (e.g., a set of rules) that can be used to predict the class of new objects. The testing phase uses the model derived in the training phase to predict the class of testing objects. The classifications made by the model is compared to the true object classes to estimate the accuracy of the model.
More specifically, the training or adaptation is typically done by maximizing some objective function, F(λ). Maximum likelihood as an optimization criterion has been widely used in many aspects of speech recognition. One successful example is estimating the HMM model parameters, λ, in such a way that the likelihood (probability) of the observation sequence, O=(o1, o2, . . . , OT), given the current model parameters, P(O|λ), is locally maximized using an iterative procedure such as the Baum-Welch method.
A meaningful objective function should satisfy conditions that, whenever F({circumflex over (λ)})>F(λ), {circumflex over (λ)} results in a better classifier or decoder than λ. This is not always true, however, when the likelihood P(O|λ) is used as the objective function because there is no direct relation between the likelihood and the recognition error rate. A need therefore exists for an improved objective function that not only maximizes the discrimination between classes of training data, but also moves the criterion used in parameter estimation of a speech recognition system closer to the decoding criterion, therefore reducing the recognition error rate.
Generally, a method and apparatus are disclosed for training a pattern recognition system, such as a speech recognition system, using an improved objective function, referred to as the Maximal Rank Likelihood (MRL), based on a pseudo-rank likelihood that not only maximizes the likelihood of an observation for the correct class, but also minimizes the likelihoods of the observation for all other classes, such that the discrimination between classes is maximized. Thus, the present invention applies well-known decoding criterion to the parameter estimation of the training phase of a pattern recognition system. A training process is disclosed that utilizes the pseudo-rank likelihood objective function to identify model parameters that will result in a pattern recognizer with the lowest possible recognition error rate.
Rank-based decoding techniques utilize rank likelihoods to evaluate all the classes in the system, in order to decide which class is the correct one for the given observation. The present invention utilizes the rank likelihood as an objective function, to make the training phase discriminative. In addition, the training criterion is now the same as the decoding criterion. According to a further aspect of the invention, the discrete nature of the rank-based rank likelihood objective function is transformed to allow the parameter estimations to be optimized during the training phase. Thus, in order to make rank likelihood suitable for use in the training phase, the present invention utilizes a pseudo rank, a pseudo rank likelihood and a new objective function which is based on the pseudo rank likelihood.
Three exemplary applications of the Maximal Rank Likelihood are also disclosed. First, a Linear Discriminative Projection is disclosed that optimizes the objective function using all training data and projects feature vectors into a discriminative space with a reduced dimension. The second and third applications are a feature space transformation and a model space transformation, respectively, for adaptation. The transformations are optimized to maximize the rank likelihood of the adaptation data.
A more complete understanding of the present invention, as well as further features and advantages of the present invention, will be obtained by reference to the following detailed description and drawings.
The data storage device 120 preferably includes an audio corpus database 150 for storing one or more prerecorded or live audio or video files (or both) that can be used for training and evaluation in accordance with the present invention. Generally, according to one feature of the present invention discussed further below, the data classification system 100 utilizes an improved objective function 160 based on a pseudo-rank likelihood that not only maximizes the likelihood of an observation for the correct class, but also minimizes the likelihoods of the observation for all other classes, such that the discrimination between classes is maximized. Thus, the present invention applies a decoding criterion to the parameter estimation of the training phase of a speech recognition system. Thus, the training and subsequent testing (decoding) are based on the same criteria.
As discussed further below in conjunction with
For a detailed discussion of decoding procedures for a rank based speech recognition system, see, e.g., Bahl et. al, “Robust-Methods for Using Context-Dependent Features and Models in a Continuous Speech Recognizer,” ICASSP 1994, Vol. 1, 533-536 (1994), incorporated by reference herein Generally, during decoding, instead of Gaussian likelihoods, rank likelihoods are used to form search paths in order to achieve better robustness. Thus, each observation in an observation sequence O=(o1, o2, . . . , OT) is applied to each state, where each state has associated Gaussians. The observation is compared with each state to obtain the corresponding likelihood.
The rank likelihood is then obtained from a pre-computed rank likelihood distribution, which typically has a peak at rank one and rapidly falls off to low probabilities for lower ranks. Gaussian likelihoods are used to rank all HMM states, given an observation vector of a frame of speech. Each frame has a state list associated with it, where all the states are sorted in the decreasing order of the Gaussian likelihood. The decoding performance of a system depends on the quality of the rank lists. One way to improve the system performance is to make the correct state for every frame to appear on the top positions of the rank list, i.e., to make every frame have higher rank, therefore improving the rank likelihoods of the correct states.
Given an observation vector ot (corresponding to a frame of speech), the rank r(ot) for this observation is defined as the number of other (confusable) states li which have higher Gaussian likelihoods than the correct state lc conditioned on the correct transcription and alignment. Thus, the rank r(ot) for the observation vector ot may be expressed as follows:
where p(ot|lc) is the likelihood of ot given the correct state lc, and p(ot|li is the likelihood of ot given any other state li, li ε {all states in the underlying system}. u(.) is a Step function as follows:
For example, when the correct state is not the highest ranking state, the denominator value of p(ot|li) will be higher than the numerator value of p(ot|lc) in Eq. (1), and the logarithm of a number less than one is negative. Thus, the step function, u(x) evaluates to a value of 1.
The rank likelihood of ot is defined as:
RL(ot)=L(r(ot)) (2)
where r(ot) is the rank as in Eq. 1 and L(.) is a rank likelihood function. Although the rank likelihood function can be pre-computed as a histogram from a small portion of the training data, theoretically, any monotonic decreasing function can be used to represent this function.
From Eq. 1 and Eq. 2, it can be seen that in order to maximize the rank likelihood RL (ot), not only p(ot|lc) should be maximized, but also all p(ot|li), li ε {all HMM states} should be minimized relative to p (ot|li). So the rank likelihood is a discriminative function. If we choose to use the rank likelihood as an objective function, the training is discriminative, and also the training criterion becomes the same as the decoding criterion.
The present invention recognizes that rank-based decoding procedures define the rank as a discrete function in Eq. 1. Therefore, the rank likelihood set forth in Eq. 2 cannot be used as an objective function directly. Specifically, the required differentiation of the step function, u(x), would result in an infinite value at the transition (x=0). In addition, the table look-up that is performed in the rank-based decoding procedure to translate the ranked lists to likelihood values cannot be performed in the optimization procedure required for the training phase. In other words, the optimization requires the ability to differentiate the step function and evaluate the change in the likelihood values. Thus, in order to make rank likelihood suitable for use in the training phase, the present invention utilizes a pseudo rank, a pseudo rank likelihood and a new objective function which is based on the pseudo rank likelihood.
Thus, to avoid the differentiation problems, a Sigmoid function σ(x):
is used to replace the Step function u(x) in Eq. 1.
The larger the value of α, the closer that σ(.) is to u(.). However, in practice, a large α could cause instability of σ(.).
With this smoothed σ(.), the pseudo rank is defined as:
Equation 4 has been found to be a good approximation to equation 1.
To avoid the table look-up problem, a reciprocal function is used as the rank likelihood in Eq. 2 as follows:
The rank likelihood set forth in equation 5 is referred to as a pseudo rank likelihood and turns out to be similar to the pre-computed rank likelihood distribution. It is noted that the Sigmoid function σ(x) and reciprocal function, L(r), used by the present invention are merely exemplary functions that approximate the step function and likelihood table look-up procedures of the rank-based decoding procedures and other functions may be employed consistent with the present invention as would be apparent to a person of ordiinary skill in the art.
Given an observation sequence O=(o1, o2, . . . , OT), the objective function 160 is defined as the average logarithm of the pseudo rank likelihood:
Thus, equation (6) provides a new objective function for training, that is based on decoding criteria. The objective function in Equation 6 can theoretically replace the Gaussian likelihood to improve all MLE based algorithms.
Since there is no closed form solution to the problem of maximal pseudo-rank likelihood (i.e., no closed form for the differentiation of equation 6), the problem must be solved numerically. In fact, we search along the gradient direction of the objective function. Let
then the gradient of the objective function F with respect to λ (the desired parameters of the recognition system to be optimal),
can be written as:
For different applications, the term
in Eq. 8 will be computed differently corresponding to different sets of parameters, λ's. The rest will remain same.
As previoulsy indicated, the pattern recognition system 100 employs a training process 200, shown in
The training process calculates the rank likelihood (MRL), F, of the observation during step 230 using the pseudo-rank likelihood objective function 160 as follows:
Finally, the training process selects the class (model) parameters during step 240 that maximize the objective function, F. Thereafter, program control terminates. Exemplary Applications Employing the Pseudo Rank Likelihood Objective Function
Linear Discriminant Projection:
Linear Discriminant Analysis (LDA) is popularly used in speech recognition to reduce the dimension of the feature space and retain as much discriminating information as possible. LDA tries to find a θ, which projects a feature vector from the original feature space to a new feature space with reduced dimensions by maximizing:
A Linear Discriminant Projection (LDP) is one application of the objective function (Eq. 6) that can be used to replace Eq. 9. The LDP projects the feature vector ot into a new space with reduced dimensions: ot→θot. Thus, the LDP changes the model to a new space so that it is easier to separate classes.
When one Gaussian is used to model each state, dλ(ot,lc,li) in Eq. 6 becomes:
The gradient is same as in Eq. 8, except
becomes
as follows:
In Eq. 10, in order to simplify the gradient computation we take diagonal of
(since in most applications we use Gaussians with diagonal covariances).
Maximal Rank Likelihood Adaptation—A Feature Space Transformation (MRL-FST):
In the application of LDP described above, the gradient
is computed for every frame of training speech. The computation cost is proportional to the amount of training speech, which makes the algorithm impractical when the amount of training data is huge. Thus, MRL-FST is an application that optimizes the feature space transformation on adaptation data, which is usually relatively small. In this application, the dimensions of the feature vector remain same, the transformation is optimized to maximize the rank likelihood of the adaptation data. For example, if a speech recognition system is initially trained for a large group of speakers, the MRL-FST allows more accurate recognition by transforming the adaptation data for a smaller group of speakers. Like the LDP above, the MRL-FST projects the feature vector ot into a new space: ot→θot.
When mixture of Gaussians is used to model a state, p(ot|l) becomes:
The gradient becomes:
The flg can be viewed as normalization factors based on the posterior likelihoods.
Maximal Rank Likelihood Adaptation—A Model Space Transformation (MRL-MST):
Another application of the MRL estimation is also for speaker adaptation. Different from MRL-FST above, a model space linear transformation, which is applied to Gaussian means (similar to MLLR), can be computed to maximize the rank likelihood for observations. The objective function for this application is same as in Eq. 6, however, the Gaussian means become the adapted means {circumflex over (m)}l=θml.
When Gaussian mixtures are used to model each state, p(ol|l) is same as in Eq. 11.
The gradient becomes:
It is to be understood that the embodiments and variations shown and described herein are merely illustrative of the principles of this invention and that various modifications may be implemented by those skilled in the art without departing from the scope and spirit of the invention.
Number | Name | Date | Kind |
---|---|---|---|
4587670 | Levinson et al. | May 1986 | A |
5579436 | Chou et al. | Nov 1996 | A |
5950158 | Wang | Sep 1999 | A |
5963902 | Wang | Oct 1999 | A |
5963906 | Turin | Oct 1999 | A |
6044344 | Kanevsky | Mar 2000 | A |
6246980 | Glorion et al. | Jun 2001 | B1 |
6493667 | de Souza et al. | Dec 2002 | B1 |