# Patent

## Title
Method of iterative noise estimation in a recursive framework

## Abstract

A method and apparatus estimate additive noise in a noisy signal using an iterative technique within a recursive framework. In particular, the noisy signal is divided into frames and the noise in each frame is determined based on the noise in another frame and the noise determined in a previous iteration for the current frame. In one particular embodiment, the noise found in a previous iteration for a frame is used to define an expansion point for a Taylor series approximation that is used to estimate the noise in the current frame.

## Background
BACKGROUND OF THE INVENTION
The present invention relates to noise estimation. In particular, the present invention relates to estimating noise in signals used in pattern recognition.
A pattern recognition system, such as a speech recognition system, takes an input signal and attempts to decode the signal to find a pattern represented by the signal. For example, in a speech recognition system, a speech signal (often referred to as a test signal) is received by the recognition system and is decoded to identify a string of words represented by the speech signal.
Input signals are typically corrupted by some form of noise. To improve the performance of the pattern recognition system, it is often desirable to estimate the noise in the noisy signal.
In the past, two general frameworks have been used to estimate the noise in a signal. In one framework, batch algorithms are used that estimate the noise in each frame of the input signal independent of the noise found in other frames in the signal. The individual noise estimates are then averaged together to form a consensus noise value for all of the frames. In the second framework, a recursive algorithm is used that estimates the noise in the current frame based on noise estimates for one or more previous or successive frames. Such recursive techniques allow for the noise to change slowly over time.
In one recursive technique, a noisy signal is assumed to be a non-linear function of a clean signal and a noise signal. To aid in computation, this non-linear function is often approximated by a truncated Taylor series expansion, which is calculated about some expansion point. In general, the Taylor series expansion provides its best estimates of the function at the expansion point. Thus, the Taylor series approximation is only as good as the selection of the expansion point. Under the prior art, however, the expansion point for the Taylor series was not optimized for each frame. As a result, the noise estimate produced by the recursive algorithms has been less than ideal.
In light of this, a noise estimation technique is needed that is more effective at estimating noise in pattern signals.
SUMMARY OF THE INVENTION
A method and apparatus estimate additive noise in a noisy signal using an iterative technique within a recursive framework. In particular, the noisy signal is divided into frames and the noise in each frame is determined based on the noise in another frame and the noise determined in a previous iteration for the current frame. In one particular embodiment, the noise found in a previous iteration for a frame is used to define an expansion point for a Taylor series approximation that is used to estimate the noise in the current frame.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of one computing environment in which the present invention may be practiced.
FIG. 2 is a block diagram of an alternative computing environment in which the present invention may be practiced.
FIG. 3 is a flow diagram of a method of estimating noise under one embodiment of the present invention.
FIG. 4 is a block diagram of a pattern recognition system in which the present invention may be used.



DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
FIG. 1 illustrates an example of a suitable computing system environment 100 on which the invention may be implemented. The computing system environment 100 is only one example of a suitable computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the invention. Neither should the computing environment 100 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the exemplary operating environment 100.
The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, telephony systems, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
With reference to FIG. 1, an exemplary system for implementing the invention includes a general-purpose computing device in the form of a computer 110. Components of computer 110 may include, but are not limited to, a processing unit 120, a system memory 130, and a system bus 121 that couples various system components including the system memory to the processing unit 120. The system bus 121 may be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VES) local bus, and Peripheral Component Interconnect (PCI) bus also known as Mezzanine bus.
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation, FIG. 1 illustrates operating system 134, application programs 135, other program modules 136, and program data 137.
The computer 110 may also include other removable/non-removable volatile/nonvolatile computer storage media. By way of example only, FIG. 1 illustrates a hard disk drive 141 that reads from or writes to non-removable, nonvolatile magnetic media, a magnetic disk drive 151 that reads from or writes to a removable, nonvolatile magnetic disk 152, and an optical disk drive 155 that reads from or writes to a removable, nonvolatile optical disk 156 such as a CD ROM or other optical media. Other removable/non-removable, volatile/nonvolatile computer storage media that can be used in the exemplary operating environment include, but are not limited to, magnetic tape cassettes, flash memory cards, digital versatile disks, digital video tape, solid state RAM, solid state ROM, and the like. The hard disk drive 141 is typically connected to the system bus 121 through a non-removable memory interface such as interface 140, and magnetic disk drive 151 and optical disk drive 155 are typically connected to the system bus 121 by a removable memory interface, such as interface 150.
The drives and their associated computer storage media discussed above and illustrated in FIG. 1, provide storage of computer readable instructions, data structures, program modules and other data for the computer 110. In FIG. 1, for example, hard disk drive 141 is illustrated as storing operating system 144, application programs 145, other program modules 146, and program data 147. Note that these components can either be the same as or different from operating system 134, application programs 135, other program modules 136, and program data 137. Operating system 144, application programs 145, other program modules 146, and program data 147 are given different numbers here to illustrate that, at a minimum, they are different copies.
A user may enter commands and information into the computer 110 through input devices such as a keyboard 162, a microphone 163, and a pointing device 161, such as a mouse, trackball or touch pad. Other input devices (not shown) may include a joystick, game pad, satellite dish, scanner, or the like. These and other input devices are often connected to the processing unit 120 through a user input interface 160 that is coupled to the system bus, but may be connected by other interface and bus structures, such as a parallel port, game port or a universal serial bus (USB). A monitor 191 or other type of display device is also connected to the system bus 121 via an interface, such as a video interface 190. In addition to the monitor, computers may also include other peripheral output devices such as speakers 197 and printer 196, which may be connected through an output peripheral interface 190.
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a hand-held device, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110. The logical connections depicted in FIG. 1 include a local area network (LAN) 171 and a wide area network (WAN) 173, but may also include other networks. Such networking environments are commonplace in offices, enterprise-wide computer networks, intranets and the Internet.
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the user input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation, FIG. 1 illustrates remote application programs 185 as residing on remote computer 180. It will be appreciated that the network connections shown are exemplary and other means of establishing a communications link between the computers may be used.
FIG. 2 is a block diagram of a mobile device 200, which is an exemplary computing environment. Mobile device 200 includes a microprocessor 202, memory 204, input/output (I/O) components 206, and a communication interface 208 for communicating with remote computers or other mobile devices. In one embodiment, the afore-mentioned components are coupled for communication with one another over a suitable bus 210.
Memory 204 is implemented as non-volatile electronic memory such as random access memory (RAM) with a battery back-up module (not shown) such that information stored in memory 204 is not lost when the general power to mobile device 200 is shut down. A portion of memory 204 is preferably allocated as addressable memory for program execution, while another portion of memory 204 is preferably used for storage, such as to simulate storage on a disk drive.
Memory 204 includes an operating system 212, application programs 214 as well as an object store 216. During operation, operating system 212 is preferably executed by processor 202 from memory 204. Operating system 212, in one preferred embodiment, is a WINDOWS® CE brand operating system commercially available from Microsoft Corporation. Operating system 212 is preferably designed for mobile devices, and implements database features that can be utilized by applications 214 through a set of exposed application programming interfaces and methods. The objects in object store 216 are maintained by applications 214 and operating system 212, at least partially in response to calls to the exposed application programming interfaces and methods.
Communication interface 208 represents numerous devices and technologies that allow mobile device 200 to send and receive information. The devices include wired and wireless modems, satellite receivers and broadcast tuners to name a few. Mobile device 200 can also be directly connected to a computer to exchange data therewith. In such cases, communication interface 208 can be an infrared transceiver or a serial or parallel communication connection, all of which are capable of transmitting streaming information.
Input/output components 206 include a variety of input devices such as a touch-sensitive screen, buttons, rollers, and a microphone as well as a variety of output devices including an audio generator, a vibrating device, and a display. The devices listed above are by way of example and need not all be present on mobile device 200. In addition, other input/output devices may be attached to or found with mobile device 200 within the scope of the present invention.
Under one aspect of the present invention, a system and method are provided that estimate noise in pattern recognition signals. To do this, the present invention uses a recursive algorithm to estimate the noise at each frame of a noisy signal based in part on a noise estimate found for at least one neighboring frame. Under the present invention, the noise estimate for a single frame is iteratively determined with the noise estimate determined in the last iteration being used in the calculation of the noise estimate for the next iteration. Through this iterative process, the noise estimate improves with each iteration resulting in a better noise estimate for each frame.
In one embodiment, the noise estimate is calculated using a recursive formula that is based on a non-linear relationship between noise, a clean signal and a noisy signal of:

