Prediction of the gain reserve in a hearing aid with a neural network

DE602023009995T2Active Publication Date: 2025-12-24STARKEY LABORATORIES INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE602023009995
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-05-31
Filing Date
2023-05-31
Publication Date
2025-12-24
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

Existing hearing aid technologies struggle to predict and prevent feedback distortions efficiently, often requiring excessive computational resources and being less effective in detecting the onset of feedback, leading to audible distortions such as howling or chirping.

Method used

A deep neural network is trained to predict the instantaneous gain margin in hearing aids using signals from microphones, receivers, and filter coefficients, allowing for adaptive adjustment of the step-size of the adaptive feedback canceller and gain to prevent feedback distortions.

Benefits of technology

The solution effectively reduces the risk of feedback distortions by dynamically adjusting the hearing aid's parameters, enhancing stability and user comfort without excessive computational overhead.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] US2021 / 195345 discloses an apparatus and methods for neural network-driven feedback cancellation for hearing assistance devices. Various embodiments include a method of signal processing an input signal in a hearing assistance device to mitigate entrainment, the hearing assistance device including a receiver and a microphone. The method includes performing neural network processing to identify acoustic features in a plurality of audio signals and predict target outputs for the plurality of audio signals, and using the trained neural network to control acoustic feedback cancellation of the input signal.SUMMARY

[0002] This application relates generally to ear-level electronic systems and devices, including hearing aids, personal amplification devices, and hearables. The invention proposes a hearing device as in claim 1 and a method according to claim 12. Additional aspects are covered in the dependent claims.

[0003] The figures and the detailed description below more particularly exemplify illustrative embodiments.BRIEF DESCRIPTION OF THE DRAWINGS

[0004] The discussion below makes reference to the following figures. FIG. 1 is an illustration of a hearing device according to an example embodiment; FIG. 2 is a block diagram of a processing path according to an example embodiment; FIG. 3 is a diagram of a recurrent deep neural network cells according to an example embodiment; FIG. 4 is a flowchart of a method according to an example embodiment; FIG. 5 is a block diagram illustrating training of neural networks according to an example embodiment; and FIG. 6 is a block diagram of a hearing device and system according to an example embodiment.

[0005] The figures are not necessarily to scale. Like numbers used in the figures refer to like components. However, it will be understood that the use of a number to refer to a component in a given figure is not intended to limit the component in another figure labeled with the same number.DETAILED DESCRIPTION

[0006] Embodiments disclosed herein are directed to an ear-worn or ear-level electronic hearing device. Such a device may include cochlear implants and bone conduction devices, without departing from the scope of this disclosure. The devices depicted in the figures are intended to demonstrate the subject matter, but not in a limited, exhaustive, or exclusive sense. Ear-worn electronic devices (also referred to herein as "hearing aids," "hearing devices," and "ear-wearable devices"), such as hearables (e.g., wearable earphones, ear monitors, and earbuds), hearing aids, hearing instruments, and hearing assistance devices, typically include an enclosure, such as a housing or shell, within which internal components are disposed.

[0007] Embodiments described herein relate to apparatuses and methods for estimating the gain margin in a hearing device. Gain margin refers to the amount of gain that can be applied in addition to the current gain applied to an audio processing path until the hearing or audio becomes unstable, e.g., due to feedback. The estimation of gain margin can be used control / reduce feedback in these devices.

[0008] The gain margin is a useful measure of how close to instability the hearing aid is operating. Gain margin can be understood as a decibel value between -infinity and +infinity, where negative gain margins indicate instability of the hearing aid and positive values indicate a stable hearing aid operation. An unstable hearing aid is characterized by audible distortions and artifacts that can be best described as howling, chirping, or whistling. The term "feedback distortions" is used herein to refer to these artifacts, as well as other artifacts that are not as apparent as chirping. howling, etc. Note that gain margin can be expressed as a function of frequency, e.g., due to a non-uniform frequency response of the feedback path or non-uniform gain in the hearing aid.

