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

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

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

Active Publication Date: 2022-08-02
SHANDONG UNIV
View PDF2 Cites 0 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 based on neural network optimization of gradient direction parameters
  • Image classification method and system based on neural network optimization of gradient direction parameters
  • Image classification method and system based on neural network optimization of gradient direction parameters

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] Image classification methods based on neural network optimization of gradient direction parameters, including:

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

[0043] S102: Build 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 CNN. 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 is back propagated;

[0044] S103: In the process of error back-propagation, the gradient direction parameter optimization method is used to update the parameters ...

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 dataset, and preprocess each image in the image dataset;

[0113] The hyperparameter setting module is configured to: 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 convolutional neural network CNN. Input the value, 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 the error back propagation;

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

Embodiment 3

[0120] This embodiment also provides an electronic device, comprising: 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 Stored in the memory, when the electronic device runs, the processor executes one or more computer programs stored in the memory, so that the electronic device executes the method described in the first embodiment.

[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 like.

[...

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 based on a neural network optimized for gradient direction parameters, acquires an image data set, and preprocesses each image in the image data set; Parameters and loss function; use the preprocessed image and the known image classification label as the input value of the convolutional neural network to start training the convolutional neural network; calculate the loss function according to the output of the convolutional neural network and the image label , and then carry out error backpropagation; in the process of error backpropagation, the gradient direction parameter optimization method is used to update the parameters in the training process of the convolutional neural network. After the end conditions are met, the iterative training is ended and the trained Convolutional neural network; based on the trained convolutional neural network, classify the images to be classified, and obtain the classification labels of the images to be classified. The present application has the advantages of fast image classification and strong 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 neural network optimized for gradient direction parameters. 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 area, 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, speeding up the training speed of neural network models 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 Patents(China)
IPC IPC(8): G06V10/764G06V10/82G06K9/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