PatentRef

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

US 10721190

Sequence to sequence to classification model for generating recommended messages

Granted 2020-07-21 · Filed 2018-07-31 · Application 16/051,050 · Utility · Kind B2 · Prior publication US 2020/0044990 A1, 2020-02-06

Assignee as printed
  • Microsoft Technology Licensing, LLC, Redmond, WA (US)
Inventors
Bing Zhao, Sunnyvale, CA (US); Jeffrey William Pasternack, Belmont, CA (US); Nandeesh Channabasappa Rajashekar, San Francisco, CA (US); Nimesh Madhavan Chakravarthi, San Francisco, CA (US); Chung Yu Wang, Sunnyvale, CA (US); Arpit Dhariwal, San Francisco, CA (US)
CPC, current
H04L51/02; G06F18/2415; G06N5/04; G06N7/00; G06N20/00; H04L51/216

Abstract

Disclosed are systems, methods, and non-transitory computer-readable media for a sequence to sequence to classification model for generating recommended messages. A messaging system generates, using a sequence to sequence encoder, an embedding vector from a message being transmitted as part of a communication session, the sequence to sequence encoder having been trained based on historical message data that includes messages transmitted between users of the messaging system. The messaging system determines, based on the embedding vector, a set of candidate responses for replying to the first message, the set of candidate responses being a subset of a set of available responses. The messaging system selects, from the set of candidate responses, a set of recommended responses to the first message, and causes the set of recommended responses to be presented by a client device of a recipient user of the first message.

Claims

18 claims · independent 1, 7 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 method comprising:

  1. Claim 1, element e1receiving a first message being transmitted as part of communication session, the first message including a plurality of sequenced words; 24–160
  2. Claim 1, element e2generating, using a sequence to sequence encoder included in a sequence to sequence to classification model, a first embedding vector representing the plurality of sequenced words included in the first message the sequence to sequence to classification model including the sequence to sequence encoder and a text classification model, the sequence encoder having been trained based on historical message data that includes messages transmitted between users of a messaging system and the text classification model having been trained based on embedding vectors generated by the sequence to sequence encoder from the historical message data; 162–801
  3. Claim 1, element e3generating a feature vector based on the first embedding vector and at least a first feature that is not included in the first embedding vector; 803–946
  4. Claim 1, element e4generating a set of candidate responses for replying to the first message by using the feature vector as input into the text classification model, the set of candidate responses being a subset of a set of available responses; 948–1172
  5. Claim 1, element e5selecting, from the set of candidate responses, a set of recommended responses to the first message, the set of recommended responses being a subset of the set of candidate responses; and 1174–1356
  6. Claim 1, element e6causing the set of recommended responses to be presented by a client device of a recipient user of the first message.1362–1478
5 dependent claims: 2 to 6 (2, 4, 6 on claim 1; 3 on 2; 5 on 4)

Claim 2

Depends on claim 1.

2. The method of claim 1 , wherein

  1. Claim 2, element e1generating the set of candidate responses comprises: 35–86
  2. Claim 2, element e2selecting a subset of the set of candidate responses based on probability values generated by the text classification model from the feature vector, each probability value indicating an estimated likelihood that a corresponding classification label properly categorizes the first message, each classification label representing a respective available response from the set of available responses.88–483

Claim 3

Depends on claim 2.

3. The method of claim 2 , wherein

  1. Claim 3, element e1the text classification model is a logistic regression model.35–95

Claim 4

Depends on claim 1.

4. The method of claim 1 , wherein

  1. Claim 4, element e1each recommended response presented by the client device of the recipient user is selectable by the recipient user to cause the respective recommended response to be transmitted to a client device of a sending user of the first message as part of the communication session.35–307

Claim 5

Depends on claim 4.

5. The method of claim 4 , further comprising:

  1. Claim 5, element e1receiving, from the client device of the recipient user, a second message being transmitted as part of the communication session, the second message transmitted by the client device of the recipient user as a result of the recipient user selecting a first recommended response; and 47–323
  2. Claim 5, element e2transmitting the second message to the client device of the sending user as part of the communication session.329–438

Claim 6

Depends on claim 1.

