Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic Chips

TL;DR

Meta-SpikeFormer achieves 80% accuracy on ImageNet-1K, surpassing SOTA by 3.7%.

cs.NE 🔴 Advanced 2024-02-15 2 views
Man Yao Jiakui Hu Tianxiang Hu Yifan Xu Zhaokun Zhou Yonghong Tian Bo Xu Guoqi Li
neuromorphic computing spiking neural networks Transformer vision tasks low power

Key Findings

Methodology

The paper proposes a Transformer-based spiking neural network architecture called Meta-SpikeFormer, integrating spike-driven self-attention and skip connections. It extends the Spike-driven Transformer to explore the impact of structure, spike-driven self-attention, and skip connections on performance.

Key Results

  • On ImageNet-1K, Meta-SpikeFormer achieves 80.0% top-1 accuracy with 55M parameters, surpassing the current SOTA SNN baseline of 66M by 3.7%.
  • On the HAR-DVS dataset, Meta-SpikeFormer excels in event-based action recognition, achieving an accuracy of 47.5%.
  • On the COCO dataset, Meta-SpikeFormer achieves 51.2% [email protected] in object detection, demonstrating strong multitasking capabilities.

Significance

This study demonstrates the potential of Transformers in spiking neural networks, providing a low-power, high-performance solution for various vision tasks. The architecture offers inspiration for future neuromorphic chip designs, potentially driving the development of next-generation low-power AI chips.

Technical Contribution

Meta-SpikeFormer significantly improves SNN performance in vision tasks by introducing spike-driven self-attention and skip connections, achieving 80% accuracy on ImageNet-1K for the first time. This architecture not only surpasses traditional CNN-SNNs in performance but also opens new avenues for Transformer applications in neuromorphic computing.

Novelty

Meta-SpikeFormer is the first study to successfully apply the Transformer architecture in spiking neural networks, combining spike-driven self-attention and skip connections to significantly enhance performance and open new research directions.

Limitations

  • Meta-SpikeFormer's performance in certain complex tasks still has room for improvement, especially when handling high-resolution images.
  • The training process is relatively complex and may require more computational resources.

Future Work

Future research could explore optimizing the training process of Meta-SpikeFormer to reduce computational resource requirements and further enhance its performance in complex vision tasks.

AI Executive Summary

Spiking neural networks (SNNs) are gaining attention for their low-power characteristics, but traditional CNN-SNN architectures still have performance limitations. Meta-SpikeFormer introduces the Transformer architecture, integrating spike-driven self-attention and skip connections to significantly enhance SNN performance in vision tasks. It achieves 80% accuracy on ImageNet-1K, surpassing existing SOTA baselines. The method excels not only in classification tasks but also demonstrates strong multitasking capabilities in event-based action recognition and object detection. Meta-SpikeFormer's success provides new insights for neuromorphic chip design, potentially driving the development of next-generation low-power AI chips. However, the complexity of the training process and high computational resource demands remain challenges to be addressed. Future research will focus on optimizing the training process and exploring more application scenarios.

Deep Analysis

Background

Neuromorphic computing leverages spiking neural networks (SNNs) on chips to achieve low-power computation, gaining widespread attention in recent years. Traditional CNN-SNN architectures have performance limitations, while the success of Transformers in artificial neural networks has sparked exploration of their application in SNNs.

Core Problem

Existing SNN architectures have limited performance in handling complex vision tasks, especially with high-resolution images and multitasking. Effectively applying Transformers in SNNs to enhance performance is a key challenge.

Innovation

Meta-SpikeFormer introduces spike-driven self-attention and skip connections to significantly enhance SNN performance. This architecture successfully applies Transformers in SNNs for the first time, demonstrating potential in multitasking.

Methodology

  • �� Extend Spike-driven Transformer to a meta architecture
  • �� Explore the impact of spike-driven self-attention
  • �� Design skip connections to enhance performance
  • �� Conduct large-scale experiments on ImageNet-1K

Experiments

Experiments were conducted on ImageNet-1K, HAR-DVS, and COCO datasets to evaluate Meta-SpikeFormer's performance in classification, action recognition, and object detection tasks. Various baseline models were used for comparison.

