# US 2022/0036012 A1 · Deriving multiple meaning representations for an utterance in a natural language understanding (nlu) framework

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

- Number: US 2022/0036012 A1
- Document ID: US20220036012A1
- Status: Published application
- Kind: A1
- Application number: 17/451,405
- Filed: 2021-10-19
- Published: 2022-02-03
- Earliest claimed: 2019-07-02
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Edwin Sapugay; Gopal Sarda
- Web page: https://patentgrep.com/patent/US20220036012A1

## CPC

- G06F 16/3329: Natural language query formulation
- G06F 40/30: Semantic analysis
- G06F 40/205: Parsing
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/216: using statistical methods
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/295: Named entity recognition
- G06F 40/35: Discourse or dialogue representation
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F 40/268: Morphological analysis
- G06N 5/041: {Abduction}
- G10L 15/16: using artificial neural networks
- G10L 15/1822: {Parsing for meaning understanding}
- G10L 15/19: Grammatical context, e.g. disambiguation of the recognition hypotheses based on word sequence rules
- 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

The present approaches are generally related to an agent automation framework that is capable of extracting meaning from user utterances, such as requests received by a virtual agent (e.g., a chat agent), and suitably responding to these user utterances. In certain aspects, the agent automation framework includes a NLU framework and an intent-entity model having defined intents and entities that are associated with sample utterances. The NLU framework may include a meaning extraction subsystem designed to generate meaning representations for the sample utterances of the intent-entity model to construct an understanding model, as well as generate meaning representations for a received user utterance to construct an utterance meaning model. The disclosed NLU framework may include a meaning search subsystem that is designed to search the meaning representations of the understanding model to locate matches for meaning representations of the utterance meaning model.

## Claims

### Claim 1

An agent automation system, comprising:
a memory configured to store a natural language understanding (NLU) framework, wherein the NLU framework includes a part-of-speech (POS) component, a variability filter component, a parser component, and a final scoring and filtering component; and
a processor configured to execute instructions of the NLU framework to cause the agent automation system to perform actions comprising:
performing, via the POS component, part-of-speech (POS) tagging to generate a set of potential POS taggings for a set of utterances;
performing, via the variability filter component, variability filtering of the set of potential POS taggings to generate a set of final nominee POS taggings, wherein each of the set of final nominee POS taggings is distinct from one another;
parsing, via the parsing component, the set of final nominee POS taggings to generate a set of potential meaning representations for the set of final nominee POS taggings; and
selecting, via the final scoring and filtering component, a final set of meaning representations for the set of utterances from the set of potential meaning representations.

### Claim 2 (depends on 1)

The agent automation system of claim 1, wherein the NLU framework includes a vocabulary subsystem, and wherein the processor is configured to execute the instructions of the NLU framework to cause the agent automation system to perform actions comprising:
performing, via the vocabulary subsystem, vocabulary injection to generate the set of utterances based on an original utterance, wherein the set of utterances includes the original utterance and one or more re-expressions of the original utterance having different phraseology, different terminology, or a combination thereof.

### Claim 3 (depends on 2)

The agent automation system of claim 2, wherein the original utterance is a user utterance, and wherein the final set of meaning representations forms part of an utterance meaning model that defines a search key for a meaning search.

### Claim 4 (depends on 2)

The agent automation system of claim 2, wherein the original utterance is a sample utterance of an intent-entity model stored in the memory, and wherein the final set of meaning representations forms part of an understanding model that defines a search space for a meaning search.

### Claim 5 (depends on 1)

The agent automation system of claim 1, wherein the POS component, the variability filter component, the parser component, and the final scoring and filtering component are each implemented as plug-ins of the NLU framework.

### Claim 6 (depends on 1)

The agent automation system of claim 1, wherein the POS component, the parser component, or a combination thereof, is implemented as a machine-learning (ML)-based component that includes an artificial neural network.

### Claim 7 (depends on 1)

The agent automation system of claim 1, wherein, to perform POS tagging, the processor is configured to execute the instructions of the NLU framework to cause the agent automation system to perform actions comprising:
for each utterance of the set of utterances:
generating at least one potential POS tagging of the utterance;
determining a respective confidence score for the at least one potential POS tagging; and
selecting the at least one potential POS tagging for inclusion in the set of potential POS taggings in response to determining that the respective confidence score is greater than or equal to a predefined POS threshold value.

### Claim 8 (depends on 1)

The agent automation system of claim 1, wherein, to perform variability filtering, the processor is configured to execute the instructions of the NLU framework to cause the agent automation system to perform actions comprising:
calculating a variability score between a first potential POS tagging and a second potential POS tagging of the set of potential POS taggings; and
in response to the variability score being less that a predefined variation threshold value, selecting only one of the first potential POS tagging and the second potential POS tagging for inclusion in the set of final nominee POS taggings.

### Claim 9 (depends on 1)

The agent automation system of claim 1, wherein, to perform variability filtering, the processor is configured to execute the instructions of the NLU framework to cause the agent automation system to perform actions comprising:
calculating a tagging distance between each potential POS tagging of the set of potential POS taggings;
clustering the set of potential POS taggings into groups of potential POS taggings based on the tagging distance and a predefined variation threshold value; and
selecting a representative potential POS tagging for each of the groups of potential POS taggings for inclusion in the set of final nominee POS taggings.

