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

Method, apparatus, storage medium and apparatus for generating network representation of neural network

A network representation and neural network technology, applied in the computer field, to achieve the effect of strengthening local information

Active Publication Date: 2018-12-18
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a neural network network representation generation method, device, Computer-readable storage media and computer equipment

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
  • Method, apparatus, storage medium and apparatus for generating network representation of neural network
  • Method, apparatus, storage medium and apparatus for generating network representation of neural network
  • Method, apparatus, storage medium and apparatus for generating network representation of neural network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0034] figure 1 An application context diagram of a method is generated for a network representation of a neural network in one embodiment. refer to figure 1 , the network representation generation method of the neural network is applied to the network representation generation system of the neural network. The neural network network representation generation system includes a terminal 110 and a computer device 120 . The terminal 110 and the computer device 120 are connected by bluetooth, USB (Universal Serial Bus, Universal Serial Bus) or a network, and the terminal 11...

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 relates to a network representation generation method, an apparatus, a storage medium and an apparatus of a neural network. The method comprises the following steps: obtaining a source vector representation sequence corresponding to an input sequence; a linear transformation being carried out on the source vector representation sequence to obtain a request vector sequence, a key vector sequence and a value vector sequence correspond to the source vector representation sequence; calculating a logical similarity between a request vector sequence and a key vector sequence; constructing a local reinforcement matrix according to a request vector sequence; based on logical similarity and local reinforcement matrix, the distribution of attention weights of local reinforcement corresponding to each element being obtained by nonlinear transformation. According to the distribution of attention weights, the value vectors in the value vector sequence are fused to obtain the network representation sequence corresponding to the input sequence. The scheme provided herein generates a network representation sequence that not only enhances local information, but also preserves connections between long-distance elements in the input sequence.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a neural network network representation generation method, device, computer-readable storage medium and computer equipment. Background technique [0002] Attention Mechanism (Attention Mechanism) is a method for building a model for the dependency relationship between the hidden state of the encoder and the decoder in the neural network. The attention mechanism is widely used in deep learning-based natural language processing (NLP, Natural Language Processing) in each task. [0003] SAN (Self-Attention Network, self-attention neural network) is a neural network model based on the self-attention mechanism, which belongs to a kind of attention model, and can calculate an attention weight for each element pair in the input sequence, so that Long-distance dependencies can be captured, and the network representation corresponding to each element will not be affected by 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06N3/04
CPCG06N3/04G06F40/47G06N3/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