[0009] In various embodiments, a neural network, such as a deep neural network, predicts the instantaneous gain margin from signals and other data available in the hearing aid. Those signals and data may include any combination of the microphone signal, the receiver (loudspeaker) signal, the current gain, and filter coefficients from an adaptive feedback canceller. This deep neural network is trained offline to predict the gain margin under varying conditions. The training targets to the neural network can be computed analytically in simulations from data that may not be available in the hearing aid during runtime. The simulations may be obtained from several audio examples, as well as other measured data, such as feedback path frequency response, applied gain, actual gain margin, etc. The predicted gain margin from the deep neural network is utilized to decide on the risk of feedback distortions and change parameters in the feedback reduction algorithms, e.g., reduce the gain of the hearing aid or modify the step-size of an adaptive feedback cancellation algorithm.

[0010] There are existing methods for measuring the gain margin for hearing aids and detecting / reducing feedback distortions of the hearing aid. However, it is believed that deep neural networks are not currently being used to predict the instantaneous gain margin during runtime. Nor are the outputs of such a network used to adjust parameter related to feedback reduction in the hearing device to reduce the onset of or the risk of feedback distortions. Such an implementation is expected to work well with current hearing aid designs, and has the potential to provide improved chirp resilience and comfort for the patient.

[0011] In FIG. 1, a diagram illustrates an example of an ear-wearable device 100 according to an example embodiment. The ear-wearable device 100 includes an in-ear portion 102 that fits into the ear canal 104 of a user / wearer. The ear-wearable device 100 may also include an external portion 106, e.g., worn over the back of the outer ear 108. The external portion 106 is electrically and / or acoustically coupled to the internal portion 102. The in-ear portion 102 may include an acoustic transducer 103, although in some embodiments the acoustic transducer may be in the external portion 106, where it is acoustically coupled to the ear canal 104, e.g., via a tube. The acoustic transducer 103 may be referred to herein as a "receiver," "loudspeaker," etc., however could include a bone conduction transducer. One or both portions 102, 106 may include an external microphone, as indicated by respective microphones 110, 112.

[0012] The device 100 may also include an internal microphone 114 that detects sound inside the ear canal 104. The internal microphone 114 may also be referred to as an inward-facing microphone or error microphone. Other components of hearing device 100 not shown in the figure may include a processor (e.g., a digital signal processor or DSP), memory circuitry, power management and charging circuitry, one or more communication devices (e.g., one or more radios, a near-field magnetic induction (NFMI) device), one or more antennas, buttons and / or switches, , for example. The hearing device 100 can incorporate a long-range communication device, such as a Bluetooth ®< transceiver or other type of radio frequency (RF) transceiver.

[0013] While FIG. 1 shows one example of a hearing device, often referred to as a hearing aid (HA), the term hearing device of the present disclosure may refer to a wide variety of ear-level electronic devices that can aid a person with or without impaired hearing. This includes devices that can produce processed sound for persons with normal hearing. Hearing devices include, but are not limited to, behind-the-ear (BTE), in-the-ear (ITE), in-the-canal (ITC), invisible-in-canal (IIC), receiver-in-canal (RIC), receiver-in-the-ear (RITE) or completely-in-the-canal (CIC) type hearing devices or some combination of the above. Throughout this disclosure, reference is made to a "hearing device" or "ear-wearable device," which is understood to refer to a system comprising a single left ear device, a single right ear device, or a combination of a left ear device and a right ear device.

[0014] Acoustic feedback occurs due to the acoustic coupling of the hearing aid receiver 103 and one of the hearing microphones 110, creating a closed loop system that becomes unstable once the feedback reaches a threshold level. Note that feedback can occur between any microphone and the receiver 103, and the selection of microphone 110 in subsequent diagrams is not meant to limit the embodiments to an external microphone on an earpiece.

[0015] To reduce acoustic feedback, two different approaches are generally used. In the first approach, adaptive feedback cancellation can be used that estimates a digital copy of the acoustic feedback path using the receiver and microphone signals of the hearing aid. This estimate of the feedback path is typically found using an adaptive filter. The feedback component estimate is subsequently subtracted from the microphone signal. This subtraction of the feedback component estimate occurs in the audio processing path between the microphone and receiver.

