Image classification method and system based on mixed attention pulse neural network
By introducing the hybrid attention mechanism and self-attention calculation into the impulse neural network, the problem of insufficient performance of the impulse Transformer in image classification is solved, and efficient feature extraction and energy saving advantages are achieved, which is close to the performance of artificial neural networks.
Patent Information
- Application Number
- CN202410688400.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-30
AI Technical Summary
The performance of existing pulse Transformers lags behind artificial neural networks in image classification tasks, mainly due to the lack of suitable data sets and hardware support, and the low efficiency of sparse signal processing, making it difficult to effectively extract global and local features.
Using a method based on hybrid attention impulse neural network, through image coding and hybrid attention coding, combined with affine transformation, convolution downsampling and Transformer block, self-attention and channel attention feedforward modules are designed to extract local and global information. , for effective feature extraction and classification.
It achieves efficient extraction of sparse pulse signal features under limited data and resource constraints, significantly improves the performance of the pulse neural network, is close to the performance of artificial neural networks, and has huge energy-saving advantages.
Smart Images

Figure CN118587486A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of image classification, and specifically relates to an image classification method and system based on a hybrid attention pulse neural network. Background Art
[0002] Compared with artificial neural networks, pulse neural networks have the advantages of high efficiency and energy saving by imitating the computing and information transmission mechanisms of biological neurons, which makes them more suitable for deployment and operation on resource-constrained edge devices. The Transformer structure has excellent performance in artificial neural networks due to its powerful ability to obtain contextual information. At present, the pulse-based Transformer structure has achieved a breakthrough in image classification tasks by transforming the attention mechanism and its upstream and downstream modules.
[0003] However, the current methods have the problem of significantly lagging behind artificial neural networks in performance. This is because the current methods ignore the differences between the pulse transformer and the artificial neural network transformer. First of all, under the current conditions, there is a lack of large-scale event camera datasets that are more suitable for pulse model training. At the same time, because the pulse network needs to be expanded in time steps, training on GPU devices requires exponentially increasing video memory. The dual limitations of the dataset and hardware make it impossible for the pulse network to be pre-trained. Secondly, the pulse signal is sparse, and the information extraction of the ordinary Transformer structure in the attention mechanism is not effective enough, resulting in the need to consider global, local and other fine feature extraction in the design of the pulse Transformer structure. These differences make it difficult for the pulse transformer to capture the inductive bias from insufficient training data, resulting in a significant performance gap between the pulse transformer and the artificial neural network transformer. Summary of the invention
[0004] In order to overcome the shortcomings of existing methods, make full use of global and local information in limited data, and enable the pulse Transformer to obtain the maximum effective features in pulse sparse signals, the present invention provides an image classification method and system based on a hybrid attention pulse neural network.
[0005] An image classification method based on a hybrid attention pulse neural network, the method comprising:
[0006] Image encoding: Perform affine transformation and convolution downsampling on the input image to obtain pulse tokens;
[0007] Hybrid attention encoding: including inputting the pulse token into several transformer blocks, each transformer block normalizes the pulse token and performs attention calculation, the calculation result forms a residual connection with the input token to obtain the first pulse token output, and then the layer is normalized and the output is divided into local information extraction and global channel information weighting to obtain the second pulse token output; the second pulse token output and the first pulse token output form a residual connection to obtain the processed token input into the downstream transformer block or classification head network;
[0008] The tokens encoded with hybrid attention are classified to obtain the classification results for RGB images and event camera images.
[0009] Furthermore, the image encoding is that the input picture enters the affine transformation layer, k convolutions + pulse neurons, and the affine transformation layer in sequence to realize the conversion of pulse signals and image blocking.
[0010] Furthermore, the calculation process of the first pulse token output includes:
[0011] Input pulse token X∈R N×C First, generate a composite token, where N represents the length of the token and C represents the dimension of the channel. Use the number of attention heads n in the self-attention mechanism to divide the input pulse token into n parts in the channel dimension, and get X∈R N×d×n ,in
[0012] Average the impulse tokens over N dimensions, X∈R n×d ;
[0013] The impulse token passes through a linear layer and becomes X∈R of C dimension again. n×C Vectors as channel mixing tokens;
[0014] The channel-mixed token is pulse-encoded by a spiking neuron and then added to the position embedding vector to provide a channel-mixed token with position information, which is concatenated with the original input token in N dimensions to form a composite token;
[0015] The composite token is self-attentioned and segmented through a linear layer. The composite token is then pulse-encoded by a pulse neuron to obtain three 0-1 vectors, namely pulse signals Q, K, and V.
[0016] Q, K, V are calculated according to the self-attention mechanism, that is, SA = QK T V;
[0017] Get the token X∈R after self-attention calculation (N+n)×C;
[0018] X∈R (N+n)×C Based on the dimension of token length, they are divided into batch tokens, category tokens and channel tokens.
[0019] The channel tokens are average-pooled, added with the category tokens, and finally concatenated with the batch tokens to obtain the output of the composite token self-attention submodule, whose dimension is consistent with the input.
[0020] Furthermore, the calculation process of the second pulse token output is specifically as follows:
[0021] The first pulse token output is divided into batch tokens and category tokens, local information is extracted from the batch tokens, the global channel information vector is obtained for the batch tokens after local information extraction, and then the category tokens are weighted by the global channel information; the batch tokens after local information extraction and the category tokens after global channel information weighting are concatenated to obtain the output tokens of the channel attention feedforward module.
[0022] Furthermore, the local information extraction includes:
[0023] Batch tokens extract local information by two convolution + batch normalization structures, each of which forms a residual connection and then is spike-encoded by a spiking neuron.
[0024] Furthermore, the global channel information weighting includes:
[0025] The obtained global information vector is multiplied with the category token in the channel attention feed-forward submodule to obtain the channel-weighted category token.
[0026] Furthermore, the classification head network consists of a fully connected layer.
[0027] According to a second aspect of the present specification, there is also provided an image classification system based on a hybrid attention spiking neural network, the system comprising: an image encoding module, a hybrid attention calculation module and a classification module;
[0028] The image encoding module performs affine transformation and convolution downsampling on the input image through an affine transformation layer and convolution + spike neurons to obtain spike tokens;
[0029] The hybrid attention encoding module is composed of several transformer blocks, each of which includes a composite token self-attention submodule and a channel attention feedforward submodule; the transformer block normalizes the pulse token, and then performs attention calculation through the composite token self-attention submodule, and the calculation result forms a residual connection with the input token, and then also forms a residual connection through layer normalization and the output of the channel attention feedforward submodule, and the processed token is input into the downstream transformer block or classification module;
[0030] The classification module is used to classify the tokens encoded by the hybrid attention encoding module to obtain classification results for RGB images and event camera images.
[0031] According to the third aspect of the present specification, there is also provided an image classification device based on a hybrid attention pulse neural network, comprising a memory and one or more processors, wherein the memory stores executable code, and when the processor executes the executable code, it implements the image classification method based on a hybrid attention pulse neural network.
[0032] According to the fourth aspect of the present specification, a computer-readable storage medium is also provided, on which a program is stored. When the program is executed by a processor, the image classification method based on a hybrid attention pulse neural network is implemented.
[0033] Compared with the existing methods, the present invention has the following advantages: it extracts the local and global information and channel attention in the image token in a refined manner; it designs and implements a more efficient self-attention calculation method to obtain the image features of sparse pulse signals; the hybrid attention pulse neural network uses the addition and multiplication of pulse signals as the main calculation method, has very low floating-point operations and energy consumption, and can run on brain-like computing chips; under the same data setting, it has the most advanced performance of pulse neural networks on the CIFAR data set, achieves performance close to that of artificial neural networks and has huge energy-saving advantages, and achieves excellent performance on the event camera data set. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A structural diagram of an image classification system based on a hybrid attention pulse neural network provided in an embodiment of the present invention.
[0035] Figure 2 This is a structural diagram of the composite token self-attention module of an embodiment of the present invention.
[0036] Figure 3 This is a structural diagram of a channel attention feedforward module according to an embodiment of the present invention.
[0037] Figure 4 Schematic diagram of an image classification device based on a hybrid attention pulse neural network provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0039] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0040] An image classification method based on a hybrid attention pulse neural network, the method comprising:
[0041] Image encoding: Perform affine transformation and convolution downsampling on the input image to obtain pulse tokens;
[0042] Hybrid attention encoding: including inputting the pulse token into several transformer blocks, each transformer block normalizes the pulse token and performs attention calculation, the calculation result forms a residual connection with the input token to obtain the first pulse token output, and then the layer is normalized and the output is divided into local information extraction and global channel information weighting to obtain the second pulse token output; the second pulse token output and the first pulse token output form a residual connection to obtain the processed token input into the downstream transformer block or classification head network;
[0043] The tokens encoded with hybrid attention are classified to obtain the classification results for RGB images and event camera images.
[0044] Furthermore, the image encoding is that the input picture enters the affine transformation layer, k convolutions + pulse neurons, and the affine transformation layer in sequence to realize the conversion of pulse signals and image blocking.
[0045] Furthermore, the calculation process of the first pulse token output includes:
[0046] Input pulse token X∈R N×C First, generate a composite token, where N represents the length of the token and C represents the dimension of the channel. Use the number of attention heads n in the self-attention mechanism to divide the input pulse token into n parts in the channel dimension, and get X∈R N×d×n ,in
[0047] Average the impulse tokens over N dimensions, X∈R n×d ;
[0048] The impulse token passes through a linear layer and becomes X∈R of C dimension again. n×C Vectors as channel mixing tokens;
[0049] The channel-mixed token is pulse-encoded by a spiking neuron and then added to the position embedding vector to provide a channel-mixed token with position information, which is concatenated with the original input token in N dimensions to form a composite token;
[0050] The composite token is self-attentioned and segmented through a linear layer. The composite token is then pulse-encoded by a pulse neuron to obtain three 0-1 vectors, namely pulse signals Q, K, and V.
[0051] Q, K, V are calculated according to the self-attention mechanism, that is, SA = QK T V;
[0052] Get the token X∈R after self-attention calculation (N+n)×C ;
[0053] X∈R (N+n)×C Based on the dimension of token length, they are divided into batch tokens, category tokens and channel tokens.
[0054] The channel tokens are average-pooled, added with the category tokens, and finally concatenated with the batch tokens to obtain the output of the composite token self-attention submodule, whose dimension is consistent with the input.
[0055] Furthermore, the calculation process of the second pulse token output is specifically as follows:
[0056] The first pulse token output is divided into batch tokens and category tokens, local information is extracted from the batch tokens, the global channel information vector is obtained for the batch tokens after local information extraction, and then the category tokens are weighted by the global channel information; the batch tokens after local information extraction and the category tokens after global channel information weighting are concatenated to obtain the output tokens of the channel attention feedforward module.
[0057] Furthermore, the local information extraction includes:
[0058] Batch tokens extract local information by two convolution + batch normalization structures, each of which forms a residual connection and then is spike-encoded by a spiking neuron.
[0059] Furthermore, the global channel information weighting includes:
[0060] The obtained global information vector is multiplied with the category token in the channel attention feed-forward submodule to obtain the channel-weighted category token.
[0061] Corresponding to the above method embodiment, the present invention proposes an image classification system based on a hybrid attention pulse neural network, such as Figure 1 As shown, the system includes: an image encoding module, a hybrid attention calculation module and a classification module;
[0062] The image coding module is an image coding network that performs affine transformation and convolution down-sampling on the input image through an affine transformation layer and convolution+pulse neurons to obtain pulse tokens; the image coding network plays a dual role of converting pulse signals and dividing images into blocks.
[0063] The hybrid attention encoding module The hybrid attention network is composed of N transformer blocks (the value of N is determined by the size of the transformer model to be constructed), each transformer block includes a composite token self-attention submodule and a channel attention feedforward submodule; the processing process of the upstream input token in a transformer block is: the pulse token is normalized, and then the attention is calculated through the composite token self-attention submodule, the calculation result is connected to the input token by a residual connection, and then the layer normalization and the channel attention feedforward submodule output are also formed. The processed token is input to the downstream transformer block or classification module;
[0064] The classification module is used to classify the tokens encoded by the hybrid attention encoding module to obtain classification results for RGB images and event camera images.
[0065] The specific structure of the image coding network is an affine transformation layer, k convolution + pulse neurons, and an affine transformation layer.
[0066] like Figure 2 As shown, the specific processing process of the composite token self-attention submodule is:
[0067] (1) Let the input token X∈R N×C (For clarity, the following description omits the first two dimensions of the token: time dimension and batch size dimension), N represents the length of the token, and C represents the dimension of the channel. The input token is first used to generate a composite token. Using the number of attention heads n in the self-attention mechanism, the input token is divided into n parts in the channel dimension, and X∈R is obtained. N×d×n ,in
[0068] (2) Average the tokens in N dimensions to obtain X∈Rd×n , in order to fuse the features of the token in the channel dimension, change its shape to X∈R n×d .
[0069] (3) The token passes through a linear layer and becomes X∈R of C dimension again. n×C After the processes (1), (2), and (3), the input tokens are mixed and interacted with the features between different channels to obtain channel mixed tokens.
[0070] (4) The channel-mixed token is pulse-encoded by a spiking neuron and then added to the position embedding vector to provide a channel-mixed token with position information. The channel-mixed token is concatenated with the original input token in N dimensions to form a composite token.
[0071] (5) The next step is to calculate the self-attention of the composite token. The composite token passes through a linear layer and is segmented, and then pulse encoded by a spiking neuron to obtain three 0-1 vectors Q, K, and V.
[0072] (6) Q, K, and V are calculated according to the self-attention mechanism, that is, SA = QK T V. Q, K, and V are all pulse signals, which ensure the computational efficiency and energy-saving advantages of self-attention calculation.
[0073] (7) Token X∈R after self-attention calculation (N+n)×C To ensure the consistency of the token dimensions passed in the transformer block, we transform X∈R (N+n)×C In terms of token length, they are divided into batch tokens, category tokens, and channel tokens (corresponding to channel mixed tokens before self-attention calculation).
[0074] (8) The channel tokens are average-pooled, added to the category tokens, and finally concatenated with the batch tokens to obtain the output of the composite token self-attention submodule, whose dimension is consistent with the input for easy subsequent processing.
[0075] like Figure 3 As shown, the specific processing process of the channel attention feedforward submodule is:
[0076] (1) The input tokens are divided into batch tokens and class tokens, which are processed separately. Batch tokens are used to extract local information, while class tokens are used to weight global channel information.
[0077] (2) The batch tokens are composed of two convolutional and batch normalization structures to extract local information. Each convolutional and batch normalization structure forms a residual connection and is then pulse encoded by a spiking neuron.
[0078] (3) After the local information of the batch tokens is extracted, it passes through the pooling layer, the fully connected layer, the spiking neuron and the fully connected layer in sequence to obtain a global information vector. This step is squeeze and excitation to obtain the global information channel attention.
[0079] (4) The global information channel attention obtained in the previous step is multiplied by the category token in step (1) to obtain the channel-weighted category token.
[0080] (5) Concatenate the batch tokens processed in step (2) and the category tokens processed in step (4) to obtain the output tokens of the channel attention feedforward submodule for processing by downstream modules.
[0081] The classification module is a classification head network, which consists of a fully connected layer and classifies the tokens encoded by the hybrid attention encoding network to obtain classification results.
[0082] In order to reflect the progress of the present invention, experiments were conducted on the RGB dataset CIFAR and the event camera datasets CIFAR10DVS and DVS128Gesture to verify the classification performance of the comparison algorithm. The task evaluation indicator adopted was the first accuracy top-1Acc.
[0083] Table 1
[0084]
[0085]
[0086] Table 1 is a comparative experiment of the spiking neural network HAST proposed in the present invention and similar spiking neural network methods such as Spikingformer on the CIFAR dataset. It can be seen that the first accuracy of the HAST of the present invention is the highest under the same experimental setting conditions, which reflects the superiority of the present invention.
[0087] Table 2
[0088] Network CIFAR10DVS DVS128Gesture SEW ResNet 74.4% 97.9% PLIF 74.8% 97.6% Spikformer 80.9% 98.3% Spikingformer 81.3% 98.3% HAST(ours) 81.9% 98.3%
[0089] Table 2 is a comparative experiment of the spiking neural network HAST proposed by the present invention and similar spiking neural network methods such as Spikingformer on the event camera datasets CIFAR10DVS and DVS128Gesture. Under the same experimental settings, the HAST of the present invention achieves the most advanced performance level on CIFAR10DVS, and is on par with other methods on the DVS128Gesture dataset. Tables 1 and 2 show that the present invention has certain advantages on different datasets.
[0090] Corresponding to the aforementioned embodiment of an image classification method based on a hybrid attention pulse neural network, the present invention also provides an embodiment of an image classification device based on a hybrid attention pulse neural network.
[0091] See also Figure 4 An image classification device based on a hybrid attention pulse neural network provided by an embodiment of the present invention includes a memory and one or more processors. The memory stores executable code. When the processor executes the executable code, it is used to implement an image classification method based on a hybrid attention pulse neural network in the above embodiment.
[0092] An embodiment of an image classification device based on a hybrid attention pulse neural network provided by the present invention can be applied to any device with data processing capabilities, and the device with data processing capabilities can be a device or apparatus such as a computer. The device embodiment can be implemented through software, or through hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of any device with data processing capabilities in which it is located reading the corresponding computer program instructions in the non-volatile memory into the internal memory for execution. From a hardware perspective, if Figure 4 As shown, it is a hardware structure diagram of an image classification device based on a hybrid attention pulse neural network provided by the present invention, in which any device with data processing capability is located, except Figure 4 In addition to the processor, memory, network interface, and non-volatile memory shown, any device with data processing capabilities in which the apparatus in the embodiments is located may also include other hardware, generally based on the actual functions of the device with data processing capabilities, which will not be described in detail.
[0093] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0094] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.
[0095] An embodiment of the present invention also provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, an image classification method based on a hybrid attention pulse neural network in the above embodiment is implemented.
[0096] The computer-readable storage medium may be an internal storage unit of any device with data processing capability described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of any device with data processing capability, such as a plug-in hard disk, a smart media card (SMC), an SD card, a flash card, etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit and an external storage device of any device with data processing capability. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capability, and may also be used to temporarily store data that has been output or is to be output.
[0097] The present invention also provides a computer program product, including a computer program, which, when executed by a processor, implements the image classification method based on a hybrid attention pulse neural network.
[0098] The above is only a preferred embodiment of the present invention. Although the present invention has been disclosed as a preferred embodiment, it is not intended to limit the present invention. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present invention by using the above disclosed methods and technical contents without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.
Claims
1. An image classification method based on a hybrid attention pulse neural network, characterized in that: The method includes: Image encoding: Perform affine transformation and convolution downsampling on the input image to obtain pulse tokens; Hybrid attention encoding: including inputting the pulse token into several transformer blocks, each transformer block normalizes the pulse token and performs attention calculation, the calculation result forms a residual connection with the input token to obtain the first pulse token output, and then the layer is normalized and the output is divided into local information extraction and global channel information weighting to obtain the second pulse token output; the second pulse token output and the first pulse token output form a residual connection to obtain the processed token input into the downstream transformer block or classification head network; The tokens encoded with hybrid attention are classified to obtain the classification results for RGB images and event camera images.
2. The image classification method based on hybrid attention pulse neural network according to claim 1 is characterized in that: The image encoding is that the input picture enters the affine transformation layer, k convolutions + pulse neurons, and the affine transformation layer in sequence to realize the conversion of pulse signals and image blocking.
3. The image classification method based on hybrid attention pulse neural network according to claim 1 is characterized in that: The calculation process of the first pulse token output includes: Input pulse token X∈R N×C First, generate a composite token, where N represents the length of the token and C represents the dimension of the channel. Use the number of attention heads n in the self-attention mechanism to divide the input pulse token into n parts in the channel dimension, and get X∈R N ×d×n ,in Average the impulse tokens over N dimensions, X∈R n×d ; The impulse token passes through a linear layer and becomes X∈R of C dimension again. n×C Vectors as channel mixing tokens; The channel-mixed token is pulse-encoded by a spiking neuron and then added to the position embedding vector to provide a channel-mixed token with position information, which is concatenated with the original input token in N dimensions to form a composite token; The composite token is self-attentioned and segmented through a linear layer. The composite token is then pulse-encoded by a pulse neuron to obtain three 0-1 vectors, namely pulse signals Q, K, and V. Q, K, V are calculated according to the self-attention mechanism, that is, SA = QK T V; Get the token X∈R after self-attention calculation (N+n)×C ; X∈R (N+n)×C Based on the dimension of token length, they are divided into batch tokens, category tokens, and channel tokens; The channel tokens are average-pooled, added with the category tokens, and finally concatenated with the batch tokens to obtain the output of the composite token self-attention submodule, whose dimension is consistent with the input.
4. The image classification method based on hybrid attention pulse neural network according to claim 1 is characterized in that: The calculation process of the second pulse token output is specifically as follows: The first pulse token output is divided into batch tokens and category tokens, local information is extracted from the batch tokens, the global channel information vector is obtained for the batch tokens after local information extraction, and then the category tokens are weighted by the global channel information; the batch tokens after local information extraction and the category tokens after global channel information weighting are concatenated to obtain the output tokens of the channel attention feedforward module.
5. The image classification method based on hybrid attention pulse neural network according to claim 4 is characterized in that: The local information extraction comprises: Batch tokens extract local information by two convolution + batch normalization structures, each of which forms a residual connection and then is spike-encoded by a spiking neuron.
6. The image classification method based on hybrid attention pulse neural network according to claim 4 is characterized in that: The global channel information weighting includes: The obtained global information vector is multiplied with the category token in the channel attention feed-forward submodule to obtain the channel-weighted category token.
7. The image classification method based on hybrid attention pulse neural network according to claim 1 is characterized in that: The classification head network consists of fully connected layers.
8. An image classification system based on a hybrid attention spiking neural network, characterized in that: The system includes: an image encoding module, a hybrid attention calculation module and a classification module; The image encoding module performs affine transformation and convolution downsampling on the input image through an affine transformation layer and convolution + spike neurons to obtain spike tokens; The hybrid attention encoding module is composed of several transformer blocks, each of which includes a composite token self-attention submodule and a channel attention feedforward submodule; the transformer block normalizes the pulse token, and then performs attention calculation through the composite token self-attention submodule, and the calculation result forms a residual connection with the input token, and then also forms a residual connection through layer normalization and the output of the channel attention feedforward submodule, and the processed token is input into the downstream transformer block or classification module; The classification module is used to classify the tokens encoded by the hybrid attention encoding module to obtain classification results for RGB images and event camera images.
9. An image classification device based on a hybrid attention pulse neural network, comprising a memory and one or more processors, wherein the memory stores executable code, characterized in that: When the processor executes the executable code, it implements an image classification method based on a hybrid attention pulse neural network as described in any one of claims 1-8.
10. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, an image classification method based on a hybrid attention pulse neural network as described in any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Picture recognition system based on pulse neural network with self-attention mechanism
CN115908896A
Token mixer pruning method of visual backbone model
CN116188902A
Magnetic control capsule endoscopy image stomach anatomical structure identification method based on deep learning
CN116468682A
Abdomen multi-organ segmentation method based on Transform and U-Net fusion network
CN116580036A
Verification of classification decisions in convolutional neural networks
EP3654248A1
Cited By
Pulse convolutional neural network-based modulation identification method, device and equipment
CN119363531A
DVS image classification method based on improved multistage pulse encoder
CN120526243A
High-efficiency three-dimensional point cloud classification method and device based on spiking neural network
CN121438009A
