IP Library › Granted Patent US 11,934,441
Granted Patent B2
US 11,934,441 · App. 16/862,509 · Granted Mar 19, 2024

Generative ontology learning and natural language processing with predictive language models

Inventors: Francois Pierre Luus (Wierdapark, ZA); Etienne Eben Vos (Johannesburg, ZA); Ndivhuwo Makondo (Pretoria, ZA); Naweed Aghmad Khan (Johannesburg, ZA); Ismail Yunus Akhalwaya (Emmarentia, ZA)
Assignee: International Business Machines Corporation
G06F16/367G06F40/20G06N3/047G06N3/084
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 11,934,441
App. No.
16/862,509
Granted
Mar 19, 2024
Kind
B2
Abstract

An ontology topic is selected and a pretrained predictive language model is primed to create a predictive primed model based on one or more ontological rules corresponding to the selected ontology topic. Using the predictive primed model, natural language text is generated based on the ontology topic and guidance of a prediction steering component. The predictive primed model is guided in selecting text that is predicted to be appropriate for the ontology topic and the generated natural language text. The generated natural language text is processed to generate extracted ontology rules and the extracted ontology rules are compared to one or more rules of an ontology rule database that correspond to the ontology topic. A check is performed to determine if a performance of the ontology extractor is acceptable.

Claims (47)

1. A method for training an ontology system, the method comprising:

selecting an ontology topic;

priming, by an ontology topic primer, a pretrained predictive language model to create a predictive primed model based on one or more ontological rules corresponding to the selected ontology topic;

generating, using the predictive primed model, natural language text based on the ontology topic and guidance of a prediction steering component;

guiding, by the prediction steering component, the predictive primed model in selecting text that is predicted to be appropriate for the ontology topic and the generated natural language text;

processing, by an ontology extractor, the generated natural language text to generate extracted ontology rules;

comparing the extracted ontology rules to one or more rules of an ontology rule database that correspond to the ontology topic, wherein a result of the comparison comprises an indication of a performance of the ontology extractor;

training the ontology extractor and the ontology topic primer based on the result of the comparison; and

performing, by an ontology comparator, a check to determine if a performance of the ontology extractor is acceptable.

2. The method of claim 1 , further comprising repeating the priming, generating, guiding, processing, comparing, and performing operations, wherein the priming of the pretrained predictive language model uses results generated by the ontology comparator and a sequence of natural language tokens generated by the ontology topic primer that provides context to the pretrained predictive language model.

3. The method of claim 1 , further comprising pairing a coherent selection of ontological rules with natural language text that expressively and verbosely embeds the selection of ontological rules to generate a training dataset for training the ontology system.

4. The method of claim 1 , further comprising training the ontology extractor, the ontology topic primer, and the ontology comparator using an adversarial training algorithm implemented as an iterative stochastic gradient descent optimization with a backpropagation of errors in one or more objectives.

5. The method of claim 1 , wherein the ontology topic primer comprises a sequence-to-sequence model implemented as a recurrent neural network model having a time dimension, the method further comprising training the ontology topic primer to produce natural language text that embodies given ontological rules, taking as input a sequence of tokens from one or more ontological rules of the ontology rule database, and outputting a sequence of natural language tokens.

6. The method of claim 1 , further comprising seeding the predictive primed model using a topic selection output to prime the predictive primed model with one or more of dictionary definitions and topic concepts prompting an ontology-to-text generator comprising the pretrained predictive language model to sequentially output words and consequently generate a corpus.

7. The method of claim 1 , further comprising training the prediction steering component based on a ranked list of probabilities of a given word appearing in natural language text corresponding to the topic selection.

8. The method of claim 1 , further comprising attempting production of ontologies in order to maximize a loss of an ontology comparator.

9. The method of claim 1 , wherein the ontology extractor comprises a sequence-to-sequence model implemented as a recurrent neural network that takes as input a sequence of tokens from the generated natural language text, the method further comprising outputting a sequence of tokens that express ontological rules.

10. The method of claim 1 , the extracted ontology rules capture semantics and relations between entities in the generated natural language text.