[0016] One parameter that can have significant effects on adaptive feedback cancellation is the step-size, or learning rate, of the adaptive filter used to estimate the acoustic feedback path. This learning rate provides a trade-off between fast convergence but larger estimation error for high learning rates and slow convergence but more accurate estimation for slower learning rates. The choice of the learning rate typically depends on the signal of interest. For example, for signals that are highly correlated over time (e.g., tonal components in music or sustained alarm sounds) a slower adaptation rate is preferred, while for other signals faster adaptation rates could be used. A feedback cancellation adaptive filter may exhibit feedback distortions due to a significant change of the acoustic feedback path while the adaptive feedback cancellation algorithm has not yet adapted to the new acoustic path. When the adaptive feedback cancellation algorithm is mal-adapting to strongly self-correlated incoming signals this results in so-called entrainment.

[0017] In a second approach for feedback reduction, the gain of the hearing aid is reduced whenever feedback distortions are detected. This reduction may either be broadband or frequency-dependent. In the latter case, the gain may be reduced only in sub-bands or using notch-filters. This is generally a reactive approach as it may require feedback distortions to reach audibility to detect the distortions. Because the mitigation occurs after the detection, this approach may still introduce audible distortions, even if significant chirping and other more severe effects can be mitigated.

[0018] One approach to solving this problem is to combine both feedback cancellation and gain reduction in a way that is not computationally expensive. This can be done by carefully choosing a static learning rate of the adaptive filter that provides the best engineering trade-off between adaptation to path changes and accurate estimation. In this approach, the hearing aid gain may also be limited to not exceed predetermined thresholds.

[0019] Embodiments described herein solve the above problem by making it possible to automatically change the step-size of the adaptive feedback canceller and / or the gain of the hearing aid when the risk of chirping is high, e.g., when the gain margin is close-to zero or even negative. To accomplish this, a deep neural network (DNN) is trained to predict the gain margin of the hearing aid during run-time operation from signals accessible in the hearing aid during normal operation (e.g., microphone signal, receiver signal, hearing aid gain, feedback cancellation filter coefficients). While training of the DNN requires significant computational resources, once trained, it can be transferred to a memory of a hearing device where it can operate with low computational requirements, such as in devices with DNN hardware acceleration.

[0020] In FIG. 2, a block diagram shows a simplified view of a hearing device feedback processing path 200 according to an example embodiment. A microphone 110 receives external sound 204 and produces an input audio signal 202 in response. A weighted overlap add (WOLA) analysis module 205 decomposes the input audio signal 202 into subband signals in the frequency domain. Additional processing is indicated by processing block 206, which may include dynamic range compression (DRC), noise reduction (NR), etc. An output phase modulation (OPM) block 208 is used to adjust the phase of the output of the processing block 206 in the feedback loop to reduce entrainment of the feedback filter 210. In this example, the filter 210 is a finite impulse response (FIR) filter. An adaptive algorithm, such as the least mean squares (LMS), normalized LMS (NLMS), etc. is used to tune the FIR coefficients based on the correlation of the input error signal 214 and the output of the system 212. Other filters may be used besides a FIR filter, such as an infinite impulse response (IIR) filter without departing from the scope of the present subject matter.

[0021] A feedback cancellation (FBC) adaptation module 218 implements update rules for the adaptive filtering algorithm, e.g., it updates the digital copy of the acoustic feedback path 217. This update can be based on the instantaneous gradient of the squared error signal for LMS and NLMS. The FBC adaptation module 218 changes coefficients of the adaptive filter and may be configured to make other changes, such as increasing or decreasing step size.

[0022] A bulk delay line 215 is inserted between the output of the system 212 and the FIR input. The bulk delay line 215 is used in cases where the FIR filter 210 is not long enough to accommodate the feedback path length, therefore becomes truncated. The delayed output is decomposed back into the subbands via another WOLA analysis block 216 before being input to the FIR filter 210.

