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

Question and answer method and system based on BERT and knowledge base

A BERT-CRF and knowledge base technology, applied in knowledge expression, text database query, biological neural network model, etc., can solve the problem of inability to analyze semantic information, logical expressions and natural language semantic barriers, lack of text correlation analysis, etc. problem, to achieve the effect of improving the recognition accuracy

Active Publication Date: 2020-12-22
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF12 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] 1. Based on semantic analysis methods, there is a barrier between logical expressions and natural language semantics;
[0012] 2. The method based on information retrieval cannot analyze the semantic information in the question text, especially the context information cannot be fully utilized to get the disambiguation of the entity;
[0013] 3. Existing models such as CNN, RNN, Bi-LSTM, etc., the model training effect, accuracy, F1 value, etc. are not as good as BERT, Transformer and other cutting-edge models, and lack the correlation between words or words in the question text sex analysis

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
  • Question and answer method and system based on BERT and knowledge base
  • Question and answer method and system based on BERT and knowledge base
  • Question and answer method and system based on BERT and knowledge base

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to facilitate those skilled in the art to understand the technical content of the present invention, the content of the present invention will be further explained below in conjunction with the accompanying drawings.

[0035] Such as figure 1 Shown, a kind of question answering method based on BERT and knowledge base of the present invention, comprises the following steps:

[0036] A. Obtain and preprocess the question and answer corpus used to build the knowledge base and for BERT downstream task training;

[0037] B. Construct a question-and-answer knowledge base according to the question-and-answer corpus preprocessed in step A, which consists of a question entity, an attribute entity, and an answer text to form a triplet, which is stored as a question-and-answer knowledge base;

[0038] C. Construct a BERT-based language model according to the question-and-answer corpus preprocessed in step A;

[0039] D. Obtain the training question-answer corpus data of...

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 discloses a questioning and answering method and system based on BERT and a knowledge base, is applied to the field of information retrieval. A named entity recognition model based on BERT-CRF and a language model and a text similarity dichotomy model based on BERT and the language model in order to overcome at the defects of an existing knowledge base questioning and answering system. the two models are trained, the two trained models are adopted to process the linguistic data of the to-be-answered questions, correct answers to the questions can be obtained, and answers are automatically rewritten.

Description

technical field [0001] The invention belongs to the field of information retrieval, in particular to a question-and-answer search technology. Background technique [0002] Traditional question and answer search, based on keyword retrieval, does not take into account the semantic information of the question text. In the knowledge base question answering system, the questioner inputs specific question texts, analyzes and processes the question texts online, and then retrieves and outputs the most matching answer texts to obtain fast and accurate answers to questions. [0003] Knowledge base question answering systems and methods are mainly divided into three categories: [0004] 1) Method based on information retrieval [0005] By extracting question entities and attribute relations from the question text, and then searching in the knowledge base. [0006] 2) Method based on semantic analysis [0007] By retrieving the logical expression of the question text in the knowled...

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/33G06F40/295G06N5/02G06N3/04
CPCG06F16/3329G06F16/3344G06F40/295G06N5/02G06N3/044G06N3/045
Inventor 廖伟智黄明彤阴艳超
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
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