PatentRef

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

US 11042554

Generating compositional natural language by assistant systems

Granted 2021-06-22 · Filed 2018-10-31 · Application 16/176,081 · Utility · Kind B1

Assignee as printed
  • Facebook, Inc., Menlo Park, CA (US) · PatentsView label: FACEBOOK, INC.
Inventors
Anusha Balakrishnan, Santa Clara, CA (US); Rajen Subba, Redwood City, CA (US); Scott Martin, Menlo Park, CA (US); Ashwini Challa, Mountain View, CA (US); Shawn C. P. Mei, San Francisco, CA (US)
CPC, current
G06Q10/00; G06V10/82; G06F3/011; G06F3/013; G06F3/017; G06F3/167; G06F7/14; G06F8/31; G06F9/44505; G06F9/4451; G06F9/453; G06F16/176; G06F16/2255; G06F16/2365; G06F16/243; G06F16/24552; G06F16/24575; G06F16/24578; G06F16/248; G06F16/3322; G06F16/3323; G06F16/3329; G06F16/3344; G06F16/338 and 66 more

Abstract

In one embodiment, a method includes receiving a user query from a client system associated with a first user, executing tasks via agents which return responses, each response comprising information items, analyzing the responses to determine slots, each slot corresponding to one of the information items, determining compositional sub-goals for each response, wherein each compositional sub-goal indicates a semantic-intent of the respective response, generating compositional fragments by a compositional natural-language generation (NLG) model, each compositional fragment comprising a partial natural-language response, determining a top-level compositional goal, generating a communication content by the compositional NLG model, wherein the communication content comprises a complete natural-language response to the user query, and wherein the complete natural-language response is based on the partial natural-language responses of the compositional fragments, and sending instructions for presenting the communication content to the client system.

Claims

18 claims · independent 1, 17 and 18

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 e1by one or more computing systems: 24–56
  2. Claim 1, element e2receiving, from a client system associated with a first user, a user query; 58–132
  3. Claim 1, element e3executing, via one or more agents, one or more tasks responsive to the user query, 134–215
  4. Claim 1, element e4wherein the agents return a plurality of responses, each response comprising one or more information items; 217–323
  5. Claim 1, element e5analyzing the plurality of responses to determine a plurality of slots, each slot corresponding to one of the one or more information items of a respective response; 325–489
  6. Claim 1, element e6determining, for each response of the plurality of responses, one or more compositional sub-goals for the response based on the slots associated with the response, 491–653
  7. Claim 1, element e7wherein each compositional sub-goal indicates a semantic-intent of the respective response; 655–745
  8. Claim 1, element e8generating, by a compositional natural-language generation (NLG) model, one or more compositional fragments based on the plurality of information items, the plurality of slots, and the plurality of compositional sub-goals, each compositional fragment comprising a partial natural-language response; 747–1044
  9. Claim 1, element e9determining, for the plurality of responses, a top-level compositional goal based on the plurality of compositional sub-goals; 1046–1171
  10. Claim 1, element e10generating, by the compositional NLG model, a communication content based on the top-level compositional goal and the one or more compositional fragments, 1173–1326
  11. Claim 1, element e11wherein the communication content comprises a complete natural-language response to the user query, and wherein the complete natural-language response is based on the partial natural-language responses of the compositional fragments; and 1328–1560
  12. Claim 1, element e12sending, to the client system associated with the first user, instructions for presenting the communication content.1566–1681
15 dependent claims: 2 to 16 (2, 3, 9, 15, 16 on claim 1; 4, 5, 6 on 3; 7, 8 on 6; 10, 11, 12 on 9; 13, 14 on 12)

Claim 2

Depends on claim 1.

2. The method of claim 1 , further comprising:

  1. Claim 2, element e1normalizing the plurality of slots based on one or more translation models.47–121

Claim 3

Depends on claim 1.