[0023] As noted above, conventional methods of detective feedback may use excessive computing resources to be practically implemented and / or be less effective in detecting the onset of feedback. In this example, a DNN gain margin predictor 220 is used to predict feedback conditions by estimating a current gain margin. The DNN gain margin predictor 220 takes a number of inputs based on various signals, including an audio input signal 202, the amplified audio signal 212. The audio input signal 202 originates from the outward facing microphone signal (e.g., external microphones 110, 112 shown in FIG. 1). An audio signal from an inward facing microphone (e.g., internal microphone 114 shown in FIG. 1) can be utilized as an additional input to the DNN gain margin predictor 220 to improve the prediction of the instantaneous gain margin for the outward facing microphone. Generally, parameters / data derived from these signals 202, 212, such as WOLA frames, may be input to the DNN gain margin predictor 220 instead of the digital representation of the signals themselves. Other data that can be used by DNN gain margin predictor 220 includes a gain 222 of the signal processing path and coefficients 224 of the adaptive filter 210. The DNN gain margin predictor 220 predicts a current / instantaneous gain margin 225 of the hearing device based on these inputs, which is used by chirp risk detector 226 to determine current risk of feedback distortion. The DNN gain margin predictor 220 may also be trained on other inputs to make this determination, such as signal 219 from inertial measurement unit (IMU) 221.

[0024] The chirp risk detector 226 outputs a value 227 that can be used by the FBC adaptation module 218 to alter behavior of the adaptive filter 210, e.g., changing a step size. The chirp risk detector 226 may also or instead output a second value 228 to the processing block 206 which can be used to reduce the gain of the device, thereby reducing a power of the output signal 212. This gain reduction may be frequency-specific, e.g., reducing power in one or more bands of the audio signal, while other bands are unaffected.

[0025] In FIG. 3, a block diagram shows an example of a DNN model 300 that may be used within the DNN gain margin predictor 220 according to an example embodiment. Structure of the neural network layers of the DNN model 300 include an input layer 302, a long short-term memory (LSTM) layer 303, a first dropout layer 304, a first fully connected layer 305, a second dropout layer 306, a second fully connected layer 307, and an output layer 308. Generally, the dropout layers 304, 306 have some neurons disabled during training to prevent overfitting of the data.

[0026] The inputs 302 to the model 300 is a 2D matrix of size N-blocks x N-features, which may include data from any combination of the following sources: the microphone signal 202, the receiver signal 212, the hearing device gain 222, and the adaptive filter coefficients 224. In some embodiment, the inputs 302 may also include an IMU output 219, which may include measurements from accelerometers, gyroscopes, and / or magnetometers. The outputs 219 of the IMU may be combined, e.g., adding the magnitude of the acceleration in three directions and / or may be converted to frequency domain information.

[0027] If the raw digitized data streams were used inputs to the model 300, a typical 2D matrix of input data for a 32-second audio signal segment could be of size 20,000 x 200, where the 200-dimensional feature features contain the WOLA coefficients of the microphone signal, the WOLA coefficients of the receiver signal, feedback canceller coefficients and the hearing aid gain. Instead of using the raw data, an input preprocessor can calculate the WOLA coefficients for part of the data (e.g., microphone signal, receiver signal) before using them as an input for the DNN. Because the DNN input data comes from different sources (microphone, receiver, hearing device gain, filter coefficients, IMU), the DNN inputs may be synchronized, e.g., by appropriate up and down sampling or generation at the correct sampling intervals via the preprocessor.

[0028] After the pre-processing of the input data is complete, the data inputs are applied to the network model 300. The model parameters of the DNN (e.g., weights and biases) are predetermined and loaded into the device. These model parameters can be found using supervised learning offline, e.g., in a simulation environment. The model parameters are optimized, e.g., using back-propagation with gradient descent, with a weighted mean-squared error (MSE) as a loss function for the model training. The output 308 from the model 300 is the predicted gain margin, either as a single broadband gain margin or per subband gain margin.

[0029] As shown in FIG. 4, a method using a DNN for gain prediction in a hearing device is shown. The method involves receiving 400 an audio input signal from a microphone of a hearing device and receiving 401 an amplified audio signal sent to a loudspeaker of the hearing device. The system determines 402 a gain of a signal processing path that outputs the amplified audio signal based on the audio input signal. Optionally, the system may also determine 403 coefficients of an adaptive filter used for feedback cancellation in the hearing device.

