In speech recognition, noise such as the microphone related noise and the electrical noise can be a key factor to deteriorate the quality of recognition. Thus, filtering method should be introduced to deal with noise. Wiener filtering, a filtering method, adapts the coefficients of the wiener filter with respect to the statistics of the speech signal to generate a desired output signal.
To solve the linear optimum filtering problem , wiener filter, a type of adaptive filter, is developed based on wiener theory issued by Norbert Wiener in 1940. The basic principle of wiener filter is to optimize its coefficient to minimize the average squared distance between a desired signal and the filter output. The typical applications of wiener filter is additive noise reduction, linear prediction, signal restoration and system identification . This article mainly focuses on the additive noise reduction using the FIR wiener filter.
As in the figure above, given a time series x(0), x(1), x(2), …,x(n) which is the input signal of filter, a linear discrete-time filter with the output y(n) that generates the best estimation of the desired signal d(n), is to be designed. We confine the filter to be used to FIR filter because a large amount of computation is needed for the combination of adaptivity and feedback when an IIR filter needs to be designed. The criterion of the statistical optimization is a minimized mean square distance between y(n) and d(n) which is dependent on the unknown coefficient of the filter . In this situation, how to get optimal filter coefficient becomes the main issue.
3. Basic Algorithm of FIR Wiener Filter
With the filter coefficient , we can get the output and the error of estimation :
The coefficient of wiener filter is optimal if it minimizes the mean square error:
Getting the derivative of with respect to and force it to zero derive the orthogonality principle:
Through the rearrangement of the equation (4) we get equation (5) (where and ) and its matrix form equation (6) with :
The equation is actually the Wiener-Hopf equation. By solving it, the optimal filter coefficients is obtained:
From the equation (2), (3) and (4), the minimum mean square error is :
4. Example of its application
In this section, a simple example of the Application of wiener filtering for choosing an input word signal to approach a desired output signal is introduced.
We now have two recorded reference signals x1(n) and x2(n) for the same word and a desired signal d(n). Now we need to decided which of the two signals generates a output y(n) that has a smaller minimum mean square error with respect to a desired signal, d(n).
According to the algorithm of wiener filtering, with x1(n) and d(n) we calculate rdx1, Rx1, rd(0) and then get the optimal filter coefficients w1(n) by the equation (7), the way to get w2(n) is the same. Then we get the minimum mean square error with respect to w1(n) and w2(n). According to the principle that the smaller the MMSE, the better estimation, the system will choose the signals with a smaller MMSE from the two reference signals to be recorded at a third time .
With wiener filtering, an input word signal that is more likely to generate the desired output signal despite the noise is chosen from the reference signals. Furthermore, We can introduce more reference signals to make the MMSE between the optimal output signal and the desired one even smaller.
 A rapid introduction to adaptive filtering, Chapter 2, Wiener filtering, Hernan Rey, Leonardo Rey Vega, Springer, 2012
 Introduction of wiener filter, Darcy Tsai, Graduate Institute of Electronics Engineering Nation Taiwan University, Taipei, Taiwan, ROC
 The algorithms of speech recognition, programming and simulating in MATLAB, Tingxiao Yang