# US 2019/0303439 A1 · Method and system of generating dialogue responses for users in real-time

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

- Number: US 2019/0303439 A1
- Document ID: US20190303439A1
- Status: Published application
- Kind: A1
- Application number: 15/988,493
- Filed: 2018-05-24
- Published: 2019-10-03
- Earliest claimed: 2018-03-28
- Assignees: Wipro Limited
- Applicants: Wipro Limited
- Inventors: Meenakshi Sundaram Murugeshan; Balaji Jagan
- Web page: https://patentgrep.com/patent/US20190303439A1

## CPC

- G06F 40/30: Semantic analysis
- G06F 40/35: Discourse or dialogue representation
- G06N 3/006: based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/041: {Abduction}
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

The present disclosure discloses method and response generation system for generating dialogue responses for users in real-time. The response generation system receives pair of utterance from one or more sources, where pair of utterance comprise conversation between user and computing device, identifies one or more labels from utterance of pair of utterance that corresponds to user, where one or more labels exhibit relationship. One or more intent corresponding to each of identified one or more labels is determined, where one or more intent is restricted according to current context of utterance of user. A polarity of each of one or more intent is determined based on pre-defined scale comprising left bound and right bound and one or more responses for user are generated until determined polarity for each of labels from identified one or more labels is within pre-defined distance of left bound or right bound of pre-defined scale.

## Claims

### Claim 1

A method of generating dialogue responses for users in real-time, the method comprising:
receiving, by a response generation system, a pair of utterance from a dialogue system of a plurality of dialogue systems, wherein the pair of utterance comprise conversation between a user and the dialogue system;
identifying, by the response generation system, one or more labels from an utterance of the pair of utterance that corresponds to the user, wherein the one or more labels exhibit a relationship;
determining, by the response generation system, one or more intents corresponding to each of the identified one or more labels, wherein the one or more intents are restricted according to a current context of the utterance of the user;
determining, by the response generation system, a polarity of each of the determined one or more intents on a pre-defined scale comprising a left bound and a right bound; and
generating, by the response generation system, one or more responses for the user until the determined polarity for each of the labels, from the identified one or more labels, bound by the relationship, is within a pre-defined distance of the left bound or the right bound of the pre-defined scale.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the pair of utterance comprises one or more instructions and clarification questions from the computing device and corresponding response provided by the user.

### Claim 3 (depends on 1)

The method of claim 1, wherein the identification of the one or more labels is based on a decision tree comprising one or more nodes indicative of a label or an expected state of the label.

### Claim 4 (depends on 1)

The method of claim 1, wherein the determination of the one or more intents is based on:
identifying one or more frames from the utterance of the user, wherein each of the one or more frames correspond to the identified one or more labels;
identifying one or more pre-defined frame elements corresponding to each of the identified one or more frames, wherein each frame element is pre-annotated with a pre-defined set of frames specific to a domain;
determining an expected state information corresponding to each of the identified one or more frame elements, wherein the expected state information is indicative of the one or more intents of the user with respect to the identified one or more labels.

### Claim 5 (depends on 4)

The method of claim 4, wherein the pre-annotation of the one or more frame elements is performed based on:
enriching each frame element of the one or more frame elements based on manual inputs received from a user; and
determining prominent frame elements characterizing the domain based on a spectral clustering and a re-ranking of each frame element.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein the response for the user comprise one or more clarification questions for the user.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein each of the one or more labels corresponds to a label from a plurality of predetermined labels stored in a database.

### Claim 8 (depends on 1)

The method of claim 1, wherein the left bound is indicative of negative polarity of an expected state of the identified one or more label, and the right bound is indicative of a positive polarity of the expected state of the identified one or more labels.

### Claim 9

