# US 2021/0343273 A1 · End-To-End Multi-Talker Overlapping Speech Recognition

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

- Number: US 2021/0343273 A1
- Document ID: US20210343273A1
- Status: Published application
- Kind: A1
- Application number: 16/865,075
- Filed: 2020-05-01
- Published: 2021-11-04
- Earliest claimed: 2020-05-01
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Anshuman Tripathi; Han Lu; Hasim Sak
- Web page: https://patentgrep.com/patent/US20210343273A1

## CPC

- G10L 15/063: {Training}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 20/00: Machine learning
- G10L 15/04: Segmentation; Word boundary detection
- G10L 15/16: using artificial neural networks
- G10L 15/20: Speech recognition techniques specially adapted for robustness in adverse environments, e.g. in noise, of stress induced speech (G10L21/02 takes precedence)
- G10L 21/0272: Voice signal separating
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for training a speech recognition model with a loss function includes receiving an audio signal including a first segment corresponding to audio spoken by a first speaker, a second segment corresponding to audio spoken by a second speaker, and an overlapping region where the first segment overlaps the second segment. The overlapping region includes a known start time and a known end time. The method also includes generating a respective masked audio embedding for each of the first and second speakers. The method also includes applying a masking loss after the known end time to the respective masked audio embedding for the first speaker when the first speaker was speaking prior to the known start time, or applying the masking loss prior to the known start time when the first speaker was speaking after the known end time.

## Claims

### Claim 1

A method of training a speech recognition model with a loss function, the method comprising:
receiving, at data processing hardware, a training example comprising an audio signal including a first segment corresponding to audio spoken by a first speaker, a second segment corresponding to audio spoken by a second speaker, and an overlapping region where the first segment overlaps the second segment, the overlapping region comprising a known start time and a known end time;
for each of the first speaker and the second speaker, generating, by the data processing hardware, a respective masked audio embedding based on the training sample;
determining, by the data processing hardware, whether the first speaker was speaking:
prior to the known start time of the overlapping region; or
after the known end time of the overlapping region;
when the first speaker was speaking prior to the known start time of the overlapping region, applying, by the data processing hardware, to the respective masked audio embedding for the first speaker, a first masking loss after the known end time; and
when the first speaker was speaking after the known end time of the overlapping region, applying, by the data processing hardware, to the respective masked audio embedding for the first speaker, the first masking loss before the known start time.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
when the first speaker was speaking prior to the known start time of the overlapping region, the first speaker was not speaking after the known end time of the overlapping region; and
when the first speaker was speaking after the known end time of the overlapping region, the first speaker was not speaking prior to the known start time of the overlapping region.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
when the first speaker was speaking prior to the known start time of the overlapping region, applying, by the data processing hardware, to the respective masked audio embedding for the second speaker, a second masking loss prior to the known start time of the overlapping region; and
when the first speaker was speaking after the known end time of the overlapping region, applying, by the data processing hardware, to the respective masked audio embedding for the second speaker, the second masking loss after the known end time of the overlapping region.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
for each of the respective masked audio embeddings generated for the first speaker and the second speaker:
computing, by the data processing hardware, a respective average speaker embedding for the respective one of the first speaker or the second speaker inside the overlapping region; and
computing, by the data processing hardware, a respective average speaker embedding for the respective one of the first speaker or the second speaker outside the overlapping region;
determining, by the data processing hardware, an embedding loss based on a function of the average speaker embedding computed for the respective masked audio embedding for the first speaker inside the overlapping region, the average speaker embedding computed for the respective masked audio embedding for the second speaker inside the overlapping region, the average speaker embedding computed for the respective masked audio embedding for the first speaker outside the overlapping region, and the average speaking embedding computed for the respective masked audio embedding for the second speaker outside the overlapping region; and
applying, by the data processing hardware, the embedding loss to each of:
the respective masked audio embedding generated for the first speaker to enforce that an entirety of the respective masked audio embedding generated for the first speaker corresponds to only audio spoken by the first speaker; and
the respective masked audio embedding generated for the second speaker to enforce that an entirety of the respective masked audio embedding generated for the second speaker corresponds to only audio spoken by the second speaker.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the respective masked audio embedding occurs at each frame of the audio signal for the training example.

### Claim 6 (depends on 1)

The method of claim 1, wherein the audio single comprises a monophonic audio signal.

### Claim 7 (depends on 1)

The method of claim 1, wherein the training example comprises simulated training data.

### Claim 8 (depends on 1)

The method of claim 1, wherein the speech recognition model comprises a recurrent neural network transducer (RNN-T) architecture.

### Claim 9 (depends on 8)

The method of claim 8, wherein the RNN-T architecture comprises:
a first decoder configured to receive, as input, the respective masked audio embedding generated for the first speaker and to generate, as output, a first transcription associated with the first speaker, the first transcription transcribing the first segment of the audio signal that corresponds to the audio spoken by the first speaker; and
a second decoder configured to receive, as input, the respective masked audio embedding generated for the second speaker and to generate, as output, a second transcription associated with the second speaker, the second transcription transcribing the second segment of the audio signal that corresponds to the audio spoken by the second speaker.

