# US 2023/0410828 A1 · Systems and methods for echo mitigation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0410828 A1
- Document ID: US20230410828A1
- Status: Published application
- Kind: A1
- Application number: 17/845,655
- Filed: 2022-06-21
- Published: 2023-12-21
- Earliest claimed: 2022-06-21
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Ramin Pishehvar; Mehrez Souden; Sean A. Ramprashad; Jason Wung; Ante Jukic; Joshua D. Atkins
- Web page: https://patentgrep.com/patent/US20230410828A1

## CPC

- G10L 21/0208: Noise filtering
- G10L 21/0232: Processing in the frequency domain
- G06V 40/161: {Detection; Localisation; Normalisation}
- G10L 15/063: {Training}
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/25: using position of the lips, movement of the lips or face analysis
- G10L 21/034: Automatic adjustment
- G10L 21/0364: for improving intelligibility
- G10L 25/84: for discriminating voice from noise
- G10L 2021/02087: {the noise being separate speech, e.g. cocktail party}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Disclosed is a reference-less echo mitigation or cancellation technique. The technique enables suppression of echoes from an interference signal when a reference version of the interference signal conventionally used for echo mitigation may not be available. A first stage of the technique may use a machine learning model to model a target audio area surrounding a device so that a target audio signal estimated as originating from within the target audio area may be accepted. In contrast, audio signals such as playback of media content on a TV or other interfering signals estimated as originating from outside the target audio area may be suppressed. A second stage of the technique may be a level-based suppressor that further attenuates the residual echo from the output of the first stage based on an audio level threshold. Side information may be provided to adjust the target audio area or the audio level threshold.

## Claims

### Claim 1

A method of suppressing audio interference signals, the method comprising:
receiving an input audio signal captured by a device, the input audio signal including a target signal and at least one interference signal;
determining, by a machine learning model based on the input audio signal, a target audio area relative to the device, the target audio area distinguishing between a source of the target signal estimated to be within the target audio area and a source of the interference signal estimated to be outside of the target audio area; and
generating, by the device based on the target audio area, an output audio signal that preserves the target signal within the target audio area and suppresses the interference signal outside the target audio area.

### Claim 2 (depends on 1)

The method of claim 1, wherein the target audio area identifies a distance boundary of an audio source from the device, and wherein the source of the target signal is determined as closer to the device than the distance boundary and the source of the interference signal is determined as farther away from the device than the distance boundary.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining by the machine learning model the target audio area comprises:
receiving by the machine learning model an estimated distance of the source of the target signal or the source of the interference signal from the device to adjust the target audio area;
receiving by the machine learning model a detected face of a speaker of the target signal to adjust the target audio area when the target signal includes speech from the speaker;
receiving by the machine learning model an estimated audio level of the target signal or the interference signal to adjust the target audio area; or
receiving by the machine learning model estimated acoustic characteristics of an environment of the device to adjust the target audio area.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, by the machine learning model, that the target signal comprises live speech and the interference signal comprises recorded speech.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining, by the machine learning model, that the interference signal comprises non-speech originating from within the target audio area; and
generating the output audio signal that preserves the target signal while suppressing the interference signal without having access to a reference copy of the interference signal.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the output audio signal further comprises:
generating, by the machine learning model, a filtered audio signal that attenuates the interference signal based on the source of the interference signal estimated to be outside of the target audio area to reduce interference on the target signal;
adjusting a gain of the filtered audio signal to generate a gain-adjusted output audio signal;
determining an audio level threshold;
suppressing the gain-adjusted output audio signal when an audio level of the gain-adjusted output audio signal falls below the audio level threshold; and
preserving the gain-adjusted output audio signal when the audio level of the gain-adjusted output audio signal satisfies the audio level threshold.

### Claim 7 (depends on 6)

The method of claim 6, wherein adjusting the gain of the filtered audio signal comprises:
determining, by the machine learning model, an indication of a level of attenuation of the filtered audio signal relative to the input audio signal;
determining whether the target signal is also attenuated based on the indication;
increasing the gain of the filtered audio signal to recover the target signal in response to the target signal is determined as being attenuated; and
decreasing the gain of the filtered audio signal to further attenuate the interference signal in responsive to the target signal is determined as not being attenuated.

### Claim 8 (depends on 6)