11. The method of claim 1 , wherein the ontology comparator comprises an ontology matching algorithm using analogical similarity, the method further comprising computing a similarity score between two ontologies by mapping corresponding relations between each ontology and one or more corresponding role-filling objects.

12. The method of claim 1 , wherein the ontology comparator comprises a binary classifier implemented as a neural network that takes a set of token sequences as input, the method further comprising converting the set into a vector embedding, and assessing whether the set was one of generatively extracted and originating from the ontology rule database.

13. The method of claim 1 , further comprising attempting to correctly classify the extracted ontology rules as one of one or more rules of an ontology rule database that correspond to one or more of the ontology topic and a synthesized ontology to minimize a loss metric.

14. The method of claim 1 , further comprising attempting to correctly classify given natural language text as one of ontology-synthesized text and genuine natural language text to minimize a loss metric.

15. A non-transitory computer readable medium comprising computer executable instructions which when executed by a computer cause the computer to perform the method of:

implementing an ontology topic primer, a prediction steering component, an ontology extractor, and an ontology comparator;

selecting an ontology topic;

priming, by the ontology topic primer, a pretrained predictive language model to create a predictive primed model based on one or more ontological rules corresponding to the selected ontology topic;

generating, using the predictive primed model, natural language text based on the ontology topic and guidance of the prediction steering component;

guiding, by the prediction steering component, the predictive primed model in selecting text that is predicted to be appropriate for the ontology topic and the generated natural language text;

processing, by the ontology extractor, the generated natural language text to generate extracted ontology rules;

comparing, by the ontology comparator, the extracted ontology rules to one or more rules of an ontology rule database that correspond to the ontology topic, wherein a result of the comparison comprises an indication of a performance of the ontology extractor;

training the ontology extractor and the ontology topic primer based on the result of the comparison; and

performing, by the ontology comparator, a check to determine if a performance of the ontology extractor is acceptable.

16. An apparatus comprising:

a memory; and

at least one processor, coupled to the memory, and operative to perform operations comprising:

implementing an ontology topic primer, a prediction steering component, an ontology extractor, and an ontology comparator

selecting an ontology topic;

priming, by the ontology topic primer, a pretrained predictive language model to create a predictive primed model based on one or more ontological rules corresponding to the selected ontology topic;

generating, using the predictive primed model, natural language text based on the ontology topic and guidance of a prediction steering component;

guiding, by the prediction steering component, the predictive primed model in selecting text that is predicted to be appropriate for the ontology topic and the generated natural language text;

processing, by the ontology extractor, the generated natural language text to generate extracted ontology rules;

comparing the extracted ontology rules to one or more rules of an ontology rule database that correspond to the ontology topic, wherein a result of the comparison comprises an indication of a performance of the ontology extractor;

training the ontology extractor and the ontology topic primer based on the result of the comparison; and

performing, by the ontology comparator, a check to determine if a performance of the ontology extractor is acceptable.

17. The apparatus of claim 16 , the operations further comprising training the ontology extractor, the ontology topic primer, and the ontology comparator using an adversarial training algorithm implemented as an iterative stochastic gradient descent optimization with a backpropagation of errors in one or more objectives.

18. The apparatus of claim 16 , wherein the ontology topic primer comprises a sequence-to-sequence model implemented as a recurrent neural network model having a time dimension, the operations further comprising training the ontology topic primer to produce natural language text that embodies given ontological rules, taking as input a sequence of tokens from one or more ontological rules of the ontology rule database, and outputting a sequence of natural language tokens.

19. The apparatus of claim 16 , wherein the ontology comparator comprises an ontology matching algorithm using analogical similarity, the operations further comprising computing a similarity score between two ontologies by mapping corresponding relations between each ontology and one or more corresponding role-filling objects.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 29, 2020
From: LUUS, FRANCOIS PIERRE; VOS, ETIENNE EBEN; MAKONDO, NDIVHUWO; KHAN, NAWEED AGHMAD; AKHALWAYA, ISMAIL YUNUS
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 052531/0220 →
Continuity (1)
Related Publication 20210342380A1 · Nov 4, 2021