### Claim 10 (depends on 1)

The agent automation system of claim 1, wherein, to parse the set of final nominee POS taggings, the processor is configured to execute the instructions of the NLU framework to cause the agent automation system to perform actions comprising:
for each POS tagging of the set of final nominee POS taggings:
generating at least one potential meaning representation based on the POS tagging;
determining a respective confidence score for the at least one potential meaning representation; and
selecting the at least one potential meaning representation for inclusion in the set of potential meaning representations in response to determining that the respective confidence score is greater than or equal to a predefined parse threshold value.

### Claim 11 (depends on 1)

The agent automation system of claim 1, wherein, to select the final set of meaning representations, the processor is configured to execute the instructions of the NLU framework to cause the agent automation system to perform actions comprising:
for each potential meaning representation of the set of potential meaning representations:
combining a POS tagging confidence score and a parsing confidence score associated with the potential meaning representation to calculate a respective final score of the potential meaning representation; and
selecting the potential meaning representation for inclusion in the final set of meaning representations in response to determining that the respective final score of the potential meaning representation is greater than or equal to a final scoring and filtering threshold value.

### Claim 12

A method of operating a natural language understanding (NLU) framework, comprising:
performing part-of-speech (POS) tagging to generate a set of potential POS taggings for a set of utterances;
performing variability filtering of the set of potential POS taggings to generate a set of final nominee POS taggings, wherein each of the set of final nominee POS taggings is distinct from one another;
parsing the set of final nominee POS taggings to generate a set of potential meaning representations for the set of final nominee POS taggings; and
selecting a final set of meaning representations for the set of utterances from the set of potential meaning representations.

### Claim 13 (depends on 12)

The method of claim 12, wherein each potential meaning representation of the set of potential meaning representations is a tree data structure that includes:
a particular potential POS tagging from the set of potential POS taggings that was generated for a particular utterance of the set of utterance; and
at least one vector representing a semantic meaning of at least one portion of the particular utterance.

### Claim 14 (depends on 12)

The method of claim 12, comprising:
before performing POS tagging, performing vocabulary injection to generate the set of utterances based on an original utterance by:
identifying one or more tokens of the original utterance that are present in a vocabulary model;
selecting one or more alternative tokens from the vocabulary model for the one or more tokens; and
generating one or more re-expressions of the original utterance, wherein the one or more re-expressions have at least a portion of the one or more tokens of the original utterance replaced with the one or more alternative tokens; and
selecting the original utterance and the one or more re-expressions of the original utterance for inclusion in the set of utterances.

### Claim 15 (depends on 12)

The method of claim 12, wherein performing part-of-speech (POS) tagging comprises:
for each utterance of the set of utterances:
generating at least one potential POS tagging of the utterance;
determining a respective confidence score for the at least one potential POS tagging; and
selecting the at least one potential POS tagging for inclusion in the set of potential POS taggings in response to determining that the respective confidence score is greater than or equal to a predefined POS threshold value.

### Claim 16 (depends on 12)

The method of claim 12, wherein performing variability filtering comprises:
calculating a variability score between two potential POS taggings of the set of potential POS taggings; and
in response to the variability score being less that a predefined variation threshold value, selecting only one of the two potential POS taggings for inclusion in the set of final nominee POS taggings.

### Claim 17 (depends on 12)

The method of claim 12, comprising:
calculating a respective final score for each potential meaning representation in the set of potential meaning representations, wherein the final set of meaning representations is selected based on the respective final score of each potential meaning representation.

### Claim 18 (depends on 17)

The method of claim 17, wherein calculating the respective final score and selecting the final set of meaning representations comprises:
for each potential meaning representation of the set of potential meaning representations:
combining a POS tagging confidence score and a parsing confidence score of the potential meaning representation to calculate the respective final score for the potential meaning representation; and
selecting the potential meaning representation for inclusion in the final set of meaning representations in response to determining that the final score is greater than or equal to a predefined final scoring and filtering threshold value.

### Claim 19 (depends on 12)

The method of claim 12, performing a meaning search using the final set of meaning representations, wherein the final set of meaning representations forms part of an utterance meaning model that defines a search key of the meaning search or forms part of an understanding model that defines a search space for the meaning search.

### Claim 20

A non-transitory, computer-readable medium storing instructions of a natural language understanding (NLU) framework executable by one or more processors of a computing system, the instructions comprising instructions to:
perform part-of-speech (POS) tagging of a set of utterances to generate a set of potential POS taggings for a set of utterances;
perform variability filtering of the set of potential POS taggings to generate a set of final nominee POS taggings, wherein each of the set of final nominee POS taggings is distinct from one another;
parse the set of final nominee POS taggings to generate a set of potential meaning representations for the set of final nominee POS taggings;
calculate a respective final score for each potential meaning representation in the set of potential meaning representations; and
select a final set of meaning representations for the set of utterances from the set of potential meaning representations based on the respective final score of each potential meaning representation in the set of potential meaning representations.
