# US 2022/0293088 A1 · Method of generating a trigger word detection model, and an apparatus for the same

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

- Number: US 2022/0293088 A1
- Document ID: US20220293088A1
- Status: Published application
- Kind: A1
- Application number: 17/499,072
- Filed: 2021-10-12
- Published: 2022-09-15
- Earliest claimed: 2021-03-12
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Sivakumar BALASUBRAMANIAN; Gowtham SRINIVASAN; Srinivasa Rao PONAKALA; Anil Sunder YADAV; Aditya Jajodia
- Web page: https://patentgrep.com/patent/US20220293088A1

## CPC

- G10L 15/05: Word boundary detection
- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G06N 3/045: Combinations of networks
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/096: Transfer learning
- G10L 15/063: {Training}
- G10L 15/08: Speech classification or search
- 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 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 15/30: Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
- G10L 2015/088: {Word spotting}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method of generating a trained trigger word detection model includes training an auxiliary model, based on an auxiliary task, to concentrate on one or more utterances and/or learn context of the one or more utterances using generic single word and/or phrase training data: and obtaining a trigger word detection model by retraining one or more final layers of the auxiliary model, which is weighted based on the auxiliary task, based on a trigger word detection task that detects one or more trigger words. The retraining uses training data specific to the one or more trigger words.

## Claims

### Claim 1

A method of generating a trained trigger word detection model, the method comprising:
training an auxiliary model, based on an auxiliary task, to concentrate on one or more utterances and/or learn context of the one or more utterances using generic ingle word and/or phrase training data; and
obtaining a trigger word detection model by retraining one or more final layers of the auxiliary model, which is weighted based on the auxiliary task, based on a trigger word detection task that detects one or more trigger words;
wherein the retraining uses training data specific to the one or more rigger word's.

### Claim 2 (depends on 1)

The method of claim 1, wherein the auxiliary model trained based an the auxiliary task such that audio files with the same utterance are drawn closer together and audio files with different utterances are draw away from each other.

### Claim 3 (depends on 2)

The method of claim 2, wherein training the auxiliary model based on the auxiliary task comprises repeatedly inputting a first type of audio file and a second type of audio file,
wherein the first type of audio file comprises audio files including clean audio of a comparison utterance and the second type of audio file comprises one of a positive audio or a negative audio,
wherein the positive audio comprises one of the comparison utterance and noise, the comparison utterance and reverberation, the comparison utterance with noise and reverberations, or the comparison utterance with a spectral augmentation, and
wherein the negative audio comprises one or more of noise, reverberations, or an utterance other than the comparison utterance.

### Claim 4 (depends on 1)

The method of claim 1, wherein the auxiliary model is trained to predict whether an input audio file of an utterance is in sequence or jumbled.

### Claim 5 (depends on 4)

The method of claim 4, wherein training the auxiliary model based on the auxiliary task comprises:
obtaining a plurality of audio files, each audio file including an utterance;
splitting each of the plurality of audio files into segments to provide a plurality of segmented audio files;
jumbling a portion of the plurality of segmented audio files o provide a plurality of partially jumbled segmented audio files; and
repeatedly inputting audio files from among the plurality of partially jumbled segmented audio files into the auxiliary model.

### Claim 6

The method of claim wherein the retraining of the auxiliary model may be performed on an edge device of a user, and training data specific to the one or more trigger words is specific to a voice of the user.

### Claim 7 (depends on 1)

The method of claim 1 wherein the trigger word detection task classifies the one or more trigger words.

### Claim 8

An apparatus for generating a trained trigger word detection model, the apparatus comprising:
at least one memory storing instructions; and
at least one processor configured to execute the instructions to:
train an auxiliary model, based on an auxiliary task, to concentrate on one or more utterances and/or learn context of the one or more utterances using generic single word and/or phrase training data; and
obtain a trigger word detection model by retraining one or more final layers of the auxiliary model, which is weighted based on the auxiliary task, based on a trigger word detection task that detects one or more trigger words;
wherein the retraining uses training data specific to the one or more trigger words.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the auxiliary model is trained based on the auxiliary task such that audio files with the same utterance are drawn closer together and audio files with different utterances are drawn away from each other.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein training the auxiliary model based on the auxiliary task comprises repeatedly inputting a first type of audio file and a second type of audio file,
wherein the first type of audio file comprises audio files including clean audio of a comparison utterance and the second type of audio file comprises one of a positive audio or a negative audio,
wherein the positive audio comprises one of the comparison utterance and noise, the comparison utterance and reverberation, the comparison utterance with noise and reverberations, or the comparison utterance with a spectral augmentation, and
wherein the negative audio comprises one or more of noise, reverberations, or an utterance other than the comparison utterance.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein the auxiliary model is trained to predict whether an input audio the of an utterance is in sequence or jumbled.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the at least one processor is further configured to:
obtain a plurality of audio files, each audio file including an utterance;
split each of the plurality of audio files into segments to provide a plurality of segmented audio files;
jumble a portion of the plurality of segmented'audio files to provide a plurality of partially jumbled segmented audio files; and
repeatedly input audio files from among the plurality of partially jumbled segmented audio files into the auxiliary model.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the retraining of the auxiliary model may be performed on an edge device of a user, and training data specific to the one or more trigger words is specific to a voice of the user.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein the trigger word detection task classifies the one or more trigger words.

### Claim 15

A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors, cause the one or more processors to:
train an auxiliary model, based on an auxiliary task, to concentrate on one or more utterances and/or learn context of the one or more utterances using generic single word and/or phrase training data; and
obtain a trigger word detection model by retraining one or more final layers of the auxiliary model, which is weighted based on the auxiliary task, based on a trigger word detection task that detects one or more trigger words;
wherein the retraining uses training data specific to the one or more trigger words.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the auxiliary model is trained based on the auxiliary task such that audio files with the same utterance are drawn closer together and audio files with different utterances are drawn away from each other.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein training the auxiliary model based on the auxiliary task comprises repeatedly inputting a first type of audio file and a second type of audio file,
wherein the first type of audio file comprises audio files including clean audio of a comparison utterance and the second type of audio file comprises one of a positive audio or a negative audio,
wherein the positive audio comprises one of the comparison utterance and noise, the comparison utterance and reverberation, the comparison utterance with noise and reverberations, or the comparison utterance with a spectral augmentation, and
wherein the negative audio comprises one or more of noise, reverberations, or an utterance other than the comparison utterance.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the auxiliary model is trained to predict whether an input audio file of an utterance is in sequence or jumbled.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, the instructions further comprise one or more instructions that, when executed by the one or more processors, cause the one or more processors to:
obtain a plurality of audio files, each audio file including an utterance;
split each of the plurality of audio files into segments to provide a plurality of segmented audio files;
jumble a portion of the plurality of segmented audio files to provide a plurality of partially jumbled segmented audio files; and
repeatedly input audio files from among the plurality of partially jumbled segmented audio files into the auxiliary model

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein the trigger word detection task classifies the one or more trigger words.