y≈x+C1n(I+exp└CT(n−x)┘)  EQ. 1

where y is a vector in the cepstra domain representing a frame of a noisy signal, x is a vector representing a frame of a clean signal in the same cepstral domain, n is a vector representing noise in a frame of a noisy signal also in the same cepstral domain, C is a discrete cosine transform matrix, and I is the identity matrix.

To simplify the notation, a vector function is defined as:

g(z)=C1n(I+exp└CTz┘)  EQ. 2

To improve tractability when using Equation 1, the non-linear portion of Equation 1 is approximated using a Taylor series expansion truncated up to the linear terms, with an expansion point μ0x,n0. This results in: 



  
    
      
        
          
            
              y
              =
              
              ⁢
              
                x
                +
                
                  g
                  ⁡
                  
                    (
                    
                      
                        n
                        0
                      
                      -
                      
                        μ
                        0
                        x
                      
                    
                    )
                  
                
                +
                
                  
                    G
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                        
                        -
                        
                          μ
                          0
                          x
                        
                      
                      )
                    
                  
                  ⁢
                  
                    (
                    
                      x
                      -
                      
                        μ
                        0
                        x
                      
                    
                    )
                  
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  [
                  
                    I
                    -
                    
                      G
                      ⁡
                      
                        (
                        
                          
                            n
                            0
                          
                          -
                          
                            μ
                            0
                            x
                          
                        
                        )
                      
                    
                  
                  ]
                
                ⁢
                
                  (
                  
                    n
                    -
                    
                      n
                      0
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        EQ.  3
      
    
  




where G is the gradient of g(z) and is computed as: 



  
    
      
        
          G
          ⁡
          
            (
            z
            )
          
        
        =
        
          
            Cdiag
            ⁡
            
              (
              
                1
                
                  1
                  +
                  
                    exp
                    ⁡
                    
                      [
                      
                        
                          C
                          T
                        
                        ⁢
                        z
                      
                      ]
                    
                  
                
              
              )
            
          
          ⁢
          
            C
            T
          
        
      
    
    
      
        EQ.  4
      
    
  




The recursive formula used to select the noise estimate for a frame of a noisy signal is then determined as the solution to a recursive-Expectation-Maximization optimization problem. This results in a recursive noise estimation equation of:

nt+1=nt+Kt+1−1st+1  EQ. 5

where nt is a noise estimate of a past frame, nt+1 is a noise estimate of a current frame and st+1 and Kt+1 are defined as: 



  
    
      
        
          s
          
            t
            +
            1
          
        
        =
        
          
            ∑
            
              m
              =
              1
            
            M
          
          ⁢
          
            
              
                
                  
                    γ
                    
                      t
                      +
                      1
                    
                  
                  ⁡
                  
                    (
                    m
                    )
                  
                
                ⁡
                
                  [
                  
                    I
                    -
                    
                      G
                      ⁡
                      
                        (
                        
                          
                            n
                            0
                          
                          -
                          
                            μ
                            0
                            x
                          
                        
                        )
                      
                    
                  
                  ]
                
              
              T
            
            ⁢
            
              
                
                  (
                  
                    Σ
                    m
                    y
                  
                  )
                
                
                  -
                  1
                
              
              ⁡
              
                [
                
                  
                    y
                    
                      t
                      +
                      1
                    
                  
                  -
                  
                    
                      μ
                      m
                      y
                    
                    ⁡
                    
                      (
                      
                        n
                        
                          t
                          +
                          1
                        
                      
                      )
                    
                  
                
                ]
              
            
          
        
      
    
    
      
        EQ.  6
      
    
  



 Kt+1=ε·Kt−Lt+1  EQ. 7

where 



  
    
      
        
          L
          
            t
            +
            1
          
        
        =
        
          
            ∑
            
              m
              =
              1
            
            M
          
          ⁢
          
            
              
                
                  
                    γ
                    
                      t
                      +
                      1
                    
                  
                  ⁡
                  
                    (
                    m
                    )
                  
                
                ⁡
                
                  [
                  
                    I
                    -
                    
                      G
                      ⁡
                      
                        (
                        
                          
                            n
                            0
                          
                          -
                          
                            μ
                            0
                            x
                          
                        
                        )
                      
                    
                  
                  ]
                
              
              T
            
            ⁢
            
              
                
                  (
                  
                    Σ
                    m
                    y
                  
                  )
                
                
                  -
                  1
                
              
              ⁡
              
                [
                
                  I
                  -
                  
                    G
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                        
                        -
                        
                          μ
                          0
                          x
                        
                      
                      )
                    
                  
                
                ]
              
            
          
        
      
    
    
      
        EQ.  8
      
    
  



 γt+1(m)=p(m|yt+1,nt)  EQ. 9

