# US 2022/0284049 A1 · Natural language understanding clarifications

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

- Number: US 2022/0284049 A1
- Document ID: US20220284049A1
- Status: Published application
- Kind: A1
- Application number: 17/193,644
- Filed: 2021-03-05
- Published: 2022-09-08
- Earliest claimed: 2021-03-05
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Janara Christensen; Siddharth Gopal; Manaal Faruqui
- Web page: https://patentgrep.com/patent/US20220284049A1

## CPC

- G06F 16/3329: Natural language query formulation
- G06F 16/3323: {using document space presentation or visualization, e.g. category, hierarchy or range presentation and selection}
- G06F 16/3344: {using natural language analysis}
- G06F 16/335: Filtering based on additional data, e.g. user or group profiles (filtering in web context G06F16/9535, G06F16/9536)
- G06F 16/337: {Profile generation, learning or modification}
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques are disclosed that enable clarifying whether a user query corresponds to a candidate intent when an intent score (indicating the probability the user query corresponds to the candidate intent) fails to satisfy a threshold likelihood value but is “close” to satisfying the threshold likelihood value. For example, the intent score can fail to satisfy the threshold likelihood value but can satisfy an additional threshold likelihood value. Various implementations include generating the candidate intent and corresponding intent score by processing a natural language user query using a natural language understanding (NLU) model.

## Claims

### Claim 1

A method implemented by one or more processors, the method comprising:
identifying a user query, generated by a user of an automated assistant client of a computing device;
processing the user query using a natural language understanding model to generate (a) a candidate intent and (b) an intent score indicating the probability the candidate intent corresponds to the user query;
determining whether the intent score satisfies one or more conditions, wherein determining whether the intent score satisfies the one or more conditions includes determining whether the intent score satisfies a threshold likelihood value;
in response to determining the intent score satisfies the threshold likelihood value, causing the automated assistant client to perform one or more actions based on the candidate intent; and
in response to determining the intent score fails to satisfy the threshold likelihood value, and determining the intent score satisfies an additional threshold likelihood value, where the additional threshold likelihood value is less than the threshold likelihood value:
determining whether the candidate intent corresponds to the user query; and
in response to determining the candidate intent corresponds to the user query, causing the automated assistant to perform the one or more actions based on the candidate intent.

### Claim 2 (depends on 1)

The method of claim 1, wherein the intent score corresponds to a distance in an embedding space between an embedding space representation of the user query and an embedding space representation of the candidate intent.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining whether the intent score fails to satisfy the threshold likelihood value and satisfies the additional threshold likelihood value comprises:
determining the distance in the embedding space fails to satisfy the threshold likelihood value; and
determining the distance in the embedding space satisfies the additional threshold likelihood value.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining whether the candidate intent corresponds to the user query comprises:
rendering output for the user, via the computing device, wherein the output includes a prompt for the user to determine whether the candidate intent corresponds to the user query; and
receiving input, from the user, responsive the rendered output.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
in response to receiving input, from the user, responsive to the rendered output, indicating the candidate intent corresponds to the user query:
generating a mapping between the embedding space representation of the candidate intent and the embedding space representation of the user query.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
generating a training instance for the natural language understanding model based on the user query and the candidate intent.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
prior to retraining the natural language understanding model based on the generated training instance:
receiving an additional instance of the user query for the user or an additional user of the automated assistant of the computing device;
processing the additional instance of the user query using the natural language understanding model to generate (a) the candidate intent and (b) the intent score indicating the probability the candidate intent corresponds to the user query; and
determining whether the candidate intent corresponds to the user query based on the mapping between the embedding space representation of the candidate intent and the embedding space representation of the user query.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
retraining the natural language understanding model based on (a) the generated training instance or (b) the generated training instance and one or more additional training instances; and
based on retraining the natural language understanding model, purging the mapping between the embedding space representation of the candidate intent and the embedding space representation of the user query.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
subsequent to retraining the natural language understanding model, confirming the purging of the mapping between the embedding space representation of the candidate intent and the embedding space representation of the user query.

