AutoST: Training-free Neural Architecture Search for Spiking Transformers

Ziqing Wang, Qidong Zhao, Jinku Cui, Xu Liu, Dongkuan Xu
7/1/2023
cs.NEcs.CVcs.LG

No official code found. Best implementation: aaronserianni/training-free-nas (14 stars, Apache-2.0, last commit 2024-05-26).

Abstract

Spiking Transformers have gained considerable attention because they achieve both the energy efficiency of Spiking Neural Networks (SNNs) and the high capacity of Transformers. However, the existing Spiking Transformer architectures, derived from Artificial Neural Networks (ANNs), exhibit a notable architectural gap, resulting in suboptimal performance compared to their ANN counterparts. Manually discovering optimal architectures is time-consuming. To address these limitations, we introduce AutoST, a training-free NAS method for Spiking Transformers, to rapidly identify high-performance Spiking Transformer architectures. Unlike existing training-free NAS methods, which struggle with the non-differentiability and high sparsity inherent in SNNs, we propose to utilize Floating-Point Operations (FLOPs) as a performance metric, which is independent of model computations and training dynamics, leading to a stronger correlation with performance. Our extensive experiments show that AutoST models outperform state-of-the-art manually or automatically designed SNN architectures on static and neuromorphic datasets. Full code, model, and data are released for reproduction.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ACL'22] Training-free Neural Architecture Search for RNNs and Transformers

143Python, DockerfileMay 25, 20232 years agoApache-2.0
language-modelneural-architecture-searchrnntraining-free-nastransformer

Similar Papers

Cite this paper

@article{wang2023autost,
  title  = {AutoST: Training-free Neural Architecture Search for Spiking Transformers},
  author = {Ziqing Wang and Qidong Zhao and Jinku Cui and Xu Liu and Dongkuan Xu},
  year   = {2023},
  eprint = {2307.00293},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.00293v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.00293.svg)](https://codeofpaper.com/paper/2307.00293)

Discussion