and where ε is a forgetting factor that controls the degree to which the noise estimate of the current frame is based on a past frame, μmy is the mean of a distribution of noisy feature vectors, y, for a mixture component m and 



  Σ
  m
  y




is a covariance matrix for the noisy feature vectors y of mixture component m. Using the relationship of Equation 3, μmy and 



  Σ
  m
  y




can be shown to relate to other variables according to: 



  
    
      
        
          
            
              
                μ
                m
                y
              
              =
              
              ⁢
              
                
                  μ
                  m
                  x
                
                +
                
                  g
                  ⁡
                  
                    (
                    
                      
                        n
                        0
                      
                      -
                      
                        μ
                        0
                        x
                      
                    
                    )
                  
                
                +
                
                  
                    G
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                        
                        -
                        
                          μ
                          0
                          x
                        
                      
                      )
                    
                  
                  ⁢
                  
                    (
                    
                      
                        μ
                        m
                        x
                      
                      -
                      
                        μ
                        0
                        x
                      
                    
                    )
                  
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  [
                  
                    I
                    -
                    
                      G
                      ⁡
                      
                        (
                        
                          
                            n
                            0
                          
                          -
                          
                            μ
                            0
                            x
                          
                        
                        )
                      
                    
                  
                  ]
                
                ⁢
                
                   
                
                ⁢
                
                  (
                  
                    n
                    -
                    
                      n
                      0
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        EQ.  10
      
    
  
  
    
      
        
          Σ
          m
          y
        
        =
        
          
            [
            
              I
              +
              
                G
                ⁡
                
                  (
                  
                    
                      n
                      0
                    
                    -
                    
                      μ
                      0
                      x
                    
                  
                  )
                
              
            
            ]
          
          ⁢
          
            
              
                Σ
                m
                x
              
              ⁡
              
                [
                
                  I
                  +
                  
                    
                      G
                      T
                    
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                        
                        -
                        
                          μ
                          0
                          x
                        
                      
                      )
                    
                  
                
                ]
              
            
            T
          
        
      
    
    
      
        EQ.  11
      
    
  




where μmx is the mean of a Gaussian distribution of clean feature vectors x for mixture component m and 



  Σ
  m
  x




is a covariance matrix for the distribution of clean feature vectors x of mixture component m. Under one embodiment, μmx and 



  Σ
  m
  x




