TRANSMISSION // 2611.22611v2

Four-Bit Quantization for Spiking Transformers

Source published

DAQ calibrates four-bit weights and membrane variables to encourage firing decisions that match a full-precision reference, with tests across vision and event-based tasks.

AI-generated conceptual illustration for Four-Bit Quantization for Spiking Transformers
AI-generated conceptual illustration; not documentary evidence.

Spiking transformers use sparse signals, but their weights and internal neuron states still require storage and computation. The authors propose DAQ, a post-training calibration method that aims to keep four-bit models’ firing decisions aligned with a full-precision reference.

Spiking neural networks process information through discrete events called spikes. Spiking transformers combine these signals with attention mechanisms for tasks including image recognition, segmentation and event-based tracking. Sparse communication does not, by itself, remove the cost of storing model weights and the membrane states that neurons carry between time steps.

In a paper posted to arXiv, Jialin Chen, Xiaochen Zhao and Aili Wang propose Decision-Aligned Post-Training Quantization, or DAQ. They investigate whether weights and membrane variables can be represented with four bits while keeping the quantized model’s behavior close to that of its full-precision reference.

Why firing thresholds matter

Quantization represents numerical values with fewer bits. Post-training quantization (PTQ) calibrates a pretrained model without retraining its weights. In DAQ, the pretrained weights are kept fixed; calibration adjusts the quantizer parameters using unlabeled data.

For spiking neurons, matching numerical values alone may not preserve behavior. A neuron fires when its membrane potential crosses a threshold. If the potential is near that boundary, a small change can switch the output between firing and silence. In recurrent neurons, the state carried forward matters too: models can agree at one time step but retain different states and diverge later.

DAQ uses the full-precision model’s firing decisions as targets. During calibration, the quantized model runs along its own state trajectory—the sequence of states it would use when operating. Its objective encourages potentials to remain within decision regions associated with the reference outputs and penalizes insufficient distance from decision boundaries. This is an optimization goal, not a guarantee that the margin will be achieved or that every firing decision will match.

Tests across three kinds of tasks

The authors evaluated four-bit weights and membrane variables on image classification, semantic segmentation and event-based object tracking. They used several spiking-transformer architectures and benchmarks, including ImageNet-1K, CIFAR-10, CIFAR-100, ADE20K, and the tracking datasets FE108, FELT and VisEvent. Calibration used unlabeled samples and left pretrained weights fixed.

On ImageNet-1K, DAQ’s 171-million-parameter SDT-V3 model reached 83.4% top-1 accuracy, compared with 84.7% for the full-precision version of that same-sized model. The paper estimates energy at 4.6 millijoules for the quantized model. It compares this with 19.1 millijoules for a full-precision SDT-V3 model with 83 million parameters, which reached 83.2% accuracy. This is a comparison between different-sized models, not a same-sized energy comparison.

For event-based tracking with SDTrack on FE108, the four-bit I-LIF configuration—using four-bit weights and membrane variables—achieved 58.8% area under the success curve (AUC) and 90.9% precision. The authors report an estimated 66.2% energy reduction relative to the corresponding full-precision counterpart. On ADE20K segmentation, DAQ reached 38.9% mean intersection over union, 1.2 percentage points below the full-precision baseline.

An ablation compared DAQ’s decision-focused objective with a membrane reconstruction loss on SDT-V3-10M. On ImageNet-1K, reported mean top-1 accuracy was 75.98% with DAQ and 74.05% with the reconstruction loss; the DAQ result also had lower weighted and unweighted firing-error measures. This supports the objective in that tested setup, but does not establish that it will perform best across all models and tasks.

How to interpret the resource claims

The energy figures are calculated from operation counts, measured firing activity and assumed reference costs for arithmetic operations. They are not direct power measurements from running the models on hardware. The segmentation estimate uses 512-by-512 inputs and includes the floating-point neck and prediction head, while quantization is applied to the backbone. Storage estimates also exclude some items, such as other activations, workspaces and quantizer metadata. Real-world savings may therefore depend on the hardware and implementation.

The findings apply to the architectures, datasets, calibration procedure and evaluation protocols tested. The source is an arXiv preprint; the supplied material does not establish whether it has been peer reviewed. DAQ is a proposed calibration approach with encouraging reported results, not evidence that four-bit quantization will preserve performance in every spiking model or application.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.