PatentRef

Data version 20261117.2, as of 2026-11-17. Free beta.

US 10860629

Task-oriented dialog systems utilizing combined supervised and reinforcement learning

Granted 2020-12-08 · Filed 2018-04-02 · Application 15/943,287 · Utility · Kind B1

Assignee as printed
  • Amazon Technologies, Inc., Seattle, WA (US)
Inventors
Rashmi Gangadharaiah, San Jose, CA (US); Balakrishnan Narayanaswamy, San Jose, CA (US); Charles Elkan, Seattle, WA (US)
CPC, current
G06F16/3329; G06N3/088; G06F16/3347; G06N3/006; G06N3/044; G06N3/0442; G06N3/0455; G06N3/09; G06N3/092; G06N20/00; H04L51/02

Abstract

Techniques for intelligent task-oriented multi-turn dialog system automation are described. A seq2seq ML model can be trained using a corpus of training data and a loss function that is based at least in part on a distance to a goal. The seq2seq ML model can be provided a user utterance as an input, and a vector of a plurality of values output by a plurality of hidden units of a decoder of the seq2seq ML model can be used to select one or more candidate responses to the user utterance via a nearest neighbor algorithm. In some embodiments, the specially adapted seq2seq ML model can be trained using unsupervised learning, and can be adapted to select intelligent, coherent agent responses that move a task-oriented dialog toward its completion.

Claims

18 claims · independent 1, 4 and 13

The claims as the USPTO long-text file prints them (text data version 20261117.3), split by PatentRef's claim parser (structure version 2): each claim's opening words, then one row for each element with its character offsets in the claim text, and the dependent claims under the claim they refer to. The split describes the text; it is not a reading of it. Each claim and each element has a link of its own. How the links are made.

Claim 1

Independent claim.

1. A computer-implemented method comprising:

  1. Claim 1, element e1receiving a chat message provided by a user within a multi-turn chat dialog between the user and an agent; 45–150
  2. Claim 1, element e2inputting at least the chat message or a representation of the chat message to a sequence-to-sequence (seq2seq) machine learning (ML) model, 152–291
  3. Claim 1, element e3wherein the seq2seq ML model was retrained using a reward function that is based at least in part on a distance between a predicted response value and a goal value in a latent space, 293–474
  4. Claim 1, element e4wherein the seq2seq ML model is at least partially based on an encoder-decoder architecture and comprises at least an encoder and at least a decoder, and wherein the goal value for each training sample used to train the seq2seq ML model is based at least in part on an output of the encoder and the decoder at a final turn of a training chat dialog that the training sample is from; 476–857
  5. Claim 1, element e5obtaining a vector of a plurality of values generated by the seq2seq ML model, the plurality of values including a first embedding from a current turn of the chat dialog and a second embedding from a previous turn of the chat dialog; 859–1091
  6. Claim 1, element e6selecting one or more candidate responses to the chat message based on the obtained vector, the selecting comprising: 1093–1209
  7. Claim 1, element e7performing a nearest neighbor search using the obtained vector to identify one or more other vectors, the one or more other vectors corresponding to one or more chat messages from one or more other chat dialogs; and 1211–1421
  8. Claim 1, element e8selecting, as the one or more candidate responses, the one or more chat messages; and 1427–1507
  9. Claim 1, element e9providing the one or more candidate responses to the user or the agent.1513–1583
2 dependent claims: 2 and 3 (2, 3 on claim 1)

Claim 2

Depends on claim 1.

2. The computer-implemented method of claim 1 , wherein

  1. Claim 2, element e1providing the one or more candidate responses to the user or the agent comprises: 56–136
  2. Claim 2, element e2transmitting the one or more candidate responses to an agent system to be presented to the agent via a graphical user interface (GUI).138–271

Claim 3

Depends on claim 1.

3. The method of claim 1 , wherein

  1. Claim 3, element e1the first embedding comprises an output of the encoder of the current turn of the chat dialog, and wherein the second embedding comprises an output of the decoder from the previous turn of the chat dialog.35–239

Claim 4

Independent claim.

