US 11657094
Memory grounded conversational reasoning and question answering for assistant systems
Granted 2023-05-23 · Filed 2019-08-27 · Application 16/552,559 · Utility · Kind B2 · Prior publication US 2020/0410012 A1, 2020-12-31
- Assignee as printed
- Meta Platforms Technologies, LLC, Menlo Park, CA (US)
- Inventors
- Seungwhan Moon, Seattle, WA (US); Pararth Paresh Shah, Sunnyvale, CA (US); Anuj Kumar, Santa Clara, CA (US); Rajen Subba, San Carlos, CA (US)
- CPC, current
- G06F16/90332; G06Q30/0201; G06F16/3329; G06F16/367; G06F16/9035; G06F16/9535; G06N3/042; G06N3/044; G06N3/0442; G06N3/049; G06N3/084; G06N3/09; G06N5/022; G06N20/00; G06Q10/04; G06Q10/40; G06N3/045
Abstract
In one embodiment, a method includes receiving a query from a user from a client system associated with the user, determining one or more initial memory slots based on the query, accessing a memory graph associated with the user which comprises a plurality of nodes and a plurality of edges connecting the nodes, and wherein one or more of the nodes correspond to one or more episodic memories of the user, respectively, and wherein each edge corresponds to a relationship between the connected nodes, selecting one or more candidate nodes from the memory graph by one or more machine-learning models based on the initial memory slots, generating a response based on the initial memory slots and episodic memories corresponding to the selected candidate nodes, and sending instructions for presenting the response to the client system in response to the query.
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,
- Claim 1, element e1by an assistant system: 24–46
- Claim 1, element e2receiving, from a client system associated with a user via an assistant xbot associated with the assistant system, a query from the user; 48–184
- Claim 1, element e3determining, based on the query, one or more initial memory slots; 186–251
- Claim 1, element e4accessing a memory graph associated with the user, 253–302
- Claim 1, element e5wherein the memory graph comprises a plurality of nodes and a plurality of edges connecting the nodes, and wherein one or more of the nodes correspond to one or more episodic memories of the user, respectively, and wherein each edge corresponds to a relationship between the connected nodes; 304–594
- Claim 1, element e6determining, by one or more machine-learning models based on the initial memory slots and dialog contexts associated with the query, one or more sequence paths of walk steps traversing the memory graph; 596–797
- Claim 1, element e7selecting, by the one or more machine-learning models based on the one or more sequence paths of walk steps, one or more candidate nodes from the memory graph; 799–957
- Claim 1, element e8generating a response based on the initial memory slots and episodic memories corresponding to the selected candidate nodes; and 959–1082
- Claim 1, element e9sending, to the client system in response to the query via the assistant xbot, instructions for presenting the response.1088–1207
17 dependent claims: 2 to 18 (2, 3, 4, 7, 8, 9, 10, 14, 15, 18 on claim 1; 5, 6 on 4; 11 on 10; 12 on 11; 13 on 12; 16, 17 on 15)
Claim 2
Depends on claim 1.
2. The method of claim 1, wherein
- Claim 2, element e1the one or more candidate nodes are selected from the one or more nodes corresponding to the one or more episodic memories of the user.34–168
Claim 3
Depends on claim 1.
3. The method of claim 1, wherein
- Claim 3, element e1one or more nodes of the plurality of nodes correspond to one or more entities, respectively.34–126
Claim 4
Depends on claim 1.
4. The method of claim 1, wherein
- Claim 4, element e1the memory graph is built based on a knowledge graph comprising a plurality of nodes corresponding to a plurality of entities, respectively.34–173
Claim 5
Depends on claim 4.
5. The method of claim 4, wherein
- Claim 5, element e1the plurality of nodes of the memory graph comprise: 34–85
- Claim 5, element e2a plurality of nodes corresponding to a plurality of entities from the knowledge graph; and 87–173
- Claim 5, element e3a plurality of nodes corresponding to a plurality of episodic memories of the user.179–261
Claim 6
Depends on claim 4.
6. The method of claim 4, further comprising:
- Claim 6, element e1building a synthetic memory graph generator; and 46–89
- Claim 6, element e2generating, by the synthetic memory graph generator, one or more nodes in the memory graph, 95–185
- Claim 6, element e3wherein each of the one or more nodes is connected to one or more entities associated with the knowledge graph.187–297
Claim 7
Depends on claim 1.
7. The method of claim 1, wherein
- Claim 7, element e1the query is associated with a context, and wherein selecting the one or more candidate nodes is further based on the context associated with the query.34–185
Claim 8
Depends on claim 1.
8. The method of claim 1, wherein
- Claim 8, element e1the one or more machine-learning models comprise at least a long-short term memory (LSTM) model.34–129
Claim 9
Depends on claim 1.
9. The method of claim 1, further comprising:
- Claim 9, element e1determining relevance between the initial memory slots and each of the plurality of nodes in the memory graph, 46–155
- Claim 9, element e2wherein selecting the one or more candidate nodes is further based on the relevance.157–240
Claim 10
Depends on claim 1.
10. The method of claim 1, further comprising:
- Claim 10, element e1generating a query encoding for the query based on a long-short term memory (LSTM) model; and 47–135
- Claim 10, element e2generating a memory encoding for each node corresponding to an episodic memory in the memory graph based on one or more of a graph embeddings projection model or a LSTM model.141–315
Claim 11
Depends on claim 10.
11. The method of claim 10, wherein
- Claim 11, element e1selecting the one or more candidate nodes comprises inputting the generated query encoding and each generated memory encoding to the one or more machine-learning models, and wherein the one or more machine-learning models generate the one or more sequence paths of walk steps attending to the one or more candidate nodes within the memory graph.36–380
Claim 12
Depends on claim 11.
12. The method of claim 11, further comprising:
- Claim 12, element e1inputting the generated query encoding, each generated memory encoding, and the one or more sequence paths of walk steps to the one or more machine-learning models, 48–211
- Claim 12, element e2wherein the one or more machine-learning models generate one or more answer candidates, 213–299
- Claim 12, element e3wherein the answer candidates are ranked in an order based a compatibility between the query and the respective answer candidate, and wherein the compatibility is determined by the one or more machine-learning models.301–517
Claim 13
Depends on claim 12.
13. The method of claim 12, further comprising:
- Claim 13, element e1aggregating, by the one or more machine-learning models, the one or more answer candidates, 48–138
- Claim 13, element e2wherein each answer candidate is associated with a weight, and wherein the weight is determined based on the rank associated with the respective answer candidate.140–301
Claim 14
Depends on claim 1.
14. The method of claim 1, wherein
- Claim 14, element e1generating the response is further based on one or more language templates.35–109
Claim 15
Depends on claim 1.
15. The method of claim 1, wherein
- Claim 15, element e1the response comprises one or more of a content file associated with the initial memory slots and episodic memories corresponding to the selected candidate nodes.35–196
Claim 16
Depends on claim 15.
16. The method of claim 15, wherein
- Claim 16, element e1the content file comprises one or more of textual content, an image, a video clip, or an audio clip.36–135
Claim 17
Depends on claim 15.
17. The method of claim 15, wherein
- Claim 17, element e1the response is presented in a user interface comprising one or more of a media section or a chat section, 36–141
- Claim 17, element e2wherein the media section surfaces the image or video clip, and wherein the chat section surfaces the textual content.143–260
Claim 18
Depends on claim 1.
18. The method of claim 1, wherein
- Claim 18, element e1the episodic memories of the user are extracted from one or more of: 35–102
- Claim 18, element e2a plurality of content objects associated with the user; 104–159
- Claim 18, element e3social-networking information associated with the user; 161–215
- Claim 18, element e4contact information associated with the user; 217–261
- Claim 18, element e5calendar information associated with the user; or 263–308
- Claim 18, element e6interactions with one or more other users in an online social network.313–382
Claim 19
Independent claim.
19. One or more computer-readable non-transitory storage media embodying software that is operable when executed by an assistant system to: receive, from a client system associated with a user via an assistant xbot associated with the assistant system, a query from the user; determine, based on the query, one or more initial memory slots; access a memory graph associated with the user, wherein
- Claim 19, element e1the memory graph comprises a plurality of nodes and a plurality of edges connecting the nodes, and wherein one or more of the nodes correspond to one or more episodic memories of the user, respectively, and wherein each edge corresponds to a relationship between the connected nodes; 397–679
- Claim 19, element e2determine, by one or more machine-learning models based on the initial memory slots and dialog contexts associated with the query, one or more sequence paths of walk steps traversing the memory graph; 681–880
- Claim 19, element e3select, by the one or more machine-learning models based on the one or more sequence paths of walk steps, one or more candidate nodes from the memory graph; 882–1037
- Claim 19, element e4generate a response based on the initial memory slots and episodic memories corresponding to the selected candidate nodes; and 1039–1160
- Claim 19, element e5send, to the client system in response to the query via the assistant xbot, instructions for presenting the response.1166–1282
Claim 20
Independent claim.
20. An assistant system comprising:
- Claim 20, element e1one or more processors; and 36–58
- Claim 20, element e2a non-transitory memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to: 64–226
- Claim 20, element e3receive, from a client system associated with a user via an assistant xbot associated with the assistant system, a query from the user; 228–362
- Claim 20, element e4determine, based on the query, one or more initial memory slots; 364–427
- Claim 20, element e5access a memory graph associated with the user, 429–475
- Claim 20, element e6wherein the memory graph comprises a plurality of nodes and a plurality of edges connecting the nodes, and wherein one or more of the nodes correspond to one or more episodic memories of the user, respectively, and wherein each edge corresponds to a relationship between the connected nodes; 477–767
- Claim 20, element e7determine, by one or more machine-learning models based on the initial memory slots and dialog contexts associated with the query, one or more sequence paths of walk steps traversing the memory graph; 769–968
- Claim 20, element e8select, by the one or more machine-learning models based on the one or more sequence paths of walk steps, one or more candidate nodes from the memory graph; 970–1125
- Claim 20, element e9generate a response based on the initial memory slots and episodic memories corresponding to the selected candidate nodes; and 1127–1248
- Claim 20, element e10send, to the client system in response to the query via the assistant xbot, instructions for presenting the response.1254–1370
1. A method comprising, by an assistant system: receiving, from a client system associated with a user via an assistant xbot associated with the assistant system, a query from the user; determining, based on the query, one or more initial memory slots; accessing a memory graph associated with the user, wherein the memory graph comprises a plurality of nodes and a plurality of edges connecting the nodes, and wherein one or more of the nodes correspond to one or more episodic memories of the user, respectively, and wherein each edge corresponds to a relationship between the connected nodes; determining, by one or more machine-learning models based on the initial memory slots and dialog contexts associated with the query, one or more sequence paths of walk steps traversing the memory graph; selecting, by the one or more machine-learning models based on the one or more sequence paths of walk steps, one or more candidate nodes from the memory graph; generating a response based on the initial memory slots and episodic memories corresponding to the selected candidate nodes; and sending, to the client system in response to the query via the assistant xbot, instructions for presenting the response.
2. The method of claim 1, wherein the one or more candidate nodes are selected from the one or more nodes corresponding to the one or more episodic memories of the user.
3. The method of claim 1, wherein one or more nodes of the plurality of nodes correspond to one or more entities, respectively.
4. The method of claim 1, wherein the memory graph is built based on a knowledge graph comprising a plurality of nodes corresponding to a plurality of entities, respectively.
5. The method of claim 4, wherein the plurality of nodes of the memory graph comprise: a plurality of nodes corresponding to a plurality of entities from the knowledge graph; and a plurality of nodes corresponding to a plurality of episodic memories of the user.
6. The method of claim 4, further comprising: building a synthetic memory graph generator; and generating, by the synthetic memory graph generator, one or more nodes in the memory graph, wherein each of the one or more nodes is connected to one or more entities associated with the knowledge graph.
7. The method of claim 1, wherein the query is associated with a context, and wherein selecting the one or more candidate nodes is further based on the context associated with the query.
8. The method of claim 1, wherein the one or more machine-learning models comprise at least a long-short term memory (LSTM) model.
9. The method of claim 1, further comprising: determining relevance between the initial memory slots and each of the plurality of nodes in the memory graph, wherein selecting the one or more candidate nodes is further based on the relevance.
10. The method of claim 1, further comprising: generating a query encoding for the query based on a long-short term memory (LSTM) model; and generating a memory encoding for each node corresponding to an episodic memory in the memory graph based on one or more of a graph embeddings projection model or a LSTM model.
11. The method of claim 10, wherein selecting the one or more candidate nodes comprises inputting the generated query encoding and each generated memory encoding to the one or more machine-learning models, and wherein the one or more machine-learning models generate the one or more sequence paths of walk steps attending to the one or more candidate nodes within the memory graph.
12. The method of claim 11, further comprising: inputting the generated query encoding, each generated memory encoding, and the one or more sequence paths of walk steps to the one or more machine-learning models, wherein the one or more machine-learning models generate one or more answer candidates, wherein the answer candidates are ranked in an order based a compatibility between the query and the respective answer candidate, and wherein the compatibility is determined by the one or more machine-learning models.
13. The method of claim 12, further comprising: aggregating, by the one or more machine-learning models, the one or more answer candidates, wherein each answer candidate is associated with a weight, and wherein the weight is determined based on the rank associated with the respective answer candidate.
14. The method of claim 1, wherein generating the response is further based on one or more language templates.
15. The method of claim 1, wherein the response comprises one or more of a content file associated with the initial memory slots and episodic memories corresponding to the selected candidate nodes.
16. The method of claim 15, wherein the content file comprises one or more of textual content, an image, a video clip, or an audio clip.
17. The method of claim 15, wherein the response is presented in a user interface comprising one or more of a media section or a chat section, wherein the media section surfaces the image or video clip, and wherein the chat section surfaces the textual content.
18. The method of claim 1, wherein the episodic memories of the user are extracted from one or more of: a plurality of content objects associated with the user; social-networking information associated with the user; contact information associated with the user; calendar information associated with the user; or interactions with one or more other users in an online social network.
19. One or more computer-readable non-transitory storage media embodying software that is operable when executed by an assistant system to: receive, from a client system associated with a user via an assistant xbot associated with the assistant system, a query from the user; determine, based on the query, one or more initial memory slots; access a memory graph associated with the user, wherein the memory graph comprises a plurality of nodes and a plurality of edges connecting the nodes, and wherein one or more of the nodes correspond to one or more episodic memories of the user, respectively, and wherein each edge corresponds to a relationship between the connected nodes; determine, by one or more machine-learning models based on the initial memory slots and dialog contexts associated with the query, one or more sequence paths of walk steps traversing the memory graph; select, by the one or more machine-learning models based on the one or more sequence paths of walk steps, one or more candidate nodes from the memory graph; generate a response based on the initial memory slots and episodic memories corresponding to the selected candidate nodes; and send, to the client system in response to the query via the assistant xbot, instructions for presenting the response.
20. An assistant system comprising: one or more processors; and a non-transitory memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to: receive, from a client system associated with a user via an assistant xbot associated with the assistant system, a query from the user; determine, based on the query, one or more initial memory slots; access a memory graph associated with the user, wherein the memory graph comprises a plurality of nodes and a plurality of edges connecting the nodes, and wherein one or more of the nodes correspond to one or more episodic memories of the user, respectively, and wherein each edge corresponds to a relationship between the connected nodes; determine, by one or more machine-learning models based on the initial memory slots and dialog contexts associated with the query, one or more sequence paths of walk steps traversing the memory graph; select, by the one or more machine-learning models based on the one or more sequence paths of walk steps, one or more candidate nodes from the memory graph; generate a response based on the initial memory slots and episodic memories corresponding to the selected candidate nodes; and send, to the client system in response to the query via the assistant xbot, instructions for presenting the response.
The text of each claim as printed, for pasting a claim word for word. The links in the tree view name the same claims and elements.
Status
active
As of 2026-11-17, the USPTO record for US 11657094 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2041-08-31 (20 years from filing, plus 735 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:735 (20 years from filing, plus 735 days of patent term adjustment)
- Term end
- 2041-08-31 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: 34 US patent documents · Cited by: 62 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11657094/ (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 11657094 (read 2026-10-15). Their legal status is not shown here.
| Office | Number | Kind | Published |
|---|---|---|---|
| CN | 114072832 | A | 2022-02-18 |
| EP | 3991119 | A1 | 2022-05-04 |
| WO | 2020263711 | A1 | 2020-12-30 |
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": "11657094",
"status": "active",
"basis": [
"term_20y",
"pta_days:735"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2041-08-31",
"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/11657094?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/11657094?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/11657094/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=11657094",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/11657094/ - Status record
/api/v1/lapse/status/11657094/ - Claim tree
/api/v1/structure/claims/11657094/ - Brief
/api/v1/structure/brief/11657094/
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.