US 10885452
Relation graph optimization using inconsistent cycle detection
Granted 2021-01-05 · Filed 2016-06-27 · Application 15/193,883 · Utility · Kind B1
- Assignee as printed
- Amazon Technologies, Inc., Seattle, WA (US)
- Inventors
- Nikhil Garg, Berlin (DE)
- CPC, current
- G06N7/01; G06F16/9024; G06F16/93; G06N5/01; G06N5/022; G06N5/046
Abstract
A first graph is generated from a text data set, with graph nodes representing named entities in the data set and edges representing relationships between the named entities, and with edge weights indicating confidence levels. At least one cycle of the graph may be designated as inconsistent using a rule set. An edge may be selected for deletion from the first graph based on its presence in an inconsistent cycle, the cycle's weight, and/or on the edge weight. A representation of relationships indicated in the modified graph is provided programmatically.
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 system, comprising:
- Claim 1, element e1one or more computing devices of a network-accessible text analysis service; 25–100
- Claim 1, element e2wherein the one or more computing devices are configured to: 102–161
- Claim 1, element e3determine that relationship analysis is to performed on a data set comprising a plurality of text collections, 163–272
- Claim 1, element e4wherein a particular text collection of the plurality of text collections includes (a) one or more tokens indicating a respective named entity and (b) one or more indicators of a respective relationship between one named entity and another named entity; 274–526
- Claim 1, element e5generate, using the data set, a first graph comprising a plurality of nodes and a plurality of edges, 528–628
- Claim 1, element e6wherein an individual node corresponds to a named entity identified from the plurality of text collections, 630–736
- Claim 1, element e7wherein an individual edge indicates a relationship between a pair of named entities corresponding to a pair of nodes of the first graph linked by the edge, and wherein individual edges of the plurality of edges of the first graph, including a first edge, have a respective weight indicative of a confidence level associated with the relationship between the respective pair of named entities corresponding to the respective pair of nodes of the first graph linked by the respective edge; 738–1225
- Claim 1, element e8designate, based at least in part on a consistency rule set, at least a first cycle of the first graph as an inconsistent cycle, 1227–1354
- Claim 1, element e9wherein the first cycle includes the first edge and a second edge; 1356–1421
- Claim 1, element e10prune one or more edges, including the first edge, from the first graph to obtain a second graph, 1423–1519
- Claim 1, element e11wherein the first edge is selected for pruning from the first graph based at least in part on inclusion of the first edge in the first cycle that was designated as the inconsistent cycle, and on the weight of the first edge indicative of the confidence level associated with the relationship between the pair of named entities corresponding to the pair of nodes of the first graph linked by the first edge; and 1521–1926
- Claim 1, element e12provide, via a programmatic interface, a representation of one or more relationships indicated in the second graph, including a particular relationship corresponding to the second edge.1932–2116
4 dependent claims: 2 to 5 (2, 3, 4, 5 on claim 1)
Claim 2
Depends on claim 1.
2. The system as recited in claim 1 , wherein
- Claim 2, element e1individual ones of the text collections comprise respective sentences in an e-book, 46–128
- Claim 2, element e2wherein the one or more computing devices are configured to: 130–189
- Claim 2, element e3receive an indication via another programmatic interface that a reader of the e-book has (a) read a particular section of the e-book and (b) has requested supplementary information about the e-book; and 191–388
- Claim 2, element e4provide the representation of one or more relationships as part of the supplementary information.394–490
Claim 3
Depends on claim 1.
3. The system as recited in claim 1 , wherein
- Claim 3, element e1the one or more computing devices are configured to: 46–97
- Claim 3, element e2select the first edge for pruning using one or more of: 99–153
- Claim 3, element e3(a) a belief propagation algorithm (b) a greedy edge retention algorithm.159–227
Claim 4
Depends on claim 1.
4. The system as recited in claim 1 , wherein
- Claim 4, element e1the one or more computing devices are configured to: 46–97
- Claim 4, element e2receive, via the programmatic interface, a request from a client to analyze the data set, 99–187
- Claim 4, element e3wherein the request indicates a source of the data set.189–243
Claim 5
Depends on claim 1.
5. The system as recited in claim 1 , wherein
- Claim 5, element e1the one or more computing devices are configured to: 46–97
- Claim 5, element e2determine, using one or more of: 99–130
- Claim 5, element e3(a) a multi-class logistic regression model, 136–175
- Claim 5, element e4(b) a binary logic regression model, or (c) a neural network model, that a first text collection of the plurality of text collections indicates a first relationship with a first probability; and 181–366
- Claim 5, element e5compute the weight of the first edge based at least in part on the first probability.372–456
Claim 6
Independent claim.
6. A method, comprising:
- Claim 6, element e1performing, by one or more computing devices: 25–69
- Claim 6, element e2generating, using a data set comprising a plurality of text collections, a first graph comprising a plurality of nodes and a plurality of edges, 71–214
- Claim 6, element e3wherein an individual node corresponds to a named entity identified from the data set, 216–301
- Claim 6, element e4wherein an individual edge indicates a relationship between a pair of named entities corresponding to a pair of nodes of the first graph linked by the edge, and wherein individual edges of the plurality of edges of the first graph, including a first edge, have a respective weight indicative of a confidence level associated with the relationship between the respective pair of named entities corresponding to the respective pair of nodes of the first graph linked by the respective edge; 303–790
- Claim 6, element e5designating, based at least in part on a consistency rule set, at least a first cycle of the first graph as an inconsistent cycle, 792–921
- Claim 6, element e6wherein the first cycle includes the first edge; 923–970
- Claim 6, element e7pruning one or more edges, including the first edge, from the first graph to obtain a second graph, 972–1070
- Claim 6, element e8wherein the first edge is selected for pruning from the first graph based at least in part on inclusion of the first edge in the first cycle that was designated as the inconsistent cycle, and on the weight of the first edge indicative of the confidence level associated with the relationship between the pair of named entities corresponding to the pair of nodes of the first graph linked by the first edge; and 1072–1477
- Claim 6, element e9providing, via a programmatic interface, a representation of one or more relationships indicated in the second graph.1483–1599
10 dependent claims: 7 to 16 (7, 9, 10, 11, 12, 13, 14, 16 on claim 6; 8 on 7; 15 on 14)
Claim 7
Depends on claim 6.
7. The method as recited in claim 6 , wherein
- Claim 7, element e1individual ones of the text collections comprise respective sentences in an e-book, further comprising: 46–148
- Claim 7, element e2receiving, at the one or more computing devices, an indication via a programmatic interface that a reader of the e-book has (a) read a particular section of the e-book and (b) has requested supplementary information about the e-book; and 150–382
- Claim 7, element e3providing, by the one or more computing devices, the representation of one or more relationships as part of the supplementary information.388–525
Claim 8
Depends on claim 7.
8. The method as recited in claim 7 , further comprising:
- Claim 8, element e1determining, at the one or more computing devices, that the reader of the e-book has read an additional section of the e-book; and 58–183
- Claim 8, element e2providing, by the one or more computing devices, a second representation of relationships indicated in the e-book, 189–302
- Claim 8, element e3wherein the second representation indicates a particular relationship determined from an analysis of the additional section of the e-book, and wherein the particular relationship is not included in the supplementary information provided to the reader before the second section was read by the reader.304–603
Claim 9
Depends on claim 6.
9. The method as recited in claim 6 , wherein
- Claim 9, element e1selecting the first edge for pruning comprises executing one or more of: 46–117
- Claim 9, element e2(a) a belief propagation algorithm (b) a greedy edge retention algorithm.123–191
Claim 10
Depends on claim 6.
10. The method as recited in claim 6 , further comprising
- Claim 10, element e1performing, by the one or more computing devices: 58–106
- Claim 10, element e2receiving, via a programmatic interface, a request from a client to analyze the data set, 108–196
- Claim 10, element e3wherein the request indicates a source of the data set.198–252
Claim 11
Depends on claim 6.
11. The method as recited in claim 6 , further comprising
- Claim 11, element e1performing, by the one or more computing devices: 58–106
- Claim 11, element e2receiving, via a programmatic interface, respective indicators to be used to detect individual ones of a plurality of relationship categories in the data set.108–265
Claim 12
Depends on claim 6.
12. The method as recited in claim 6 , further comprising
- Claim 12, element e1performing, by the one or more computing devices: 58–106
- Claim 12, element e2receiving, via a programmatic interface, the consistency rule set.108–173
Claim 13
Depends on claim 6.
13. The method as recited in claim 6 , wherein
- Claim 13, element e1the first edge is selected for pruning based at least in part on an edge retention tradeoff parameter indicative of a relative priority assigned to edge weights with respect to inconsistency.47–237
Claim 14
Depends on claim 6.
14. The method as recited in claim 6 , wherein
- Claim 14, element e1said generating the first graph comprises: 47–88
- Claim 14, element e2identifying a set of relationship categories to be used to analyze the data set; 90–169
- Claim 14, element e3determining that a first text collection of the data set indicates, with a first probability, at least a first relationship between a pair of named entities, 171–327
- Claim 14, element e4wherein the first relationship belongs to a first category of the set of relationship categories; 329–425
- Claim 14, element e5determining that a different text collection of the data set indicates, with a second probability, the first relationship between the pair of named entities; and 427–583
- Claim 14, element e6assigning a weight, based at least in part on the first and second probabilities, to a particular edge in the first graph, 589–710
- Claim 14, element e7wherein the particular edge represents the first relationship.712–773
Claim 15
Depends on claim 14.
15. The method as recited in claim 14 , wherein
- Claim 15, element e1determining that the first text collection indicates the first relationship with the first probability comprises: 48–160
- Claim 15, element e2determining, based on analysis of the first text collection, a third probability of an undirected relationship between the pair of named entities; 162–307
- Claim 15, element e3determining, based on additional analysis of the first text collection, a fourth probability of a direction of the relationship between the pair of named entities; and 309–471
- Claim 15, element e4computing the first probability based at least in part on the third and fourth probabilities.477–569
Claim 16
Depends on claim 6.
16. The method as recited in claim 6 , further comprising
- Claim 16, element e1performing, by the one or more computing devices: 58–106
- Claim 16, element e2obtaining, prior to generating the first graph, at least some text collections of the plurality of text collections from audio corresponding to a video.108–259
Claim 17
Independent claim.
17. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors: generate, using a data set comprising
- Claim 17, element e1a plurality of text collections, a first graph comprising a plurality of nodes and a plurality of edges, 169–272
- Claim 17, element e2wherein an individual node corresponds to a named entity identified from the data set, 274–359
- Claim 17, element e3wherein an individual edge indicates a relationship between a pair of named entities corresponding to a pair of nodes of the first graph linked by the edge, and wherein individual edges of the plurality of edges of the first graph, including a first edge, have a respective weight indicative of a confidence level associated with the relationship between the respective pair of named entities corresponding to the respective pair of nodes of the first graph linked by the respective edge; 361–848
- Claim 17, element e4designate, based at least in part on a consistency rule set, at least a first cycle of the first graph as an inconsistent cycle, 850–977
- Claim 17, element e5wherein the first cycle includes the first edge; 979–1026
- Claim 17, element e6delete one or more edges, including the first edge, from the first graph to obtain a second graph, 1028–1125
- Claim 17, element e7wherein the first edge is selected for deletion from the first graph based at least in part on inclusion of the first edge in the first cycle that was designated as the inconsistent cycle, and on the weight of the first edge indicative of the confidence level associated with the relationship between the pair of named entities corresponding to the pair of nodes of the first graph linked by the first edge; and 1127–1533
- Claim 17, element e8provide, via a programmatic interface, a representation of one or more relationships indicated in the second graph.1539–1653
4 dependent claims: 18 to 21 (18, 19, 20, 21 on claim 17)
Claim 18
Depends on claim 17.
18. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein
- Claim 18, element e1individual ones of the text collections comprise respective sentences in an e-book, 91–173
- Claim 18, element e2wherein the instructions when executed on the one or more processors: 175–243
- Claim 18, element e3determine that a reader of the e-book has (a) read a particular section of the e-book and (b) has requested supplementary information about the e-book; and 245–395
- Claim 18, element e4include the representation of one or more relationships as part of the supplementary information.401–497
Claim 19
Depends on claim 17.
19. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein
- Claim 19, element e1the instructions when executed on the one or more processors: 91–151
- Claim 19, element e2select the first edge for deletion using one or more of: 153–208
- Claim 19, element e3(a) a belief propagation algorithm (b) a greedy edge retention algorithm.214–282
Claim 20
Depends on claim 17.
20. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein
- Claim 20, element e1the instructions when executed on the one or more processors: 91–151
- Claim 20, element e2determine that a request from a client to analyze the data set has been received via a programmatic interface, 153–262
- Claim 20, element e3wherein the request indicates a source of the data set.264–318
Claim 21
Depends on claim 17.
21. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein
- Claim 21, element e1the instructions when executed on the one or more processors: 91–151
- Claim 21, element e2determine, using one or more of: 153–184
- Claim 21, element e3(a) a multi-class logistic regression model, 190–229
- Claim 21, element e4(b) a binary logic regression model, or (c) a neural network model, that a first text collection of the plurality of text collections indicates a first relationship with a first probability; and 235–420
- Claim 21, element e5compute the weight of the first edge based at least in part on the first probability.426–510
1. A system, comprising: one or more computing devices of a network-accessible text analysis service; wherein the one or more computing devices are configured to: determine that relationship analysis is to performed on a data set comprising a plurality of text collections, wherein a particular text collection of the plurality of text collections includes (a) one or more tokens indicating a respective named entity and (b) one or more indicators of a respective relationship between one named entity and another named entity; generate, using the data set, a first graph comprising a plurality of nodes and a plurality of edges, wherein an individual node corresponds to a named entity identified from the plurality of text collections, wherein an individual edge indicates a relationship between a pair of named entities corresponding to a pair of nodes of the first graph linked by the edge, and wherein individual edges of the plurality of edges of the first graph, including a first edge, have a respective weight indicative of a confidence level associated with the relationship between the respective pair of named entities corresponding to the respective pair of nodes of the first graph linked by the respective edge; designate, based at least in part on a consistency rule set, at least a first cycle of the first graph as an inconsistent cycle, wherein the first cycle includes the first edge and a second edge; prune one or more edges, including the first edge, from the first graph to obtain a second graph, wherein the first edge is selected for pruning from the first graph based at least in part on inclusion of the first edge in the first cycle that was designated as the inconsistent cycle, and on the weight of the first edge indicative of the confidence level associated with the relationship between the pair of named entities corresponding to the pair of nodes of the first graph linked by the first edge; and provide, via a programmatic interface, a representation of one or more relationships indicated in the second graph, including a particular relationship corresponding to the second edge.
2. The system as recited in claim 1 , wherein individual ones of the text collections comprise respective sentences in an e-book, wherein the one or more computing devices are configured to: receive an indication via another programmatic interface that a reader of the e-book has (a) read a particular section of the e-book and (b) has requested supplementary information about the e-book; and provide the representation of one or more relationships as part of the supplementary information.
3. The system as recited in claim 1 , wherein the one or more computing devices are configured to: select the first edge for pruning using one or more of: (a) a belief propagation algorithm (b) a greedy edge retention algorithm.
4. The system as recited in claim 1 , wherein the one or more computing devices are configured to: receive, via the programmatic interface, a request from a client to analyze the data set, wherein the request indicates a source of the data set.
5. The system as recited in claim 1 , wherein the one or more computing devices are configured to: determine, using one or more of: (a) a multi-class logistic regression model, (b) a binary logic regression model, or (c) a neural network model, that a first text collection of the plurality of text collections indicates a first relationship with a first probability; and compute the weight of the first edge based at least in part on the first probability.
6. A method, comprising: performing, by one or more computing devices: generating, using a data set comprising a plurality of text collections, a first graph comprising a plurality of nodes and a plurality of edges, wherein an individual node corresponds to a named entity identified from the data set, wherein an individual edge indicates a relationship between a pair of named entities corresponding to a pair of nodes of the first graph linked by the edge, and wherein individual edges of the plurality of edges of the first graph, including a first edge, have a respective weight indicative of a confidence level associated with the relationship between the respective pair of named entities corresponding to the respective pair of nodes of the first graph linked by the respective edge; designating, based at least in part on a consistency rule set, at least a first cycle of the first graph as an inconsistent cycle, wherein the first cycle includes the first edge; pruning one or more edges, including the first edge, from the first graph to obtain a second graph, wherein the first edge is selected for pruning from the first graph based at least in part on inclusion of the first edge in the first cycle that was designated as the inconsistent cycle, and on the weight of the first edge indicative of the confidence level associated with the relationship between the pair of named entities corresponding to the pair of nodes of the first graph linked by the first edge; and providing, via a programmatic interface, a representation of one or more relationships indicated in the second graph.
7. The method as recited in claim 6 , wherein individual ones of the text collections comprise respective sentences in an e-book, further comprising: receiving, at the one or more computing devices, an indication via a programmatic interface that a reader of the e-book has (a) read a particular section of the e-book and (b) has requested supplementary information about the e-book; and providing, by the one or more computing devices, the representation of one or more relationships as part of the supplementary information.
8. The method as recited in claim 7 , further comprising: determining, at the one or more computing devices, that the reader of the e-book has read an additional section of the e-book; and providing, by the one or more computing devices, a second representation of relationships indicated in the e-book, wherein the second representation indicates a particular relationship determined from an analysis of the additional section of the e-book, and wherein the particular relationship is not included in the supplementary information provided to the reader before the second section was read by the reader.
9. The method as recited in claim 6 , wherein selecting the first edge for pruning comprises executing one or more of: (a) a belief propagation algorithm (b) a greedy edge retention algorithm.
10. The method as recited in claim 6 , further comprising performing, by the one or more computing devices: receiving, via a programmatic interface, a request from a client to analyze the data set, wherein the request indicates a source of the data set.
11. The method as recited in claim 6 , further comprising performing, by the one or more computing devices: receiving, via a programmatic interface, respective indicators to be used to detect individual ones of a plurality of relationship categories in the data set.
12. The method as recited in claim 6 , further comprising performing, by the one or more computing devices: receiving, via a programmatic interface, the consistency rule set.
13. The method as recited in claim 6 , wherein the first edge is selected for pruning based at least in part on an edge retention tradeoff parameter indicative of a relative priority assigned to edge weights with respect to inconsistency.
14. The method as recited in claim 6 , wherein said generating the first graph comprises: identifying a set of relationship categories to be used to analyze the data set; determining that a first text collection of the data set indicates, with a first probability, at least a first relationship between a pair of named entities, wherein the first relationship belongs to a first category of the set of relationship categories; determining that a different text collection of the data set indicates, with a second probability, the first relationship between the pair of named entities; and assigning a weight, based at least in part on the first and second probabilities, to a particular edge in the first graph, wherein the particular edge represents the first relationship.
15. The method as recited in claim 14 , wherein determining that the first text collection indicates the first relationship with the first probability comprises: determining, based on analysis of the first text collection, a third probability of an undirected relationship between the pair of named entities; determining, based on additional analysis of the first text collection, a fourth probability of a direction of the relationship between the pair of named entities; and computing the first probability based at least in part on the third and fourth probabilities.
16. The method as recited in claim 6 , further comprising performing, by the one or more computing devices: obtaining, prior to generating the first graph, at least some text collections of the plurality of text collections from audio corresponding to a video.
17. A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors: generate, using a data set comprising a plurality of text collections, a first graph comprising a plurality of nodes and a plurality of edges, wherein an individual node corresponds to a named entity identified from the data set, wherein an individual edge indicates a relationship between a pair of named entities corresponding to a pair of nodes of the first graph linked by the edge, and wherein individual edges of the plurality of edges of the first graph, including a first edge, have a respective weight indicative of a confidence level associated with the relationship between the respective pair of named entities corresponding to the respective pair of nodes of the first graph linked by the respective edge; designate, based at least in part on a consistency rule set, at least a first cycle of the first graph as an inconsistent cycle, wherein the first cycle includes the first edge; delete one or more edges, including the first edge, from the first graph to obtain a second graph, wherein the first edge is selected for deletion from the first graph based at least in part on inclusion of the first edge in the first cycle that was designated as the inconsistent cycle, and on the weight of the first edge indicative of the confidence level associated with the relationship between the pair of named entities corresponding to the pair of nodes of the first graph linked by the first edge; and provide, via a programmatic interface, a representation of one or more relationships indicated in the second graph.
18. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein individual ones of the text collections comprise respective sentences in an e-book, wherein the instructions when executed on the one or more processors: determine that a reader of the e-book has (a) read a particular section of the e-book and (b) has requested supplementary information about the e-book; and include the representation of one or more relationships as part of the supplementary information.
19. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein the instructions when executed on the one or more processors: select the first edge for deletion using one or more of: (a) a belief propagation algorithm (b) a greedy edge retention algorithm.
20. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein the instructions when executed on the one or more processors: determine that a request from a client to analyze the data set has been received via a programmatic interface, wherein the request indicates a source of the data set.
21. The non-transitory computer-accessible storage medium as recited in claim 17 , wherein the instructions when executed on the one or more processors: determine, using one or more of: (a) a multi-class logistic regression model, (b) a binary logic regression model, or (c) a neural network model, that a first text collection of the plurality of text collections indicates a first relationship with a first probability; and compute the weight of the first edge based at least in part on the first probability.
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 10885452 shows no unresolved maintenance-fee lapse, and the term end computed from the dates in that record is 2038-10-10 (20 years from filing, plus 835 days of patent term adjustment), a date not yet passed (data version 20261117.2).
- Basis
- term_20y · pta_days:835 (20 years from filing, plus 835 days of patent term adjustment)
- Term end
- 2038-10-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: 2 US patent documents · Cited by: 73 US patents in this data · Lists through the API: /api/v1/patent/us_patent_citation/10885452/ (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": "10885452",
"status": "active",
"basis": [
"term_20y",
"pta_days:835"
],
"reinstatement_possible": false,
"reinstatement_basis": "not lapsed",
"expiry_date_estimated": "2038-10-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/10885452?v=20261117.2",
"next_steps": [
{
"kind": "record",
"url": "https://patentref.io/p/10885452?v=20261117.2",
"audience": "human"
},
{
"kind": "patent",
"url": "https://patentref.io/api/v1/patent/10885452/",
"audience": "agent"
},
{
"kind": "fee_events",
"tool": "uspto_patent_center",
"url": "https://patentcenter.uspto.gov/applications?patentNumber=10885452",
"audience": "agent"
}
]
}
Get this as data
- Full record
/api/v1/patent/10885452/ - Status record
/api/v1/lapse/status/10885452/ - Claim tree
/api/v1/structure/claims/10885452/ - Brief
/api/v1/structure/brief/10885452/
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.