[0030] A set of inputs is input 404 into a DNN. The set of inputs includes: a first parameter of the audio input signal, a second parameter of the amplified audio signal, and the gain of the signal processing path. The inputs may also include the coefficients of the adaptive filter. Responsive to the set of inputs, the DNN determines 405 a predicted instantaneous gain margin. The predicted instantaneous gain margin is used to reduce 406 an onset of feedback in the hearing device, e.g., by adjusting a step size of the adaptive filter, and / or changing a gain of the audio path. Note that this reduction of the onset of feedback need not eliminate all feedback or its distortion effects, but may at least limit the time that the effects are audible and / or reduce a severity of feedback distortion in the event that feedback cannot be completely avoided.

[0031] The DNN is trained offline to predict the gain margin of the hearing device. The training utilizes a simulation framework of the hearing device that simulates the acoustic conditions under which the hearing device is operating. An example of training a DNN 220 is shown in FIG. 5. During training of the DNN the network, a data set is collected that includes several pairs of example inputs 501 for hearing device simulations that generate outputs 510. The example inputs 501 include: microphone signal 502 (broadband, or in different frequency resolution obtained from a filterbank); a receiver signal 503 (broadband, or in different frequency resolution obtained from a filterbank); frequency / sub-band-dependent hearing device gain 504, feedback canceller adaptive filter coefficients 505, and additional sensor signals / data 506 (e.g., IMU).

[0032] The corresponding output examples 510 are computed from a model 508 of the hearing device. The model 508 includes the acoustic feedback path model 511, the adaptive filter coefficients 512, and the hearing aid gain 513. The gain margin 514 GM(ω) is found using Equation (1) below, where G(ω) is the hearing device gain 513 (including dynamic range control, noise reduction, and other gain-modifying features), H(ω) is the magnitude response of the modeled feedback path 511 and Ĥ(w) is the magnitude response of the estimated feedback path obtained from the adaptive feedback cancelling filter coefficients 512. In the case where only a single gain margin value is desired as target, the operation shown in Equation (2) is applied. GM ω = G ω H ω − H ^ w GM = min ω GM ω

[0033] A loss function 520 for training the DNN 220 takes the modeled gain margin 514 and a predicted gain margin 522 from the DNN 220. The loss function 520 may use a mean-squared error (MSE) between the predicted gain margin 522 and ground truth gain margin 514. The loss function 520 may more specifically use a weighted MSE wherein the weighting emphasizes GM values close to zero, e.g., -3dB to +3dB and gradually deemphasizes GM values further away from zero. An output 524 of the loss function 520 is fed back through the DNN 220 to update the DNN 220 weights and biases, e.g., using gradient descent, Adam optimization, etc.

[0034] Once trained, the DNN 220 is used in an operational hearing device, such as shown in the diagram of FIG. 2. In FIG. 2, the output of the DNN 220 is input to a chirp risk detector 226. The chirp risk detector 226 aims at controlling the step-size of the adaptive filter 210 based on the predicted gain margin. In one embodiment, the chirp detector 226 may perform a thresholding operation. For example, when the predicted gain margin is smaller than zero, the step-size of the adaptive filter 210 is increased and / or the hearing aid gain is reduced to prevent feedback distortions. When the gain margin increases to greater than zero, the step-size of the adaptive filter 210 is decreased and / or the hearing aid gain may be increased up to a previously set value.

[0035] In another embodiment, the chirp detector 226 may perform more complex control operations. For example, the step-size of the adaptive filter 210 can be gradually increased as the gain margin approaches zero. Additionally or instead, the hearing aid gain can gradually be reduced to maintain a desired gain margin value. As the gain margin increases in the positive direction above zero, the step-size of the adaptive filter 210 can be gradually decreased and / or the hearing aid gain can gradually be increased up to some previously set value.

[0036] In a preferred embodiment the chirp detector 226 will gradually increase the step-size as the estimated gain margin approaches zeros. Additionally, it will reduce the hearing aid gain when the gain margin becomes negative. As soon as the estimated gain margin becomes positive again, the step-size is reduced to its previously set value, while the hearing aid gain maintains reduced for an additional short period of time, e.g., 20ms or 30ms, or 40ms, or 60ms, and is gradually increased up to some previously set value.