3. The method of claim 1 , further comprising:

  1. Claim 3, element e1generating, by one or more machine-learning models, a tree-structured ontology comprising a plurality of nodes, 47–157
  2. Claim 3, element e2wherein the plurality of nodes are associated with the plurality of information items, the plurality of slots, the plurality of compositional sub-goals, and the top-level compositional goal.159–348

Claim 4

Depends on claim 3.

4. The method of claim 3 , wherein

  1. Claim 4, element e1the tree-structured ontology comprises a root node associated with the top-level compositional goal.35–134

Claim 5

Depends on claim 3.

5. The method of claim 3 , wherein

  1. Claim 5, element e1the tree-structured ontology comprises a plurality of terminal nodes associated with the plurality of information items, respectively.35–168

Claim 6

Depends on claim 3.

6. The method of claim 3 , wherein

  1. Claim 6, element e1the tree-structured ontology comprises a plurality of non-terminal nodes, each non-terminal node being associated with one or more of a slot or a compositional sub-goal.35–203

Claim 7

Depends on claim 6.

7. The method of claim 6 , wherein

  1. Claim 7, element e1each non-terminal node associated with a compositional sub-goal has one or more child nodes, 35–126
  2. Claim 7, element e2wherein the one or more child nodes comprise one or more of: 128–187
  3. Claim 7, element e3a node associated with one of the plurality of slots; or 189–241
  4. Claim 7, element e4a node associated with one of the plurality of information items.246–310

Claim 8

Depends on claim 6.

8. The method of claim 6 , wherein

  1. Claim 8, element e1each non-terminal node associated with a slot has a child node associated with one of the plurality of information items.35–155

Claim 9

Depends on claim 1.

9. The method of claim 1 , wherein

  1. Claim 9, element e1the compositional NLG model comprises a stitching model for generating natural-language compositional fragments and responses, 35–160
  2. Claim 9, element e2wherein the stitching model is based on one or more machine-learning models.162–237

Claim 10

Depends on claim 9.

10. The method of claim 9 , wherein

  1. Claim 10, element e1generating each of the one or more compositional fragments comprises: 36–104
  2. Claim 10, element e2selecting, for one or more slots associated with the compositional fragment and one or more information items associated with the one or more slots, a language template for the respective slots and information items; 106–321
  3. Claim 10, element e3generating, by the stitching model, one or more fragment candidates based on the one or more information items, the one or more slots, the selected language template, and one compositional sub-goal associated with the one or more slots, 323–558
  4. Claim 10, element e4wherein the one or more fragment candidates correspond to one or more slot orders; 560–641
  5. Claim 10, element e5accessing a dialog state of a dialog session associated with the user query; 643–718
  6. Claim 10, element e6determining a linguistic-register associated with the user query based on the accessed dialog state; 720–819
  7. Claim 10, element e7ranking the one or more fragment candidates based on the determined linguistic-register; and 821–908
  8. Claim 10, element e8selecting a top-ranked compositional fragment from the one or more fragment candidates.914–1000

Claim 11

Depends on claim 9.

11. The method of claim 9 , wherein

  1. Claim 11, element e1generating the complete natural-language response of the communication content comprises: 36–124
  2. Claim 11, element e2generating, by the stitching model, one or more response candidates based on the top-level compositional goal and the one or more compositional fragments, 126–279
  3. Claim 11, element e3wherein the one or more response candidates correspond to one or more sub-goal orders; 281–366
  4. Claim 11, element e4accessing a dialog state of a dialog session associated with the user query; 368–443
  5. Claim 11, element e5determining a linguistic-register associated with the user query based on the accessed dialog state; 445–544
  6. Claim 11, element e6ranking the one or more response candidates based on the determined linguistic-register; and 546–633
  7. Claim 11, element e7selecting a top-ranked complete natural-language response from the one or more response candidates.639–737

Claim 12

Depends on claim 9.