6. The method of claim 1 , wherein

  1. Claim 6, element e1selecting the set of recommended responses comprises: 35–87
  2. Claim 6, element e2determining that a number of candidate responses from the set of candidate responses are assigned to a first candidate group; 89–213
  3. Claim 6, element e3determining that the number of candidate responses assigned to the first candidate group is greater than a threshold number; and 215–338
  4. Claim 6, element e4selecting a subset of the candidate responses assigned to the first candidate group for inclusion in the set of recommended responses, a selected number of candidate responses included in the subset of the candidate responses assigned to the first candidate group being less than or equal to the threshold number.344–656

Claim 7

Independent claim.

7. A messaging system comprising:

  1. Claim 7, element e1one or more computer processors; and 34–65
  2. Claim 7, element e2one or more computer-readable mediums storing instructions that, when executed by the one or more computer processors, cause the messaging system to perform operations comprising: 71–249
  3. Claim 7, element e3receiving a first message being transmitted as part of communication session, the first message including a plurality of sequenced words; 251–387
  4. Claim 7, element e4generating, using a sequence to sequence encoder included in a sequence to sequence to classification model, a first embedding vector representing the plurality of sequenced words included in the first message the sequence to sequence to classification model including the sequence to sequence encoder and a text classification model, the sequence encoder having been trained based on historical message data that includes messages transmitted between users of the messaging system and the text classification model having been trained based on embedding vectors generated by the sequence to sequence encoder from the historical message data; 389–1030
  5. Claim 7, element e5generating a feature vector based on the first embedding vector and at least a first feature that is not included in the first embedding vector; 1032–1175
  6. Claim 7, element e6generating a set of candidate responses for replying to the first message by using the feature vector as input into the text classification model, the set of candidate responses being a subset of a set of available responses; 1177–1401
  7. Claim 7, element e7selecting, from the set of candidate responses, a set of recommended responses to the first message, the set of recommended responses being a subset of the set of candidate responses; and 1403–1585
  8. Claim 7, element e8causing the set of recommended responses to be presented by a client device of a recipient user of the first message.1591–1707
5 dependent claims: 8 to 12 (8, 10, 12 on claim 7; 9 on 8; 11 on 10)

Claim 8

Depends on claim 7.

8. The messaging system of claim 7 , wherein

  1. Claim 8, element e1generating the set of candidate responses comprises: 45–96
  2. Claim 8, element e2selecting a subset of the set of candidate responses based on probability values generated by the text classification model from the feature vector, each probability value indicating an estimated likelihood that a corresponding classification label properly categorizes the first message, each classification label representing a respective available response from the set of available responses.98–493

Claim 9

Depends on claim 8.

9. The messaging system of claim 8 , wherein

  1. Claim 9, element e1the text classification model is a logistic regression model.45–105

Claim 10

Depends on claim 7.

10. The messaging system of claim 7 , wherein

  1. Claim 10, element e1each recommended response presented by the client device of the recipient user is selectable by the recipient user to cause the respective recommended response to be transmitted to a client device of a sending user of the first message as part of the communication session.46–318

Claim 11

Depends on claim 10.

11. The messaging system of claim 10 , the operations further comprising:

  1. Claim 11, element e1receiving, from the client device of the recipient user, a second message being transmitted as part of the communication session, the second message transmitted by the client device of the recipient user as a result of the recipient user selecting a first recommended response; and 74–350
  2. Claim 11, element e2transmitting the second message to the client device of the sending user as part of the communication session.356–465

Claim 12

Depends on claim 7.

12. The messaging system of claim 7 , wherein

  1. Claim 12, element e1selecting the set of recommended responses comprises: 46–98
  2. Claim 12, element e2determining that a number of candidate responses from the set of candidate responses are assigned to a first candidate group; 100–224
  3. Claim 12, element e3determining that the number of candidate responses assigned to the first candidate group is greater than a threshold number; and 226–349
  4. Claim 12, element e4selecting a subset of the candidate responses assigned to the first candidate group for inclusion in the set of recommended responses, a selected number of candidate responses included in the subset of the candidate responses assigned to the first candidate group being less than or equal to the threshold number.355–667

Claim 13

Independent claim.