[0037] In another embodiment, the DNN 220 (see FIG. 2) takes additional input information 230 about the individual acoustic feedback path 217 that is obtained from a measurement on the ear using a so-called feedback canceller initialization measurement and stored in a device memory. The information 230 about the individual feedback paths can be either the time-domain impulse response of the acoustic feedback path 217, or a (frequency-domain) transformed version if the impulse response, or preferably the optimal feedback canceller coefficients in the WOLA domain that model this individual impulse response. This is also seen in FIG. 5, in which individual feedback canceller initialization 507 is shown as an additional input 501 to the DNN 220.

[0038] In Table 1 below, additional details are provided regarding configuration of the neural networks described herein. Note that these details represent what is expected to be a best mode of implementation, but it is not intended to limit the claims to only these implementations. Table 1Network Topology and Use of Recurrent UnitsInput -> LSTM ->Dropout -> Fully Connected -> Dropout -> Fully connected -> Output; in other embodiments, a GRU layer could be used instead of LSTMData format for inputs and outputsThe microphone and receiver signals can be converted to multiple-band WOLA magnitude features extracted from frames of the digitized signals. The gain and adaptive filter coefficient values can be input directly or remapped, e.g., to 4 or 8-bit integer values. Other streaming data, e.g., IMU output, can be used directly or converted to the frequency domain, e.g., using fast Fourier transform.Propagation functionMultiplication and addition of weightsTransfer / Activation function:No activation function requiredThe learning paradigmSupervised learning to minimize error between modeled and predicted gain margin.Training datasetMultiple hours of speech signals (80% train- 10%test - 10%test). The feedback path impulse responses are sampled randomly from a dataset of static impulse responses (80% train- 10%test - 10%test) measured from different devices.Cost functionMSE loss or weighted MSE lossStarting valuesRandom values

[0039] In FIG. 6, a block diagram illustrates a system and ear-worn hearing device 600 in accordance with any of the embodiments disclosed herein. The hearing device 600 includes a housing 602 configured to be worn in, on, or about an ear of a wearer. The hearing device 600 shown in FIG. 6 can represent a single hearing device configured for monaural or single-ear operation or one of a pair of hearing devices configured for binaural or dual-ear operation. The hearing device 600 shown in FIG. 6 includes a housing 602 within or on which various components are situated or supported. The housing 602 can be configured for deployment on a wearer's ear (e.g., a behind-the-ear device housing), within an ear canal of the wearer's ear (e.g., an in-the-ear, in-the-canal, invisible-in-canal, or completely-in-the-canal device housing) or both on and in a wearer's ear (e.g., a receiver-in-canal or receiver-in-the-ear device housing).

[0040] The hearing device 600 includes a processor 620 operatively coupled to a main memory 622 and a non-volatile memory 623. The processor 620 can be implemented as one or more of a multi-core processor, a digital signal processor (DSP), a microprocessor, a programmable controller, a general-purpose computer, a special-purpose computer, a hardware controller, a software controller, a combined hardware and software device, such as a programmable logic controller, and a programmable logic device (e.g., FPGA, ASIC). The processor 620 can include or be operatively coupled to main memory 622, such as RAM (e.g., DRAM, SRAM). The processor 620 can include or be operatively coupled to non-volatile (persistent) memory 623, such as ROM, EPROM, EEPROM or flash memory. As will be described in detail hereinbelow, the non-volatile memory 623 is configured to store instructions that facilitate using estimators for eardrum sound pressure based on SP measurements.

[0041] The hearing device 600 includes an audio processing facility operably coupled to, or incorporating, the processor 620. The audio processing facility includes audio signal processing circuitry (e.g., analog front-end, analog-to-digital converter, digital-to-analog converter, DSP, and various analog and digital filters), a microphone arrangement 630, and an acoustic transducer 632 (e.g., loudspeaker, receiver, bone conduction transducer). The microphone arrangement 630 can include one or more discrete microphones or a microphone array(s) (e.g., configured for microphone array beamforming). Each of the microphones of the microphone arrangement 630 can be situated at different locations of the housing 602. It is understood that the term microphone used herein can refer to a single microphone or multiple microphones unless specified otherwise.

