The present invention relates to automatic speech recognition and, more particularly, to a frame erasure concealment technique for use with a bitstream-based feature extraction process in wireless communication applications.
In the provisioning of many new and existing communication services, voice prompts are used to aid the speaker in navigating through the service. In particular, a speech recognizing element is used to guide the dialogue with the user through voice prompts, usually questions aimed at defining which information the user requires. An automatic speech recognizer is used to recognize what is being said and the information is used to control the behavior of the service rendered to the user.
Modern speech recognizers make use of phoneme-based recognition, which relies on phone-based sub-word models to perform speaker-independent recognition over the telephone. In the recognition process, speech “features” are computed for each incoming frame. Modem speech recognizers also have a feature called “rejection”. When rejection exists, the recognizer has the ability to indicate that what was uttered does not correspond to any of the words in the lexicon.
The users of wireless communication services expect to have access to all of the services available to the users of land-based wireline systems, and to receive a similar quality of service. The voice-activated services are particularly important to the wireless subscribers since the dial pad is generally away from sight when the subscriber listens to a vocal prompt, or is out of sight when driving a car. With speech recognition, there are virtually no restrictions on mobility, because callers do not have to take their eyes off the road to punch in the keys on the terminal.
Currently, one area of research is focusing on the front-end design for a wireless speech recognition system. In general, many prior art front-end designs fall into one of two categories, as illustrated in
In speech coding, channel impairments are modeled by bit error insertion and frame erasure insertion devices, where the number of bit errors and frame erasures depends primarily on the noise, co-channel and adjacent channel interference, as well as frequency-selective fading. Fortunately, most speech coders are combined with a channel coder, where a “frame erasure” is declared if any of the most sensitive bits with respect to the channel is in error. The speech coding parameters of an erased frame must then be extrapolated in order to generate the speech signal for the erased frame. A family of error concealment techniques are known in the prior art and can generally be defined as either “substitution” or “extrapolation” techniques. In general, the parameters of the erased frames are reconstructed by repeating the parameters of the previous frame with scaled-down gain values. In conventional speech recognition systems, a decoded speech-based front-end uses the synthesized speech for extracting a feature. However, in a bitstream-based front-end, the parameters themselves are present.
The need remaining in the prior art, therefore, is to provide a technique for handling frame erasures in a bitstream-based front end speech recognition systems.
The need remaining in the prior art is addressed by the present invention, which relates to automatic speech recognition and, more particularly, to a frame erasure concealment technique for use with a bitstream-based feature extraction process in wireless communication applications.
In accordance with the present invention, an error in a frame is declared if the Euclidean distance between the line spectrum pair (LSP) coefficients in adjacent frames is less than or equal to a predefined threshold T. In such a case, one of the frames in then simply deleted from the bitstream. In particular, and based on the missing feature theory, a decoding algorithm is reformulated for the hidden Markov model (HMM) when a frame erasure is detected.
Other and further features and advantages of the present invention will become apparent during the course of the following discussion and by reference to the accompanying drawings.
Referring now to the drawings,
a) and (b) illustrate, in simplified block diagram form, two prior arrangements for exemplary wireless automatic speech recognition systems;
a), (b), (c), and (d) contain exemplary trajectories of adaptive codebook gain (ACG)—voiced, and fixed codebook gain (FCG)—unvoiced—parameters for speech after processing by an IS-641 speech coder;
a), (b), (c), (d), (e), and (f) illustrate various speech waveforms associated with the implementation of an exemplary speech enhancement algorithm in association with the feature extraction process of the present invention;
a) and (b) contain graphs illustrating the word error rate (WER) associated with various frame erasure techniques; and
a) and (b) illustrate the ratios of processing time between a conventional extrapolation frame erasure technique and the frame deletion method of the present invention.
A bitstream-based approach for providing speech recognition in a wireless communication system in accordance with the present invention is illustrated in
With this understanding of the encoding process within an IS-641 speech encoder, it is possible to study in detail the bitstream recognition process of the present invention. Referring to
Although this description is particular to the IS-641 speech coder, it is to be understood that the feature extraction process of the present invention is suitable for use with any code-excited linear prediction (CELP) speech coder.
The model illustrated in
Tables I and II below include the speech recognition accuracies for each ASR pair, where “Cx/Cy” is defined as an ASR that is trained in Cx and then tested in Cy:
Table I includes a comparison of the recognition accuracy for each of the conventional front-ends, using the ASR location identifiers described above in association with
As mentioned above, in addition to the spectral envelope, a speech coder models the excitation signal as the indices and gains of the adaptive and fixed codebooks, where these two gains represent the “voiced” (adaptive codebook gain—ACG) and “unvoiced” (fixed codebook gain—FCG) information. These parameters are quantized and then transmitted to the decoder. Therefore, in accordance with the present invention, it is possible to obtain the voiced/unvoiced information directly from the bitstream.
where gp(i) and ga are defined as the ACG and FCG values of the i-th subframe. In order to add the ACG and FCG values into the feature vector and maintain the same vector dimension as before, two of the twelve LPC cepstra values in the baseline are eliminated.
Table III, included below, illustrates the improved results from incorporating the ACG and FCG parameters into the feature set. Compared with the baseline, the new feature set reduces the word and string error rates by 10% for each. Referring back to Tables I and II, these results for the arrangement of the present technique of incorporating ACG and FCG are now comparable to the conventional prior art models.
In order to properly analyze these recognition results, it is possible to use hypothesis tests for analyzing word accuracy (using matched-pair testing) and string accuracy (using, for example, McNemar's testing). A complete description of McNemar's testing as used in speech recognition can be found in the article entitled “Some statistical issues in the comparison of speech recognition algorithms”, by L. Gillick and S. Cox appearing in Proceedings of the ICASSP, p. 532 et seq., May 1989. For matched-pair testing, the basic premise is to test whether the performance of a system is comparable to another or not. In other words, a hypothesis Ho is constructed as follows:
H
0:μA−μB=0, (3)
where μA and μB represent the mean values of the recognition rates for systems A and B, respectively. Alternatively, to test the string accuracy, McNemar's test can be used to test the statistical significance between the two systems. In particular, the following “null” hypothesis is tested: If a string error occurs from one of the two systems, then it is equally likely to be either one of the two To test this, Not is defined as the number of strings that system A recognizes correctly and system B recognizes incorrectly. Similarly, the term No will define the number of strings that system A recognizes incorrectly and system B recognizes correctly. Then, the test for McNamara's hypothesis is defined by:
where k=N01+N10.
As an example, these test statistics can be computed for a “wireless baseline” system (C3) and bitstream-based front-end system (C3-3) of the present invention, including both ACG and FCG, using the data from Table III.
The results of these computations are shown above in Table IV, where from these results it is clear that the incorporation of ACG and FCG in the arrangement of the present invention provides significantly improved recognition performance over the baseline with a confidence of 95%. Moreover, Table V (shown below) illustrates that the proposed front-end of the present invention yields comparable word and string accuracies to conventional wireline performance.
The performance of the bitstream-based front end of a speech recognizer can also be analyzed for a “noisy” environment, such as a car, since oftentimes a wireless phone is used in such noisy conditions. To simulate a noisy environment, a car noise signal can be added to every test digit string. That is, the speech recognition system is trained with “clean” speech signals, then tested with noisy signals. The amount of additive noise can be measured by the segmental signal-to-noise ratio (SNR). Table VI, below, shows the recognition performance comparison when the input SNR varies from 0 dB to 30 dB in steps of 10 dB.
As shown, for an SNR above 20 dB, the bitstream-based front-end arrangement of the present invention (C-3/C-3) shows a better performance than the conventional wireless front end. However, its performance is slightly lower than the conventional wireline front end. With lower values of SNR, the arrangement of the present invention does not compare as favorably, particularly due to the fact that the inventive front-end utilizes voicing information, but the speech coder itself fails to correctly capture the voicing information at low levels of SNR.
The utilization of a speech enhancement algorithm with the noisy speech signal prior to speech coding, however, has been found to improve the accuracy of the extracted voicing information. An exemplary speech enhancement algorithm that has been found useful with the processing of noisy speech is based on minimum mean-square error log-spectral amplitude estimation and has, in fact, been applied to some standard speech coders.
As mentioned above, channel impairments can be modeled by bit error insertion and frame erasure insertion devices, where the number of bit errors and frame erasures depends mainly on the noise, co-channel and adjacent channel interference, and frequency selective fading. Fortunately, most speech coders are combined with a channel coder. The most sensitive bits are thus strongly protected by the presence of the channel coder. A “frame erasure” is declared if any of the most sensitive bits with respect to the channel is in error. In the context of the bitstream-based arrangement of the present invention, the bits for LSP (i.e., bits 1-26) and gain (i.e., bits 121-148) are defined as most sensitive to channel errors. Therefore, for the purposes of the present invention, it is sufficient to consider a “frame erasure” condition to exist if these bits are in error, since the recognition features in the bitstream-based front end are extracted from these bits.
In the prior art, the speech coding parameters of an erased frame are extrapolated in order to generate the speech signal for the erased frame. The parameters of erased frames are reconstructed by repeating the parameters of the previous frame with scaled-down gain values. In particular, the gain values depend on the burstiness of the frame erasure, which is modeled as a finite state machine. That is, if the n-th frame is detected as an erased frame, the IS-64] speech coder estimates the spectra! parameters by using the following equation:
ωn,i=cωn-1,i+(1−c)ωdc,i, i=1, . . . ,p (5)
where Ωn,i is the i-th LSP of the n-th frame and ωdc,i is the empirical mean value of the i-th LSP over a training database and c is a forgetting factor set to a value of 0.9. The ACG and FCG values are obtained by multiplying. the predefined attenuation factors to the gains of the previous frame, and the pitch value is set to the same pitch value of the previous frame. The speech signal, using this “extrapolation method” is then reconstructed from these extrapolated parameters.
As an alternative, the present invention proposes a “deletion method” for overcoming frame erasures in a bitstream-based speech recognition front end. Based on the missing feature theory, a decoding algorithm is reformulated for the hidden Markov model (HMM) when a frame erasure is detected. That is, for a given HMM λ=(A, B, π), the probability of the observation sequence O={o1, . . . , oN} is given by:
where N is the number of observation vectors in O, (q1, . . . , qN) is defined as a state sequence, and πq is the initial state distribution. Also, the observation probability of on at state i is represented as follows:
M is the number of Gaussian mixtures, and cik is the k-th mixture weight of the i-th state. The variables μ and σ define the mean vector and covariance matrix, respectively.
To understand the “deletion” method of frame erasure method of the present invention, presume that the l-th frame is detected as a missing frame. The first step in the deletion method is to compute the probability of only the correct observation vector sequence for the model λ. The observation vector sequence can be divided into two groups as follows:
O=(O0,Om), (8)
where o E Om. From the missing feature theory, the probability to be computed can be expressed as follows:
P(O|λ)=∫P(Oc,Om|λ)dOm. (9)
Also, for the missing observation vector 0/, it is known that:
∫bi(o1)do1=1. (10)
By substituting (6) and (10) into (9), the following relationship is obtained:
It is known that the transition probabilities have less effect in the Viterbi search than the observation probabilities. Therefore, it is possible to set αq1-Nq1=1. The above equation is then simply realized by deleting the vector of in the observation sequence and using the conventional HMM decoding procedure.
The deletion method of the present invention can be interpreted in terms of a VFR analysis. In particular, the Euclidean distance of the LSP's between the (n−1)-th and the n-th frames is given by:
If the distance expressed above is less than or equal to a predefined threshold T, the two frames are assumed to be in the steady-state region and the LSP's of the n-th frame are deleted in the observation sequence. Therefore, if for the threshold T the following is presumed:
T=(1−c)2max[x
where Ω is a p-dimensional LSP vector space, all of the missing frames will be deleted.
In terms of computational complexity, it can be concluded that using the deletion process of the present invention reduces the length of the observation sequence by N(I−pe), where Pe is the frame erasure rate (FER).
To simulate frame erasure conditions, error patterns depending on the FER and its burstiness can be generated for various test strings. For example,
b) illustrates the WER as a function of the burstiness of the FER when the FER is 3% (the “burstiness” being defined as b for the sake of simplicity). Similar to the random FER case, the WER's of the bitstream-based front-ends are smaller than those associated with decoded speech-based front-ends. Comparing the WER performance at b=0.99 to that under a “clean” environment, the decoded speech-based front-end increases the WER by 24.3%, while the bitstream-based front-ends with the extrapolation method and with the deletion method increase the WER by 19.7% and 22.1%, respectively. The inventive deletion method gives a slightly worse performance than the extrapolation method when b is large since the deletion method increases the deletion errors as b increases.
While the exemplary embodiments of the present invention have been described above in detail, it is to be understood that such description does not limit the scope of the present invention, which may be practiced in a variety of embodiments. Indeed, it will be understood by those skilled in the art that changes in the form and details of the above description may be made therein without departing from the scope and spirit of the invention.
This application is a continuation of U.S. patent application Ser. No. 13/690,118, filed Nov. 30, 2012, which is a continuation of U.S. patent application Ser. No. 13/306,201, filed on Nov. 29, 2011, now U.S. Pat. No. 8,359,199, issued Jan. 22, 2013, which is a continuation of U.S. patent application Ser. No. 12/543,821, filed on Aug. 19, 2009, now U.S. Pat. No. 8,090,581, issued Jan. 3, 2012, which is a continuation of U.S. patent application Ser. No. 11/497,009, filed on Aug. 1, 2006, now U.S. Pat. No. 7,630,894, issued Dec. 8, 2009, which is a continuation of U.S. patent application Ser. No. 09/730,011, filed on Dec. 5, 2000, now U.S. Pat. No. 7,110,947, issued Sep. 19, 2006, which claims the priority of Provisional Application No. 60/170,170, filed Dec. 10, 1999, all of which are incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
60170170 | Dec 1999 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13690118 | Nov 2012 | US |
Child | 14281026 | US | |
Parent | 13306201 | Nov 2011 | US |
Child | 13690118 | US | |
Parent | 12543821 | Aug 2009 | US |
Child | 13306201 | US | |
Parent | 11497009 | Aug 2006 | US |
Child | 12543821 | US | |
Parent | 09730011 | Dec 2000 | US |
Child | 11497009 | US |