Method and means for a robust feature extraction for speech recognition

Abstract: The present invention relates to a method and an apparatus for a robust feature extraction for speech recognition in a noisy environment, wherein the speech signal is segmented and is characterized by spectral components. The speech signal is splitted into a number of short term spectral components in L subbands, with L = 1,2,...and a noise spectrum from segments that only contain noise is estimated. Then a spectral subtraction of the estimated noise spectrum from the corresponding short term spectrum is performed and a probability for each short term spectrum component to contain noise is calculated. Finally these spectral component of each short-term spectrum, having a low probability to contain speech are interpolated in order to smooth those short-term spectra that only contain noise. With the interpolation the spectral components containing noise are interpolated by reliable spectral speech components that could be found in the neighborhood.

Description: The invention relates to a method and a means for performing a robust feature extraction for a speech recognition in a noisy environment. In the area of speech recognition a major problem for an accurate recognition of speech occurs in case of a noisy environment. All possible different types of noise have influence on the speech recognition and may degrade a recognition accuracy drastically. Especially in the area of mobile telephony or access systems that allow access after recognising a spoken password, speech recognition is becoming more and more important. Especially in these areas mentioned, out of the possible different types of noise, the most problematic ones are additive stationary or instationary background noise. Another type of noise degrading the recognition accuracy is the influence of frequency characteristics of a transmission channel if the speech to be recognised is transmitted via such a channel. Additive noise may consist of background noise in combination with noise generated on a transmission line. Therefore it is known from the prior art to provide a so-called linear or nonlinear spectral subtraction. Spectral subtraction is a noise suppression technique, which reduces the effects of additive noise to speech. It estimates the magnitude or power spectrum of clean speech by explicitly subtracting the noise magnitude or power spectrum from the noisy magnitude or power spectrum. Such a technique was developed for enhancing speech in various communication situations. As spectral subtraction necessitates estimation of the noise during pauses, it is also supposed that noise characteristics change slowly, to guarantee that the noise estimation is still valid. The success of this method necessitates the availability of a robust endpoint or voice activation detector to separate speech from noise. However, a good speech and noise separation is a necessary condition but is difficult to achieve at low Signal-to-Noise Ratio (SNR). In addition even if spectral subtraction is computationally efficient since the noise is estimated during speech pauses and even if this technique can be implemented as a pre-processing technique leaving the other processing stages unchanged, the performance of the spectral subtraction method is strongly dependant on the noise and how the noise is extracted. The problem associated with this is that even if the wide-band noise is reduced, some noise residual remains (Junqua et al; "Robustness in automatic speech recognition"; Kluwer Academic Publisher; 1996; Section 9.2 Speech Enhancement, pages 277 ff.) Anyhow, even if with the above mentioned methods the speech recognition may be improved, for these approaches the estimation of the noise characteristics is crucial. As mentioned above, a speech to noise discrimination is needed to mark those segments of a speech signal that contains only noise. But such a discrimination can not be free of errors and is difficult to achieve. In addition to this when it is looked at segments of the speech signal which contain the superposing of speech and stationary noise, these segments can be described by the superposition of corresponding distribution functions for a spectral noise component and a spectral speech component. These distribution functions overlap depending on the SNR. The overlap is higher, the lower the SNR is. And therefore in this case it can not be decided whether short-term spectra contain speech in spectral regions where the spectral magnitude of the speech takes values of the same size or less size than the noise. Matsumoto H et al: "Smoothed Spectral Subtraction for a Frequency-Weighted HMM in Noisy Speech Recognition", Proceedings of the International Conference on Spoken Language Processing, XX, XX, 1 January 1996, pages 905-908, XP002065141 describes a method in which a clean speech power spectrum is estimated by spectral subtraction of an estimated noise power spectrum from a noisy speech power spectrum. To suppress distortion in the estimated log-power spectrum caused by the spectral subtraction, a smoothed log-power spectrum is derived, and a new estimate of log-power spectrum is then calculated as a weighted sum of the non-smoothed and the smoothed log-power spectra. The weighting coefficients are selected as a monotonically increasing function of the estimated SNR, so that high SNR components are substantially preserved while low SNR components are substantially replaced by those of the smoothed log-power spectrum. However, especially the computation of the smoothed log-power spectrum is quite complex requiring a high amount of computational resources, which makes the method less suited for mobile applications. Therefore it is an object of the present invention to provide a method and an apparatus that overcomes the problems and that allows a more robust speech recognition in noisy environment. This is achieved by the teaching of claims 1, 12 and 17 and 19. It is advantageous according to the invention that a short term spectrum only containing noise is smoothed and in addition in case of noisy speech segments, unreliable spectral components are interpolated by so called reliable ones, therefore resulting in an improved speech recognition, or more explicitly in a robust feature extraction, supporting an improved speech recognition. It is advantageous to perform the interpolation based on at least one spectral component of an adjacent short term spectrum and / or at least one in time preceding spectral component, as it could be expected that a so called unreliable speech component with a low probability to contain speech is smoothed. Further preferred embodiments could be found in the claims 2 - 11 and 13 - 16 and 20. According to claim 2 an improved speech recognition is achieved with taking two adjacent spectral components and one proceeding in time. A further advantage according to claim 3 is to compare the calculated probability to a threshold in order to get a definition which spectral component has to be interpolated. According to claim 5 it is further advantageous to interpolate the spectral component on the basis of noiseless speech. According to claim 8 two interpolations are performed resulting in an even better speech recognition. It is advantageous according to claim 11 to base the division YYY of the short-term spectra on a MEL frequency range as the MEL frequency range is based on the human ear. Further it is advantageous to use the method for a speech recognition to control electronic devices, e.g. mobile phones, telephones or access system using speech to allow access or dialling etc. In the following the invention will be further described and supported by means of examples and by the figures. The following figures show: Fig.1: Integration of an interpolation into a feature extraction according to claim 1, Fig 2: Integration of an interpolation into a feature extraction according to claim 5, Fig 3: Integration of an interpolation into a feature extraction according to claim 8, Fig 4: Diagram of a probability function for the existence of speech. To make a speech recognition more robust against noise, a robust feature extraction scheme can be applied. This scheme tries to extract those features out of the speech signal that are not sensitive to noise or which are freed from the influence of noise. Further to this the majority of feature extraction schemes are based on short-term spectral analysis. In addition most of the speech recognition systems are based on a short-term analysis in the MEL frequency range. The MEL frequency range is based on the human ear and is know in the prior art and therefore will not be further described in this application. The term robust should cover robustness against stationary and instationary background noise as mentioned in the prior art. Further to this robustness as mentioned in the application should also cover robustness against unknown frequency characteristics resulting from any type of electronic device, e.g. a microphone and /or a digital or analogous filter by use of the invention for a mobile phone or any other telephone. In the following the invention will be further described with the help of figure 1. A speech signal is, after a pre-processing e.g. framing and transformation that is not basis of this invention and that is well known in the prior art, splitted into a number of short term spectral components in L subbands, with L = 1,2,..... L preferably is in the range of 10 to 30 MEL. The division into short-term spectral components may be based on a short-term spectral analysis in the MEL frequency range. The output of such a filterbank in the MEL frequency range is a short-term magnitude or power spectrum in the number of L subbands, with L=1,2,.... In a next step an estimation of a noise spectrum from segments that only contain noise is performed ES. This can be done by applying a voice activity detector. The average spectrum is calculated from all spectra belonging to a segment which is marked as noise by a voice activity detector. The average spectrum is taken as the estimation of the noise spectrum. Then a spectral subtraction is performed by subtracting the estimated noise spectrum from the noisy short-term spectrum Ssub and resulting in an estimation result. One realisation is the subtraction of the spectral components in the magnitude domain, being calculated as follows: | S l (t i )| = |X l (t i )| - | N l (t i )| with |S and l | = the estimation result of a spectral speech component, with |X l | = the actual noisy input component, and |N and l | = the estimated noise component, at time = t and for the subband I = 1,....,L. It should be mentioned that in all equations the values as S and l , t etc should have the same meaning. In a further step, a probability for each short-term spectral component to contain noise is calculated. The calculation of the probability will be described in more detail later. If the calculated probability for the short-term spectral component results in a low probability to contain speech, in a next step this spectral component is interpolated IP. As in most of today's used speech recognition systems cepstral coefficients are used, the short-term spectra being smoothed and interpolated as described before may be further processed as follows. A logarithm of each short-term spectral component is taken log and finally a number of cepstral coefficients are transformed out of it via a discrete cosine transformation DCT. In the following an interpolation of the spectral components of each short-term spectrum is described in more detail. As described before the probability for a spectral component to contain speech is calculated. In case the probability calculation results in a low probability to contain speech the spectral component is considered to be unreliable. These unreliable components are then interpolated. This interpolation is for example based on looking at spectral components of at least one adjacent subband and / or at least one in time preceding or successive spectral component of the short-term spectrum. As one preferred example two adjacent subbands and one in time preceding spectral component are taken for the interpolation. The interpolation is for example done by calculating a weighted sum as follows: with prob = probability of a subband I. Anyhow further spectral components of further adjacent subbands may be basis for the interpolation and therefore the description is not thought to limit to the scope of this. As mentioned before the probability for each short-term spectrum to contain noise is calculated. Therefore a ratio between |S and l (t i )|/|X l (t i )| is performed. This indirectly includes the signal-to-noise ratio in a short term spectrum at the time t i . The ratio can take values between minus infinity and 1 as shown in figure 4 where the x-axis shows the ratio and the y-axis shows the probability prob. Negative values occur in case the noise component |N and l (t i )| is higher than the actual spectral component X l (t i ). This indicates noise and therefore further indicates an unreliable component. In comparison to this a value of 1 is taken if no noise is estimated and where pure speech is existent. Figure 4 shows one example to define a measure for the probability that a spectral component contains speech. As mentioned before an interpolation is done in case the calculated probability for the short term spectrum results in that the spectrum has a low probability to contain speech. As the calculated probability is not always either 0 or 1, preferably a threshold is defined to define spectral components with their correspondent ratio being below this threshold and therefore assuming to have a low probability to contain speech. Preferably the threshold is 0.6 but can be any value between 0 and 1. The threshold may be predefined or changed depending on the environment. In the following another example is described with the help of figure 2. It should be mentioned here that blocks with the same index intend to have the same meaning throughout all figures. In addition to the steps mentioned, a number M of spectral distances for each short term spectrum are determined. Said spectral distances are determined between the short term spectrum after subtraction and a number M of spectra containing noiseless speech, with M = 1, 2,..... Further for each short term spectrum at least one spectrum containing noiseless speech having the smallest spectral distance to said short term spectrum is determined MATCH. The spectral distance can be calculated as follows: with V (m) = spectrum containing noiseless speech, and m being one of the codebook entries. The one being calculated and having the smallest error is considered to be the one with the smallest spectral distance. Following this the interpolation is performed by extracting spectral information from said noiseless speech spectra having the smallest spectral distance. Anyhow also a number of noiseless speech spectra can be taken all with a small spectral distance. One possibility to perform the interpolation is to calculate a weighted sum of the actual estimated spectral component |S and l (t i )| and the corresponding component of the closest vector. This could be performed as follows: The basic behind this is based on a knowledge that speech is only present at certain areas of a L dimensional spectral feature space. With this knowledge the interpolation of spectral components with a low probability to contain speech is based on the extraction of spectral information from the closest entry or more than one close entries in the codebook CB. In the following another preferred embodiment of the invention is described by means of figure 3. As shown in figure 3 in addition to a first interpolation IP1 another interpolation IP2 is performed. In the example shown the first interpolation is based on spectral components of at least one adjacent subband, and / or at least one in time preceding or successive spectral component of the short term spectrum as mentioned according to claim 1 and figure 1. The second interpolation IP2 is based on extracting spectral information from said noiseless speech spectra having the smallest spectral distance according to claim 6 and figure 2. Anyhow this is not thought to restrict the invention as the interpolation according to claim 6 could be performed first and then the interpolation according to claim 1 can be performed. Anyhow it should be mentioned again that for both interpolations the essential aspect is that unreliable short term spectral components, or better said short term spectral components with a low probability to contain speech, are interpolated. In general the interpolation of the spectral components containing noise is based on reliable spectral speech components that could be found in the neighborhood as could be applied for both interpolations. In the following an apparatus for a robust feature extraction for speech recognition in a noisy environment, wherein a speech signal is segmented and is characterized by spectral components are described according to figure 1. The apparatus comprises a filterbank MEL for splitting the speech signal into a number of spectral components in L subbands, with L= 1,2,..., Further estimation means ES for estimating a noise spectrum of segments that only contain noise are foreseen. The apparatus further comprises a subtractor SSub for performing a spectral subtraction of the estimated noise spectrum from the corresponding short term spectrum and a calculator for calculating a probability for each short term spectrum to contain noise is foreseen. Interpolation means IP for interpolating the spectral component of each short term spectrum, if the calculated probability to contain speech for the short term spectrum component are foreseen in the apparatus as well. In another preferred embodiment of the application a comparator for comparing the calculated probability to a threshold defining the low probability to contain speech is provided. Finally to get cepstral coefficients, means for taking a logarithm log of each spectral component and further means for performing a discrete cosines transformation DCT are foreseen and their output is a number of cepstral coefficients being used for the speech recognition. In the following another preferred embodiment is described according to figure 2. It should be mentioned again that the same abbreviations should stay for the same block. In addition to the means mentioned with figure 1, a codebook CB containing noiseless speech spectra, is foreseen and determining means for determining a number M of spectral distances for each short term spectrum, by determining said spectral distances between the short term spectrum after subtraction and a number M of spectra containing noiseless speech spectra are provided as well. Further to this determining means MATCH to determine for each short term spectrum at least one spectrum containing noiseless speech having the smallest spectral distance to said short term spectrum are foreseen and their result is an input for the interpolation means Ipto perform the interpolation. Finally a computer program product loadable into a memory of an electronic device should be described (without figure). A computer program product loadable into a memory, e.g. of a mobile phone should comprise software code portions or modules for performing the steps of any of the claims 1 to 11. Preferably this computer program is being stored on a computer readable medium. Finally the method and apparatus and the computer program product could be used for a speech recognition to control electronic devices. Such an electronic device is for example a telephone or a mobile phone or an access means.

