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

Network representation generation method and device and network representation encoding method and device in neural network

A neural network and network representation technology, applied in biological neural network models, neural architectures, machine execution devices, etc., can solve problems such as local information weakening and weakening information

Pending Publication Date: 2019-08-23
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Through the attention mechanism introduced in the neural network, all network representations in each layer will be fully considered, and a weighted sum operation will be performed on each network representation, which will disperse the distribution of the obtained attention weights to a certain extent , for the elements in the input sequence, the information of its adjacent elements will also be weakened. In other words, the network representation generated by the neural network for element encoding has the limitation that local information is weakened

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
  • Network representation generation method and device and network representation encoding method and device in neural network
  • Network representation generation method and device and network representation encoding method and device in neural network
  • Network representation generation method and device and network representation encoding method and device in neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0069] figure 1 It is a schematic diagram of the hardware structure of the implementation environment involved in the present invention. In an exemplary embodiment, the implementation environment may be a machine device deployed with a neural network. It should be understood that, according to the implementation of the neural network deployment, the machine device may be a mobile terminal device, a...

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 network representation generation method and device and a network representation encoding method and device in a neural network, a coder and machine equipment. The method comprises the following steps: acquiring spatial representations corresponding to elements in an input sequence; generating a key value pair vector sequence and a request vector sequence mapped to the key vector sequence in the key value pair vector sequence by encoding the spatial representation; carrying out key vector sequence extraction on local elements relative to the elements to obtain a key vector sequence set taking the elements as centers; obtaining a weight coefficient of a value vector sequence set corresponding to the key vector sequence set by calculating the correlation between therequest vector sequence and the key vector sequence set; generating network representation for element output through a weight coefficient and a value vector sequence set corresponding to the key vector sequence set; the weight coefficient is not distributed in a scattered manner any more, and the weight coefficient is obtained based on the relevance of the element request vector sequence because, so that the local information is enhanced, and the local context capture capability of the neural network is correspondingly improved.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to a network representation generation and encoding method and device, an encoder, and a machine device in a neural network. Background technique [0002] With the application and development of neural networks in various fields, more and more attention mechanisms are introduced into neural networks as a basic module, so as to dynamically select the relevant representation of the input sequence in the neural network on demand, and then relatively Recurrent Neural Network (RNN for short) obtains better output quality. [0003] In the neural network, each upper-layer network representation will establish a direct connection with all lower-layer network representations, that is, the output of each layer is used as the input of the next layer, and it is repeated many times until the encoding completes the network representation. [0004] Through the attention mechanism in...

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): G06N3/04G06F9/30
CPCG06N3/04G06F9/30007G06N3/045
Inventor 涂兆鹏王龙跃杨宝嵩
Owner TENCENT TECH (SHENZHEN) CO LTD
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