# US 2020/0286466 A1 · Quantum technology for use with extracting intents from linguistics

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

- Number: US 2020/0286466 A1
- Document ID: US20200286466A1
- Status: Published application
- Kind: A1
- Application number: 16/881,231
- Filed: 2020-05-22
- Published: 2020-09-10
- Earliest claimed: 2018-05-23
- Assignees: Bank of America Corporation
- Applicants: Bank of America Corporation
- Inventors: Ramakrishna R. Yannam; Viju Kothuvatiparambil; Donatus Asumu
- Web page: https://patentgrep.com/patent/US20200286466A1

## CPC

- G06N 5/04: Inference or reasoning models
- G10L 15/10: using distance or distortion measures between unknown speech and reference templates
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 40/216: using statistical methods
- G06F 40/237: Lexical tools
- G06F 40/279: Recognition of textual entities
- G06F 40/30: Semantic analysis
- G06Q 10/10: Office automation; Time management
- G06Q 50/10: Services
- G10L 15/197: Probabilistic grammars, e.g. word n-grams
- G10L 15/28: Constructional details of speech recognition systems
- G06F 16/3344: {using natural language analysis}
- G06F 16/3347: {using vector based model}
- G10L 15/06: Creation of reference templates; Training of speech recognition systems, e.g. adaptation to the characteristics of the speaker's voice (G10L15/14 takes precedence)
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- G10L 15/1822: {Parsing for meaning understanding}
- G10L 15/19: Grammatical context, e.g. disambiguation of the recognition hypotheses based on word sequence rules
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Apparatus for mapping a user utterance onto a plurality of intents is provided. The apparatus may include an intent training database that includes a plurality of tokens and intents. The apparatus may include a processor. The processor may utilize a token-intent map to generate a token-row map and an intent-column map. The processor may map the plurality of tokens onto a token-intent matrix. The processor may generate a token-cognitive matrix, a cognitive-comprehension matrix and an intent-cognitive matrix from the decomposition. The cognitive-comprehension matrix may be the space of entanglement between the token-cognitive matrix and the intent-cognitive matrix. The processor may reduce the rank of the cognitive-comprehension matrix. The processor may compute a plurality of token vectors from a computation of the token-cognitive matrix and the cognitive-comprehension matrix. The processor may compute a plurality of intent-cognitive vectors from a computation of the cognitive-comprehension matrix and the intent-cognitive matrix.

## Claims

### Claim 1