for each mixture component m are determined from a set of clean input training feature vectors that are grouped into mixture components using one of any number of known techniques such as a maximum likelihood training technique.

Under the present invention, the noise estimate of the current frame, nt+1, is calculated several times using an iterative method shown in the flow diagram of FIG. 3.
The method of FIG. 3 begins at step 300 where the distribution parameters for the clean signal mixture model are determined from a set of clean training data. In particular, the mean, μmx, covariance, 



  
    Σ
    m
    x
  
  ,




and mixture weight, cm, for each mixture component m in a set of M mixture components is determined.

At step 302, the expansion point, n0j, used in the Taylor series approximation for the current iteration, j, is set equal to the noise estimate found for the previous frame. In terms of an equation:

n0j=nt  EQ. 12

Equation 12 is based on the assumption that the noise does not change much between frames. Thus, a good beginning estimate for the noise of the current frame is the noise found in the previous frame.
At step 304, the expansion point for the current iteration is used to calculate γt+1j. In particular, γt+1j(m) is calculated as: 



  
    
      
        
          
            γ
            
              t
              +
              1
            
            j
          
          ⁡
          
            (
            m
            )
          
        
        =
        
          
            
              p
              ⁡
              
                (
                
                  
                    
                      y
                      
                        t
                        +
                        1
                      
                    
                    |
                    m
                  
                  ,
                  
                    n
                    t
                  
                
                )
              
            
            ⁢
            
              c
              m
            
          
          
            
              ∑
              
                m
                =
                1
              
              M
            
            ⁢
            
              
                p
                ⁡
                
                  (
                  
                    
                      
                        y
                        
                          t
                          +
                          1
                        
                      
                      |
                      m
                    
                    ,
                    
                      n
                      t
                    
                  
                  )
                
              
              ⁢
              
                c
                m
              
            
          
        
      
    
    
      
        EQ
        .
        
           
        
        ⁢
        13
      
    
  




where p(yt+1|m,nt) is determined as 



  
    
      
        
          p
          (
          
            
              
                y
                
                  t
                  +
                  1
                
              
              |
              m
            
            ,
            
              n
              t
            
          
          )
        
        =
        
          N
          [
          
            
              
                y
                
                  t
                  +
                  1
                
              
              ;
              
                
                  μ
                  m
                  y
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ,
            
              Σ
              m
              y
            
          
          ]
        
      
    
    
      
        EQ
        .
        
           
        
        ⁢
        14
      
    
  




with 



  
    
      
        
          
            
              
                μ
                m
                y
              
              =
              
              ⁢
              
                
                  μ
                  m
                  x
                
                +
                
                  g
                  ⁡
                  
                    (
                    
                      
                        n
                        0
                        j
                      
                      -
                      
                        μ
                        0
                        x
                      
                    
                    )
                  
                
                +
                
                  
                    G
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                          j
                        
                        -
                        
                          μ
                          0
                          x
                        
                      
                      )
                    
                  
                  ⁢
                  
                    (
                    
                      
                        μ
                        m
                        x
                      
                      -
                      
                        μ
                        0
                        x
                      
                    
                    )
                  
                
                +
              
            
          
        
        
          
            
              
              ⁢
              
                
                  [
                  
                    I
                    -
                    
                      G
                      ⁡
                      
                        (
                        
                          
                            n
                            0
                            j
                          
                          -
                          
                            μ
                            0
                            x
                          
                        
                        )
                      
                    
                  
                  ]
                
                ⁢
                
                  (
                  
                    
                      n
                      t
                    
                    -
                    
                      n
                      0
                    
                  
                  )
                
              
            
          
        
      
    
    
      
        EQ
        .
        
           
        
        ⁢
        15
      
    
  
  
    
      
        
          Σ
          m
          y
        
        =
        
          
            [
            
              I
              +
              
                G
                ⁡
                
                  (
                  
                    
                      n
                      0
                      j
                    
                    -
                    
                      μ
                      0
                      x
                    
                  
                  )
                
              
            
            ]
          
          ⁢
          
            
              
                Σ
                m
                x
              
              ⁡
              
                [
                
                  I
                  +
                  
                    
                      G
                      T
                    
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                          j
                        
                        -
                        
                          μ
                          0
                          x
                        
                      
                      )
                    
                  
                
                ]
              
            
            T
          
        
      
    
    
      
        EQ
        .
        
           
        
        ⁢
        16
      
    
  