### Claim 10 (depends on 1)

The method of claim 1, wherein the speech recognition model comprises an audio encoder configured to, during inference:
generate per frame audio embeddings from a monophonic audio stream comprising speech spoken by two or more different speakers; and
communicate each frame audio embedding to a masking model, the masking model trained to generate, for each frame audio embedding, a respective masked audio embedding.

### Claim 11 (depends on 1)

The method of claim 1, wherein the training example further comprises:
a first ground truth transcript corresponding to the audio spoken by the first speaker; and
a second ground truth transcript corresponding to the audio spoken by the second speaker.

### Claim 12

A system for training a speech recognition model with a loss function, the system comprising:
data processing hardware; and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
receiving a training example comprising an audio signal including a first segment corresponding to audio spoken by a first speaker, a second segment corresponding to audio spoken by a second speaker, and an overlapping region where the first segment overlaps the second segment, the overlapping region comprising a known start time and a known end time;
for each of the first speaker and the second speaker, generating a respective masked audio embedding based on the training sample;
determining whether the first speaker was speaking:
prior to the known start time of the overlapping region; or
after the known end time of the overlapping region;
when the first speaker was speaking prior to the known start time of the overlapping region, applying, to the respective masked audio embedding for the first speaker, a first masking loss after the known end time; and
when the first speaker was speaking after the known end time of the overlapping region, applying, to the respective masked audio embedding for the first speaker, the first masking loss before the known start time.

### Claim 13 (depends on 12)

The system of claim 12, wherein:
when the first speaker was speaking prior to the known start time of the overlapping region, the first speaker was not speaking after the known end time of the overlapping region; and
when the first speaker was speaking after the known end time of the overlapping region, the first speaker was not speaking prior to the known.

### Claim 14 (depends on 12)

The system of claim 12, wherein the operations further comprise:
when the first speaker was speaking prior to the known start time of the overlapping region, applying, to the respective masked audio embedding for the second speaker, a second masking loss prior to the known start time of the overlapping region; and
when the first speaker was speaking after the known end time of the overlapping region, applying, to the respective masked audio embedding for the second speaker, the second masking loss after the known end time of the overlapping region.

### Claim 15 (depends on 14)

The system of claim 14, wherein the operations further comprise:
for each of the respective masked audio embeddings generated for the first speaker and the second speaker:
computing a respective average speaker embedding for the respective one of the first speaker or the second speaker inside the overlapping region; and
computing a respective average speaker embedding for the respective one of the first speaker or the second speaker outside the overlapping region;
determining an embedding loss based on a function of the average speaker embedding computed for the respective masked audio embedding for the first speaker inside the overlapping region, the average speaker embedding computed for the respective masked audio embedding for the second speaker inside the overlapping region, the average speaking embedding computed for the respective masked audio embedding for the first speaker outside the overlapping region, and the average speaking embedding computed for the respective masked audio embedding for the second speaker outside the overlapping region; and
applying the embedding loss to each of:
the respective masked audio embedding generated for the first speaker to enforce that an entirety of the respective masked audio embedding generated for the first speaker corresponds to only audio spoken by the first speaker; and
the respective masked audio embedding generated for the second speaker to enforce that an entirety of the respective masked audio embedding generated for the second speaker corresponds to only audio spoken by the second speaker.

### Claim 16 (depends on 12)

The system of claim 12, wherein generating the respective masked audio embedding occurs at each frame of the audio signal for the training example.

### Claim 17 (depends on 12)

The system of claim 12, wherein the audio single comprises a monophonic audio signal.

### Claim 18 (depends on 12)

The system of claim 12, wherein the training example comprises simulated training data.

### Claim 19 (depends on 12)

The system of claim 12, wherein the speech recognition model comprises a recurrent neural network transducer (RNN-T) architecture.

### Claim 20 (depends on 19)

The system of claim 19, wherein the RNN-T architecture comprises:
a first decoder configured to receive, as input, the respective masked audio embedding generated for the first speaker and generate, as output, a first transcription associated with the first speaker, the first transcription transcribing the first segment of the audio signal that corresponds to the audio spoken by the first speaker; and
a second decoder configured to receive, as input, the respective masked audio embedding generated for the second speaker and generate, as output, a second transcription associated with the second speaker, the second transcription transcribing the second segment of the audio signal that corresponds to the audio spoken by the second speaker.

### Claim 21 (depends on 12)

The system of claim 12, wherein the speech recognition model comprises an audio encoder configured to, during inference:
generate per frame audio embeddings from a monophonic audio stream comprising speech spoken by two or more different speakers; and
communicate each frame audio embedding to a masking model, the masking model trained to generate, for each frame audio embedding, a respective masked audio embedding.

### Claim 22 (depends on 12)

The system of claim 12, wherein the training example further comprises:
a first ground truth transcript corresponding to the audio spoken by the first speaker; and
a second ground truth transcript corresponding to the audio spoken by the second speaker.
