Temporal-adaptive Weight Quantization for Spiking Neural Networks

Han Zhang, Qingyan Meng, Jiaqi Wang, Baiyu Chen, Zhengyu Ma, Xiaopeng FanarXiv 2025 · DOI

Introduction

Spiking Neural Networks (SNNs) represent a promising frontier in energy-efficient artificial intelligence, leveraging event-driven computation to mimic the brain's neural activity. However, a significant gap remains between the efficiency of artificial SNNs and biological brains. A primary bottleneck is weight precision; while modern deep learning relies on 32-bit floating-point weights, biological synapses operate with discrete, low-precision signals. Previous attempts at weight quantization in SNNs—reducing weights to 1 or 4 bits—often result in substantial accuracy degradation and rely on static quantization schemes that fail to capture the temporal richness of neural processing.

Biological Inspiration: The Tripartite Synapse

To address these limitations, researchers have introduced Temporal-adaptive Weight Quantization (TaWQ). This method draws inspiration from the tripartite synapse, a biological structure where astrocytes (non-neuronal glial cells) modulate the communication between pre- and post-synaptic neurons.

Biological inspiration of the tripartite synapse and astrocyte-modulated synaptic dynamics.

As shown in Figure 1, astrocytes monitor synaptic activity and release gliotransmitters that can strengthen or weaken synaptic connections over time. TaWQ mimics this by treating weights as dynamic entities that can change their state—excitatory (+1), inhibitory (-1), or asynaptic (0)—at different timesteps. This temporal variability allows the network to represent complex information even with ultra-low bit-depth.

The TaWQ Framework

The core of TaWQ is a 1.58-bit ($log_2(3)$) ternary quantization scheme that evolves over time. The process is governed by several key components:

  1. Calcium-Inspired Modeling: The system maintains an internal state variable, $C_s$, which simulates calcium dynamics within an astrocyte. This variable accumulates stimulus, undergoes leakage decay, and triggers transitions between ternary weight states.
  2. Temporal-adaptive Quantization: Unlike static quantization, TaWQ allows weights to be "re-quantized" at each timestep. This means a single connection can act as a bridge at $t=1$ and be effectively "pruned" (state 0) at $t=2$, mimicking biological synapse formation and elimination.
  3. Temporal Scaling: To mitigate the information loss inherent in ternary quantization, a learnable scaling factor ($\alpha$) is applied to adjust the signal intensity across different timesteps.
Overview of the Temporal-adaptive Weight Quantization (TaWQ) architecture and state diagram.

As illustrated in Figure 2, the framework integrates these dynamics into a cohesive pipeline where normalized floating-point weights are transformed into a temporal sequence of quantized ternary weights ($\mathbf{W}_{tri,q}$), which then interact with spiking feature maps.

Experimental Results and Efficiency

TaWQ was evaluated across diverse benchmarks, including static image classification (ImageNet, CIFAR), neuromorphic event-based data (CIFAR10-DVS), and speech recognition (SHD).

  • Accuracy: On the ImageNet dataset, TaWQ achieved near-lossless performance, with only a 0.22% drop in accuracy compared to full-precision models. This significantly outperforms existing static quantization methods for SNNs.
  • Energy Efficiency: The efficiency gains are profound. For the QKFormer model on ImageNet, TaWQ reduced energy consumption to just 0.99mJ—approximately 2.54% of the energy required by the full-precision version.
  • Model Compression: The use of 1.58-bit weights resulted in model size reductions of 17x to 19x on CIFAR datasets, facilitating deployment on memory-constrained edge devices.

Conclusion and Future Directions

TaWQ demonstrates that temporal variability can effectively substitute for bit-depth in SNNs. By adopting a biologically plausible, dynamic quantization strategy, SNNs can achieve high performance with a fraction of the traditional computational and memory overhead.

While the theoretical energy savings are significant, the next challenge lies in hardware optimization. Current general-purpose hardware like GPUs is not natively designed for 1.58-bit time-varying weights. Future research will focus on deploying TaWQ on specialized neuromorphic hardware, such as Intel’s Loihi 2 or custom FPGAs, to realize these power savings in real-world applications. Additionally, scaling TaWQ to larger architectures for tasks like object detection and natural language processing remains a key objective.

Summary updated

BibTeX
@misc{zhang2025temporal,
  author = {Han Zhang and Qingyan Meng and Jiaqi Wang and Baiyu Chen and Zhengyu Ma and Xiaopeng Fan},
  title = {{Temporal-adaptive Weight Quantization for Spiking Neural Networks}},
  year = {2025},
  eprint = {2511.17567},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.17567},
}
Figure