IP Library Granted Patent US 10,073,840
Granted Patent B2
US 10,073,840 · App. 14/136,919 · Granted Sep 11, 2018

Unsupervised relation detection model training

Inventors: Dilek Z. Hakkani-Tur (Los Altos, CA); Gokhan Tur (Los Altos, CA); Larry Paul Heck (Los Altos, CA)
Assignee: Microsoft Technology Licensing, LLC
G06F17/28
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,073,840
App. No.
14/136,919
Granted
Sep 11, 2018
Kind
B2
Abstract

A relation detection model training solution. The relation detection model training solution mines freely available resources from the World Wide Web to train a relationship detection model for use during linguistic processing. The relation detection model training system searches the web for pairs of entities extracted from a knowledge graph that are connected by a specific relation. Performance is enhanced by clipping search snippets to extract patterns that connect the two entities in a dependency tree and refining the annotations of the relations according to other related entities in the knowledge graph. The relation detection model training solution scales to other domains and languages, pushing the burden from natural language semantic parsing to knowledge base population. The relation detection model training solution exhibits performance comparable to supervised solutions, which require design, collection, and manual labeling of natural language data.

Claims (66)

1. A method of automatically generating natural language patterns based on a knowledge graph, the method comprising:

selecting a relation from a knowledge graph;

extracting at least a first pair of words from the knowledge graph, wherein the first pair of words is connected by the relation;

receiving a set of documents as a search result based on a first query, wherein the first query comprises at least one instruction to select documents based on the first pair of words;

extracting, from the set of documents, at least one textual snippet based on the first query, wherein the at least one textual snippet includes at least in part the first pair of words;

extracting a second query from a query click log, wherein the query click log comprises at least one search query against at least a part of the set of documents and at least one link to at least one document, and wherein the second query is associated with at least one link to the at least one document containing the at least one textual snippet;

generating a first set of training patterns, wherein the first set of training patterns is based on association between the at least one textual snippet and the relation;

generating a second set of training patterns, wherein the second set of training patterns is based on association between the second query and the relation;

generating a third set of natural language patterns for the knowledge graph, wherein generating the set of natural language patterns further comprises selectively combining the first set of training patterns and the second set of training patterns based on at least one weight between the first set of training patterns and the second set of training patterns; and

applying the generated third set of natural language patterns to the knowledge graph to automatically train a natural language dialog system.

2. The method of claim 1 , further comprising training a relation detection model using the set of natural language patterns for the knowledge graph.

3. The method of claim 1 wherein associating the at least one textual snippet further comprises:

retrieving all properties associated with the relation, wherein the properties comprise entities and corresponding relations;

comparing the properties to the at least one textual snippet; and

annotating the at least one textual snippet containing matches to entities from the properties with the corresponding relations.

4. The method of claim 1 further comprising interpolating the set of natural language patterns; and

labeling the at least one snippet with additional relations from a set of additional relations using the relation classifier.

5. The method of claim 4 wherein the set of additional relations comprises relations with a high probability of appearing in a conversational input.

6. The method of claim 1 wherein the set of documents is on the World Wide Web.

7. The method of claim 1 wherein the relation and the pair of words form a triple.

8. A computer readable storage device containing computer executable instructions which, when executed by a computer, perform a method for training a relation detection model without supervision, the method comprising:

selecting a relation from a knowledge graph;

extracting at least a first pair of words from the knowledge graph, wherein the first pair of words is connected by the relation;

receiving a set of documents as a search result based on a first query, wherein the first query comprises at least one instruction to select documents based on the first pair of words;

extracting, from the set of documents, at least one textual snippet based on the first query, wherein the at least one textual snippet includes at least in part the first pair of words;

extracting a second query from a query click log, wherein the query click log comprises at least one search query against at least a part of the set of documents and at least one link to at least one document, and wherein the second query is associated with at least one link to the at least one document containing the at least one textual snippet;

generating a first set of training patterns, wherein the first set of training patterns is based on association between the at least one textual snippet and the relation;

generating a second set of training patterns, wherein the second set of training patterns is based on association between the second query and the relation;

generating a third set of natural language patterns for the knowledge graph, wherein generating the set of natural language patterns further comprises selectively combining the first set of training patterns and the second set of training patterns based on at least one weight between the first set of training patterns and the second set of training patterns; and

applying the generated third set of natural language patterns to the knowledge graph to automatically train a natural language dialog system.

9. The computer readable storage device of claim 8 wherein associating the at least one textual snippet further comprises:

