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

Attention-based CNN category activation graph generation method

A technology of attention and categories, applied in neural learning methods, character and pattern recognition, biological neural network models, etc., can solve the problems of inability to explain classification results, inability to locate the largest contribution of image classification results, etc., to achieve flexible use and visual effects Good results

Active Publication Date: 2020-04-21
PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU +1
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Although the image classification model based on the deep convolution network is getting higher and higher in accuracy, due to the limitation of the "end-to-end" attribute of the deep network, the classification process is like a "black box", and the classification result cannot be obtained. To explain, it is also impossible to locate the features of which areas of the image contribute the most to the classification results. An attention-based CNN category activation map generation method is proposed.

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
  • Attention-based CNN category activation graph generation method
  • Attention-based CNN category activation graph generation method
  • Attention-based CNN category activation graph generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The present invention will be further explained below in conjunction with accompanying drawing and specific embodiment:

[0041] (1) Feature map visualization, CAM and Grad-CAM analysis

[0042] Convolutional neural networks are good at representation learning. Hidden layer filters can be regarded as different types of feature extractors, which perform hierarchical feature extraction and representation on input images. The feature maps encoded by the hidden layers of different levels focus on different aspects. The feature maps of the lower layers learn contour features such as edges and textures, while the feature maps of the higher layers learn local features such as target details. The higher the neuron in the convolutional layer, the richer the semantic information it contains, and the more distinguishable it is for objects, scenes and other targets. Therefore, the feature map of CNN can be regarded as the feature space of the input image, especially the high-level...

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 belongs to the technical field of deep learning and computer visualization, and discloses an attention-based CNN category activation graph generation method, which comprises the steps of1, calculating a gradient value of each pixel point of a feature graph M = (M0, M1,..., MK-1) to serve as a spatial attention weight related to a neuron category; step 2, obtaining a connection weight corresponding to each type of neurons as a channel attention weight; and step 3, generating a CNN category activation graph according to the spatial attention weight and the channel attention weight. According to the method, the category activation weight acts on the attention weight, meanwhile, the channel-space position importance of the feature graph is utilized, compared with CAM and Grad-CAM methods, the provided method is better in visualization effect of the generated category activation graph, and the method is not limited by a network structure and is more flexible to use.

Description

technical field [0001] The invention belongs to the technical field of deep learning and computer visualization, in particular to a method for generating an attention-based CNN category activation map. Background technique [0002] Convolutional Neural Network (CNN) has achieved great success in many fields, but due to its end-to-end "black box" characteristics, it covers the knowledge storage and processing mechanism of the middle layer, making it impossible for people to spy on its internal characteristics and external features. The basis for decision-making affects its application value to a certain extent. Visualization is a common way to explain the reason of CNN's decision-making and display its internally learned features. At present, some researches apply it to CNN's feature understanding and decision-making reason explanation, such as the CAM method (class activation map) , Grad-CAM method (gradient-based CAM) (R.R.Selvaraju, M.Cogswell, A.Das, R.Vedantam, D.Parikh...

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/045G06F18/241Y02D10/00
Inventor 张文林司念文屈丹罗向阳闫红刚陈琦张连海牛铜杨绪魁李真李喜坤
Owner PLA STRATEGIC SUPPORT FORCE INFORMATION ENG UNIV PLA SSF IEU
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