Recent Spiking Neural Networks (SNNs) works focus on an image classification task, therefore various coding techniques have been proposed to convert an image into temporal binary spikes. Among them, rate coding and direct coding are regarded as prospective candidates for building a practical SNN system as they show state-of-the-art performance on large-scale datasets. Despite their usage, there is little attention to comparing these two coding schemes in a fair manner. In this paper, we conduct a comprehensive analysis of the two codings from three perspectives: accuracy, adversarial robustness, and energy-efficiency. First, we compare the performance of two coding techniques with various architectures and datasets. Then, we measure the robustness of the coding techniques on two adversarial attack methods. Finally, we compare the energy-efficiency of two coding schemes on a digital hardware platform. Our results show that direct coding can achieve better accuracy especially for a small number of timesteps. In contrast, rate coding shows better robustness to adversarial attacks owing to the non-differentiable spike generation process. Rate coding also yields higher energy-efficiency than direct coding which requires multi-bit precision for the first layer. Our study explores the characteristics of two codings, which is an important design consideration for building SNNs. The code is made available at https://github.com/Intelligent-Computing-Lab-Yale/Rate-vs-Direct.
RSC-SNN: Exploring the Trade-off Between Adversarial Robustness and Accuracy in Spiking Neural Networks via Randomized Smoothing Coding
Chongqing University(重庆大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Xi’an Jiaotong University(西安交通大学);Software Security Technology Company Ltd(软件安全技术有限公司)
BS4NN: Binarized Spiking Neural Networks with Temporal Coding and Learning
Shahid Beheshti University(沙希德·贝赫什提大学);Amirkabir University of Technology(阿米尔卡比尔理工大学);CerCo UMR 5549, CNRS Université Toulouse 3(法国国家科学研究中心图卢兹第三大学 CerCo UMR 5549 实验室)
PC-SNN: Predictive Coding-based Local Hebbian Plasticity Learning in Spiking Neural Networks
Sun Yat-Sen University (Shenzhen Campus)(中山大学(深圳校区));Harbin Institute of Technology Shenzhen(哈尔滨工业大学(深圳));City University of Hong Kong(香港城市大学);The University of South Dakota(南达科他大学);Lingnan University(岭南大学)
Unveiling the Potential of Spiking Dynamics in Graph Representation Learning through Spatial-Temporal Normalization and Coding Strategies
Guangdong Institute of Intelligence Science and Technology(广东省智能科学与技术研究院);Hong Kong Polytechnic University(香港理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
Latency Coding for Efficient and Low-Latency Deep Spiking Neural Networks
School of Software and Microelectronics, Peking University(北京大学软件与微电子学院);School of Computer Science, Peking University(北京大学计算机学院);Institute for Artificial Intelligence and the School of Computer Science, Peking University(北京大学人工智能研究院和计算机学院)
EURETILE D7.3 - Dynamic DAL benchmark coding, measurements on MPI version of DPSNN-STDP (distributed plastic spiking neural net) and improvements to other DAL codes
A Low Latency Adaptive Coding Spiking Framework for Deep Reinforcement Learning
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);College of Computer Science, Zhejiang University of Technology(浙江工业大学计算机学院);Zhejiang Lab(之江实验室)
A Supervised Learning Algorithm for Multilayer Spiking Neural Networks Based on Temporal Coding Toward Energy-Efficient VLSI Processor Design
Institute of Industrial Science, The University of Tokyo(东京大学生产技术研究所);NEC Corporation(日本电气股份有限公司);Interdisciplinary Graduate School of Engineering Sciences, Kyushu University(九州大学工学研究院跨学科工学研究科);Graduate School of Life Science and Systems Engineering, Kyushu Institute of Technology(九州工业大学生命科学与系统工程研究生院);International Research Center for Neurointelligence (WPI-IRCN), The University of Tokyo Institutes for Advanced Study, The University of Tokyo(东京大学高等研究院神经智能国际研究中心(WPI-IRCN))
Department of Electrical and Electronic Engineering(电子与电气工程系);Imperial College London(帝国理工学院);Imperial-X;MRC Cognition and Brain Sciences Unit(英国医学研究理事会认知与脑科学单位)
Unsupervised Sparse Coding-based Spiking Neural Network for Real-time Spike Sorting
Université de Lille(里尔大学);Université de Sherbrooke(谢布鲁克大学);CNRS(法国国家科学研究中心);INSA Lyon(里昂国立应用科学学院);Université Grenoble Alpes(格勒诺布尔-阿尔卑斯大学);Ecole Centrale de Lyon(里昂中央理工学院)
Improvement of Spiking Neural Network with Bit Planes and Color Models
College of Information and Communication Technology, Can Tho University, Can Tho, Vietnam(信息与通信技术学院,河内大学,河内,越南);Center for Digital Transformation and Communication, Can Tho University, Can Tho, Vietnam(数字化转型与通信中心,河内大学,河内,越南);College of Engineering and Computer Science, VinUniversity, Hanoi, Vietnam(工程与计算机科学学院, Vin大学,河内,越南);Department of Computer Science and Engineering, The University of Aizu, Aizuwakamatsu, Japan(计算机科学与工程系, Aizu大学, Aizuwakamatsu,日本)
A spiking photonic neural network of 40.000 neurons, trained with rank-order coding for leveraging sparsity
FEMTO-ST Institute/Optics Department, CNRS - University Franche-Comté(FEMTO-ST研究所/光学系,法国国家科学研究中心-弗朗什-孔泰大学);Institute of Photonics, Department of Physics, University of Strathclyde(斯特拉斯克莱德大学物理系光子学研究所);Centre de Recherche Cerveau et Cognition CERCO UMR5549, CNRS—Université Toulouse III(大脑与认知研究中心CERCO UMR5549,法国国家科学研究中心-图卢兹第三大学)
Spiking Neural Network for Ultra-low-latency and High-accurate Object Detection
Institute of Automation, Chinese Academy of Sciences (CASIA)(中国科学院自动化研究所);University of Chinese Academy of Sciences (UCAS)(中国科学院大学);Zhejiang University(浙江大学)
Comparing Quantum Annealing and Spiking Neuromorphic Computing for Sampling Binary Sparse Coding QUBO Problems
Los Alamos National Laboratory, CCS-3 Information Sciences(洛斯阿拉莫斯国家实验室,CCS-3信息科学部门);Harvard University, T.H. Chan School of Public Health(哈佛大学,T.H. Chan公共卫生学院)