# US 10,957,308 B2 · Device and method to personalize speech recognition model

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

- Number: US 10,957,308 B2
- Document ID: US10957308B2
- Status: Granted
- Kind: B2
- Application number: 16/118,807
- Filed: 2018-08-31
- Published: 2019-11-14
- Granted: 2021-03-23
- Earliest claimed: 2018-05-11
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Ki Soo Kwon; Inchul Song; YoungSang Choi
- Web page: https://patentgrep.com/patent/US10957308B2

## CPC

- G10L 15/07: to the speaker
- G10L 15/16: using artificial neural networks
- G10L 15/005: {Language recognition}
- G10L 15/063: {Training}
- G10L 15/183: using context dependencies, e.g. language models
- 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/0635: {updating or merging of old and new templates; Mean values; Weighting}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Provided is a method and device to personalize a speech recognition model, the device that personalizes a speech recognition model by identifying a language group corresponding to a user, and generating a personalized speech recognition model by applying a group scale matrix corresponding to the identified language group to at least a layer of a speech recognition model.

## Claims

### Claim 1

A processor-implemented method to personalize a speech recognition model, the method comprising:
identifying a language group corresponding to a user;
generating a personalized speech recognition model by applying a group scale matrix corresponding to the identified language group to one or more layers of a speech recognition model;
identifying an additional language group corresponding to the user after the personalized speech recognition model is generated; and
updating the personalized speech recognition model by applying an additional group scale matrix corresponding to the additional language group to the one or more layers.

### Claim 2 (depends on 1)

The method of claim 1, wherein the identifying comprises identifying the language group of the user based on any one or any combination of a user input, position information, and language characteristic estimation information associated with the user.

### Claim 3 (depends on 1)

The method of claim 1, wherein the identifying comprises identifying language groups corresponding to the user, and
the generating comprises applying group scale matrices corresponding to the language groups to the one or more layers of the speech recognition model.

### Claim 4 (depends on 3)

The method of claim 3, wherein the applying of the group scale matrices comprises applying the group scale matrices corresponding to the language groups to the one or more layers sequentially based on hierarchical positions of each of the language groups.

### Claim 5 (depends on 3)

The method of claim 3, wherein the applying of the group scale matrices comprises:
applying a first portion of the group scale matrices corresponding to a first portion of the language groups to the one or more layers; and
applying a second portion of the group scale matrices corresponding to a second portion of the language groups to other layers of the speech recognition model.

### Claim 6 (depends on 1)

The method of claim 1, wherein the generating comprises generating the personalized speech recognition model by applying the group scale matrix and a user scale matrix to the one or more layers.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
training the user scale matrix in the personalized speech recognition model based on a speech signal, in response to the speech signal being obtained from the user; and
fixing at least one parameter while training the user scale matrix.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
updating the user scale matrix, in response to the group scale matrix of the personalized speech recognition model being changed.

### Claim 9 (depends on 6)

The method of claim 6, further comprising:
setting an initial value of the user scale matrix to be equal to a value of the group scale matrix.

### Claim 10 (depends on 1)

The method of claim 1, wherein the generating comprises:
correcting outputs of nodes included in the one or more layers by applying the group scale matrix to the outputs of the nodes in the one or more layers; and
forwarding the corrected outputs to a subsequent layer.

### Claim 11 (depends on 1)

The method of claim 1, wherein the identifying comprises identifying a language group corresponding to a current user, in response to the current user being different from a previous user.

### Claim 12 (depends on 11)

The method of claim 11, wherein the identifying of the language group corresponding to the current user comprises loading a portion of group scale matrices on a language group to which the previous user belongs, and
the generating comprises generating the personalized speech recognition model by applying the loaded portion of the group scale matrices to the speech recognition model.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
recognizing a speech input of the user based on the personalized speech recognition model.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
collecting training data from a plurality of users corresponding to a target language group among language groups for a period of time; and
training a group scale matrix corresponding to the target language group based on the training data.

### Claim 15 (depends on 14)

The method of claim 14, wherein the training comprises training a group scale matrix of a higher hierarchical level than the group scale matrix corresponding to the target language group.

### Claim 16 (depends on 1)

The method of claim 1, wherein the generating comprises limiting each of outputs of the at least a portion of the layers to which the group scale matrix is applied to a range.

### Claim 17 (depends on 1)

The method of claim 1, wherein the one or more layers comprises a layer designated for a language of the user, among layers of the speech recognition model.

### Claim 18 (depends on 1)

The method of claim 1, wherein the generating comprises applying the group scale matrix to a layer to which the group scale matrix is applied with respect to a previous user, in response to the previous user being identical to a current user.

### Claim 19 (depends on 1)

The method of claim 1, wherein the language group comprises any one or any combination of a ethnic-based group, region-based group, age-based group, dialect-based group, and gender-based group.

### Claim 20 (depends on 1)

A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the method of claim 1.

### Claim 21

A device to personalize a speech recognition model, the device comprising,
a processor configured to
identify a language group corresponding to a user, and
generate a personalized speech recognition model by applying a group scale matrix corresponding to the identified language group to one or more layers of a speech recognition model;
identify an additional language group corresponding to the user after the personalized speech recognition model is generated; and
update the personalized speech recognition model by applying an additional group scale matrix corresponding to the additional language group to the one or more layers.

### Claim 22

An electronic device, comprising:
a sensor configured to sense a voice signal;
a memory configured to store a personalized speech recognition model and instructions; and
a processor configured to execute the instructions to:
identify a language group corresponding to a user,
generate the personalized speech recognition model by applying a group scale matrix corresponding to the identified language group to one or more layers of a speech recognition model,
identify an additional language group corresponding to the user after the personalized speech recognition model is generated,
update the personalized speech recognition model by applying an additional group scale matrix corresponding to the additional language group to the one or more layers,
recognize the voice signal based on the personalized speech recognition model, and
generate a textual string based on the recognized voice signal.

### Claim 23 (depends on 22)

The device of claim 22, wherein:
the sensor is further configured to detect position information a user;
the memory is further configured to store the positional information; and
the processor is further configured to periodically update the personalized speech recognition model based on the stored positional information.