12. The method of claim 9 , wherein

  1. Claim 12, element e1the stitching model is trained based on a plurality of training data, 36–104
  2. Claim 12, element e2wherein the plurality of training data comprise one or more of: 106–168
  3. Claim 12, element e3a plurality of linguistic annotations of slot orders corresponding to a plurality of slots; or 170–260
  4. Claim 12, element e4a plurality of linguistic annotations of sub-goal orders corresponding to a plurality of sub-goals.265–363

Claim 13

Depends on claim 12.

13. The method of claim 12 , wherein

  1. Claim 13, element e1generating each of the one or more compositional fragments comprises: 37–105
  2. Claim 13, element e2determining, by the stitching model, a slot order for one or more slots associated with the compositional fragment; 107–221
  3. Claim 13, element e3selecting, for the one or more slots and one or more information items associated with the one or more slots, a language template for the respective slots and information items; and 223–399
  4. Claim 13, element e4generating, by the stitching model, the compositional fragment based on the one or more information items, the one or more slots, the determined slot order, the selected language template, and one of the compositional sub-goals associated with the one or more slots.405–670

Claim 14

Depends on claim 12.

14. The method of claim 12 , wherein

  1. Claim 14, element e1generating the complete natural-language response of the communication content comprises: 37–125
  2. Claim 14, element e2determining, by the stitching model, a sub-goal order for the one or more compositional fragments; and 127–224
  3. Claim 14, element e3generating, by the stitching model, the complete natural-language response based on the one or more compositional fragments, the determined sub-goal order, and the top-level compositional goal.230–422

Claim 15

Depends on claim 1.

15. The method of claim 1 , wherein

  1. Claim 15, element e1generating each of the one or more compositional fragments comprises: 36–104
  2. Claim 15, element e2accessing a data store comprising a plurality of fragment candidates; 106–174
  3. Claim 15, element e3selecting, for each compositional sub-goal, one or more fragment candidates based on one or more slots associated with the compositional sub-goal; 176–321
  4. Claim 15, element e4ranking, the one or more fragment candidates based on one or more machine-learning algorithms; and 323–416
  5. Claim 15, element e5selecting a top-ranked compositional fragment from the one or more fragment candidates.422–508

Claim 16

Depends on claim 1.

16. The method of claim 1 , wherein

  1. Claim 16, element e1generating the complete natural-language response of the communication content comprises: 36–124
  2. Claim 16, element e2accessing a data store comprising a plurality of response candidates; 126–194
  3. Claim 16, element e3selecting, for the top-level goal, one or more response candidates based on the one or more compositional fragments; 196–311
  4. Claim 16, element e4ranking the one or more response candidates based on one or more machine-learning algorithms; and 313–405
  5. Claim 16, element e5selecting a top-ranked complete natural-language response from the one or more response candidates.411–509

Claim 17

Independent claim.

17. One or more computer-readable non-transitory storage media embodying software that is operable when executed to: receive, from a client system associated with a first user, a user query; execute, via one or more agents, one or more tasks responsive to the user query, wherein

  1. Claim 17, element e1the agents return a plurality of responses, each response comprising one or more information items; 280–378
  2. Claim 17, element e2analyze the plurality of responses to determine a plurality of slots, each slot corresponding to one of the one or more information items of a respective response; 380–542
  3. Claim 17, element e3determine, for each response of the plurality of responses, one or more compositional sub-goals for the response based on the slots associated with the response, 544–704
  4. Claim 17, element e4wherein each compositional sub-goal indicates a semantic-intent of the respective response; 706–796
  5. Claim 17, element e5generate, by a compositional natural-language generation (NLG) model, one or more compositional fragments based on the plurality of information items, the plurality of slots, and the plurality of compositional sub-goals, each compositional fragment comprising a partial natural-language response; 798–1093
  6. Claim 17, element e6determine, for the plurality of responses, a top-level compositional goal based on the plurality of compositional sub-goals; 1095–1218
  7. Claim 17, element e7generate, by the compositional NLG model, a communication content based on the top-level compositional goal and the one or more compositional fragments, 1220–1371
  8. Claim 17, element e8wherein the communication content comprises a complete natural-language response to the user query, and wherein the complete natural-language response is based on the partial natural-language responses of the compositional fragments; and 1373–1605
  9. Claim 17, element e9send, to the client system associated with the first user, instructions for presenting the communication content.1611–1723