Results

Meta-SpikeFormer achieves 80% accuracy on ImageNet-1K, excels on HAR-DVS, and achieves 51.2% [email protected] on COCO, demonstrating strong multitasking capabilities.

Applications

Meta-SpikeFormer is suitable for various vision tasks, including image classification, event-based action recognition, and object detection. Its low-power characteristics make it widely applicable in mobile devices and embedded systems.

Limitations & Outlook

Despite Meta-SpikeFormer's performance breakthroughs, its complex training process and high computational resource demands may limit its use in certain applications. Future research should optimize the training process to reduce resource demands.

Plain Language Accessible to non-experts

Imagine a factory where traditional machines need to be constantly running to work, while Meta-SpikeFormer is like a smart worker who only operates when needed, greatly saving energy. It can quickly complete classification tasks and handle multiple tasks simultaneously, such as detection and recognition. This flexibility and efficiency make it perform well in various applications.

ELI14 Explained like you're 14

Imagine you're playing a game, and Meta-SpikeFormer is like a super-smart assistant that helps you complete multiple tasks at once, like finding hidden treasures and defeating enemies. It's not only smart but also super energy-efficient, like a game console that never runs out of battery!

Glossary

Spiking Neural Network

A type of neural network that simulates biological neurons, using spike signals for information transmission.

Used for low-power neuromorphic computing.

Transformer

A neural network architecture based on self-attention mechanisms, widely used in NLP and computer vision.

Used to enhance SNN performance in this paper.

Self-Attention

A mechanism that allows neural networks to focus on the importance of different parts of the input.

Used for information aggregation in Meta-SpikeFormer.

Skip Connection

A method of connecting network layers to help information propagate more effectively.

Used to enhance Meta-SpikeFormer's performance.

ImageNet-1K

A large dataset containing 1000 classes of images, used as a benchmark for image classification tasks.

Used to evaluate Meta-SpikeFormer's classification performance.

Open Questions Unanswered questions from this research

  • 1 How can Meta-SpikeFormer's computational resource requirements be further reduced?
  • 2 What is the potential for performance improvement in high-resolution image processing?

Applications

Immediate Applications

Mobile Devices

Meta-SpikeFormer's low-power characteristics make it suitable for image processing tasks on smartphones and other mobile devices.

Long-term Vision

Neuromorphic Chips

Meta-SpikeFormer provides new insights for future low-power AI chip design, potentially driving the development of next-generation neuromorphic chips.

Abstract

Neuromorphic computing, which exploits Spiking Neural Networks (SNNs) on neuromorphic chips, is a promising energy-efficient alternative to traditional AI. CNN-based SNNs are the current mainstream of neuromorphic computing. By contrast, no neuromorphic chips are designed especially for Transformer-based SNNs, which have just emerged, and their performance is only on par with CNN-based SNNs, offering no distinct advantage. In this work, we propose a general Transformer-based SNN architecture, termed as ``Meta-SpikeFormer", whose goals are: 1) Lower-power, supports the spike-driven paradigm that there is only sparse addition in the network; 2) Versatility, handles various vision tasks; 3) High-performance, shows overwhelming performance advantages over CNN-based SNNs; 4) Meta-architecture, provides inspiration for future next-generation Transformer-based neuromorphic chip designs. Specifically, we extend the Spike-driven Transformer in \citet{yao2023spike} into a meta architecture, and explore the impact of structure, spike-driven self-attention, and skip connection on its performance. On ImageNet-1K, Meta-SpikeFormer achieves 80.0\% top-1 accuracy (55M), surpassing the current state-of-the-art (SOTA) SNN baselines (66M) by 3.7\%. This is the first direct training SNN backbone that can simultaneously supports classification, detection, and segmentation, obtaining SOTA results in SNNs. Finally, we discuss the inspiration of the meta SNN architecture for neuromorphic chip design. Source code and models are available at \url{https://github.com/BICLab/Spike-Driven-Transformer-V2}.

cs.NE cs.CV