After γt+1j(m) has been calculated, St+1j is calculated at step 306 using: 



  
    
      
        
          
            
              
                s
                
                  t
                  +
                  1
                
              
              =
              
              ⁢
              
                
                  ∑
                  
                    m
                    =
                    1
                  
                  M
                
                ⁢
                
                  
                    
                      
                        γ
                        
                          t
                          +
                          1
                        
                      
                      ⁡
                      
                        (
                        m
                        )
                      
                    
                    ⁡
                    
                      [
                      
                        1
                        -
                        
                          G
                          ⁡
                          
                            (
                            
                              
                                n
                                0
                                j
                              
                              -
                              
                                μ
                                m
                                x
                              
                            
                            )
                          
                        
                      
                      ]
                    
                  
                  T
                
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    (
                    
                      Σ
                      m
                      y
                    
                    )
                  
                  
                    -
                    1
                  
                
                [
                
                  
                    y
                    
                      t
                      +
                      1
                    
                  
                  -
                  
                    μ
                    m
                    x
                  
                  -
                  
                    g
                    ⁡
                    
                      (
                      
                        
                          n
                          0
                          j
                        
                        -
                        
                          μ
                          m
                          x
                        
                      
                      )
                    
                  
                
                ]
              
            
          
        
      
    
    
      
        EQ
        .
        
           
        
        ⁢
        17
      
    
  




and Kt+1j is calculated at step 308 using: 



  
    
      
        
          
            
              
                K
                
                  t
                  +
                  1
                
                j
              
              =
              
              ⁢
              
                
                  ɛ
                  ⁢
                  
                     
                  
                  ⁢
                  
                    K
                    t
                    j
                  
                
                -
                
                  
                    ∑
                    
                      m
                      =
                      1
                    
                    M
                  
                  ⁢
                  
                    
                      
                        
                          γ
                          
                            t
                            +
                            1
                          
                        
                        ⁡
                        
                          (
                          m
                          )
                        
                      
                      [
                      
                        I
                        -
                        
                          G
                          ⁡
                          
                            (
                            
                              
                                n
                                0
                                j
                              
                              -
                              
                                μ
                                0
                                x
                              
                            
                            )
                          
                        
                      
                      ]
                    
                    T
                  
                
              
            
          
        
        
          
            
              
              ⁢
              
                
                  
                    (
                    
                      Σ
                      m
                      y
                    
                    )
                  
                  
                    -
                    1
                  
                
                ⁡
                
                  [
                  
                    I
                    -
                    
                      G
                      ⁡
                      
                        (
                        
                          
                            n
                            0
                            j
                          
                          -
                          
                            μ
                            0
                            x
                          
                        
                        )
                      
                    
                  
                  ]
                
              
            
          
        
      
    
    
      
        EQ
        .
        
           
        
        ⁢
        18
      
    
  




Once st+1j and Kt+1j have been determined, the noise estimate for the current frame and iteration is determined at step 310 as: 



  
    
      
        
          n
          
            t
            +
            1
          
          j
        
        =
        
          
            n
            t
          
          +
          
            
              α
              ·
              
                
                  [
                  
                    K
                    
                      t
                      +
                      1
                    
                    j
                  
                  ]
                
                
                  -
                  1
                
              
            
            ⁢
            
              s
              
                t
                +
                1
              
              j
            
          
        
      
    
    
      
        EQ
        .
        
           
        
        ⁢
        19
      
    
  