[0042] At least one of the microphones 630 may be configured as a reference microphone producing a reference signal in response to external sound outside an ear canal of a user. Another of the microphones 630 may be configured as an error microphone producing an error signal in response to sound inside of the ear canal. The acoustic transducer 632 produces amplified sound inside of the ear canal.

[0043] The hearing device 600 may also include a user interface with a user control interface 627 operatively coupled to the processor 620. The user control interface 627 is configured to receive an input from the wearer of the hearing device 600. The input from the wearer can be any type of user input, such as a touch input, a gesture input, or a voice input. The user control interface 627 may be configured to receive an input from the wearer of the hearing device 600.

[0044] The hearing device 600 also includes a gain margin prediction deep neural network 638 operably coupled to the processor 620. The neural network 638 can be implemented in software, hardware (e.g., specialized neural network logic circuitry, general purpose processor), or a combination of hardware and software. During operation of the hearing device 600, the neural network 638 can be used to predict gain margin to assist in reducing the onset of feedback under different conditions as described above. The neural network 638 operates on discretized audio signals and may also receive other signals indicative of feedback inducing events, such as indicated by non-audio sensors 634.

[0045] The hearing device 600 can include one or more communication devices 636. For example, the one or more communication devices 636 can include one or more radios coupled to one or more antenna arrangements that conform to an IEEE 802.6 (e.g., Wi-Fi ®< ) or Bluetooth ®< (e.g., BLE, Bluetooth ®< 4. 2, 5.0, 5.1, 5.2 or later) specification, for example. In addition, or alternatively, the hearing device 600 can include a near-field magnetic induction (NFMI) sensor (e.g., an NFMI transceiver coupled to a magnetic antenna) for effecting short-range communications (e.g., ear-to-ear communications, ear-to-kiosk communications). The communications device 636 may also include wired communications, e.g., universal serial bus (USB) and the like.

[0046] The communication device 636 is operable to allow the hearing device 600 to communicate with an external computing device 604, e.g., a smartphone, laptop computer, etc. The external computing device 604 includes a communications device 606 that is compatible with the communications device 636 for point-to-point or network communications. The external computing device 604 includes its own processor 608 and memory 610, the latter which may encompass both volatile and non-volatile memory. The external computing device 604 includes a neural network trainer / updater 612 that may train one or more neural networks and / or prepare networks for updating the hearing device 600 (e.g., download an updated network configuration via a wide area network). The trained network parameters (e.g., weights, configurations) can be uploaded to the hearing device 600 and loaded into to the neural network 638 of the hearing device 600 to operate as described above.

[0047] The hearing device 600 also includes a power source, which can be a conventional battery, a rechargeable battery (e.g., a lithium-ion battery), or a power source comprising a supercapacitor. In the embodiment shown in FIG. 5, the hearing device 600 includes a rechargeable power source 624 which is operably coupled to power management circuitry for supplying power to various components of the hearing device 600. The rechargeable power source 624 is coupled to charging circuity 626. The charging circuitry 626 is electrically coupled to charging contacts on the housing 602 which are configured to electrically couple to corresponding charging contacts of a charging unit when the hearing device 600 is placed in the charging unit.

Claims

1. A hearing device (100, 600), comprising: a microphone (110, 112, 114, 630) that produces an audio input signal; a loudspeaker (103, 632) that outputs an amplified audio signal into an ear canal; a signal processing path coupled to the microphone (110, 112, 114, 630) and the loudspeaker (103, 632), wherein a processor is configured to determine a gain of the signal processing path that outputs the amplified audio signal based on the audio input signal, the signal processing path comprising: a deep neural network (638) configured to predict an instantaneous gain margin of the hearing device (100, 600) based on a set of inputs comprising: a first parameter of the audio input signal, a second parameter of the amplified audio signal, and a gain of the signal processing path; and a feedback reduction module that is configured to receive the predicted instantaneous gain margin and is configured to adjust feedback reduction parameters to reduce an onset of feedback in the hearing device (100, 600).

2. The hearing device (100, 600) of claim 1, wherein the feedback reduction module comprises an adaptive filter, the predicted instantaneous gain margin used to adjust a step size of the adaptive filter.

