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

Image classification method and system of neural network based on gradient direction parameter optimization

A gradient direction and neural network technology, applied in the image classification field of neural network, can solve problems such as large amount of calculation and storage, increase in complexity, slow algorithm convergence speed, etc., and achieve good optimization performance, fast decline speed, and optimization speed fast effect

Active Publication Date: 2021-06-29
SHANDONG UNIV
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the disadvantage of this basic gradient descent method is that the learning rate is a hyperparameter, and there is almost no theoretical basis for its setting. Basically, the empirical value of the frequently used learning rate is obtained by experiment. The algorithm does not converge; if the learning rate is set to a small value, the algorithm converges very slowly, and even stops before reaching the optimum point. In the actual deep learning training, it takes a lot of time for parameter tuning
However, Newton's method has high requirements for the objective function to be optimized, and requires the Hessian matrix to be positive definite. At the same time, the calculation is too complicated, which makes the amount of calculation and storage in the process of optimizing the parameters of the neural network larger, which leads to the real In solving the actual image multi-classification problem, the Newton method, including the later improved quasi-Newton method, is not faster and more convenient than the gradient descent method
Newton's method has a fast convergence speed in theory, but the main reason why it is not as good as the gradient descent method in the process of image multi-classification is that more gradient information is used, which increases the complexity of actual calculation and increases the amount of calculation.

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
  • Image classification method and system of neural network based on gradient direction parameter optimization
  • Image classification method and system of neural network based on gradient direction parameter optimization
  • Image classification method and system of neural network based on gradient direction parameter optimization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] This embodiment provides an image classification method based on a neural network optimized for gradient direction parameters;

[0041] An image classification method based on a neural network optimized for gradient direction parameters, including:

[0042] S101: Acquire an image data set, and perform preprocessing on each image in the image data set;

[0043] S102: Construct a convolutional neural network CNN, set the hyperparameters and loss functions of the convolutional neural network CNN; use the preprocessed image and the known image classification label as the input value of the convolutional neural network CNN, and start the convolutional neural network The network CNN is trained; according to the output of the convolutional neural network CNN and the image label, the loss function is calculated, and then the error backpropagation is performed;

[0044] S103: In the process of error backpropagation, the method of gradient direction parameter optimization is ado...

Embodiment 2

[0110] This embodiment provides an image classification system based on a neural network optimized for gradient direction parameters;

[0111] An image classification system based on a neural network optimized for gradient direction parameters, including:

[0112] A preprocessing module, which is configured to: acquire an image data set, and perform preprocessing on each image in the image data set;

[0113] A hyperparameter setting module, which is configured to: construct a convolutional neural network CNN, set hyperparameters and loss functions of the convolutional neural network CNN; use the preprocessed image and known image classification labels as the convolutional neural network CNN Input the value to start training the convolutional neural network CNN; calculate the loss function according to the output of the convolutional neural network CNN and the image label, and then perform error backpropagation;

[0114] The gradient direction parameter optimization module is ...

Embodiment 3

[0120] This embodiment also provides an electronic device, including: one or more processors, one or more memories, and one or more computer programs; wherein, the processor is connected to the memory, and the one or more computer programs are programmed Stored in the memory, when the electronic device is running, the processor executes one or more computer programs stored in the memory, so that the electronic device executes the method described in Embodiment 1 above.

[0121] It should be understood that, in this embodiment, the processor may be a central processing unit CPU, and the processor may also be other general-purpose processors, digital signal processors DSP, application-specific integrated circuits ASIC, off-the-shelf programmable gate array FPGA or other programmable logic devices , discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or...

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 image classification method and system of a neural network based on gradient direction parameter optimization, and the method comprises the steps: obtaining an image data set, and carrying out the preprocessing of each image in the image data set; constructing a convolutional neural network, and setting a hyper-parameter and a loss function of the convolutional neural network; taking the preprocessed image and a known image classification label as input values of a convolutional neural network, and starting to train the convolutional neural network; calculating a loss function according to the output of the convolutional neural network and the image label, and then carrying out error back propagation; in an error back propagation process, adopting a gradient direction parameter optimization mode to realize parameter updating in a convolutional neural network training process, and after an end condition is satisfied, ending iterative training to obtain a trained convolutional neural network; and based on the trained convolutional neural network, classifying the to-be-classified image to obtain a classification label of the to-be-classified image. The method has the advantages of high image classification speed and high stability.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to an image classification method and system based on a gradient direction parameter optimized neural network. Background technique [0002] The statements in this section merely provide background related to the present disclosure and do not necessarily constitute prior art. [0003] In deep learning, multi-classification problems have always been a hot research field, and the most common multi-classification problem is image classification. When dealing with some image classification problems in deep learning, neural network models are required to be trained at any time. For example, in the face recognition access control system, when a new person enters the access control system, the face recognition neural network model must continuously train the face pictures of the newly added person. Therefore, accelerating the training speed of the neural network model is very im...

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): G06K9/62G06N3/04G06N3/08
CPCG06N3/084G06N3/044G06N3/045G06F18/241
Inventor 郑来波张浩刘佩李莹王德强
Owner SHANDONG UNIV
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