A response generation system for generating dialogue responses for users in real-time, comprising:
a processor; and
a memory communicatively coupled to the processor, wherein the memory stores processor instructions, which, on execution, causes the processor to:
receive a pair of utterance from a dialogue system of a plurality of dialogue systems, wherein the pair of utterance comprise conversation between a user and the dialogue system;
identify one or more labels from an utterance of the pair of utterance that corresponds to the user, wherein the one or more labels exhibit a relationship;
determine one or more intents corresponding to each of the identified one or more labels, wherein the one or more intents are restricted according to a current context of the utterance of the user;
determine a polarity of each of the determined one or more intents on a pre-defined scale comprising a left bound and a right bound; and
generate one or more responses for the user until the determined polarity for each of the labels, from the identified one or more labels, bound by the relationship, is within a pre-defined distance of the left bound or the right bound of the pre-defined scale.

### Claim 10 (depends on 9)

The response generation system as claimed in claim 9, wherein the pair of utterance comprises one or more instructions and clarification questions from the computing device and corresponding response provided by the user.

### Claim 11 (depends on 9)

The response generation system of claim 9, wherein the identification of the one or more labels is based on a decision tree comprising one or more nodes indicative of a label or an expected state of the label.

### Claim 12 (depends on 9)

The response generation system of claim 9, wherein the determination of the one or more intents is based on:
identifying one or more frames from the utterance of the user, wherein each of the one or more frames correspond to the identified one or more labels;
identifying one or more pre-defined frame elements corresponding to each of the identified one or more frames, wherein each frame element is pre-annotated with a pre-defined set of frames specific to a domain;
determining an expected state information corresponding to each of the identified one or more frame elements, wherein the expected state information is indicative of the one or more intents of the user with respect to the identified one or more labels.

### Claim 13 (depends on 12)

The response generation system of claim 12, wherein the pre-annotation of the one or more frame elements is performed based on:
enriching each frame element of the one or more frame elements based on manual inputs received from a user; and
determining prominent frame elements characterizing the domain based on a spectral clustering and a re-ranking of each frame element.

### Claim 14 (depends on 9)

The response generation system as claimed in claim 9, wherein the response for the user comprise one or more clarification questions for the user.

### Claim 15 (depends on 9)

The response generation system as claimed in claim 9, wherein each of the one or more labels corresponds to a label from a plurality of predetermined labels stored in a database.

### Claim 16 (depends on 9)

The response generation system of claim 9, wherein the left bound is indicative of negative polarity of an expected state of the identified one or more label, and the right bound is indicative of a positive polarity of the expected state of the identified one or more labels.

### Claim 17

A non-transitory computer readable medium including instructions for generating dialogue responses for users in real-time stored thereon that when processed by at least one processor cause a response generation system perform operation comprising:
receiving a pair of utterance from a dialogue system of a plurality of dialogue systems, wherein the pair of utterance comprise conversation between a user and the dialogue system;
identifying one or more labels from an utterance of the pair of utterance that corresponds to the user, wherein the one or more labels exhibit a relationship;
determining one or more intents corresponding to each of the identified one or more labels, wherein the one or more intents are restricted according to a current context of the utterance of the user;
determining a polarity of each of the determined one or more intents on a pre-defined scale comprising a left bound and a right bound; and
generating one or more responses for the user until the determined polarity for each of the labels, from the identified one or more labels, bound by the relationship, is within a pre-defined distance of the left bound or the right bound of the pre-defined scale.

### Claim 18 (depends on 17)

The medium as claimed in claim 17, wherein the pair of utterance comprises one or more instructions and clarification questions from the computing device and corresponding response provided by the user.

### Claim 19 (depends on 17)

The medium as claimed in claim 17, wherein the instruction causes the processor to identify the one or more labels based on a decision tree comprising one or more nodes indicative of a label or an expected state of the label.

### Claim 20 (depends on 17)

The medium as claimed in claim 17, wherein the instruction causes the processor to determine the one or more intents by:
identifying one or more frames from the utterance of the user, wherein each of the one or more frames correspond to the identified one or more labels;
identifying one or more pre-defined frame elements corresponding to each of the identified one or more frames, wherein each frame element is pre-annotated with a pre-defined set of frames specific to a domain;
determining an expected state information corresponding to each of the identified one or more frame elements, wherein the expected state information is indicative of the one or more intents of the user with respect to the identified one or more labels.
