Unlock instant, AI-driven research and patent intelligence for your innovation.

Automatic commodity classification method and system with interpretability

An automatic classification and explanatory technology, applied in neural learning methods, business, biological neural network models, etc., can solve problems such as classification, difficult and complex commodities, and commodity image recognition classification algorithms that are difficult to obtain interpretation, and achieve high classification accuracy , strong explanatory power, and the effect of saving debugging time

Pending Publication Date: 2021-11-19
HARBIN ENG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to solve the problem that the existing commodity image recognition and classification algorithm is difficult to obtain interpretability, which makes it difficult to accurately classify complex commodities in the existing method, and proposes an explanatory automatic commodity classification method and system

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
  • Automatic commodity classification method and system with interpretability
  • Automatic commodity classification method and system with interpretability
  • Automatic commodity classification method and system with interpretability

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach 1

[0020] Specific implementation mode 1. Combination figure 1 This embodiment will be described. An explanatory automatic classification method for commodities described in this embodiment, the method specifically includes the following steps:

[0021] Step 1. Design a network architecture consisting of a basic classifier and an interpretable level, wherein the basic classifier is a CNN network model, and the interpretable level is an induced decision tree;

[0022] After pre-training the CNN network model, the induced decision tree is constructed by loading the weights of the last fully connected layer in the pre-trained CNN network model;

[0023] Step 2. Use the marked commodity image data set to train the network architecture designed in step 1 until the classification accuracy of the network architecture on the marked data set reaches the set threshold and stop training;

[0024] Step 3: After inputting the image of the product to be classified into the trained network ar...

specific Embodiment approach 2

[0034] Specific embodiment 2: The difference between this embodiment and specific embodiment 1 is that the CNN network model uses the Resnet18 model as the basic construction, and each Resnet18 model includes a convolutional layer, a Pooling layer, four blocks and a full connection layer;

[0035] Among them, each block is composed of two build blocks, and each build block is composed of two small squares.

[0036] Other steps and parameters are the same as those in Embodiment 1.

specific Embodiment approach 3

[0037] Specific implementation mode three: combination figure 2 This embodiment will be described. The difference between this embodiment and the specific embodiment 1 or 2 is that the induced decision tree is constructed by loading the weight of the last fully connected layer in the pre-trained CNN network model, and the specific process is:

[0038] Step S1, load the weight of the last fully connected layer in the CNN network model obtained by pre-training;

[0039] Step S2, taking each row of loaded weights as a representative vector of a leaf node;

[0040] Step S3, using the representative average vector of each pair of leaf nodes as the representative vector of the parents;

[0041] Step S4, taking the representative average vectors of all leaf nodes as the representative vectors of the ancestors.

[0042] Other steps and parameters are the same as those in Embodiment 1 or Embodiment 2.

[0043] Build hierarchies on the weight space to obtain interpretable models wi...

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 automatic commodity classification method and system with interpretability, and belongs to the technical field of image recognition and classification. The problem that complex commodities are difficult to accurately classify by an existing method due to the fact that an existing commodity image recognition and classification algorithm cannot obtain interpretability is solved. According to the invention, a Pytorch tool is used for carrying out double-label format labeling on images to construct a corresponding data set, the constructed data set is used for training a designed network architecture, then the trained network architecture is used for classifying the images, meanwhile, a visualization result of the images is displayed in a webpage, a commodity identification and classification model with high classification accuracy and strong interpretation is realized, and the problem that it is difficult for a traditional method to identify and classify complex commodities is solved. The method can be applied to image recognition and classification.

Description

technical field [0001] The invention belongs to the technical field of image recognition and classification, and in particular relates to an explanatory automatic commodity classification method and system. Background technique [0002] Target image recognition and classification is an important branch in the field of computer vision and has broad application prospects. The use of traditional machine learning methods for automatic product classification reduces a lot of work to a certain extent and saves labor resources, but it also brings new opportunities. Trouble, due to the "black box" characteristics of the neural network, its interpretability is poor, so it is difficult to deal with overly complex commodity classification problems. When using traditional machine learning methods to classify complex commodities, the classification accuracy will be low. [0003] With the development of the times, mobile Internet technology is becoming more and more mature, and the online...

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/08G06Q30/06
CPCG06N3/08G06Q30/0601G06N3/045G06F18/24323
Inventor 申林山闫鑫姜佳成徐丽贾我欢娄茹珍李悦齐钱婧捷
Owner HARBIN ENG UNIV