A three-stage method for mapping a user utterance onto a plurality of intents, the method comprising:
at a first stage, said first stage comprising training a system to determine an intent based on an utterance:
receiving intent training data at an intent training database, the intent training data comprising a plurality of training utterances and a plurality of intents;
canonicalizing the plurality of training utterances into a plurality of tokens, said tokens comprising a plurality of unigrams, bigrams and trigrams;
forming a token-intent map, said token-intent map comprising a plurality of intents as column identifiers and a plurality of tokens as row identifiers;
generating a token-row map based on the token-intent map, said token-row map comprising each token and the row in which the token appears in the intent training database;
generating an intent-column map based on the token-intent map, said intent-column map comprising each intent and the column in which the intent appears;
mapping, using the token-row map and the intent-column map, the plurality of tokens on a token-intent matrix, said token-intent matrix comprising each token, each intent and a score for each token relative to each intent, said score being based on the data included in the intent training database;
executing a decomposition on the token-intent matrix;
generating, from the decomposition, a token-cognitive matrix (U-matrix, a cognitive-comprehension matrix (S-matrix and an intent-cognitive matrix (V-matrix, said cognitive-comprehension matrix being the space of entanglement between the token-cognitive matrix and the intent-cognitive matrix;
reducing the rank of the token-cognitive matrix;
computing a plurality of token vectors from a multiplication of the token-cognitive matrix and the cognitive-comprehension matrix; computing a plurality of intent-cognitive vectors from a multiplication of the cognitive-comprehension matrix and the intent-cognitive matrix;
at a second stage, said second stage comprising determining the intent of an utterance at runtime:
receiving an utterance from a user;
canonicalizing the utterance into a plurality of utterance tokens;
comparing each of the utterance tokens to the plurality of token vectors;
retrieving the token vectors that match the plurality of utterance tokens;
calculating a centroid token vector from the retrieved token vectors;
executing a distance computation between the centroid token vector and each of the plurality of intent-cognitive vectors;
generating a scalar value from each distance computation between the centroid token vector and the plurality of intent-cognitive vectors;
ordering a plurality of intent-cognitive vectors based on each intent-cognitive vector's associated scalar value; and
presenting a predetermined number of intent-cognitive vectors with the highest scalar values to an ensemble processor:
at a third stage, said third stage comprising processing by the ensemble processor:
arranging, by the ensemble processor, a plurality of intents associated with the intent-cognitive vectors;
presenting the plurality of intents to the user;
retrieving one or more answers associated with the plurality of intents; and
displaying the one or more answers to the user.

### Claim 2

(canceled)

### Claim 3

(canceled)

### Claim 4 (depends on 1)

The method of claim 1, wherein the decomposition is singular value decomposition.

### Claim 5 (depends on 1)

The method of claim 1, wherein the score is the word size of the token multiplied by the amount of times the token appears in the training data for the identified intent.

### Claim 6 (depends on 1)

The method of claim 1, wherein the distance computation is a cosine distance computation.

### Claim 7 (depends on 1)

The method of claim 1, wherein the distance computation is the dot product of the matrix representing each intent, and the vector that represents the centroid of the tokens in the given utterance, divided by the Euclidean distance which is computed as the square root of the sum of the squares of the difference between corresponding vector sums of the squares of the difference between corresponding vector dimensions of the utterance and each intent.

### Claim 8

A three-stage method for mapping a user utterance onto a plurality of intents, the method comprising:
at a first stage, said first stage comprising training a system to determine an intent based on an utterace:
receiving intent training data at an intent training database, the intent training data comprising a plurality of training utterances and a plurality of intents, together with a relationship between each intent, included in the plurality of intents, and the plurality of training utterances;
canonicalizing the plurality of training utterances into a plurality of tokens, said tokens comprising a plurality of unigrams, bigrams and trigrams;
forming a token-intent map, said token-intent map comprising a plurality of intents as column identifiers and a plurality of tokens as row identifiers;
generating a token-row map based on the token-intent map, said token-row map comprising each token and ordinal value of the row in which the token appears in the intent training database;
generating an intent-column map based on the token-intent map, said intent-column map comprising each intent and the column in which the intent appears;
mapping, using the token-row map and the intent-column map, the plurality of tokens on a token-intent matrix, said token-intent matrix comprising each token, each intent and a score for each token relative to each intent, said score being based on the data included in the intent training database;
executing a decomposition on the token-intent matrix;
generating, from the decomposition, a token-cognitive matrix, a cognitive-comprehension matrix and an intent-cognitive matrix, said cognitive-comprehension matrix being the space of entanglement between the token-cognitive matrix and the intent-cognitive matrix;
reducing the rank of the cognitive-comprehension matrix;
computing a plurality of token vectors from a computation of the token-cognitive matrix and the cognitive-comprehension matrix; and
computing a plurality of intent-cognitive vectors from a computation of the cognitive-comprehension matrix and the intent-cognitive matrix;
at a second stage, said second stage comprising determining the intent of an utterance at runtime:
receiving an utterance from a user;
canonicalizing the utterance into a plurality of utterance tokens;
comparing each of the utterance tokens to the plurality of token vectors;
retrieving the token vectors that match the plurality of utterance tokens;
calculating a centroid token vector from the retrieved token vectors;
executing a distance computation between the centroid token vector and each of the plurality of intent-cognitive vectors;
generating a scalar value from each distance computation between the centroid token vector and the plurality of intent-cognitive vectors;
ordering a plurality of intent-cognitive vectors based on each intent-cognitive vector's associated scalar value; and
presenting a predetermined number of intent-cognitive vectors with the highest scalar values to an ensemble processor;
at a third stage, said third stage comprising processing by the ensemble processor:
arranging, by the ensemble processor, a plurality of intents associated with the intent-cognitive vectors;
presenting the plurality of intents to the user;
retrieving one or more answers associated with the plurality of intents; and
displaying the one or more answers to the user.

### Claim 9

(canceled)

### Claim 10 (depends on 8)

The method of claim 8, wherein the decomposition is singular value decomposition.

### Claim 11 (depends on 8)

The method of claim 8, wherein the score is the word size of the token multiplied by the amount of times the token appears in the training data for the identified intent.

### Claim 12 (depends on 8)

The method of claim 8, wherein the distance computation is a cosine distance computation.

### Claim 13

three-staged apparatus for mapping a user utterance onto a plurality of intents, the apparatus comprising:
a first stage comprising:
an intent training database comprising intent training data, said intent training data comprising a plurality of training utterances and intents;
a processor configured to:
canonicalize the plurality of training utterances into a plurality of tokens, the tokens comprising a plurality of unigrams, bigrams and trigrams;
generate a token-intent map, said token-intent map comprising a plurality of intents as column identifiers and a plurality of tokens as row identifiers;
generate a token-row map based on the token-intent map, said token-row map comprising each token and the row in which the token appears in the intent training database;
generate an intent-column map based on the token-intent map, said intent-column map comprising each intent and the column in which the intent appears;
map, using the token-row map and the intent-column map, the plurality of tokens on a token-intent matrix, said token-intent matrix comprising each token, each intent and a score for each token relative to each intent, said score being based on the data included in the intent training database;
execute a decomposition on the token-intent matrix;
generate, from the decomposition, a token-cognitive matrix (U-matrix), a cognitive-comprehension matrix (S-matrix) and an intent-cognitive matrix (V-matrix), said cognitive-comprehension matrix being the space of entanglement between the token-cognitive matrix and the intent-cognitive matrix;
reduce the rank of the token-cognitive matrix;
compute a plurality of token vectors from a multiplication of the token-cognitive matrix and the cognitive-comprehension matrix;
compute a plurality of intent-cognitive vectors from a multiplication of the cognitive-comprehension matrix and the intent-cognitive matrix;
a second stage comprising:
a second processor operable to:
receive an utterance from a user;
canonicalize the utterance into a plurality of utterance tokens;
compare each of the utterance tokens to the plurality of token vectors;
retrieve the token vectors that match the plurality of utterance tokens;
calculate a centroid token vector from the retrieved token vectors;
execute a distance computation between the centroid token vector and each of the plurality of intent-cognitive vectors;
generate a scalar value from each distance computation between the centroid token vector and the plurality of intent-cognitive vectors;
order a plurality of intent-cognitive vectors based on each intent-cognitive vector's associated scalar value; and
present a predetermined number of intent-cognitive vectors with the highest scalar values to an ensemble processor;
a third stage comprising:
the ensemble processor, said ensemble processor operable to:
arrange a plurality of intents associated with the intent-cognitive vectors;
present the plurality of intents to the user;
retrieve one or more answers associated with the plurality of intents; and
display the one or more answers to the user.

### Claim 14

(canceled)

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein the decomposition is singular value decomposition.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein the score is the word size of the token multiplied by the amount of times the token appears in the training data for the identified intent.

### Claim 17 (depends on 13)

The apparatus of claim 13, wherein the distance computation is a cosine distance computation.
