# US 11,120,801 B2 · Generating dialogue responses utilizing an independent context-dependent additive recurrent neural network

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

- Number: US 11,120,801 B2
- Document ID: US11120801B2
- Status: Granted
- Kind: B2
- Application number: 17/086,805
- Filed: 2020-11-02
- Published: 2021-02-18
- Granted: 2021-09-14
- Earliest claimed: 2018-09-17
- Assignees: Adobe Inc.
- Applicants: Adobe Inc.
- Inventors: Quan Tran; Trung Bui; Hung Bui
- Web page: https://patentgrep.com/patent/US11120801B2

## CPC

- G06N 5/04: Inference or reasoning models
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F 40/30: Semantic analysis
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/048: Activation functions
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/10: Interfaces, programming languages or software development kits, e.g. for simulating neural networks
- G10L 15/16: using artificial neural networks
- G10L 15/30: Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
- 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)

## Abstract

The present disclosure relates to systems, methods, and non-transitory computer readable media for generating dialogue responses based on received utterances utilizing an independent gate context-dependent additive recurrent neural network. For example, the disclosed systems can utilize a neural network model to generate a dialogue history vector based on received utterances and can use the dialogue history vector to generate a dialogue response. The independent gate context-dependent additive recurrent neural network can remove local context to reduce computation complexity and allow for gates at all time steps to be computed in parallel. The independent gate context-dependent additive recurrent neural network maintains the sequential nature of a recurrent neural network using the hidden vector output.

## Claims

### Claim 1

In a digital medium environment for providing end-to-end dialogue via a digital agent, a non-transitory computer readable medium comprising instructions that, when executed by at least one processor, cause a computing device to:
generate vector representations for one or more utterances received from a user;
determine global contextual information associated with the one or more utterances;
generate a dialogue history vector for the one or more utterances, based on the global contextual information and the vector representations of the one or more utterances, utilizing an independent-gate context-dependent additive recurrent neural network comprising:
a first gate that restricts input based on a current utterance; and
a second gate that restricts flow based on a previous utterance, wherein the first gate and the second gate are independent from each other; and
generate, based on the dialogue history vector, a dialogue response corresponding to the one or more utterances.

### Claim 2 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the first gate and the second gate are independent such that, for a given time step, an output of the first gate does not depend on an output of the second gate and the output of the second gate does not depend on the output of the first gate.

### Claim 3 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to compute the first and second gates in parallel.

### Claim 4 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the instructions, when executed by the at least one processor, cause the computing device to utilize the independent-gate context-dependent additive recurrent neural network to generate the dialogue history vector by generating, for each utterance of the one or more utterances, a corresponding hidden vector output.

### Claim 5 (depends on 4)

The non-transitory computer readable medium of claim 4, further comprising instructions that, when executed by the at least one processor, cause the computing device to combine, for each utterance, outputs of the first gate and the second gate to generate the corresponding hidden vector output.

### Claim 6 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the instructions, when executed by the at least one processor, cause the computing device to generate the vector representations of the one or more utterances by utilizing a vector representation model.

### Claim 7 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the instructions, when executed by the at least one processor, cause the computing device to determine the global contextual information by analyzing the one or more utterances to determine a sequence associated with the one or more utterances.

### Claim 8 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the instructions, when executed by the at least one processor, cause the computing device to generate the dialogue response by:
utilizing a position encoder to encode one or more candidate dialogue responses;
determining a distribution, conditioned on the dialogue history vector, of the one or more candidate dialogue responses; and
selecting a candidate dialogue response of the one or more candidate dialogue responses with a highest probability.

### Claim 9 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to receive the one or more utterances from the user as verbally spoken sequences of words.

### Claim 10 (depends on 1)

The non-transitory computer readable medium of claim 1, further comprising instructions that, when executed by the at least one processor, cause the computing device to generate the dialogue response utilizing the independent-gate context-dependent additive recurrent neural network to ignore local contextual information.

### Claim 11

A system comprising:
a memory device comprising an independent gate context-dependent additive recurrent neural network having a first gate and a second gate;
one or more server devices configured to cause the system to:
access a plurality of encodings of a plurality of utterances;
generate a first gate output, utilizing the first gate, by combining an encoding of a current utterance and global contextual information associated with the plurality of utterances, wherein the first gate output is generated independent from output from the second gate;
generate a second gate output, utilizing the second gate, by combining the encoding of the current utterance and the global contextual information associated with the plurality of utterances, wherein the second gate output is generated independent from output from the first gate; and
generate a hidden vector for the current utterance by combining the first gate output, the second gate output, and a hidden vector for a previous utterance.

### Claim 12 (depends on 11)

The system of claim 11, wherein the one or more server devices are further configured to cause the system to generate, in parallel, hidden vectors for each of the plurality of utterances utilizing the independent gate context-dependent additive recurrent neural network.

### Claim 13 (depends on 12)

The system of claim 12, wherein the one or more server devices are further configured to cause the system to generate a dialogue history vector by combining the hidden vectors for plurality of utterances.

### Claim 14 (depends on 13)

The system of claim 13 wherein the one or more server devices are further configured to cause the system to generate a response to the plurality of utterances based on the dialogue history vector.

### Claim 15 (depends on 14)

The system of claim 14, wherein the one or more server devices are further configured to cause the system to generate the response to the plurality of utterances by selecting the response from a plurality of candidate responses based on a distribution of the plurality of candidate responses conditioned on the dialogue history vector.

### Claim 16

In a digital medium environment for providing end-to-end dialogue via a digital agent, a computer-implemented method comprising:
generating vector representations for one or more utterances received from a user;
determining global contextual information associated with the one or more utterances;
generating a dialogue history vector for the one or more utterances utilizing an independent-gate context-dependent additive recurrent neural network by generating for each utterance:
a first gate output, utilizing a first gate, by combining a vector representation of a current utterance and the global contextual information, wherein the first gate output is generated independent from output from a second gate;
a second gate output, utilizing the second gate, by combining the vector representation of the current utterance and the global contextual information, wherein the second gate output is generated independent from output from the first gate;
generating a dialogue history vector from the outputs of the first gate and the second gate; and
generating, based on the dialogue history vector, a dialogue response to the one or more utterances.

### Claim 17 (depends on 16)

The method of claim 16, wherein generating the first gate output and the second gate output is performed without local contextual information.

### Claim 18 (depends on 17)

The method of claim 17, wherein generating the first gate output and the second gate output for each utterance is done in parallel.

### Claim 19 (depends on 18)

The method of claim 18, further comprising generating a hidden vector for each of the utterances by combining the first gate output and the second gate output for each utterance with a hidden vector for a previous utterance.

### Claim 20 (depends on 19)

The method of claim 19, further comprising generating the dialogue history vector from the outputs of the first gate and the second gate by combining the hidden vectors.
