Classification optimization method and device

A classification optimization and initialization technology, applied in the field of image recognition, can solve problems such as category center constraints, high-quality sample generation difficulties, and complex gradient update operations, achieving more discriminative and simple training processes

Inactive Publication Date: 2019-03-08
XIAMEN MEITUZHIJIA TECH
View PDF1 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the improved method based on Softmax loss mainly focuses on the additive distance, such as AM-Softmax, but neither constrains the category center, but dynamically learns with the model training
Although the multi-group method restricts the distance between samples, it is difficult to generate high-quality sample pairs, and the gradient update operation is more complicated.

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
  • Classification optimization method and device
  • Classification optimization method and device
  • Classification optimization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0060] Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0061] It should be noted that like numeral...

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

An embodiment of the present application provides a classification optimization method and device. The method includes initializing a pre-constructed neural network, constructing a parameter matrix, and orthogonally initializing parameters of a classification layer in the neural network by using the parameter matrix; importing a training image into the neural network to obtain a feature vector outputted after the training image passes through the network layer; according to the parameter matrix and eigenvector, obtaining the loss function; according to the loss function, performing gradient calculation on the network layer weights corresponding to each network layer and the classification layer weights corresponding to the classification layer to update the network layer weights and the classification layer weights; and training the input image according to the neural network which updates the weights of the network layer and the classification layer. The classification optimization scheme adds the constraint of orthogonality between the class parameters, which makes the different classes relatively independent, and makes the neural network model more discriminant.

Description

technical field [0001] The present invention relates to the technical field of image recognition, in particular to a classification optimization method and device. Background technique [0002] The multi-classification problem is one of the common problems in practical application scenarios. In deep neural networks, Softmax is the most commonly used loss function. This is because Softmax has the characteristics of simple structure and efficient gradient operation. However, many studies have shown that when only the Softmax loss function is used to supervise the network model for training, the obtained features are not sufficiently discriminative. To be precise, the network's classification of images is prone to errors when the images are relatively similar. This is mainly because Softmax only optimizes the inter-class distance, and does not shrink the distance of samples within the class. [0003] In the existing schemes, there are improved methods based on Softmax and C...

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/08G06N3/045G06F18/24
Inventor 苏灿平余清洲许清泉洪炜冬张伟
Owner XIAMEN MEITUZHIJIA TECH
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