The present invention generally relates to the field of speech recognition and more specifically to system and method for detecting the recognizability of input speech signals.
The speech recognition system usually encounters various problems caused by the environments, such as background noise and the channel effect, or other factors of the speakers, such as the accent and the speaking rate, so that the input speech is beyond the recognition capability of the system. Prior researches proposed various improvements over the recognition capability, however, with only limited results.
U.S. Pat. No. 6,272,460, “Method for Implementing a Speech Verification System for Use in a Noisy Environment”, disclosed a system including a speech verifier in the front stage of the system. As shown in
U.S. Pat. No. 6,272,461 emphasized the speech detection and the assistance in speech recognition of all the input signals regardless of whether the input signals are beyond the acceptable range.
The current speech recognition or dialog system does not have the capability for sensing the environment of the usage. This implies that the system will blindly try to recognize the speech and generate an output no matter how harsh the usage environment is and no matter how the task is beyond the system capability. As a result, the user may receive an erroneous answer. This not only wastes the system resource, but also leads to potentially severe outcomes.
Take the auto-attendant as an example. When the caller uses the extension number inquiry system from a noisy subway station or on the busy street, the environmental noise will affect the signal-to-noise ration (SNR) so that the SNR is too low and beyond the system capability. The system will perform the speech recognition process and generates a wrong extension number. At the end, the caller will need to request a customer service representative for the assistance. This scenario shows the waste of system resource and the failure of saving the manpower.
On the other hand, if the system can determine whether the input signal is within the recognizable range before the system starts the actual recognition process, the recognizable signals can be passed for recognition while the unrecognizable signals can be responded with appropriate actions. In this manner, the possibility of successful speech recognition will increase.
The present invention has been made to overcome the above-mentioned drawback of conventional speech recognition systems that have no capability in sensing the usage environment. The primary object of the present invention is to provide a system and a method for detecting the recognizability of the input speech signals.
In comparison with the conventional methods, the present invention includes the following characteristics: (a) The present invention emphasizes the front stage of the recognition system. By using a small amount of system resource to detect whether the input signal can be successfully recognized, the efficiency of the system can be improved. (b) The recognizable signals are passed to the recognizer for recognition, and unrecognizable signals are responded with appropriate actions. (c) The unrecognizable signals are not passed to the system for recognition so that the system resource is saved.
To achieve the above object, the present invention provides a system with a front stage for detecting the recognizabiliy of input speech signals, comprising a environment parameter generator, a signal recognition verifier, and a strategy response processor.
The system operates as follows. First, the environment parameter generator generates a plurality of parameters in accordance with the environment to represent the environment conditions or the input signal quality. Then, the signal recognition verifier, after the initial training, verifies whether the input signal is recognizable in accordance with the environment parameters. When the input signal is verified as recognizable, the input signal is passed to the recognition device for recognition. On the other hand, when the input signal is verified as unrecognizable, the strategy response processor is triggered to propose a strategy to respond to the environment or signal quality of the user in accordance with the environment parameters.
In the embodiment of the present invention, the environment parameter generator selects the SNR of the input signal, the probability of input signal being a speech, and confidence index of the system processing input signal as the environment parameters. The strategy response processor proposes different strategies to guide the user to improve. For example, when the SNR is low, the user is advised to raise the voice or move to a quieter environment. Or, when the confidence index is low, the user is advised to speak more clearly. Then, the user is prompted to input the signal again or is transferred to a customer service representative.
The foregoing and other objects, features, aspects and advantages of the present invention will become better understood from a careful reading of a detailed description provided herein below with appropriate reference to the accompanying drawings.
As mentioned earlier, the speech recognition system for detecting the recognizability of the input speech emphasizes the front stage of the recognition or dialog system.
First, environment parameter generator 210 generates at least an environment parameter for the input signals. The environment parameter represents the environment conditions for the input signal or the input signal quality. Without the loss of generality, the embodiment of the present invention uses the SNR of the input signal, the probability of input signal being a speech, and the confidence index of system processing input signal as the environment parameters. These environment parameters can be generated by using voice activity detection (VAD) and missing feature imputation (MFI) to obtain a clean speech signal, and then a calculation is performed. The calculation of the environment parameters will be described later.
Then, signal recognition verifier 220, after the initial training with the environment parameters in advance, verifies whether the input signal is recognizable in accordance with the environment parameters. When the input signal is verified as recognizable, the input signal is passed to a recognition device 225 for further recognition, When the input signal is verified as unrecognizable, strategy response processor 230 is triggered to respond a plurality of strategies to increase the possibility of successful recognition.
In the application in an actual environment, the background noise usually directly affects the recognition rate of the system. Therefore, the present invention uses the SNR as the first environment parameter.
First, SNR calculator 310a uses the VAD method to detect the speech part x and the non-speech part (noise) un from the spectrum feature of the input signal y. Then, the MFI method is used to clear the noise from the speech part x to obtain a clean speech signal {circumflex over (x)}. Based on noise un and clean signal {circumflex over (x)}, the SNR of the input signal y, named SNRy is calculated. In general, the higher the SNR is, the higher the probability that a signal can be recognized successfully. The SNRy can be expressed as the following equation:
where SNR(t) is the SNR of the signal y at the time t, and T is the total length of the input signal. D is the total number of the frequency bands of the input signal frequency spectrum. {circumflex over (x)}(t,d) is the clean speech spectrum feature parameter calculated by MFI method at time t and band d. un(d) is the average of the noise spectrum feature parameter calculated by MFI method at band d. SNRY is the SNRy value of the input signal y.
In addition to the SNR, the present invention also uses the probability, Py, of the input signal y being a speech as the second environment parameter. The larger the probability Py is, the easier the input signal can be recognized successfully.
First, probability calculator 310b uses the MFI method to calculate the probability that the SNR is greater than 0 when the clean signal spectrum parameter x is at time t and band d.
where {circumflex over (μ)}n (d) and {circumflex over (σ)}n2 (d) are the average and the variance of noise spectrum distribution calculated by MFI method, respectively. ω is the value of the noise.
Then, the MFI method is used to calculate the probability that the clean signal spectrum is a speech at time t, as follows:
where D is the number of the bands of the signal spectrum and T is the total length of the input signals.
Finally, the probability of the input signal y being a speech is calculated as follows:
The present invention uses the confidence index of the system processing the signal as the third environment parameter. The larger the confidence index is, the easier the input signal can be recognized successfully.
First, confidence calculator 310c measures the divergence between the input signal y and the known system model distribution x on the frequency spectrum, as expressed in the following equation:
where p(y) is the probability distribution of the spectrum parameter of the signal y, and p(x) is the probability distribution of the spectrum parameter of the system model. The larger the divergence D(y∥x) is, the lower the probability that the input signal can be recognized successfully is.
Then, the divergence D(y∥x) is transformed by an Sigmoid function into a confidence index Ry between 0 and 1:
where α and β are the fine-tuning parameters for enlargement and shift, respectively.
After the three environment parameters SNRy,Py and Ry are calculated, signal recognition verifier 220, after the initial training with the environment parameters in advance, receives and analyzes the three environment parameters SNRy,Py and Ryto verify whether the input signal is recognizable, as shown in
As aforementioned, when the input signal is verified as unrecognizable by the signal recognition verifier 220, the strategy response processor 230 is triggered to respond with strategies. There are a plurality of possible strategies.
In an experiment with 936 clean speech utterances of Chinese names, a babble noise of five different SNR between 0 dB and 20 dB is added to simulate the noise environment and generate six sets of tests, 5616 test signals in total. With the noise interference, the recognition rate of the six sets of tests is shown in
It is obvious that the system recognition rate decreases rapidly as the SNR decreases. With the present invention adding the aforementioned detection method in the front stage of the recognition system, the environment parameters are generated for every unrecognizable and recognizable signal.
In
As seen in the above results, after the detection method of the present invention is added to the front stage of the recognition system, the recognition rate is improved from 64.8% to 86.2%, and the unrecognizable signals are rejected to prevent further effect of the erroneous recognition.
In summary, the present invention provides a system and a method for detecting the recognizability of the input signal. The present invention is to detect the usage environment conditions and the signal quality in the front stage of the recognition system to verify whether the signal can be recognized successfully. In the present invention, three environment parameters, including SNR, the probability of the signal being a speech, and the confidence index of the system processing the signal, are used to represent the environment conditions and the signal quality. The environment parameters are used to train the signal recognition verifier to verify whether the signal can be recognized successfully. When the signal is verified as recognizable, the signal is passed to the recognition device for recognition. When the signal is verified as unrecognizable, a strategy response processor is triggered to inform the user the environment conditions and prompt the user for inputting better quality signals.
Although the present invention has been described with reference to the preferred embodiments, it will be understood that the invention is not limited to the details described thereof. Various substitutions and modifications have been suggested in the foregoing description, and others will occur to those of ordinary skill in the art. Therefore, all such substitutions and modifications are intended to be embraced within the scope of the invention as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
094134669 | Oct 2005 | TW | national |