Claims: Method for a robust feature extraction for speech recognition in a noisy environment, wherein a speech signal is segmented and is characterized by spectral components, with the steps of splitting the speech signal into a number of short term spectral components in L subbands, with L = 1,2, .... estimating a noise spectrum from segments that only contain noise, performing a spectral subtraction of the estimated noise spectrum from the corresponding short tem spectrum, calculating a probability for each short term spectrum component to contain noise, and interpolating the spectral component of each short-term spectrum, if the calculated probability to contain speech is low for the short-term spectrum component, characterized in that the interpolation is based on spectral components of at least one adjacent subband, and/or at least one in time preceding or successive spectral component of the short-term spectrum. Method according to claim 1, wherein the interpolation is based on two adjacent subbands and one in time preceding spectral component. Method according to claim 1 or 2, wherein the calculated probability is compared to a threshold defining the low probability to contain speech. Method according to any of the claims 1 to 3, wherein a logarithm of each spectral component is taken, and a discrete cosine transformation (DCT) is performed. Method according to claim 1, with the additional steps of determining a number M of spectral distances for each short term spectrum, by determining said spectral distances between the short term spectrum after subtraction and a number M of spectra containing noiseless speech, determining for each short term spectrum at least one spectrum containing noiseless speech having the smallest spectral distance to said short term spectrum. Method according to claim 5, wherein an interpolation is performed by extracting spectral information from said noiseless speech spectra having the smallest spectral distance. Method according to claim 5 or 6, wherein the spectral distance is determined by calculating a weighted mean square error (MSE). Method according to claim 1, wherein a first interpolation is performed according to claim 1 and a second interpolation is performed according to claim 6. Method according to any of the claims 5-7, wherein the spectra containing noiseless speech are contained in a codebook trained with noiseless speech. Method according to claim 9, wherein the spectral information stored in the codebook are cepstral parameters. Method according to any of the preceding claims, wherein the division of speech into a number of subbands is based on a MEL frequency range. Apparatus for a robust feature extraction for speech recognition in a noisy environment, wherein a speech signal is segmented and is characterized by spectral components, with a filterbank (MEL) for splitting the speech signal into a number of spectral components in L subbands, with L = 1,2,..., an estimation means (ES) for estimating a noise spectrum of segments that only contain noise, a subtractor (SSub) for performing a spectral subtraction of the estimated noise spectrum from the corresponding short term spectrum, a calculator for calculating a probability for each short term spectrum to contain noise, and interpolation means (IP) for interpolating the spectral component of each short-term spectrum, if the calculated probability to contain speech is low for the short-term spectrum component, characterized in that said interpolation means (IP) is adapted to perform the interpolation based on spectral components of at least one adjacent subband, and/or at least one in time preceding or successive spectral component of the short-term spectrum. Apparatus according to claim 12, with a comparator for comparing the calculated probability to a threshold defining the low probability to contain speech. Apparatus according to claim 12 or 13, with means (log) for taking a logarithm of each spectral component and discrete cosine transformation means (DCT) for performing a transformation. Apparatus according to any of the claims 12 to 14 with a codebook (CB) containing noiseless speech spectra, determining means for determining a number M of spectral distances for each short term spectrum, by determining said spectral distances between the short term spectrum after subtraction and a number M of spectra containing noiseless speech spectra, and determining means (MATCH) to determine for each short term spectrum at least one spectrum containing noiseless speech having the smallest spectral distance to said short term spectrum. Apparatus according to any of the claims 12 to 15, with the filterbank being a MEL filterbank. Use of the apparatus according to any of the claims 12 to 16 for a speech recognition to control electronic devices. Use according to claim 17 wherein the electronic device is a telephone or a mobile phone or an access means. Computer program product loadable into a memory of an electronic device comprising software code portions for performing the steps of any of the claims 1 to 11. Computer program product according to claim 19, with the computer program being stored on a computer readable medium.

Inventors: BRUECKNER RAYMOND, HIRSCH HANS-GUENTHER, KLISCH RAINER, SPRINGER VOLKER, BRUECKNER, RAYMOND, HIRSCH, HANS-GUENTHER, KLISCH, RAINER, SPRINGER, VOLKER, Brückner, Raymond, Hirsch, Hans-Günther
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
Application year: 1999
Main classification: G10L15
IPC codes: G10L11, G10L15, G10L21