The method of claim 6, wherein determining the audio level threshold comprises:
estimating a distance of the source of the target signal or the source of the interference signal from the device to adjust the audio level threshold;
detecting a face of a speaker of the target signal to adjust the audio level threshold when the target signal includes speech;
estimating an audio level of the target signal or the interference signal to adjust the audio level threshold; or
estimating acoustic characteristics of an environment of the device to adjust the audio level threshold.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
training the machine learning model to learn acoustic characteristics of the target signal that originates from within the target audio area and acoustic characteristics of the interference signal that originates from outside of the target audio area.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
transmitting, by the device to a remote device, media content for the remote device to playback the media content; and
transmitting, by the device to the remote device, the output audio signal, wherein the target signal comprises speech of a user of the device, wherein the interference signal comprises a local playback of the media content in a local environment of the device, and wherein the output audio signal suppresses an echo of the local playback of the media content received by the device.

### Claim 11

A device comprising:
a processor; and
a memory coupled to the processor to store instructions, which when executed by the processor, cause the processor to:
determine, by a machine learning model, a target audio area relative to the device based on an audio input signal including a target signal and at least one interference signal received by the device, wherein the target audio area distinguishes between a source of the target signal estimated to be within the target audio area and a source of the interference signal estimated to be outside of the target audio area; and
generate, based on the target audio area, an output audio signal that preserves the target signal within the target audio area and suppresses the interference signal outside the target audio area.

### Claim 12 (depends on 11)

The device of claim 11, wherein the target audio area identifies a distance boundary of an audio source from the device, and wherein the source of the target signal is determined as closer to the device than the distance boundary and the source of the interference signal is determined as farther away from the device than the distance boundary.

### Claim 13 (depends on 11)

The device of claim 11, wherein to determine the target audio area, the processor further executes the instructions to cause the machine learning model to:
receive an estimated distance of the source of the target signal or the source of the interference signal from the device to adjust the target audio area;
receive a detected face of a speaker of the target signal to adjust the target audio area when the target signal includes speech from the speaker;
receive an estimated audio level of the target signal or the interference signal to adjust the target audio area; or
receive estimated acoustic characteristics of an environment of the device to adjust the target audio area.

### Claim 14 (depends on 11)

The device of claim 11, wherein the processor further executes the instructions to cause the machine learning model to:
determine that the target signal comprises live speech and the interference signal comprises recorded speech.

### Claim 15 (depends on 11)

The device of claim 11, wherein the processor further executes the instructions to cause the machine learning model to:
determine that the source of the interference signal comprises non-speech originating from within the target audio area; and
generate the output audio signal that preserves the target signal and suppresses the interference signal without access to a reference copy of the interference signal.

### Claim 16 (depends on 11)

The device of claim 11, wherein to generate the output audio signal, the processor further executes the instructions to:
determine, by the machine learning model, a filtered audio signal that attenuates the interference signal based on the source of the interference signal determined as located outside of the target audio area to reduce interference on the target signal;
adjust a gain of the filtered audio signal to generate a gain-adjusted output audio signal;
determine an audio level threshold;
suppress the gain-adjusted output audio signal when an audio level of the gain-adjusted output audio signal falls below the audio level threshold; and
preserve the gain-adjusted output audio signal when an audio level of the gain-adjusted output audio signal satisfies the audio level threshold.

### Claim 17 (depends on 16)

The device of claim 16, wherein to adjust the gain of the filtered audio signal, the processor further executes the instructions to:
determine, by the machine learning model, an indication of a level of attenuation of the filtered audio signal relative to the input audio signal;
determine whether the target signal is also attenuated based on the indication;
increase the gain of the filtered audio signal to recover the target signal in response to the target signal is determined as being attenuated; and
decrease the gain of the filtered audio signal to further attenuate the interference signal in responsive to the target signal is determined as not being attenuated.

### Claim 18 (depends on 16)

The device of claim 16, wherein to determine the audio level threshold, the processor further executes the instructions to:
estimate a distance of the source of the target signal or the source of the interference signal from the device to adjust the audio level threshold;
detect a face of a speaker of the target signal to adjust the audio level threshold when the target signal includes speech;
estimate an audio level of the target signal or the interference signal to adjust the audio level threshold; or
estimate acoustic characteristics of an environment of the device to adjust the audio level threshold.

### Claim 19 (depends on 11)

The device of claim 11, wherein the processor further executes the instructions to:
transmit by the device to a remote device media content for the remote device to playback the media content; and
transmit by the device to the remote device the output audio signal, wherein the target signal comprises speech of a user of the device, wherein the interference signal comprises a local playback of the media content in a local environment of the device, and wherein the output audio signal suppresses an echo of the local playback of the media content received by the device.

### Claim 20

A non-transitory computer-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations comprising:
determine, by a machine learning model, a target audio area relative to a device based on an audio input signal including a target signal and at least one interference signal received by the device, wherein the target audio area distinguishes between a source of the target signal estimated to be within the target audio area and a source of the interference signal estimated to be outside of the target audio area; and
generate, based on the target audio area, an output audio signal that preserves the target signal within the target audio area and suppresses the interference signal outside the target audio area.
