Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for improving question and answer accuracy of knowledge base

A knowledge base and accuracy technology, applied in the knowledge base question answering method and system field of relational inference, can solve problems such as fuzzy results, high cost, and no display of the final impact of relational inference, so as to achieve the effect of improving accuracy and enhancing effect

Active Publication Date: 2019-09-13
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF6 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The method based on semantic analysis needs to learn how to construct structured query statements, and often requires a large amount of manually labeled data. This type of labeled data requires labelers to be familiar with the corresponding linguistic knowledge, which is expensive.
The embedding-based method ignores the relationship inference step, treats single-relationship questions and multi-relationship questions uniformly, regards all nodes within two hops connected to the subject entity in the knowledge base as candidate answers, and does not explicitly model multi-relationship questions The final impact of intermediate nodes on relationship inference. This method of encoding all nodes as encoded candidate answers is similar to information retrieval. When dealing with multi-relational problems, it does not make full use of the information in the question and knowledge base, making the result of relationship inference relatively vague
For example, in the typical multi-relational question "What is the height of Yao Ming's wife?", the traditional method first extracts all nodes within two hops connected to "Yao Ming" in the knowledge base, and finally calculates the encoded node and The similarity of the question sentences, but the question here is not the height of Yao Ming, nor the height of his parents or teammates, but the height of his wife Ye Li. The node returned by the traditional method is likely to be the height of Yao Ming or his related people. Not the height of his wife Ye Li

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for improving question and answer accuracy of knowledge base
  • Method and system for improving question and answer accuracy of knowledge base
  • Method and system for improving question and answer accuracy of knowledge base

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The knowledge base multi-relationship problem relation inference method that the present invention proposes comprises the following steps:

[0046] 1) Obtain the subject entity of the user's question through the subject entity recognition tool, and obtain the path information of all candidate answers. The candidate answer starts from the subject entity and connects with the subject entity through the n-hop relationship in the knowledge base. point, the path information is the n-hop relationship path between the subject entity and the candidate entity. For example, the date of birth of Yao Ming's daughter. In this question, the subject entity is Yao Ming, and the answer is May 22, 2010, so the path information is Yao Ming (father-daughter relationship) and Yao Qinlei (birthday) May 22, 2010;

[0047] 2) For the questions entered by the user, preprocess the questions by removing punctuation marks and lowercase conversion, and use the mention of the subject entity in the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a system for improving question and answer accuracy of a knowledge base. The method comprises the following steps: obtaining a user question to be answered, extracting a theme entity in the user question, retrieving the knowledge base by using the theme entity, taking path information of each obtained candidate answer as a candidate path, and preprocessing the user question to obtain vector representation of the user question; scoring each step relationship on the candidate path by utilizing the vector representation by utilizing an attention mechanism to obtain a relationship confidence coefficient of each step relationship on the candidate path, and summing all relationship confidence coefficients on the candidate path to obtain a path confidence coefficient of the relationship path; and sorting all the candidate paths according to the set path confidence coefficients, and outputting the candidate path with the highest path confidence coefficient as an answer result of the user question. According to the invention, the effect of the intermediate node in the whole relationship inference is enhanced, and the accuracy of the relationship inferenceis improved.

Description

technical field [0001] The present invention relates to the field of Internet technology and the field of relationship inference in big data analysis, and in particular to a knowledge base question answering method and system for relationship inference based on path information. Background technique [0002] The knowledge base question answering system is a research hotspot in the field of natural language processing. The user inputs a complete and colloquial question sentence, and the system can return a clear answer string by querying in the structured knowledge base. Knowledge in the knowledge base is usually stored in the form of triples, namely (head entity, relation, tail entity). Generally speaking, a knowledge base question answering system contains two core modules, namely, the subject entity inference module and the relation inference module. The topic entity inference is to find out the entities that the user is interested in in the user's question and link them ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/332G06F16/33G06F17/27
CPCG06F16/3329G06F16/3344G06F40/295
Inventor 王元卓靳小龙程学旗席鹏弼仇韫琦
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products