Unlock instant, AI-driven research and patent intelligence for your innovation.

Question answering model construction method and system, question answering method and device, trial system

A technology for building methods and models, applied in the field of natural language processing reading comprehension, it can solve the problems of reading comprehension that is not suitable for multi-hop, cannot extract supporting evidence for multi-hop problems, etc., to achieve the effect of convenience and correctness

Active Publication Date: 2021-03-12
SICHUAN UNIV +1
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this model is limited to single-hop questions and answers, that is, the answer to the question can be found in only one sentence / paragraph, and cannot extract the supporting evidence required for multi-hop questions.
[0003] Questions and answers in many fields are based on multi-jump reading comprehension of sentences. To answer a question, you need to find multiple supporting sentences, and then jump to the sentence where the answer is located step by step; among them, the supporting sentences often have only a small vocabulary overlap with the original question. Or semantic relations, so existing models are not suitable for this kind of sentence-based multi-hop reading comprehension

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 answering model construction method and system, question answering method and device, trial system
  • Question answering model construction method and system, question answering method and device, trial system
  • Question answering model construction method and system, question answering method and device, trial system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] Please refer to figure 1 and figure 2 , figure 1 A schematic diagram of the composition of the question-answering model, figure 2 It is a schematic flow diagram of a method for building a question-and-answer model. Embodiment 1 of the present invention provides a method for building a question-and-answer model. The question-and-answer model includes a reasoning path retrieval model and a reading comprehension model. The method includes:

[0079] Step 1.1: Construct the retrieval reasoning path annotation dataset;

[0080] Step 1.2: Based on the retrieved inference path annotation data set, construct an inference path retrieval model for retrieving the inference path from preset information;

[0081] Step 1.3: Construct the loss function of the inference path retrieval model;

[0082] Step 1.4: Use the retrieval reasoning path annotation data set to train the reasoning path retrieval model, and obtain the trained reasoning path retrieval model;

[0083] Step 1.5: ...

Embodiment 2

[0106] Please refer to image 3 , image 3 It is a schematic diagram of the composition of the question-and-answer model building system. Embodiment 2 of the present invention provides a question-and-answer model building system. The question-and-answer model includes a reasoning path retrieval model and a reading comprehension model. The system includes:

[0107] Data set construction unit, used to construct retrieval reasoning path annotation data set;

[0108] An inference path retrieval model construction unit, configured to annotate the data set based on the retrieval inference path, and construct an inference path retrieval model for retrieving the inference path from preset information;

[0109] The loss function construction unit is used to construct the loss function of the inference path retrieval model;

[0110] The inference path retrieval model training unit is used to train the inference path retrieval model based on the retrieval inference path annotation data...

Embodiment 3

[0115] Please refer to Figure 4 , Figure 4 As a schematic flow chart of the question-and-answer method, Embodiment 3 of the present invention provides a question-and-answer method, which includes:

[0116] Step 1: Build a question answering model;

[0117] Step 2: Input the original question and information related to the original question into the question answering model;

[0118] Step 3: The question answering model outputs the answer to the original question and the reasoning path to obtain the answer from the information related to the original question;

[0119] The step 1 specifically includes:

[0120] Step 1.1: Construct the retrieval reasoning path annotation dataset;

[0121] Step 1.2: Based on the retrieved inference path annotation data set, construct an inference path retrieval model for retrieving the inference path from preset information;

[0122] Step 1.3: Construct the loss function of the inference path retrieval model;

[0123] Step 1.4: Use the re...

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 question-and-answer model construction method and system, a question-and-answer method and device, and a trial system. The question-and-answer model includes a reasoning path retrieval model and a reading comprehension model. The method includes: constructing a retrieval reasoning path label data set; Construct the inference path retrieval model to retrieve the inference path from the preset information; construct the loss function of the inference path retrieval model; use the retrieval inference path annotation data set to train the inference path retrieval model; based on the trained inference path retrieval model, get the question Corresponding multiple reasoning paths; constructing a reading comprehension model based on reasoning paths and answers to select the best reasoning path and obtain answers from multiple reasoning paths. The present invention realizes intelligent question and answer based on multi-hop reading comprehension, not only Information gives the answer to the question, and may give the reasoning process to arrive at the answer.

Description

technical field [0001] The present invention relates to the field of natural language processing reading comprehension, in particular to a question answering model construction method and system, a question answering method and device, and a trial system. Background technique [0002] At present, most question answering systems or question answering methods use non-parametric tf-idf / BM25 models to obtain candidate sentences / paragraphs, and then extract the answer part through a neural reading comprehension model. However, this model is limited to single-hop question and answer, that is, the answer to the question can be found in only one sentence / paragraph, and cannot extract the supporting evidence required for multi-hop questions. [0003] Questions and answers in many fields are based on multi-jump reading comprehension of sentences. To answer a question, you need to find multiple supporting sentences, and then jump to the sentence where the answer is located step by step...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/332G06F16/33G06F40/30G06N5/04
CPCG06N5/04G06F16/3329G06F16/3344G06F40/30
Inventor 李鑫王竹翁洋其他发明人请求不公开姓名
Owner SICHUAN UNIV