Model generation method and device

A technology of model generation and quantification methods, applied in neural learning methods, biological neural network models, neural architectures, etc., can solve problems such as large loss of model accuracy, difficulty in achieving both model accuracy and operational efficiency, and loss of neural network model accuracy. Achieve the effect of improving search efficiency

Active Publication Date: 2020-02-28
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF9 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, quantization usually leads to the loss of the accuracy of the neural network model. Usually, the higher the compression ratio of the neural network parameters, the smaller the memory space occupied and the higher the operational efficiency, but the greater the accuracy loss of the model, the accuracy of the model and the calculation Efficiency can't have both

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
  • Model generation method and device
  • Model generation method and device
  • Model generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present disclosure 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 related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0024] It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and embodiments.

[0025] figure 1 An exemplary system architecture 100 to which the model generation method or model generation apparatus of the present disclosure can be applied is shown.

[0026] figure 1 An exemplary system architecture 100 to which the model generation method or mo...

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 the field of artificial intelligence. The embodiment of the invention discloses a model generation method and device. The method comprises the following steps: generating a neural network model for executing a deep learning task by sequentially executing multiple iterative operations; wherein the iterative operation comprises the steps of determining a current quantizationmethod of each network structure unit in a quantization method search space corresponding to each network structure unit of a preset neural network model based on a current reward feedback value so as to update a quantization strategy of the preset neural network model; quantifying a preset neural network model based on the updated quantification strategy; obtaining the performance of the quantized neural network model, and updating a reward feedback value; and in response to determining that the reward feedback value reaches a preset convergence condition or the number of times of the iterative operation reaches a preset threshold, determining that the current quantized neural network model is a generated neural network model for executing the deep learning task. The method can reduce the memory space occupied by the neural network model.

Description

technical field [0001] The embodiments of the present disclosure relate to the field of computer technology, specifically to the field of artificial intelligence technology, and especially to a method and device for generating a model. Background technique [0002] With the development of artificial intelligence technology and data storage technology, deep neural networks have achieved important results in many fields. There are many parameters of the neural network. As the depth increases, the memory space and bandwidth required for high-precision neural network parameters are increasing, and the computational complexity of the neural network is also increasing. Therefore, quantization is important for deep neural networks. Very important. Choosing an appropriate quantization method can effectively compress the memory space occupied by neural network parameters. However, quantization usually leads to the loss of the accuracy of the neural network model. Usually, the highe...

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/04G06N3/08
CPCG06N3/084G06N3/045
Inventor 希滕张刚温圣召
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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