4. A computer-implemented method comprising:

  1. Claim 4, element e1receiving a message from a user at an endpoint of a web-based service, 45–114
  2. Claim 4, element e2wherein the message is part of a multi-turn chat dialog between the user and an agent; 116–201
  3. Claim 4, element e3providing data based on the message to a machine learning (ML) model to generate a first embedding, the ML model comprising at least an encoder and a decoder, 203–360
  4. Claim 4, element e4wherein the ML model was retrained using a loss function based at least in part on a distance between a predicted response value and a goal value in a latent space, 362–525
  5. Claim 4, element e5wherein the goal value for each training sample used to train the ML model is based at least in part on an output of the encoder or an output of the decoder at a final turn of a training chat dialog that the training sample is from; 527–758
  6. Claim 4, element e6selecting one or more responses to the message, the selecting comprising: 760–832
  7. Claim 4, element e7obtaining a vector of a plurality of values including the first embedding and also a second embedding generated by the ML model during a previous turn of the chat dialog, identifying one or more other vectors based on a nearest neighbor search using the vector, and selecting, as the one or more responses, one or more chat messages corresponding to the identified one or more other vectors; and 834–1224
  8. Claim 4, element e8providing, by the web-based service, the one or more responses to the user or to an agent.1230–1319
8 dependent claims: 5 to 12 (5, 6, 7, 9, 10, 11, 12 on claim 4; 8 on 7)

Claim 5

Depends on claim 4.

5. The computer-implemented method of claim 4 , wherein

  1. Claim 5, element e1the one or more responses are or are based on responses from one or more other chat dialogs.56–147

Claim 6

Depends on claim 4.

6. The computer-implemented method of claim 4 , wherein

  1. Claim 6, element e1selecting the one or more chat messages comprises selecting a plurality of agent chat messages as the one or more responses.56–179

Claim 7

Depends on claim 4.

7. The computer-implemented method of claim 4 , wherein

  1. Claim 7, element e1providing the one or more responses comprises: 56–101
  2. Claim 7, element e2sending the one or more responses to an agent system to be presented via a graphical user interface (GUI) to the agent, 103–221
  3. Claim 7, element e3wherein the one or more responses are selectable by the agent to indicate a response to be sent to an electronic device of the user that provided the message as part of the chat dialog.223–407

Claim 8

Depends on claim 7.

8. The computer-implemented method of claim 7 , wherein

  1. Claim 8, element e1the selected one or more responses comprise a plurality of responses that are presented via the GUI to the agent, 56–168
  2. Claim 8, element e2wherein the GUI allows the agent to select one of the plurality of responses to be provided to the user as a response to the message.170–302

Claim 9

Depends on claim 4.

9. The computer-implemented method of claim 4 , further comprising:

  1. Claim 9, element e1causing one of the selected one or more responses to be sent to an electronic device of the user that provided the message.68–190

Claim 10

Depends on claim 4.

10. The computer-implemented method of claim 4 , wherein

  1. Claim 10, element e1the ML model comprises an initial sequence to sequence (seq2seq) ML model that was re-trained to maximize a weighted sum of a negative cross entropy and a negative distance to a final goal.57–245

Claim 11

Depends on claim 4.

11. The computer-implemented method of claim 4 , wherein:

  1. Claim 11, element e1the message is an alphanumeric message or an audio message; 58–116
  2. Claim 11, element e2the message is a second or later message made by the user within the multi-turn chat dialog; and 118–209
  3. Claim 11, element e3the one or more responses are selected based at least in part on two or more of the message, a previous message made by the user within the multi-turn dialog, or a previous response made by the agent in the multi-turn dialog.215–439

Claim 12

Depends on claim 4.

12. The method of claim 4 , wherein

  1. Claim 12, element e1the first embedding comprises an output of the encoder of a current turn of the chat dialog, and wherein the second embedding comprises an output of the decoder from the previous turn of the chat dialog.36–238

Claim 13

Independent claim.