Claim 18

Independent claim.

18. A system comprising:

  1. Claim 18, element e1one or more processors; and 25–47
  2. Claim 18, element e2a non-transitory memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to: 53–215
  3. Claim 18, element e3receive, from a client system associated with a first user, a user query; 217–289
  4. Claim 18, element e4execute, via one or more agents, one or more tasks responsive to the user query, 291–370
  5. Claim 18, element e5wherein the agents return a plurality of responses, each response comprising one or more information items; 372–478
  6. Claim 18, element e6analyze the plurality of responses to determine a plurality of slots, each slot corresponding to one of the one or more information items of a respective response; 480–642
  7. Claim 18, element e7determine, for each response of the plurality of responses, one or more compositional sub-goals for the response based on the slots associated with the response, 644–804
  8. Claim 18, element e8wherein each compositional sub-goal indicates a semantic-intent of the respective response; 806–896
  9. Claim 18, element e9generate, by a compositional natural-language generation (NLG) model, one or more compositional fragments based on the plurality of information items, the plurality of slots, and the plurality of compositional sub-goals, each compositional fragment comprising a partial natural-language response; 898–1193
  10. Claim 18, element e10determine, for the plurality of responses, a top-level compositional goal based on the plurality of compositional sub-goals; 1195–1318
  11. Claim 18, element e11generate, by the compositional NLG model, a communication content based on the top-level compositional goal and the one or more compositional fragments, 1320–1471
  12. Claim 18, element e12wherein the communication content comprises a complete natural-language response to the user query, and wherein the complete natural-language response is based on the partial natural-language responses of the compositional fragments; and 1473–1705
  13. Claim 18, element e13send, to the client system associated with the first user, instructions for presenting the communication content.1711–1823

Status

active

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

Basis
term_20y · pta_days:465 (20 years from filing, plus 465 days of patent term adjustment)
Term end
2040-02-08 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: 33 US patent documents · Cited by: 60 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11042554/ (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 11042554 (read 2026-10-15). Their legal status is not shown here.

OfficeNumberKindPublished
CN112236766A2021-01-15
CN112292674A2021-01-29
CN112313642A2021-02-02
CN112313644A2021-02-02
CN112313656A2021-02-02
CN112313680A2021-02-02
CN112313740A2021-02-02
CN112334889A2021-02-05
CN112470144A2021-03-09
CN112513838A2021-03-16
CN112513838A82021-06-25
CN112236766B2024-08-20
CN112513838B2024-09-20
CN112292674B2024-10-01
CN112313644B2024-10-18
CN119148856A2024-12-17
CN112334889B2025-02-28
CN119645289A2025-03-18
CN119806330A2025-04-11
CN112470144B2025-05-13
EP3557498A12019-10-23
EP3782090A42021-02-24
EP3782090A12021-02-24
EP3782091A12021-02-24
EP3782092A12021-02-24
EP4550725A22025-05-07
EP3782092B12025-06-04
EP4550725A32025-08-06
JP2021522561A2021-08-30
JP7324772B22023-08-10
WO2019203863A12019-10-24
WO2019203864A12019-10-24
WO2019203866A12019-10-24
WO2019203867A12019-10-24
WO2019203869A12019-10-24
WO2019203872A12019-10-24
WO2019203880A12019-10-24
WO2019203886A12019-10-24
WO2019204651A12019-10-24
WO2019204775A12019-10-24
WO2019203886A82020-10-01

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

Data 20261117.2 · as of 2026-11-17