US 11442992
Conversational reasoning with knowledge graph paths for assistant systems
Granted 2022-09-13 · Filed 2019-08-30 · Application 16/557,055 · Utility · Kind B1
- 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, Palomar Park, CA (US)
- CPC, current
- G06F16/90332; G06F16/9024; G06N3/0442; G06N3/049; G06N3/08; G06N3/09; G06N3/094; G06N3/096; G06N5/022; G06N5/045; G06N20/00; G06Q10/40; G06N3/044; G06N3/045
Abstract
In one embodiment, a method includes receiving a query from a user from a client system associated with the user, accessing a knowledge graph comprising a plurality of nodes and edges connecting the nodes, wherein each node corresponds to an entity and each edge corresponds to a relationship between the entities corresponding to the connected nodes, determining one or more initial entities associated with the query based on the query, selecting one or more candidate nodes by a conversational reasoning model from the knowledge graph corresponding to one or more candidate entities, respectively, wherein each candidate node is selected based on the nodes corresponding to the initial entities, dialog states associated with the query, and a context associated with the query, generating a response based on the initial entities and the candidate entities, 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 one or more computing systems: 24–56
- Claim 1, element e2receiving, from a client system associated with a user, a query from the user; 58–135
- Claim 1, element e3accessing a knowledge graph comprising a plurality of nodes and a plurality of edges connecting the nodes, 137–242
- Claim 1, element e4wherein each node corresponds to an entity, and wherein each edge corresponds to a relationship between the entities corresponding to the connected nodes; 244–397
- Claim 1, element e5determining, based on the query, one or more initial entities associated with the query; 399–486
- Claim 1, element e6determining, by a conversational reasoning model, a path connecting nodes corresponding to the one or more initial entities and nodes corresponding to candidate entities based on one or more entity paths and one or more relation paths, 488–722
- Claim 1, element e7wherein the one or more entity paths are determined based on optimizing a loss function formulated based on a context vector associated with the query and context vectors associated with the candidate entities, and wherein the one or more relation paths are determined based on relationships between the one or more initial entities and the candidate entities; 724–1083
- Claim 1, element e8selecting, based on the path by the conversational reasoning model, one or more candidate nodes from the knowledge graph corresponding to one or more candidate entities, respectively; 1085–1267
- Claim 1, element e9generating a response based on the one or more initial entities and the one or more candidate entities; and 1269–1371
- Claim 1, element e10sending, to the client system in response to the query, instructions for presenting the response.1377–1473
12 dependent claims: 2 to 13 (2, 4, 5, 13 on claim 1; 3 on 2; 6, 7, 8, 9, 10 on 5; 11 on 10; 12 on 11)
Claim 2
Depends on claim 1.
2. The method of claim 1, wherein
- Claim 2, element e1the conversational reasoning model is based on one or more machine-learning models.34–116
Claim 3
Depends on claim 2.
3. The method of claim 2, wherein
- Claim 3, element e1the one or more machine-learning models comprise at least a long-short term memory (LSTM) model.34–129
Claim 4
Depends on claim 1.
4. The method of claim 1, further comprising:
- Claim 4, element e1determining a relevance between the one or more initial entities and each of the plurality of nodes in the knowledge graph, 46–168
- Claim 4, element e2wherein selecting the one or more candidate nodes is further based on the determined relevance of the respective candidate nodes.170–298
Claim 5
Depends on claim 1.
5. The method of claim 1, wherein
- Claim 5, element e1determining the path comprises: 34–64
- Claim 5, element e2generating an entity representation for the one or more initial entities associated with the query; 66–164
- Claim 5, element e3generating a sentence representation for a context associated with the query; 166–242
- Claim 5, element e4generating a dialog representation for one or more dialog states associated with the query; and 244–334
- Claim 5, element e5generating an aggregated input based on the entity representation, the sentence representation, and the dialog representation.340–465
Claim 6
Depends on claim 5.
6. The method of claim 5, wherein
- Claim 6, element e1generating the entity representation is based on a neural network model.34–105
Claim 7
Depends on claim 5.
7. The method of claim 5, wherein
- Claim 7, element e1generating the sentence representation is based on a long-short term memory (LSTM) model.34–122
Claim 8
Depends on claim 5.
8. The method of claim 5, wherein
- Claim 8, element e1generating the dialog representation is based on a long-short term memory (LSTM) model.34–120
Claim 9
Depends on claim 5.
9. The method of claim 5, wherein
- Claim 9, element e1the query is associated with a particular task, 34–80
- Claim 9, element e2wherein each of the entity representation, sentence representation, and dialog representation has a respective importance level with respect to the particular task, and wherein generating the aggregated input is further based on the respective importance level of the entity representation, sentence representation, and dialog representation with respect to the particular task.82–459
Claim 10
Depends on claim 5.
10. The method of claim 5, wherein
- Claim 10, element e1determining the path further comprises: 35–73
- Claim 10, element e2inputting the aggregated input to the conversational reasoning model, and wherein the conversational reasoning model generates one or more candidate paths attending to a plurality of nodes within the knowledge graph.75–290
Claim 11
Depends on claim 10.
11. The method of claim 10, further comprising:
- Claim 11, element e1determining, for each of the one or more candidate paths, a relevance with respect to the one or more initial entities; and 48–166
- Claim 11, element e2ranking the one or more candidate paths based on their respective relevance with respect to the one or more initial entities.172–296
Claim 12
Depends on claim 11.
12. The method of claim 11, further comprising:
- Claim 12, element e1selecting the top ranked path as the determined path.48–100
Claim 13
Depends on claim 1.
13. The method of claim 1, wherein
- Claim 13, element e1generating the response is further based on one or more language templates.35–109
Claim 14
Independent claim.
14. 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 user, a query from the user; access a knowledge graph comprising
- Claim 14, element e1a plurality of nodes and a plurality of edges connecting the nodes, 230–296
- Claim 14, element e2wherein each node corresponds to an entity, and wherein each edge corresponds to a relationship between the entities corresponding to the connected nodes; 298–451
- Claim 14, element e3determine, based on the query, one or more initial entities associated with the query; 453–538
- Claim 14, element e4determine, by a conversational reasoning model, a path connecting nodes corresponding to the one or more initial entities and nodes corresponding to candidate entities based on one or more entity paths and one or more relation paths, 540–772
- Claim 14, element e5wherein the one or more entity paths are determined based on optimizing a loss function formulated based on a context vector associated with the query and context vectors associated with the candidate entities, and wherein the one or more relation paths are determined based on relationships between the one or more initial entities and the candidate entities; 774–1133
- Claim 14, element e6select, based on the path by the conversational reasoning model, one or more candidate nodes from the knowledge graph corresponding to one or more candidate entities, respectively; 1135–1314
- Claim 14, element e7generate a response based on the one or more initial entities and the one or more candidate entities; and 1316–1416
- Claim 14, element e8send, to the client system in response to the query, instructions for presenting the response.1422–1515
5 dependent claims: 15 to 19 (15, 16 on claim 14; 17 on 16; 18 on 17; 19 on 18)
Claim 15
Depends on claim 14.
15. The media of claim 14, wherein
- Claim 15, element e1the software is further operable when executed to: 35–84
- Claim 15, element e2determine a relevance between the one or more initial entities and each of the plurality of nodes in the knowledge graph, 86–206
- Claim 15, element e3wherein selecting the one or more candidate nodes is further based on the determined relevance of the respective candidate nodes.208–336
Claim 16
Depends on claim 14.
16. The media of claim 14, wherein
- Claim 16, element e1determining the path comprises: 35–65
- Claim 16, element e2generating an entity representation for the one or more initial entities associated with the query; 67–165
- Claim 16, element e3generating a sentence representation for a context associated with the query; 167–243
- Claim 16, element e4generating a dialog representation for one or more dialog states associated with the query; and 245–335
- Claim 16, element e5generating an aggregated input based on the entity representation, the sentence representation, and the dialog representation.341–466
Claim 17
Depends on claim 16.
17. The media of claim 16, wherein
- Claim 17, element e1determining the path further comprises: 35–73
- Claim 17, element e2inputting the aggregated input to the conversational reasoning model, and wherein the conversational reasoning model generates one or more candidate paths attending to a plurality of nodes within the knowledge graph.75–290
Claim 18
Depends on claim 17.
18. The media of claim 17, wherein
- Claim 18, element e1the software is further operable when executed to: 35–84
- Claim 18, element e2determine, for each of the one or more candidate paths, a relevance with respect to the one or more initial entities; and 86–202
- Claim 18, element e3rank the one or more candidate paths based on their respective relevance with respect to the one or more initial entities.208–329
Claim 19
Depends on claim 18.
19. The media of claim 18, wherein
- Claim 19, element e1the software is further operable when executed to: 35–84
- Claim 19, element e2select the top ranked path as the determined path.86–135
Claim 20
Independent claim.
20. A system comprising:
- Claim 20, element e1one or more processors; and 25–47
- 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: 53–215
- Claim 20, element e3receive, from a client system associated with a user, a query from the user; 217–292
- Claim 20, element e4access a knowledge graph comprising a plurality of nodes and a plurality of edges connecting the nodes, 294–396
- Claim 20, element e5wherein each node corresponds to an entity, and wherein each edge corresponds to a relationship between the entities corresponding to the connected nodes; 398–551
- Claim 20, element e6determine, based on the query, one or more initial entities associated with the query; 553–638
- Claim 20, element e7determine, by a conversational reasoning model, a path connecting nodes corresponding to the one or more initial entities and nodes corresponding to candidate entities based on one or more entity paths and one or more relation paths, 640–872
- Claim 20, element e8wherein the one or more entity paths are determined based on optimizing a loss function formulated based on a context vector associated with the query and context vectors associated with the candidate entities, and wherein the one or more relation paths are determined based on relationships between the one or more initial entities and the candidate entities; 874–1233
- Claim 20, element e9select, based on the path by the conversational reasoning model, one or more candidate nodes from the knowledge graph corresponding to one or more candidate entities, respectively; 1235–1414
- Claim 20, element e10generate a response based on the one or more initial entities and the one or more candidate entities; and 1416–1516
- Claim 20, element e11send, to the client system in response to the query, instructions for presenting the response.1522–1615
1. A method comprising, by one or more computing systems: receiving, from a client system associated with a user, a query from the user; accessing a knowledge graph comprising a plurality of nodes and a plurality of edges connecting the nodes, wherein each node corresponds to an entity, and wherein each edge corresponds to a relationship between the entities corresponding to the connected nodes; determining, based on the query, one or more initial entities associated with the query; determining, by a conversational reasoning model, a path connecting nodes corresponding to the one or more initial entities and nodes corresponding to candidate entities based on one or more entity paths and one or more relation paths, wherein the one or more entity paths are determined based on optimizing a loss function formulated based on a context vector associated with the query and context vectors associated with the candidate entities, and wherein the one or more relation paths are determined based on relationships between the one or more initial entities and the candidate entities; selecting, based on the path by the conversational reasoning model, one or more candidate nodes from the knowledge graph corresponding to one or more candidate entities, respectively; generating a response based on the one or more initial entities and the one or more candidate entities; and sending, to the client system in response to the query, instructions for presenting the response.
2. The method of claim 1, wherein the conversational reasoning model is based on one or more machine-learning models.
3. The method of claim 2, wherein the one or more machine-learning models comprise at least a long-short term memory (LSTM) model.
4. The method of claim 1, further comprising: determining a relevance between the one or more initial entities and each of the plurality of nodes in the knowledge graph, wherein selecting the one or more candidate nodes is further based on the determined relevance of the respective candidate nodes.
5. The method of claim 1, wherein determining the path comprises: generating an entity representation for the one or more initial entities associated with the query; generating a sentence representation for a context associated with the query; generating a dialog representation for one or more dialog states associated with the query; and generating an aggregated input based on the entity representation, the sentence representation, and the dialog representation.
6. The method of claim 5, wherein generating the entity representation is based on a neural network model.
7. The method of claim 5, wherein generating the sentence representation is based on a long-short term memory (LSTM) model.
8. The method of claim 5, wherein generating the dialog representation is based on a long-short term memory (LSTM) model.
9. The method of claim 5, wherein the query is associated with a particular task, wherein each of the entity representation, sentence representation, and dialog representation has a respective importance level with respect to the particular task, and wherein generating the aggregated input is further based on the respective importance level of the entity representation, sentence representation, and dialog representation with respect to the particular task.
10. The method of claim 5, wherein determining the path further comprises: inputting the aggregated input to the conversational reasoning model, and wherein the conversational reasoning model generates one or more candidate paths attending to a plurality of nodes within the knowledge graph.
11. The method of claim 10, further comprising: determining, for each of the one or more candidate paths, a relevance with respect to the one or more initial entities; and ranking the one or more candidate paths based on their respective relevance with respect to the one or more initial entities.
12. The method of claim 11, further comprising: selecting the top ranked path as the determined path.
13. The method of claim 1, wherein generating the response is further based on one or more language templates.
14. 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 user, a query from the user; access a knowledge graph comprising a plurality of nodes and a plurality of edges connecting the nodes, wherein each node corresponds to an entity, and wherein each edge corresponds to a relationship between the entities corresponding to the connected nodes; determine, based on the query, one or more initial entities associated with the query; determine, by a conversational reasoning model, a path connecting nodes corresponding to the one or more initial entities and nodes corresponding to candidate entities based on one or more entity paths and one or more relation paths, wherein the one or more entity paths are determined based on optimizing a loss function formulated based on a context vector associated with the query and context vectors associated with the candidate entities, and wherein the one or more relation paths are determined based on relationships between the one or more initial entities and the candidate entities; select, based on the path by the conversational reasoning model, one or more candidate nodes from the knowledge graph corresponding to one or more candidate entities, respectively; generate a response based on the one or more initial entities and the one or more candidate entities; and send, to the client system in response to the query, instructions for presenting the response.
15. The media of claim 14, wherein the software is further operable when executed to: determine a relevance between the one or more initial entities and each of the plurality of nodes in the knowledge graph, wherein selecting the one or more candidate nodes is further based on the determined relevance of the respective candidate nodes.
16. The media of claim 14, wherein determining the path comprises: generating an entity representation for the one or more initial entities associated with the query; generating a sentence representation for a context associated with the query; generating a dialog representation for one or more dialog states associated with the query; and generating an aggregated input based on the entity representation, the sentence representation, and the dialog representation.
17. The media of claim 16, wherein determining the path further comprises: inputting the aggregated input to the conversational reasoning model, and wherein the conversational reasoning model generates one or more candidate paths attending to a plurality of nodes within the knowledge graph.
18. The media of claim 17, wherein the software is further operable when executed to: determine, for each of the one or more candidate paths, a relevance with respect to the one or more initial entities; and rank the one or more candidate paths based on their respective relevance with respect to the one or more initial entities.
19. The media of claim 18, wherein the software is further operable when executed to: select the top ranked path as the determined path.
20. A 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, a query from the user; access a knowledge graph comprising a plurality of nodes and a plurality of edges connecting the nodes, wherein each node corresponds to an entity, and wherein each edge corresponds to a relationship between the entities corresponding to the connected nodes; determine, based on the query, one or more initial entities associated with the query; determine, by a conversational reasoning model, a path connecting nodes corresponding to the one or more initial entities and nodes corresponding to candidate entities based on one or more entity paths and one or more relation paths, wherein the one or more entity paths are determined based on optimizing a loss function formulated based on a context vector associated with the query and context vectors associated with the candidate entities, and wherein the one or more relation paths are determined based on relationships between the one or more initial entities and the candidate entities; select, based on the path by the conversational reasoning model, one or more candidate nodes from the knowledge graph corresponding to one or more candidate entities, respectively; generate a response based on the one or more initial entities and the one or more candidate entities; and send, to the client system in response to the query, 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 11442992 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2040-10-22 (20 years from filing, plus 419 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:419 (20 years from filing, plus 419 days of patent term adjustment)
- Term end
- 2040-10-22 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: 32 US patent documents · Cited by: 71 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/11442992/ (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": "11442992",
"status": "active",
"basis": [
"term_20y",
"pta_days:419"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2040-10-22",
"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/11442992?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/11442992?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/11442992/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=11442992",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/11442992/ - Status record
/api/v1/lapse/status/11442992/ - Claim tree
/api/v1/structure/claims/11442992/ - Brief
/api/v1/structure/brief/11442992/
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.