Spiking neural networks (SNNs) can be run on neuromorphic devices with ultra-high speed and ultra-low energy consumption because of their binary and event-driven nature. Therefore, SNNs are expected to have various applications, including as generative models being running on edge devices to create high-quality images. In this study, we build a variational autoencoder (VAE) with SNN to enable image generation. VAE is known for its stability among generative models; recently, its quality advanced. In vanilla VAE, the latent space is represented as a normal distribution, and floating-point calculations are required in sampling. However, this is not possible in SNNs because all features must be binary time series data. Therefore, we constructed the latent space with an autoregressive SNN model, and randomly selected samples from its output to sample the latent variables. This allows the latent variables to follow the Bernoulli process and allows variational learning. Thus, we build the Fully Spiking Variational Autoencoder where all modules are constructed with SNN. To the best of our knowledge, we are the first to build a VAE only with SNN layers. We experimented with several datasets, and confirmed that it can generate images with the same or better quality compared to conventional ANNs. The code will be available soon.
翻译:Spik神经网络(SNNS)可以运行在超高速和超低能量消耗的神经形态装置上,由于其二进制和事件驱动的性质,超快和超低能量消耗。 因此, SNNS将具有各种应用, 其中包括在边缘设备上运行的基因模型, 以创建高质量的图像。 在本研究中, 我们与 SNNN 一起建立一个可变自动自动读数器( VAE ), 以便能够生成图像。 VAE 因其在基因模型中具有稳定性而闻名; 最近, 它的质量得到了提高。 在香草 VAE 中, 潜伏空间代表为正常分布, 而在取样中需要浮动点计算。 然而, 在 SNNNS 中, 无法做到这一点, 因为所有功能必须是二进制时间序列数据。 因此, 我们用自动递增的 SNNNM 模型, 从输出的样本中随机选取的样本, 从而能够跟踪 Bernoulli 进程, 并进行变异学习。 因此, 我们很快将建立全SPQ 自动建立所有模块, 和我们只能用最佳的图像来进行比较。