13. A system comprising:

  1. Claim 13, element e1an agent system implemented by a first one or more electronic devices to engage in an agent-user chat dialog; and 25–133
  2. Claim 13, element e2a chatbot system implemented by a second one or more electronic devices, the chatbot system including instructions that upon execution cause the chatbot system to: 139–301
  3. Claim 13, element e3receive a representation of a chat message provided by a user as part of the agent-user chat dialog; 303–402
  4. Claim 13, element e4generate a first embedding using at least the representation of the chat message and a machine learning (ML) model, 404–518
  5. Claim 13, element e5wherein the ML model was retrained using a reward function that is based at least in part on a distance between a predicted response value and a goal value in a latent space, 520–693
  6. Claim 13, element e6wherein the ML model comprises at least an encoder and at least a decoder, and wherein the goal value for each training sample used to train the ML model is based at least in part on an output of the encoder or an output of the decoder at a final turn of a training chat dialog that the training sample is from; and 695–1005
  7. Claim 13, element e7select one or more candidate responses to the chat message to be provided to the agent system as one or more recommendations for an agent response to the chat message within the agent-user chat dialog, 1011–1211
  8. Claim 13, element e8wherein to select the one or more candidate responses the chatbot system is to: 1213–1291
  9. Claim 13, element e9obtain a vector of a plurality of values including the first embedding and also a second embedding generated by the ML model during a previous turn of the chat dialog, identify one or more other vectors based on a nearest neighbor search using the vector, and select, as the one or more candidate responses, one or more chat messages corresponding to the identified one or more other vectors.1293–1684
5 dependent claims: 14 to 18 (14, 16, 17, 18 on claim 13; 15 on 14)

Claim 14

Depends on claim 13.

14. The system of claim 13 , wherein

  1. Claim 14, element e1the one or more candidate responses are from one or more other chat dialogs.37–112

Claim 15

Depends on claim 14.

15. The system of claim 14 , wherein

  1. Claim 15, element e1the one or more other chat dialogs were used to train the ML model.37–103

Claim 16

Depends on claim 13.

16. The system of claim 13 , wherein

  1. Claim 16, element e1the ML model comprises an initial ML model that was re-trained to maximize a weighted sum of a negative cross entropy and a negative distance to a goal.37–188

Claim 17

Depends on claim 13.

17. The system of claim 13 , wherein

  1. Claim 17, element e1the reward function is further based on cross entropy.37–90

Claim 18

Depends on claim 13.

18. The system of claim 13 , wherein

  1. Claim 18, element e1the first embedding comprises an output of the encoder of a current turn of the chat dialog, and wherein the second embedding comprises an output of the decoder from the previous turn of the chat dialog.37–239

Status

active

As of 2026-11-17, the USPTO record for US 10860629 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-04-02 (20 years from filing), a date not yet passed (data version 20261117.2).

Basis
term_20y (20 years from filing)
Term end
2038-04-02 Computed from the dates in the USPTO record
Fee lapse
none on record
Reinstatement
none on record; reinstatement_possible: false, not lapsed
As of
2026-11-17
Data version
20261117.2

A fact about the record with its basis and its as-of date, not legal advice.

Citations

References cited on the grant: 0 US patent documents · Cited by: 99 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10860629/ (needs a free key, as the links under Get this as data)

Family outside the US

Google Patents Public Datasets lists no publication outside the US in this patent's family (read 2026-10-15).

This patent's family on USPTO Global Dossier

Family data from Google Patents Public Datasets, used under CC BY 4.0.

Record JSON
{
 "patent_id": "10860629",
 "status": "active",
 "basis": [
  "term_20y"
 ],
 "reinstatement_possible": false,
 "reinstatement_basis": "not lapsed",
 "expiry_date_estimated": "2038-04-02",
 "lapse_date": null,
 "reinstated_date": null,
 "as_of": "2026-11-17",
 "data_version": "20261117.2",
 "catalog_data_version": "20261117.2",
 "permalink": "https://patentref.io/p/10860629?v=20261117.2",
 "next_steps": [
  {
   "kind": "record",
   "url": "https://patentref.io/p/10860629?v=20261117.2",
   "audience": "human"
  },
  {
   "kind": "patent",
   "url": "https://patentref.io/api/v1/patent/10860629/",
   "audience": "agent"
  },
  {
   "kind": "fee_events",
   "tool": "uspto_patent_center",
   "url": "https://patentcenter.uspto.gov/applications?patentNumber=10860629",
   "audience": "agent"
  }
 ]
}

Get this as data

These four links need a free key (1,000 requests a month). Opened in a browser, which sends no key, they answer 403. Get a free key on the sign-up page, then send it in the X-Api-Key header. To see the shape of an answer without a key, open Try it.

Elsewhere

Cite this record

https://patentref.io/p/10860629?v=20261117.2

Data 20261117.2 · as of 2026-11-17