Knowledge graph common sense generation method based on hierarchical modeling
Патент · CN B
Полный текст
The invention discloses a knowledge graph common sense generation method based on hierarchical modeling, which comprises the steps of obtaining a knowledge graph, embedding and extracting similar entities of each entity phrase in the knowledge graph by utilizing a box, generating preliminary candidates by replacing head and tail entity phrases, performing candidate filtering on the generated preliminary candidates, including performing reachable path searching on the head and tail entity phrases to measure whether triples are accepted by a given common sense knowledge base, filtering based on a large language model LLMs of a grouping instruction, and outputting negative common sense knowledge. The invention provides a high-efficiency negative common sense knowledge generation framework based on hierarchical modeling, which generates negative knowledge with confusion, utilizes box embedding to identify similar entities to generate more meaningful negative candidates, and identifies valuable negative statements through a two-step filtering strategy.