Knowledge grap pre-training method based on structural context infor
AssigneeZhejiang University
InventorsHUAJUN CHEN, WEN ZHANG, GANQIANG YE
Life of this patent
Estimating the term…
Loading patent…
AssigneeZhejiang University
InventorsHUAJUN CHEN, WEN ZHANG, GANQIANG YE
Estimating the term…
Disclosed in the present invention is a knowledge graph pre-training method based on structural context information, the method comprising: for a target triple, constructing an instance comprising context triples, and adopting a triple integration module to encode each of the context triples in the instance to obtain an integration vector; combining the integration vectors for all context triples in the instance into a context vector sequence, and adopting a structural information module to encode the context vector sequence to obtain a structural representation vector for the triple; adopting a general task module to calculate the structural representation vector for the triple, and obtaining a label prediction value for the triples, updating the structural representation vector for the triple based on cross-entropy loss of the label prediction value for the triple and a label truth value for the triple until the completion of the training, so as to obtain an optimized structural representation vector for the target triple. The structural representation vector for the triple obtained by this method incorporates the context information.
A knowledge graph pre-training method based on structural context information, wherein a pre-training model comprising a triple integration module, a structural information module and a general task module is adopted to train triples in the knowledge graph, and the specific training process thereof comprises:
Dependencies are inferred from the claim text.