3. The hearing device (100, 600) of claim 2, wherein the deep neural network (638) is configured to predict the instantaneous gain margin further based on coefficients of the adaptive filter.

4. The hearing device (100, 600) of claim 2 or 3, wherein the step size decreases in response to a decrease in the predicted instantaneous gain margin and wherein the step size increases in response to an increase in the predicted instantaneous gain margin.

5. The hearing device (100, 600) of any one of claims 2 to 4, wherein the feedback reduction module is configured to further decrease the gain in response to the decrease in the predicted instantaneous gain margin and is configured to increase the gain in response to the increase the predicted instantaneous gain margin.

6. The hearing device (100, 600) of any one of claims 1 to 5, wherein the feedback reduction module is configured to decrease the gain in response to a decrease in the predicted instantaneous gain margin and is configured to increase the gain in response to an increase the predicted instantaneous gain margin.

7. The hearing device (100, 600) of any one of claims 1 to 6, further comprising a memory storing individual acoustic feedback path information that is obtained from a measurement on an ear of a user of the hearing device (100, 600), the set of inputs to the deep neural network (638) further comprising the individual acoustic feedback path information.

8. The hearing device (100, 600) of any one of claims 1 to 7, wherein the deep neural network (638) comprises a recurrent neural network, preferably wherein the recurrent neural network comprises, in order from an input layer to an output layer: the input layer; a long short-term memory layer; a first dropout layer; a first fully connected layer; a second dropout layer; a second fully connected layer; and the output layer.

9. The hearing device (100, 600) of any one of claims 1 to 8, wherein the deep neural network (638) is configured to predict the instantaneous gain margin further based on input from an acceleration sensor of the hearing device (100, 600).

10. The hearing device (100, 600) of any one of claims 1 to 9, wherein the first and second parameters respectively comprise weighted overlap-add (WOLA) frames of the audio input signal and the amplified audio signal.

11. The hearing device (100, 600) of any one of claims 1 to 10, wherein the deep neural network (638) is configured to output the predicted instantaneous gain margin as two or more gain margins for two or more associated frequency bands; and / or wherein the set of inputs are synchronized to a common sampling rate.

12. A method comprising: receiving an audio input signal from a microphone (110, 112, 114, 630) of a hearing device (100, 600); receiving an amplified audio signal sent to a loudspeaker (103, 632) of the hearing device (100, 600); determining a gain of a signal processing path that outputs the amplified audio signal based on the audio input signal; inputting into a deep neural network (638) configured to predict an instantaneous gain margin of the hearing device (100, 600) a set of inputs comprising: a first parameter of the audio input signal, a second parameter of the amplified audio signal, and the gain of the signal processing path; determining a predicted instantaneous gain margin from the deep neural network (638) in response to the set of inputs; and reducing an onset of feedback in the hearing device (100, 600) using the predicted instantaneous gain margin.

13. The method of claim 12, wherein reducing the onset of the feedback in the hearing device (100, 600) comprises cancelling the feedback via an adaptive filter, the predicted instantaneous gain margin used to adjust a step size of the adaptive filter.

14. The method of claim 13, wherein the deep neural network (638) is configured to predict the instantaneous gain margin further based on coefficients of the adaptive filter; and / or wherein the step size decreases in response to a decrease in the predicted instantaneous gain margin and wherein the step size increases in response to an increase in the predicted instantaneous gain margin; and / or wherein reducing the onset of the feedback in the hearing device (100, 600) further comprises decreasing the gain in response to the decrease in the predicted instantaneous gain margin and increases the gain in response to the increase the predicted instantaneous gain margin.

15. The method of any one of claims 12 to 14, wherein reducing the onset of the feedback in the hearing device (100, 600) further comprises decreasing the gain in response to a decrease in the predicted instantaneous gain margin and increases the gain in response to an increase the predicted instantaneous gain margin; and / or wherein the deep neural network (638) comprises, in order from an input layer to an output layer: the input layer; a long short-term memory layer; a first dropout layer; a first fully connected layer; a second dropout layer; a second fully connected layer; and the output layer.