# US 2021/0343277 A1 · System and method for out-of-vocabulary phrase support in automatic 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/0343277 A1
- Document ID: US20210343277A1
- Status: Published application
- Kind: A1
- Application number: 17/160,278
- Filed: 2021-01-27
- Published: 2021-11-04
- Earliest claimed: 2020-04-29
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Suhel Jaber; Anil Yadav; Melvin Lobo; Sukrat Gupta
- Web page: https://patentgrep.com/patent/US20210343277A1

## CPC

- G10L 15/08: Speech classification or search
- G10L 15/14: using statistical models, e.g. Hidden Markov Models [HMMs] (G10L15/18 takes precedence)
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 25/27: characterised by the analysis technique
- G10L 2015/228: {of application context}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

An electronic device includes an audio sensor, a memory, and at least one processor coupled to the audio sensor and the memory. The at least one processor is configured to receive, via the audio sensor an audio input. The at least one processor is further configured to perform, using an automatic speech recognition (ASR) model and an entity prediction model, out-of-vocabulary prediction of an entity. The at least one processor is further configured to receive an ASR hypothesis including the predicted entity. The at least one processor is further configured to output text including the predicted entity.

## Claims

### Claim 1

An electronic device comprising:
an audio sensor;
a memory; and
at least one processor coupled to the audio sensor and the memory, wherein the at least one processor is configured to:
receive, via the audio sensor, an audio input;
perform, using an automatic speech recognition (ASR) model and an entity prediction model, out-of-vocabulary prediction of an entity;
receive an ASR hypothesis including the predicted entity; and
output text including the predicted entity.

### Claim 2 (depends on 1)

The electronic device of claim 1, wherein, to perform the out-of-vocabulary prediction of the entity, the at least one processor is further configured to:
decode one or more portions of the audio input using the ASR model;
predict a domain label for a subsequent portion of the audio input based on the decoded one or more portions of the audio input;
retrieve, for the predicted domain label, using a knowledge base, one or more candidates for the entity;
determine a candidate score for each of the one or more candidates; and
selecting an entity candidate based on the candidate score for each of the one or more candidates.

### Claim 3 (depends on 2)

The electronic device of claim 2, wherein the knowledge base includes a deterministic acyclic finite state automaton (DAFSA) for the predicted domain label, and wherein, to retrieve the one or more candidates, the at least one processor is further configured to:
traverse, at each time step, the DAFSA for the predicted domain label; and
determine, at each time step, at least one portion of one of the one or more candidates based on the traversal of the DAFSA.

### Claim 4 (depends on 2)

The electronic device of claim 2, wherein, to receive the ASR hypothesis, the at least one processor is further configured to:
determine one or more ASR hypotheses for the audio input, wherein at least one of the ASR hypotheses is based on the selected entity candidate; and
select the ASR hypothesis from the one or more ASR hypotheses based on probabilities associated with the one or more ASR hypotheses.

### Claim 5 (depends on 2)

The electronic device of claim 2, wherein the at least one processor is further configured to identify, using the entity prediction model, nonoverlapping spans of entities in a set of spans and at least one domain associated with each of the nonoverlapping spans of entities.

### Claim 6 (depends on 5)

The electronic device of claim 5, wherein, to identify the nonoverlapping spans of entities, the at least one processor is further configured to:
assign, using the entity prediction model, a confidence score for each span; and
remove from consideration one or more spans from the set of spans based on a determination that the confidence score for the one or more spans is below a threshold.

### Claim 7 (depends on 2)

The electronic device of claim 2, wherein the at least one processor is further configured to modify the candidate score for at least one of the one or more candidates by probability information including at least one of: candidate popularity, user information, user preferences, user context, and user utterance history.

### Claim 8

A method for out-of-vocabulary phrase support in automatic speech recognition (ASR) comprising:
receiving, via an audio sensor of an electronic device, an audio input;
performing, by at least one processor of the electronic device and using an ASR model and an entity prediction model, out-of-vocabulary prediction of an entity;
receiving an ASR hypothesis including the predicted entity; and
outputting text including the predicted entity.

### Claim 9 (depends on 8)

