Rate Coding or Direct Coding: Which One is Better for Accurate, Robust, and Energy-efficient Spiking Neural Networks?
Youngeun Kim, Hyoungseob Park, Abhishek Moitra, Abhiroop, Bhattacharjee, Yeshwanth Venkatesha, Priyadarshini Panda

TL;DR
This paper compares rate coding and direct coding in spiking neural networks across accuracy, robustness, and energy-efficiency, revealing trade-offs that inform design choices for practical SNN systems.
Contribution
It provides a comprehensive, fair comparison of rate and direct coding schemes in SNNs from multiple perspectives, including accuracy, robustness, and energy use.
Findings
Direct coding achieves higher accuracy with fewer timesteps.
Rate coding offers better robustness against adversarial attacks.
Rate coding is more energy-efficient on digital hardware.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Memory and Neural Computing · Ferroelectric and Negative Capacitance Devices · Neural dynamics and brain function
