Implementation method for fusing network question and answer system based on multi-attention mechanism

A question answering system, fusion network technology, applied in biological neural network models, special data processing applications, instruments, etc., can solve problems such as low interpretability and insufficient system representation ability

Active Publication Date: 2019-08-16
GUANGDONG UNIV OF TECH
View PDF7 Cites 61 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides an implementation of a network question answering system based on a multi-attention mechanism fusion in order to overcome the defects of insufficie

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
  • Implementation method for fusing network question and answer system based on multi-attention mechanism
  • Implementation method for fusing network question and answer system based on multi-attention mechanism
  • Implementation method for fusing network question and answer system based on multi-attention mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] like figure 1 Shown, a kind of realization method based on multi-attention mechanism fusion network question answering system, described method comprises the following steps:

[0069] S1: Construct the network model of the question answering system, the network model of the question answering system includes: input layer, word embedding layer, encoding layer, attention layer, decoding output layer; collect original text data to form the original data set and perform text format preprocessing to obtain Data set to be used, according to the length distribution of each text in the data set to be used, determine the maximum length of each text in the data set to be used and calculate the average length of the text in the data set to be used, said text includes: question sentence text, answer sentence text, Article text; at the same time, the data set to be used is divided into a training set and a verification set according to a set ratio; in this embodiment, the ratio of t...

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 implementation method of a fusion network question and answer system based on a multi-attention mechanism, which comprises the following steps of constructing a question andanswer system network model, preprocessing an original data set to obtain a standby data set, and performing text length distribution analysis; subjecting text in standby data set to one-hot vector representation, using a CBOW model to train one-hot word vector and forming a word2vec word list; adjusting the sequence length of each sentence in the text, and adding a sentence end mark; training the word2vec vector by using an ELMO language model to obtain an ELMO word vector; encoding the ELMO vector to obtain a sentence vector; performing coarse-fine granularity attention on the sentence vectors respectively to obtain memory vectors and attention vectors based on each word; carrying out vector splicing to obtain expression vectors based on words and sentences; and decoding an answer representing the vector generation question sentence. According to the method, the representation ability of sentences is improved through an ELMO language model; and various attention mechanisms are fused, so that the decision making accuracy of the system is improved, and the interpretability of the system is enhanced.

Description

technical field [0001] The present invention relates to the field of question answering systems, and more specifically, to a method for realizing a network question answering system based on a multi-attention mechanism fusion. Background technique [0002] Question and answer is one of the main ways of human communication. With the continuous growth of data scale, more and more people are paying attention to how to quickly obtain the answers they want from massive amounts of information, while traditional search engine systems can no longer keep up. With the pace of the times, the accuracy and diversity of its search results need to make huge changes to meet the needs of users. Foreign researchers believe that an automatic question answering system that answers users' natural language questions in a direct and accurate manner will constitute the basic form of the next generation of search engines. Different from the traditional search engine system, the question answering s...

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/332G06F17/27G06N3/04
CPCG06F16/3329G06F40/211G06F40/284G06N3/045
Inventor 杨祖元陈松灿梁乃耀李珍妮
Owner GUANGDONG UNIV OF 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