Answer generation method based on multi-layer Transformer aggregation encoder

An encoder and answer technology, applied in the field of answer generation based on a multi-layer Transformer aggregate encoder, can solve the problems of information loss performance and insufficiency, and achieve the effects of solving performance insufficiency, improving accuracy, and having a wide range of applications

Inactive Publication Date: 2019-11-26
SHANGHAI MARITIME UNIVERSITY
View PDF2 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a method for generating answers based on a multi-layer Transformer aggregation encoder, aiming to solve the problems of existing information loss and insufficient performance

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 generation method based on multi-layer Transformer aggregation encoder
  • Answer generation method based on multi-layer Transformer aggregation encoder
  • Answer generation method based on multi-layer Transformer aggregation encoder

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049]Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0050] see figure 1 . It should be noted that the diagrams provided in this embodiment are only schematically illustrating the basic idea of ​​the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the components in actual implementation. Dimensional drawing, the type, quantity and proportion of each component can be changed arbitrarily durin...

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 generation method based on a multilayer Transformer aggregation encoder, and the method comprises the steps: receiving input information which comprises paragraph article information and question information; converting the input information through a character embedding layer and a word embedding layer to obtain corresponding character vectors and word vectors; splicing the character vector and the word vector to obtain a spliced word vector; performing addition splicing on the spliced word vector and the position coding vector to obtain an input sequence; inputting the input sequence into a multi-layer Transformer aggregation encoder to obtain higher-level semantic information; inputting higher-level semantic information into a context-question attentionlayer, and learning question and answer information; inputting a learning result into an encoding layer comprising three multi-layer Transformer aggregation encoders, and obtaining a starting position and an ending position through a softmax function; and taking the content determined by the starting position and the ending position as a target answer. By applying the embodiment of the invention,the problems of information loss and insufficient performance in the prior art are solved.

Description

technical field [0001] The invention relates to the technical field of natural language processing, in particular to an answer generation method based on a multi-layer Transformer aggregation encoder. Background technique [0002] Question answering system is currently a hot research topic in the field of natural language processing in academia, and it is also one of the most widely used artificial intelligence applications in the industry. With the progress of the times and the rise of the era of Internet big data, people need to search for more and more information and knowledge information. In the context of big data, it is more and more difficult for people to obtain accurate result information only through search engines. Therefore, it is an urgent need to study some methods for answer generation in question answering systems. [0003] The question answering system is a system model for knowledge classification that organizes unordered corpus information in an orderly ...

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 Applications(China)
IPC IPC(8): G06F16/332G06N3/04G06N3/08
CPCG06F16/3329G06N3/082G06N3/045
Inventor 尚圣杰刘晋
Owner SHANGHAI MARITIME UNIVERSITY
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