# US 2020/0394269 A1 · Machine Learning Based Intent Resolution for a Digital Assistant

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

- Number: US 2020/0394269 A1
- Document ID: US20200394269A1
- Status: Published application
- Kind: A1
- Application number: 16/438,987
- Filed: 2019-06-12
- Published: 2020-12-17
- Earliest claimed: 2019-06-12
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Julian SEIBEL
- Web page: https://patentgrep.com/patent/US20200394269A1

## CPC

- G06F 40/216: using statistical methods
- G06F 40/30: Semantic analysis
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 20/00: Machine learning
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/20: Ensemble learning
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Disclosed herein are system, method, and computer program product embodiments for training a machine learning model and using the machine learning model to determine an intent associated with an utterance. An embodiment operates by receiving an utterance, determining a first vector based on the received utterance, and determining a second vector based on the received utterance. A third vector is generated by concatenating the first vector and the second vector. The third vector is used to perform at least one of classifying, using a machine learning model, the utterance to determine the intent associated with the utterance or training the machine-learning model.

## Claims

### Claim 1

A computer implemented method comprising:
receiving, by an intent resolution system, an utterance;
determining, by the intent resolution system, a first vector based on the received utterance;
determining, by the intent resolution system, a second vector based on the received utterance;
generating, by the intent resolution system, a third vector by concatenating the first vector and the second vector; and
using the third vector to classify, using a machine learning model, the utterance to determine an intent associated with the utterance.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining the first vector comprises using a term frequency-inverse document frequency (TF-IDF) model to generate the first vector based on the received utterance.

### Claim 3 (depends on 2)

The method of claim 2, wherein the determining the second vector comprises using a Global Vectors (GloVe) model to generate the second vector based on the received utterance.

### Claim 4 (depends on 1)

The method of claim 1, wherein the utterance comprises two words, wherein the first, second, and third vectors are determined for a first word of the two words, and wherein the method further comprises:
determining a fourth vector for a second word of the two words of the utterance;
determining a fifth vector for the second word of the two words; and
generating a sixth vector by concatenating the fourth vector and the fifth vector.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
generating an average vector by averaging the third vector and the sixth vector; and
using the average vector to perform at least one of:
training the machine learning model; or
the classifying, using the machine learning model, the utterance to determine the intent associated with the utterance.

### Claim 6 (depends on 5)

The method of claim 5, wherein the generating the average vector comprises generating a geometric center of the third vector and the sixth vector.

### Claim 7 (depends on 6)

The method of claim 6, wherein the machine learning model comprises a support-vector machine classifier.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
using the third vector to train the machine-learning model.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the receiving comprises receiving a plurality of training samples for training the machine learning model,
each of the plurality of training samples comprises a respective utterance and associated intent,
the respective utterances are different between the plurality of training samples, and
the associated intents are same between the plurality of training samples.

### Claim 10 (depends on 9)

The method of claim 9, wherein the training the machine learning model comprises categorizing different utterances for the associated intent.

### Claim 11 (depends on 9)

The method of claim 9, wherein the training the machine learning model comprises determining a new intent based on the plurality of training samples.

### Claim 12

A system comprising
a memory; and
at least one processor coupled to the memory and configured to:
determine, based on a received utterance, a first vector using a term frequency-inverse document frequency (TF-IDF);
determine, based on the received utterance, a second vector using a Global Vectors (GloVe) model;
generate a third vector by combining the first vector and the second vector; and
use the third vector to classify, using a machine learning model, the utterance to determine an intent associated with the utterance.

### Claim 13 (depends on 12)

The system of claim 12, wherein to generate the third vector, the processor is configured to concatenate the first vector and the second vector.

### Claim 14 (depends on 12)

The system of claim 12, wherein the utterance comprises two words, wherein the first, second, and third vectors are determined for a first word of the two words, and wherein the processor is further configured to:
determine a fourth vector for a second word of the two words of the utterance;
determine a fifth vector for the second word of the two words; and
generate a sixth vector by combining the fourth vector and the fifth vector.

### Claim 15 (depends on 14)

The system of claim 14, wherein the processor is further configured to:
generate an average vector by averaging the third vector and the sixth vector; and
use the average vector to perform at least one of:
training the machine learning model; or
the classifying, using the machine learning model, the utterance to determine the intent associated with the utterance,
wherein the machine learning model comprises a support-vector machine classifier.

### Claim 16 (depends on 15)

The system of claim 15, wherein to generate the average vector, the processor is further configured to generate a geometric center of the third vector and the sixth vector.

### Claim 17

A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:
determining, based on a received utterance, a first vector using a term frequency-inverse document frequency (TF-IDF);
determining, based on the received utterance, a second vector using a Global Vectors (GloVe) model;
generating a third vector by combining the first vector and the second vector; and
using the third vector to perform at least one of:
classifying, using a machine learning model, the utterance to determine an intent associated with the utterance; or
training the machine-learning model, wherein the machine learning model is used to determine the intent associated with the utterance,
wherein the machine learning model comprises a support-vector machine classifier.

### Claim 18 (depends on 17)

The device of claim 17, wherein the generating the third vector operations comprises concatenating the first vector and the second vector and wherein the utterance comprises at least one of speech or text.

### Claim 19 (depends on 17)

The device of claim 17, wherein the utterance comprises two words, wherein the first, second, and third vectors are determined for a first word of the two words, and wherein the operations further comprise:
determining a fourth vector for the second word of the two words of the utterance;
determining a fifth vector for the second word of the two words; and
generating a sixth vector by combining the fourth vector and the fifth vector.

### Claim 20 (depends on 18)

The device of claim 18, wherein the operations further comprise:
generating an average vector by averaging the third vector and the sixth vector, wherein the average vector comprises a geometric center of the third vector and the sixth vector; and
using the average vector to perform at least one of:
the training the machine learning model; or
the classifying, using the machine learning model, the utterance to determine the intent associated with the utterance.