13. A non-transitory computer-readable medium storing instructions that, when executed by one or more computer processors of a messaging system, cause the messaging system to perform operations comprising:

  1. Claim 13, element e1receiving a first message being transmitted as part of communication session, the first message including a plurality of sequenced words; 206–342
  2. Claim 13, element e2generating, using a sequence to sequence encoder included in a sequence to sequence to classification model, a first embedding vector representing the plurality of sequenced words included in the first message the sequence to sequence to classification model including the sequence to sequence encoder and a text classification model, the sequence encoder having been trained based on historical message data that includes messages transmitted between users of the messaging system and the text classification model having been trained based on embedding vectors generated by the sequence to sequence encoder from the historical message data; 344–985
  3. Claim 13, element e3generating a feature vector based on the first embedding vector and at least a first feature that is not included in the first embedding vector; 987–1130
  4. Claim 13, element e4generating a set of candidate responses for replying to the first message by using the feature vector as input into the text classification model, the set of candidate responses being a subset of a set of available responses; 1132–1356
  5. Claim 13, element e5selecting, from the set of candidate responses, a set of recommended responses to the first message, the set of recommended responses being a subset of the set of candidate responses; and 1358–1540
  6. Claim 13, element e6causing the set of recommended responses to be presented by a client device of a recipient user of the first message.1546–1662
5 dependent claims: 14 to 18 (14, 16, 18 on claim 13; 15 on 14; 17 on 16)

Claim 14

Depends on claim 13.

14. The non-transitory computer-readable medium of claim 13 , wherein

  1. Claim 14, element e1generating the set of candidate responses comprises: 70–121
  2. Claim 14, element e2selecting a subset of the set of candidate responses based on probability values generated by the text classification model from the feature vector, each probability value indicating an estimated likelihood that a corresponding classification label properly categorizes the first message, each classification label representing a respective available response from the set of available responses.123–518

Claim 15

Depends on claim 14.

15. The non-transitory computer-readable medium of claim 14 , wherein

  1. Claim 15, element e1the text classification model is a logistic regression model.70–130

Claim 16

Depends on claim 13.

16. The non-transitory computer-readable medium of claim 13 , wherein

  1. Claim 16, element e1each recommended response presented by the client device of the recipient user is selectable by the recipient user to cause the respective recommended response to be transmitted to a client device of a sending user of the first message as part of the communication session.70–342

Claim 17

Depends on claim 16.

17. The non-transitory computer-readable medium of claim 16 , the operations further comprising:

  1. Claim 17, element e1receiving, from the client device of the recipient user, a second message being transmitted as part of the communication session, the second message transmitted by the client device of the recipient user as a result of the recipient user selecting a first recommended response; and 97–373
  2. Claim 17, element e2transmitting the second message to the client device of the sending user as part of the communication session.379–488

Claim 18

Depends on claim 13.

18. The non-transitory computer-readable medium of claim 13 , wherein

  1. Claim 18, element e1selecting the set of recommended responses comprises: 70–122
  2. Claim 18, element e2determining that a number of candidate responses from the set of candidate responses are assigned to a first candidate group; 124–248
  3. Claim 18, element e3determining that the number of candidate responses assigned to the first candidate group is greater than a threshold number; and 250–373
  4. Claim 18, element e4selecting a subset of the candidate responses assigned to the first candidate group for inclusion in the set of recommended responses, a selected number of candidate responses included in the subset of the candidate responses assigned to the first candidate group being less than or equal to the threshold number.379–691

Status

active

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

Basis
term_20y · pta_days:10 (20 years from filing, plus 10 days of patent term adjustment)
Term end
2038-08-10 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: 19 US patent documents · Cited by: 81 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10721190/ (needs a free key, as the links under Get this as data)

Family outside the US

Publications outside the US that Google Patents Public Datasets lists in the same patent family as US 10721190 (read 2026-10-15). Their legal status is not shown here.

OfficeNumberKindPublished
CN110781286A2020-02-11
CN110781286B2024-04-19

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": "10721190",
 "status": "active",
 "basis": [
  "term_20y",
  "pta_days:10"
 ],
 "reinstatement_possible": false,
 "reinstatement_basis": "not lapsed",
 "expiry_date_estimated": "2038-08-10",
 "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/10721190?v=20261117.2",
 "next_steps": [
  {
   "kind": "record",
   "url": "https://patentref.io/p/10721190?v=20261117.2",
   "audience": "human"
  },
  {
   "kind": "patent",
   "url": "https://patentref.io/api/v1/patent/10721190/",
   "audience": "agent"
  },
  {
   "kind": "fee_events",
   "tool": "uspto_patent_center",
   "url": "https://patentcenter.uspto.gov/applications?patentNumber=10721190",
   "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/10721190?v=20261117.2

Data 20261117.2 · as of 2026-11-17