Answer selection method for question and answer system

A question answering system and answer technology, applied in the field of question answering system, can solve the problem of ignoring sentence length and so on

Active Publication Date: 2019-07-23
NAT UNIV OF DEFENSE TECH
View PDF13 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the purpose of the present invention is to propose an answer selection method for question answering system

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
  • Answer selection method for question and answer system
  • Answer selection method for question and answer system
  • Answer selection method for question and answer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0042] An answer selection method for a question answering system, comprising the following steps:

[0043] A. Receive the question sentence and answer sentence input by the user, use the pre-trained word embedding model to obtain the word vector of each word in each sentence, and combine the word vector obtained after fine-tuning the word embedding model during the network training process , calculate the combined word vector;

[0044] B. Select effective features from the concatenated word vectors to obtain the final vector for each word in the sentence;

[0045] C. According to the preset sentence length threshold, when the sentence length is higher than or lower than the threshold, different feature extractors are us...

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 an answer selection method for a question and answer system. A hierarchical length adaptive neural network structure is adopted to generate sentence distributed representationof questions and answers. The method aims to extract high-quality sentence features by adopting different neural feature extractors according to the lengths of input sentences. The method comprises the following steps: firstly, generating a word distributed representation for each word in an input statement by connecting a fixed word insert and a fine-tuning word insert; then, using a feature extractor based on BiLSTM for short sentences, and using a feature extractor based on Transformer for long sentences; and finally, generating a sentence vector representation for measuring the correlationbetween the question and the candidate answer by using an attention pooling layer considering the interaction between the question and the answer sentence. Experimental results show that the answer selection model based on the length adaptive neural network provided by the invention can be greatly improved in the aspects of MAP and MRR compared with the most advanced baseline.

Description

technical field [0001] The invention relates to the technical field of question answering systems, in particular to an answer selection method for question answering systems. Background technique [0002] Answer selection in a computer question answering system is to select the correct answer to a question from some candidate answers. Existing methods mainly try to generate high-quality sentence distributed representations for questions and candidate answers, and then these distributed representations will be used to measure candidate The correlation between the answer and the question, and then select the candidate answer with the highest correlation as the correct answer to return. Most of the existing methods use the recurrent neural network (RNN) to achieve good performance, but the inventors are in In use, it is found that RNN uses the same feature extractor to process all question and answer sentences, regardless of the sentence length. These methods often encounter th...

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/332G06K9/62G06N3/04
CPCG06F16/3329G06N3/045G06F18/214G06F40/30G06F40/35G06F40/284G06N3/082G06N3/048G06N3/044G06F40/253G06F17/147G06F17/16G06N3/049G06N3/08G06N5/04
Inventor 陈洪辉邵太华蔡飞蒋丹阳刘俊先罗爱民陈涛舒振
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products