# US 2021/0174786 A1 · Artificial intelligence device and operating method thereof

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

- Number: US 2021/0174786 A1
- Document ID: US20210174786A1
- Status: Published application
- Kind: A1
- Application number: 16/855,872
- Filed: 2020-04-22
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Hwansik YUN
- Web page: https://patentgrep.com/patent/US20210174786A1

## CPC

- G10L 15/14: using statistical models, e.g. Hidden Markov Models [HMMs] (G10L15/18 takes precedence)
- 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/063: {Training}
- G10L 15/32: Multiple recognisers used in sequence or in parallel; Score combination systems therefor, e.g. voting systems
- G10L 15/183: using context dependencies, e.g. language models
- G10L 25/81: for discriminating voice from music
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

An artificial intelligence (AI) device may acquire a probability that a received speech signal is classified as a noise signal, calculate a confidence level of a first model for determining to which phoneme the speech signal belongs, based on the speech signal, determine a weight of the first model based on the probability and the confidence level of the first model, and output a speech recognition result of the speech signal using the determined weight of the first model.

## Claims

### Claim 1

An artificial intelligence (AI) device comprising:
a memory;
an output interface including a speaker or a display;
a microphone configured to acquire a speech signal; and
one or more processors configured to:
determine a first probability that the acquired speech signal is classified as a noise signal,
determine a confidence level of a first model based at least in part on the acquired speech signal, wherein the first model determines associations between corresponding phonemes to the acquired speech signal,
determine a first weight of the first model based at least in part on the determined first probability and the determined confidence level of the first model, and
output, via the output interface, a speech recognition result of the acquired speech signal using the determined first weight of the first model.

### Claim 2 (depends on 1)

The AI device of claim 1, wherein the one or more processors are further configured to:
determine a second weight of a second model by subtracting the first weight of the first model from a predetermined value, wherein the second model predicts a next word from a previous word, and wherein the speech recognition result is determined based on the first weight of the first model and the second weight of the second model.

### Claim 3 (depends on 1)

The AI device of claim 1, wherein the first probability is determined based at least in part on determining, using a noise signal estimation model stored in the memory, a second probability that a corresponding portion of the acquired speech signal is classified as a noise signal.

### Claim 4 (depends on 3)

The AI device of claim 3,
wherein the noise signal estimation model is a neural network model trained by a deep learning algorithm using training data comprising speech data for learning and labeling data indicating that the speech data is a noise signal, and
wherein the noise signal estimation model is trained to minimize a cost function corresponding to a difference between a third probability indicated by the labeling data and a fourth probability of being classified as the noise signal.

### Claim 5 (depends on 1)

The AI device of claim 1, wherein the one or more processors are further configured to:
determine a probability distribution of a plurality of classes corresponding to the acquired speech signal from the first model, and
determine entropy of the first model based on the determined probability distribution, wherein the confidence level of the first model is determined based at least in part on using the determined entropy.

### Claim 6 (depends on 5)

The AI device of claim 5, wherein the entropy is determined based on a difference between a largest probability value of the plurality of classes and 1, and wherein the confidence level of the first model is determined based at least in part on determining a reciprocal of the determined entropy.

### Claim 7 (depends on 1)

The AI device of claim 1, wherein the weight of the first model is determined based at least in part on using a weight estimation model stored in the memory.

### Claim 8 (depends on 7)

The AI device of claim 7,
wherein the weight estimation model is a neural network model trained by a deep learning algorithm using training data comprising a probability value of a noise signal for learning, the determined confidence level of the first model and labeling data indicating a correct answer weight of the first model, and
wherein the weight estimation model is trained to minimize a cost function corresponding to a difference between a particular weight inferred by the weight estimation model and the labeling data.

### Claim 9 (depends on 1)

The AI device of claim 1, wherein the determined weight of the first model varies according to each of a plurality of unit frames configuring the acquired speech signal.

### Claim 10 (depends on 1)

The AI device of claim 1, wherein the outputted speech recognition result corresponds to a word or a sentence corresponding to the acquired speech signal.

### Claim 11

A method of operating an AI device, the method comprising:
acquiring a speech signal;
determining a first probability that the acquired speech signal is classified as a noise signal;
determining a confidence level of a first model based at least in part on the acquired speech signal, wherein the first model determines associations between corresponding phonemes to the acquired speech signal;
determining a first weight of the first model based at least in part on the determined first probability and the determined confidence level of the first model; and
outputting a speech recognition result of the acquired speech signal using the determined first weight of the first model.

### Claim 12 (depends on 11)

The method of claim 11, further comprising determining, a second weight of a second model by subtracting the first weight of the first model from a predetermined value,
wherein the second model predicts a next word from a previous model, and
wherein the speech recognition result is determined based on the first weight of the first model and the second weight of the second model.

### Claim 13 (depends on 11)

The method of claim 11, wherein the first probability is determined based at least in part on determining, using a noise signal estimation model stored in a memory, a second probability that a corresponding portion of the acquired speech signal is classified as a noise signal.

### Claim 14 (depends on 13)

The method of claim 13,
wherein the noise signal estimation model is a neural network model trained by a deep learning algorithm using training data set comprising speech data for learning and labeling data indicating that the speech data is a noise signal, and
wherein the noise signal estimation model is trained to minimize a cost function corresponding to a difference between a third probability indicated by the labeling data and a fourth probability of being classified as the noise signal.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
determining a probability distribution of a plurality of classes corresponding to the acquired speech signal from the first model, and
determining entropy of the first model based on the determined probability distribution, wherein the confidence level of the first model is determined based at least in part on using the determined entropy.

### Claim 16 (depends on 15)

The method of claim 15, wherein the entropy is determined based on a difference between a largest probability value of the plurality of classes and 1, and wherein the confidence level of the first model is determined based at least in part on determining a reciprocal of the determined entropy.

### Claim 17 (depends on 11)

The method of claim 11, wherein the weight of the first model is determined based at least in part on using a weight estimation model stored in a memory.

### Claim 18 (depends on 17)

The method of claim 17,
wherein the weight estimation model is a neural network model trained by a deep learning algorithm using training data comprising a probability value of a noise signal for learning, the determined confidence level of the first model and labeling data indicating a correct answer weight of the first model, and
wherein the weight estimation model is trained to minimize a cost function corresponding to a difference between a particular weight inferred by the weight estimation model and the labeling data.

### Claim 19 (depends on 11)

The method of claim 11, wherein the determined weight of the first model varies according to each of a plurality of unit frames configuring the acquired speech signal.

### Claim 20

A non-transitory recording medium having recorded thereon a computer program for performing a method of operating an artificial intelligence (AI) device, the method comprising:
acquiring speech signal;
determining a first probability that the acquired speech signal is classified as a noise signal;
determining a confidence level of a first model based at least in part on the acquired speech signal, wherein the first model determines associations between corresponding phonemes to the acquired speech signal;
determining a first weight of the first model based at least in part on the determined first probability and the determined confidence level of the first model; and
outputting a speech recognition result of the acquired speech signal using the determined first weight of the first model.