selecting the smallest sequence of constituent elements in the at least one textual snippet that contains both words from the pair as the set of natural language patterns; and

replacing the both words in the set of natural language patterns with tokens from the knowledge graph corresponding to each of both words.

10. The computer readable storage device of claim 9 wherein the method further comprises associating a pair of words from the set of natural language patterns with additional relations when the pair of words corresponds to more than one relation.

11. A system comprising at least one processor in electronic communication with a computer readable storage device, the computer readable storage device storing instructions that, when executed, are capable of performing a method, the method comprising:

selecting a relation from a knowledge graph;

extracting at least a first pair of words from the knowledge graph, wherein the first pair of words is connected by the relation;

receiving a set of documents as a search result based on a first query, wherein the first query comprises at least one instruction to select documents based on the first pair of words;

extracting, from the set of documents, at least one textual snippet based on the first query, wherein the at least one textual snippet includes at least in part the first pair of words;

extracting a second query from a query click log, wherein the query click log comprises at least one search query against at least a part of the set of documents and at least one link to at least one document, and wherein the second query is associated with at least one link to the at least one document containing the at least one textual snippet;

generating a first set of training patterns, wherein the first set of training patterns is based on association between the at least one textual snippet and the relation;

generating a second set of training patterns, wherein the second set of training patterns is based on association between the second query and the relation;

generating a third set of natural language patterns for the knowledge graph, wherein generating the set of natural language patterns further comprises selectively combining the first set of training patterns and the second set of training patterns based on at least one weight between the first set of training patterns and the second set of training patterns; and

applying the generated third set of natural language patterns to the knowledge graph to automatically train a natural language dialog system.

12. The system of claim 11 , further comprising training a relation detection model using the set of natural language patterns for the knowledge graph.

13. The system of claim 11 wherein associating the at least one textual snippet further comprises:

retrieving all properties associated with the relation, wherein the properties comprise entities and corresponding relations;

comparing the properties to the at least one textual snippet; and

annotating the at least one textual snippets containing matches to entities from the properties with the corresponding relations.

14. The system of claim 11 further comprising:

interpolating the set of natural language patterns and

labeling the at least one snippets with an additional relations from a set of additional relations using the relation classifier.

15. The system of claim 14 wherein the set of additional relations comprises relations with a high probability of appearing in a conversational input.

16. The system of claim 11 wherein the relation and the pair of words form a triple.

17. A method of automatically generating natural language patterns for a knowledge graph, the method comprising:

selecting a relation from a knowledge graph;

extracting at least a first pair of words from the knowledge graph, wherein the first pair of words is connected by the relation;

receiving a set of documents as a search result based on a first query, wherein the first query comprises at least one instruction to select documents based on the first pair of words;

extracting, from the set of documents, at least one textual snippet based on the first query, wherein the at least one textual snippet includes at least in part the first pair of words; and

associating the at least one textual snippet with the relation to form a set of natural language patterns for the knowledge graph.

18. The method of claim 17 , further comprising:

extracting a second query from a query click log, wherein the query click log comprises at least one search query against the set of documents and at least one link to at least one document, and the second query is associated with at least one link to the at least one document containing the at least one textual snippet;

generating a first set of training patterns, wherein the first set of training patterns is based on association between the at least one textual snippet and the relation;

generating a second set of training patterns, wherein the second set of training patterns is based on association between the second query and the relation;

generating a set of natural language patterns for the knowledge graph, wherein generating the set of natural language patterns further comprises selectively combining the first set of training patterns and the second set of training patterns based on at least one weight between the first set of training patterns and the second set of training patterns; and

applying the generated set of natural language patterns to the knowledge graph to automatically train a knowledge graph-based natural language dialog system.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 10, 2018
From: HECK, LARRY PAUL
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 046303/0048 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 9, 2015
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 039025/0454 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 20, 2013
From: HAKKANI-TUR, DILEK Z.; TUR, GOKHAN; HECK, LARRY P.
To: MICROSOFT CORPORATION
Reel/Frame 031832/0337 →
Continuity (1)
Related Publication 20150178273A1 · Jun 25, 2015
Cited By (15)
US 12,204,859 US 12,216,996 US 12,288,039 US 12,314,674 US 12,400,646 US 12,423,525 US 12,462,114 US 12,468,694 US 12,505,093 US 12,541,694 US 12,608,416 US 12,614,042 US 12,632,445 US 12,681,997 US 12,699,692