where α is an adjustable parameter that controls the update rate for the noise estimate. In one embodiment α is set to be inversely proportional to a crude estimate of the noise variance for each separate test utterance.

At step 312, the Taylor series expansion point for the next iteration, n0j+1, is set equal to the noise estimate found for the current iteration, nt+1j. In terms of an equation:

n0j+1=nt+1j  EQ. 20

The updating step shown in equation 20 improves the estimate provided by the Taylor series expansion and thus improves the calculation of γt+1j(m), st+1j and Kt+1j during the next iteration.
At step 314, the iteration counter j is incremented before being compared to a set number of iterations J at step 316. If the iteration counter is less than the set number of iterations, more iterations are to be performed and the process returns to step 304 to repeat steps 304, 30, 308, 310, 312, 314, and 316 using the newly updated expansion point.
After J iterations have been performed at step 316, the final value for the noise estimate of the current frame has been determined and at step 318, the variables for the next frame are set. Specifically, the iteration counter j is set to zero, the frame value t is incremented by one, and the expansion point n0 for the first iteration of the next frame is set to equal to the noise estimate of the current frame.
The noise estimation technique described above may be used in a noise normalization technique such as the technique discussed in a patent application entitled METHOD OF NOISE REDUCTION USING CORRECTION VECTORS BASED ON DYNAMIC ASPECTS OF SPEECH AND NOISE NORMALIZATION, Ser. No. 10/117,142, and filed on even date herewith. The invention may also be used more directly as part of a noise reduction system in which the estimated noise identified for each frame is removed from the noisy signal to produce a clean signal.
FIG. 4 provides a block diagram of an environment in which the noise estimation technique of the present invention may be utilized to perform noise reduction. In particular, FIG. 4 shows a speech recognition system in which the noise estimation technique of the present invention can be used to reduce noise in a training signal used to train an acoustic model and/or to reduce noise in a test signal that is applied against an acoustic model to identify the linguistic content of the test signal.
In FIG. 4, a speaker 400, either a trainer or a user, speaks into a microphone 404. Microphone 404 also receives additive noise from one or more noise sources 402. The audio signals detected by microphone 404 are converted into electrical signals that are provided to analog-to-digital converter 406.
Although additive noise 402 is shown entering through microphone 404 in the embodiment of FIG. 4, in other embodiments, additive noise 402 may be added to the input speech signal as a digital signal after A-to-D converter 406.
A-to-D converter 406 converts the analog signal from microphone 404 into a series of digital values. In several embodiments, A-to-D converter 406 samples the analog signal at 16 kHz and 16 bits per sample, thereby creating 32 kilobytes of speech data per second. These digital values are provided to a frame constructor 407, which, in one embodiment, groups the values into 25 millisecond frames that start 10 milliseconds apart.
The frames of data created by frame constructor 407 are provided to feature extractor 408, which extracts a feature from each frame. Examples of feature extraction modules include modules for performing Linear Predictive Coding (LPC), LPC derived cepstrum, Perceptive Linear Prediction (PLP), Auditory model feature extraction, and Mel-Frequency Cepstrum Coefficients (MFCC) feature extraction. Note that the invention is not limited to these feature extraction modules and that other modules may be used within the context of the present invention.
The feature extraction module produces a stream of feature vectors that are each associated with a frame of the speech signal. This stream of feature vectors is provided to noise reduction module 410, which uses the noise estimation technique of the present invention to estimate the noise in each frame.
The output of noise reduction module 410 is a series of “clean” feature vectors. If the input signal is a training signal, this series of “clean” feature vectors is provided to a trainer 424, which uses the “clean” feature vectors and a training text 426 to train an acoustic model 418. Techniques for training such models are known in the art and a description of them is not required for an understanding of the present invention.
If the input signal is a test signal, the “clean” feature vectors are provided to a decoder 412, which identifies a most likely sequence of words based on the stream of feature vectors, a lexicon 414, a language model 416, and the acoustic model 418. The particular method used for decoding is not important to the present invention and any of several known methods for decoding may be used.
The most probable sequence of hypothesis words is provided to a confidence measure module 420. Confidence measure module 420 identifies which words are most likely to have been improperly identified by the speech recognizer, based in part on a secondary acoustic model (not shown). Confidence measure module 420 then provides the sequence of hypothesis words to an output module 422 along with identifiers indicating which words may have been improperly identified. Those skilled in the art will recognize that confidence measure module 420 is not necessary for the practice of the present invention.
Although FIG. 4 depicts a speech recognition system, the present invention may be used in any pattern recognition system and is not limited to speech.
Although the present invention has been described with reference to particular embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention.

