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

Neural network training method, apparatus, computer device and storage medium

A neural network training and neural network model technology, applied in the computer field, can solve the problems of low accuracy of the output results of the neural network model, weak ability to capture feature information, etc.

Active Publication Date: 2019-01-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the ability of the attention network in the neural network model based on the attention mechanism to capture feature information is weak, resulting in low accuracy of the output results of the neural network model based on the attention mechanism.

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
  • Neural network training method, apparatus, computer device and storage medium
  • Neural network training method, apparatus, computer device and storage medium
  • Neural network training method, apparatus, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] 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.

[0047] figure 1 It is an application environment diagram of the neural network training method in one embodiment. refer to figure 1 , the neural network training method is applied to the neural network training system. The neural network training system includes a terminal 110 and a server 120 . Terminal 110 and server 120 are connected via a network. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 1...

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 present application relates to a neural network training method, an apparatus, a computer readable storage medium and a computer device. The method includes: acquiring a training sample set, wherein each training sample in the training sample set has a corresponding standard tag; the training samples in the training sample set being inputted into the neural network model, wherein the neural network model includes a plurality of attention networks; the training samples being respectively mapped to a plurality of different subspaces, wherein each subspace includes a corresponding request vector sequence, a key vector sequence and a value vector sequence; the neural network model being used to calculate the spatial difference between each subspace; the output similarity being calculated according to the output of the neural network model and the standard label corresponding to each training sample; according to the spatial difference degree and output similarity degree, the parametersof neural network model being adjusted until the convergence condition is satisfied, and the target neural network model being obtained. The scheme provided by the present application can improve theaccuracy of the output result of the neural network model.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a neural network training method, device, computer equipment and storage medium. 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] At present, the ability of the attention network in the neural network model based on the attention mechanism to capture feature information is weak, resulting in low accuracy of the output results of the neural network model based on the attention mechanism. Contents of the invention [0004] Based on this, it is necessary to address the above technical problems and provide a neural network training method, device, computer equ...

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/04G06N3/063G06N3/08
CPCG06N3/063G06N3/08G06N3/045G06N3/044Y02D10/00
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