The method of claim 8, wherein performing the out-of-vocabulary prediction of the entity includes:
decoding, by the at least one processor, one or more portions of the audio input using the ASR model;
predicting, by the at least one processor, a domain label for a subsequent portion of the audio input based on the decoded one or more portions of the audio input;
retrieving, by the at least one processor for the predicted domain label using a knowledge base, one or more candidates for the entity;
determining, by the at least one processor, a candidate score for each of the one or more candidates; and
selecting, by the at least one processor, an entity candidate based on the candidate score for each of the one or more candidates.

### Claim 10 (depends on 9)

The method of claim 9, wherein the knowledge base includes a deterministic acyclic finite state automaton (DAFSA) for the predicted domain label, and wherein retrieving the one or more candidates includes:
traversing, by the at least one processor at each time step, the DAFSA for the predicted domain label; and
determining, by the at least one processor at each time step, at least one portion of one of the one or more candidates based on the traversal of the DAFSA.

### Claim 11 (depends on 9)

The method of claim 9, wherein receiving the ASR hypothesis includes:
determining, by the at least one processor, one or more ASR hypotheses for the audio input, wherein at least one of the ASR hypotheses is based on the selected entity candidate; and
selecting, by the at least one processor, the ASR hypothesis from the one or more ASR hypotheses based on probabilities associated with the one or more ASR hypotheses.

### Claim 12 (depends on 9)

The method of claim 9, further comprising identifying, by the at least one processor using the entity prediction model, nonoverlapping spans of entities in a set of spans and at least one domain associated with each of the nonoverlapping spans of entities.

### Claim 13 (depends on 12)

The method of claim 12, wherein identifying the nonoverlapping spans of entities includes:
assigning, by the at least one processor using the entity prediction model, a confidence score for each span; and
removing from consideration, by the at least one processor, one or more spans from the set of spans based on a determination that the confidence score for the one or more spans is below a threshold.

### Claim 14 (depends on 9)

The method of claim 9, further comprising modifying, by the at least one processor, the candidate score for at least one of the one or more candidates by probability information including at least one of: candidate popularity, user information, user preferences, user context, and user utterance history.

### Claim 15

A non-transitory computer readable medium embodying a computer program, the computer program comprising instructions that when executed cause at least one processor of an electronic device to:
receive, via an audio sensor of the electronic device, an audio input;
perform, using an automatic speech recognition (ASR) model and an entity prediction model, out-of-vocabulary prediction of an entity;
receive an ASR hypothesis including the predicted entity; and
output text including the predicted entity.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the instructions that when executed cause the at least one processor to perform the out-of-vocabulary prediction of the entity further cause the at least one processor to:
decode one or more portions of the audio input using the ASR model;
predict a domain label for a subsequent portion of the audio input based on the decoded one or more portions of the audio input;
retrieve, for the predicted domain label, using a knowledge base, one or more candidates for the entity;
determine a candidate score for each of the one or more candidates; and
selecting an entity candidate based on the candidate score for each of the one or more candidates.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the knowledge base includes a deterministic acyclic finite state automaton (DAFSA) for the predicted domain label, and wherein the instructions that when executed cause the at least one processor to retrieve the one or more candidates further cause the at least one processor to:
traverse, at each time step, the DAFSA for the predicted domain label; and
determine, at each time step, at least one portion of one of the one or more candidates based on the traversal of the DAFSA.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the instructions that when executed cause the at least one processor to receive the ASR hypothesis further cause the at least one processor to:
determine one or more ASR hypotheses for the audio input, wherein at least one of the ASR hypotheses is based on the selected entity candidate; and
select the ASR hypothesis from the one or more ASR hypotheses based on probabilities associated with the one or more ASR hypotheses.

### Claim 19 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the computer program further comprises instructions that when executed cause at the least one processor to identify, using the entity prediction model, nonoverlapping spans of entities in a set of spans and at least one domain associated with each of the nonoverlapping spans of entities.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, the instructions that when executed cause the at least one processor to identify the nonoverlapping spans of entities further cause the at least one processor to:
assign, using the entity prediction model, a confidence score for each span; and
remove from consideration one or more spans from the set of spans based on a determination that the confidence score for the one or more spans is below a threshold.