## Claims

1. A method for estimating noise in a noisy signal, the method comprising:
dividing the noisy signal into frames; 
determining a noise estimate for a first frame of the noisy signal; 
determining a noise estimate for a second frame of the noisy signal based in part on the noise estimate for the first frame; and 
using the noise estimate for the second frame and the noise estimate for the first frame to determine a second noise estimate for the second frame.

2. The method of claim 1 wherein using the noise estimate for the second frame and the noise estimate for the first frame comprises using the noise estimate for the second frame and the noise estimate for the first frame in an update equation that is the solution to a recursive Expectation-Maximization optimization problem.

3. The method of claim 2 wherein the update equation is based in part on a definition of the noisy signal as a non-linear function of a clean signal and a noise signal.

4. The method of claim 3 wherein the update equation is further based on an approximation to the non-linear function.

5. The method of claim 4 wherein the approximation equals the non-linear function at a point defined in part by the noise estimate for the second frame.

6. The method of claim 5 wherein the approximation is a Taylor series expansion.

7. The method of claim 1 wherein using the noise estimate for the second frame comprises using the noise estimate for the second frame as an expansion point for a Taylor series expansion of a non-linear function.

8. A computer-readable medium having computer-executable instructions for performing steps comprising:
dividing a noisy signal into frames; and 
iteratively estimating the noise in each frame such that in at least one iteration for a current frame the estimated noise is based on a noise estimate for at least one other frame and a noise estimate for the current frame produced in a previous iteration.

9. The computer-readable medium of claim 8 wherein iteratively estimating the noise in a frame comprises using the noise estimate for the current frame produced in a previous iteration to evaluate at least one function.

10. The computer-readable medium of claim 9 wherein the at least one function is based on an assumption that a noisy signal has a non-linear relationship to a clean signal and a noise signal.

11. The computer-readable medium of claim 10 wherein the function is based on an approximation to the non-linear relationship between the noisy signal the clean signal and the noise signal.

12. The computer-readable medium of claim 11 wherein the approximation is a Taylor series approximation.

13. The computer-readable medium of claim 12 wherein the noise estimate for the current frame produced in a previous iteration is used to select an expansion point for the Taylor series expansion.

14. The computer-readable medium of claim 8 wherein iteratively estimating the noise in each frame comprises estimating the noise using an update equation that is based on a recursive Expectation-Maximization calculation.

15. A method of estimating noise in a current frame of a noisy signal, the method comprising:
applying a previous estimate of the noise in the current frame to at least one function to generate an update value; and 
adding the update value to an estimate of noise in a second frame of the noisy signal to produce an estimate of the noise in the current frame.

16. The method of claim 15 wherein applying a previous estimate of the noise in the current frame comprise applying the previous estimate to a function that is based on an approximation to a non-linear function.

17. The method of claim 16 wherein the approximation is a Taylor series approximation.

18. The method of claim 17 wherein applying the previous estimate of the noise comprises using the previous estimate of the noise to define an expansion point for the Taylor series approximation.

19. The method of claim 16 wherein applying a previous estimate of the noise in the current frame to at least one function comprises applying the previous estimate to define distribution values for a distribution of noisy feature vectors in terms of distribution values for clean feature vectors.