### Claim 10 (depends on 5)

The method of claim 5, wherein the mapping between the embedding space representation of the candidate intent and the embedding space representation of the user query is a personalized mapping stored in association with a user profile associated with the user.

### Claim 11 (depends on 5)

The method of claim 5, wherein the mapping between the embedding space of the representation of the candidate intent and the embedding space representation of the user query is a global mapping applicable to a plurality of users including the user.

### Claim 12 (depends on 1)

The method of claim 1, wherein determining whether the candidate intent corresponds to the user query comprises:
determining whether a count of previous occurrences of the candidate intent corresponding to the user query satisfies one or more further conditions, wherein determining whether the count of previous occurrences of the candidate intent corresponding to the user query satisfies a further threshold likelihood value.

### Claim 13 (depends on 1)

The method of claim 1, wherein determining whether the candidate intent corresponds to the user query comprises:
determining whether the candidate intent corresponds to the user query based on a feedback table.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
identifying the user who generated the user query; and
wherein determining whether the candidate intent corresponds to the user query based on the feedback table comprises:
identifying a personalized feedback table stored in association with a user profile corresponding to the identified user; and
determining whether the candidate intent corresponds to the user query based on the personalized feedback table.

### Claim 15

A non-transitory computer readable medium configured to store instructions that, when executed by one or more processors, cause the one or more processors to perform operations that include:
identifying a user query, generated by a user of an automated assistant client of a computing device;
processing the user query using a natural language understanding model to generate (a) a candidate intent and (b) an intent score indicating the probability the candidate intent corresponds to the user query;
determining whether the intent score satisfies one or more conditions, wherein determining whether the intent score satisfies the one or more conditions includes determining whether the intent score satisfies a threshold likelihood value;
in response to determining the intent score satisfies the threshold likelihood value, causing the automated assistant client to perform one or more actions based on the candidate intent; and
in response to determining the intent score fails to satisfy the threshold likelihood value, and determining the intent score satisfies an additional threshold likelihood value, where the additional threshold likelihood value is less than the threshold likelihood value:
determining whether the candidate intent corresponds to the user query; and
in response to determining the candidate intent corresponds to the user query, causing the automated assistant to perform the one or more actions based on the candidate intent.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the intent score corresponds to a distance in an embedding space between an embedding space representation of the user query and an embedding space representation of the candidate intent.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein determining whether the intent score fails to satisfy the threshold likelihood value and satisfies the additional threshold likelihood value comprises:
determining the distance in the embedding space fails to satisfy the threshold likelihood value; and
determining the distance in the embedding space satisfies the additional threshold likelihood value.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein determining whether the candidate intent corresponds to the user query comprises:
rendering output for the user, via the computing device, wherein the output includes a prompt for the user to determine whether the candidate intent corresponds to the user query; and
receiving input, from the user, responsive the rendered output.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the operations further include:
in response to receiving input, from the user, responsive to the rendered output, indicating the candidate intent corresponds to the user query:
generating a mapping between the embedding space representation of the candidate intent and the embedding space representation of the user query.

### Claim 20

A system comprising:
one or more processors; and
memory configured to store instructions that, when executed by one or more processors, cause the one or more processors to perform operations that include:
identifying a user query, generated by a user of an automated assistant client of a computing device;
processing the user query using a natural language understanding model to generate (a) a candidate intent and (b) an intent score indicating the probability the candidate intent corresponds to the user query;
determining whether the intent score satisfies one or more conditions, wherein determining whether the intent score satisfies the one or more conditions includes determining whether the intent score satisfies a threshold likelihood value;
in response to determining the intent score satisfies the threshold likelihood value, causing the automated assistant client to perform one or more actions based on the candidate intent; and
in response to determining the intent score fails to satisfy the threshold likelihood value, and determining the intent score satisfies an additional threshold likelihood value, where the additional threshold likelihood value is less than the threshold likelihood value:
determining whether the candidate intent corresponds to the user query; and
in response to determining the candidate intent corresponds to the user query, causing the automated assistant to perform the one or more actions based on the candidate intent.
