WorksComputer Science
Spike-Aware Gradient-Based Mixed-Precision Quantization of Spiking Neural Networks for Vision Applications
Abstract
In recent years, Spiking Neural Networks (SNNs) have gained massive attention as an energy-efficient neural computing paradigm due to their event-driven and sparse computing capability. However, maintaining accuracy under low-precision constraints, necessary for practical deployment, has been largely unexplored for SNN models. In addition, existing Hessian-based approaches for quantization, such as HAWQ-V2, incur significant memory and computational overhead due to temporal unrolling across multiple SNN timesteps. We propose a spike-aware gradient-based mixed-precision quantization framework for SNNs that adaptively assigns bit-widths using first-order gradient information, avoiding costly second-order Hessian computations. We evaluate our method across various SNN-based architectures, including VGG, ResNet, and Vision Transformer models obtained from both ANN-to-SNN conversion and direct training frameworks, on CIFAR10/100, ImageNet, and DVS-CIFAR-10 datasets. Notably, on ResNet-34 evaluated on ImageNet, our method achieves 73.30% accuracy at 4.78 compression, which is comparable to that provided by HAWQ-V2, while reducing memory consumption by 2.31 and bit-allocation runtime by 100. We also present an energy analysis for mixed-precision SNNs showing that the proposed quantization strategy enables energy-efficient deployment without compromising performance.
Introduction
Spiking Neural Networks or SNNs [10], which are motivated by the computational efficiency of the human brain, have emerged as an energy-efficient alternative to state-of-the-art Artificial Neural Networks (ANNs). Unlike ANNs, which perform dense multiply-accumulate (or MAC) operations on continuous-valued activations, SNNs process information using discrete and binary spikes that a neuron emits only when its membrane potential crosses a firing threshold. Since computations are triggered by spikes, this event-driven behavior makes neural activity sparser in both space and time, allowing the MAC operations in ANNs to be replaced by much cheaper accumulate (AC) operations. Neuromorphic hardware architectures [1, 5, 14, 23] are designed to take advantage of this sparse, event-driven, and spike-based computation, enabling SNNs to realize their energy-efficiency benefits during deployment.
Recent advances in SNN training techniques [4, 22, 24, 25] have enabled them to achieve inference-time accuracy competitive with their ANN counterparts on a range of vision datasets, making them increasingly viable candidates for real-world deployment. However, realizing the practical benefits of SNNs still requires reducing their memory footprints and computational budgets. Methods such as quantization are therefore necessary to realize efficient deployment of SNNs on resource-constrained edge and neuromorphic hardware.
Quantization is an effective technique to reduce the model size and computational cost by using fewer bits to represent parameters and activations [12, 13]. Existing SNN quantization methods primarily use uniform bit-widths across layers [27, 28]. However, it is now well-established that the layers in a neural network differ substantially in their sensitivity to quantization noise [7]. This motivates mixed-precision quantization, where bit-widths are assigned according to individual layer sensitivity.
Among existing methods, HAWQ-V2 [8] estimates such sensitivity using second-order Hessian information with the Hutchinson trace estimator. However, applying this directly to SNNs is computationally expensive because BPTT [29] unrolls the network over time, requiring Hessian-vector products over the temporally expanded graph and increasing both computation and memory with the number of timesteps. Figure 1 compares this cost with our method for ResNet-18 on CIFAR-10, showing rapid increase in HAWQ-V2’s runtime and memory footprint as the number of timesteps grows.

Figure 1. Peak GPU memory consumption and quantization time of ResNet-18, on CIFAR-10, using HAWQ-V2 and the proposed method for both ANN and SNN variants across different timestep configurations, measured on an NVIDIA RTX 4090 GPU.
Contributions. In this work, we propose a spike-aware gradient-based mixed-precision quantization framework for SNNs using first-order gradient information together with spike-driven activity statistics. Our key contributions are as follows.
A spike-aware gradient-based mixed-precision quantization framework. The proposed method adaptively allocates bit-widths using the first-order gradient information and spike activity statistics.
An efficient first-order sensitivity estimation strategy. The proposed method eliminates the expensive second-order Hessian computations required by HAWQ-based methods [7, 8], substantially reducing the computational overhead of bit allocation while maintaining competitive quantization performance (see Figure 1).
Comprehensive benchmarking. We validate the proposed technique on SNN architectures such as VGG-16, ResNet-18/20/34, and vision transformer, obtained using ANN-SNN conversion and direct backpropagation-based training, on static vision (CIFAR-10, CIFAR-100, ImageNet) and neuromorphic datasets.
Related Work and Background
Spiking Neural Networks. SNNs process information over discrete timesteps using spiking neurons that integrate weighted inputs and produce spikes when the membrane potential exceeds a threshold. They are primarily trained using either ANN-SNN conversion [4, 24] or direct training [22, 25]. ANN-SNN conversion first trains an ANN using standard backpropagation and then replaces activation functions with spiking neurons, where ANN activations are approximated using spike rates accumulated over multiple timesteps. Methods such as QCFS [4] and PASCAL [24] reduce conversion error by introducing quantization-aware activations during ANN training. On the other hand, direct training optimizes SNNs directly in the spiking domain using surrogate gradients [22] and Backpropagation Through Time (BPTT) [29], which unrolls the network over all simulation timesteps. Recent methods such as Temporal Efficient Training (TET) [25] further improve optimization by applying supervision at every timestep. Additional details of both training methods are provided in Sec. 1 of the supplementary material.
Quantization of SNNs. Recent works on SNN quantization have made notable progress in reducing both the memory and computational costs. Q-SNN [27] binarizes weights during training using a weight-spike dual regulation objective, while QP-SNN [28] combines uniform fixed-bit post-training quantization with structured pruning. A recent fixed heterogeneous-precision strategy [18] employs a W1/W2 configuration, assigning W1-bit weights to the first layer and W2-bit weights to the remaining layers. While this exploits the different data representations across layers, the precision assignment is fixed by layer position rather than quantization sensitivity.
Mixed-precision quantization instead allocates higher precision to sensitive layers and lower precision to robust ones. Prior works apply the HAWQ framework [7, 8, 19] to SNNs using Hessian-based sensitivity estimation. However, they require expensive second-order computations and manual bit allocation, while not explicitly accounting for spike-driven temporal dynamics. In contrast, our method uses a spike-aware first-order sensitivity metric to automatically determine the layer-wise precision, avoiding Hessian computation while incorporating spiking activity into the bit-allocation process. Hardware-oriented approaches such as QUANTISENC [21] support configurable layer-wise precision for efficient neuromorphic hardware, but primarily focus on hardware realization rather than automatic sensitivity-driven bit allocation.
Methodology
Quantization Formulation
Let denote the pretrained SNN weights, where denotes the total number of SNN layers. Given a target bit-width for layer , uniform quantization maps floating-point weights to discrete integer levels. For a weight tensor , the quantized weights are computed as
where denotes the quantization scale factor and . The quantization process introduces a perturbation , which injects quantization noise during inference.
Quantization Sensitivity Analysis
Let be the weight perturbation introduced as a result of quantization. Based on a second-order approximation of the loss landscape around a convergent solution, the resulting increase in loss can be estimated as
where is the Hessian matrix. HAWQ-V2 [8] uses Hessian-based curvature to measure layer-wise quantization sensitivity, but incurs additional overhead in temporally unrolled SNNs due to iterative trace estimation.
We propose a first-order gradient metric derived from the Fisher information matrix [20] to obtain a computationally efficient approximation of layer-wise curvature sensitivity. For a model trained using negative log-likelihood,
the Fisher information matrix [2] is defined as
Under standard regularity conditions for a correctly specified likelihood model, the expected Fisher information coincides with expected Hessian of negative log-likelihood [2, 20]. However, empirical Fisher need not coincide with exact Hessian in practical optimizations [16], particularly in surrogate-gradient-trained SNNs. We therefore use the empirical Fisher as a computationally efficient proxy for curvature sensitivity rather than assuming an exact Hessian reconstruction, which is specified as
The expectation is estimated over calibration samples. Using the diagonal approximation, the quantization-induced loss increase becomes
Fisher-Hessian relation in SNNs. Since Fisher and Hessian are not expected to coincide exactly under surrogate-gradient training, we empirically decompose their relationship within each layer as
where denotes the layer index, and denotes the parameter index within layer . Here, and are the diagonal Hessian and Fisher entries corresponding to parameter ,
Ri denotes their discrepancy, and is a layer-wise scaling factor. This formulation does not assume , instead, it allows Fisher and Hessian to differ both in scale and in their residual curvature structure. Substituting this into the second-order loss gives
Decomposing the above equation further gives
The first-term is the Fisher-captured sensitivity metric and the second-term is the residual curvature. Importantly, this decomposition is used only to analyze the relation between Fisher and Hessian, and neither , , nor is required by the proposed quantization procedure. In the proposed method, the first term is used as a computationally efficient sensitivity proxy, which can be obtained entirely from first-order gradients. The residual term therefore characterizes the curvature component not captured by the Fisher approximation rather than introducing an additional computational requirement. Additional details are provided in Sec. 5 of the supplementary material.
Gradient-Based Mixed-Precision Metric
Based on the above formulation, we define the layer-wise quantization sensitivity metric as the Fisher-weighted quantization perturbation energy, which is given by
where denotes the gradient corresponding to the - parameter of layer , and represents the quantization perturbation introduced by low-bit quantization. The proposed formulation jointly captures parameter sensitivity through squared gradients and quantization distortion through perturbation magnitude. To avoid bias towards layers with large gradient magnitudes, the sensitivity score is normalized as
The normalization term eliminates scale dependence across layers and enables a fair comparison of quantization sensitivity.
Threshold Margin-Aware Bit Allocation
Although our gradient-based sensitivity metric captures the effect of quantization on the optimization landscape, it does not explicitly account for the temporal dynamics unique to SNNs. To incorporate the spiking neuronal dynamics into the bit allocation procedure, we estimate a layerwise membrane threshold margin during the calibration forward pass. For every neuron, the membrane threshold margin is defined as the normalized distance between its membrane potential and the firing threshold, as specified by
where is the membrane potential and is the neuronal firing threshold. The threshold margin is accumulated over all neurons and simulation timesteps to obtain a layer-wise estimate, formulated as
The resulting layer-wise margins are normalized to the interval , enabling consistent comparison across layers. A smaller threshold margin indicates that the membrane potential is closer to the neuronal firing threshold; such neurons are more susceptible to quantization-induced perturbations since small weight changes could alter spike generation. These layers are treated more conservatively during bit allocation.
Mixed-Precision Bit Allocation
Given the layer-wise sensitivity scores computed as detailed in § 3.3, we formulate the mixed-precision allocation as a constrained optimization problem: minimize the total sensitivity cost across all layers subject to a global bit budget. Formally, let denote the bit-width assigned to layer , be the number of quantizable parameters in layer , the total bit budget, and the set of candidate bit-widths. The optimization objective can be formally described by
where is the sensitivity score of layer quantized to bits. Layers with high sensitivity scores are assigned larger bit-widths, while robust layers are quantized more aggressively to reduce memory. The budget is a single global constraint; the network as a whole must not exceed the prescribed bit-budget, but individual layers are free to use different precisions as long as the aggregate satisfies the constraint. Solving this combinatorial problem exactly is intractable for deep networks, so we adopt a greedy bit-width reduction algorithm that is summarized in Algorithm 1 and detailed below.
We begin by computing the layer-wise gradients and normalized threshold margin using a calibration set. We define a protection factor
where controls the influence of the threshold margin. The protection factor increases the cost of reducing the precision of more vulnerable layers, i.e., layers operating closer to the spiking threshold that are more susceptible to quantization-induced perturbations, as explained in § 3.4. We initialize all layers at the maximum candidate precision. At each iteration, we consider reducing the bit-width of every layer to the subsequent lower candidate precision. For each layer, we compute the increase in sensitivity that would result from this reduction and adjust it using the threshold-margin protection factor . We then divide this value by the number of bits it saves, ; here, is the bit-width step size for the selected transition (e.g., for bits) and is the number of bits freed by that reduction. The resulting ratio represents the effective sensitivity increase per bit saved, enabling a fair comparison across layers. The layer with the smallest value is selected, its bit-width is reduced, and the process is repeated until the target average bit-width is reached, as described by
The bit-width of the selected layer is reduced by , and this process is repeated until the target average bit-width is reached. Since all sensitivity scores are computed once using a single backward pass (see Algorithm 1), the greedy search requires only lightweight score-based comparisons, without any additional gradient evaluations.
Experiments and Results
We evaluate the proposed framework on VGG, ResNet, and ViT-based SNNs using ANN-to-SNN conversion (QCFS [4], PASCAL [24]) and direct training (TET [25]) across CIFAR-10/100 [15], ImageNet [6], and CIFAR10-DVS [17]. For ViT conversions, we use SpikeZip-TF [31] with a ViT-Small backbone. All results reported in this section, unless otherwise noted, use post-training quantization directly on SNNs. For all experiments we used a calibration size of 20, and Seed as 42.
Compression Results on SNNs
Conversion-based SNNs. Table 1 compares our method with HAWQ-V2 across QCFS, PASCAL, and SpikeZip-TF. Our method achieves comparable or better accuracy while maintaining nearly identical bit-widths and compression ratios. On CIFAR-10, it improves SpikeZip-TF by 0.92% (94.52% vs 93.60%), while remaining competitive on CIFAR-100. On ImageNet, it slightly outperforms HAWQ-V2 for ResNet34 (73.30% vs 73.14%) at same 6.70 bit precision and 4.78× compression.
Directly trained SNNs. Table 2 presents experimental results for SNNs trained using TET. The proposed method consistently produces accuracy comparable to HAWQ-V2, Algorithm 1 Gradient-Based Mixed-Precision Bit Allocation
Require: Pretrained network , calibration set , candidate bit-widths , target bit-width
Ensure: Layer-wise bit allocations
Compute layer-wise gradients using
Compute normalized threshold margins using
Compute protection factors
Initialize all layers with maximum candidate precision
for each layer do
for each candidate bit-width do
Quantize weights:
Compute perturbation:
Compute perturbation energy:
Compute normalized sensitivity:
end for
end for
while Average bit-width do
for each layer do
Compute protected sensitivity increase
end for
Select the layer with minimum normalized sensitivity score
Reduce the selected layer to the next lower candidate bit-width
end while
return
across datasets, while achieving similar average weight precision. In particular, our method improves top-1 accuracy for ResNet-18 and ResNet-20 on CIFAR-100 by 0.22% and 1.23%, respectively, while achieving comparable compression ratios. The proposed method also maintains competitive accuracy on the large-scale ImageNet and neuromorphic CIFAR10-DVS datasets using only first-order gradient information for sensitivity estimation.
Comparison with related works. Table 3 compares our proposed mixed-precision method with the heterogeneous W1/W2 scheme [18] and HAWQ [19]. The prior W1/W2 method uses 2-bit precision for the first layer and 8-bit for the remaining layers, whereas our method selects 2/4/8-bit widths based on layer-wise quantization sensitivity. We report one configuration on N-MNIST against HAWQ [19] and, on CIFAR-10 with VGG-16, improve the compression ratio from 4× to 13.02×, while achieving higher accuracy.
| Dataset | Architecture | Method | W-bits | W-ratio | Acc (%) |
| CIFAR-10 | VGG-16 | Two-level | 2/8 | 4× | 91.55 |
| Ours | 2.46 | 13.02× | 91.88 | ||
| CIFAR-100 | ResNet-19 | Two-level | 2/8 | 4× | 72.23 |
| Ours | 2.89 | 11.07× | 72.00 | ||
| N-MNIST | 3-layer CNN | Hessian | 5.33 | 5.97× | 93.6 |
| Ours | 4.02 | 7.96× | 93.5 |
Table 3. Comparison of our quantization method extended to perform 2/4/8-bit mixed precision with the heterogeneous two-level precision scheme () proposed in [18] and HAWQ [19].
Accuracy vs. Compression Trade-off. As illustrated in Figure 2, our method achieves accuracy-compression trade-off comparable to that provided by HAWQ-V2 [8] across all average bit-width configurations on ResNet-18 trained

Figure 2. Post-training quantization compression ratio achieved by HAWQ-V2 [8] and the proposed method on ResNet-18 trained on CIFAR-10 using a 4/8-bit mixed-precision configuration.
| Dataset | Architecture | Framework | Method | W-bits | T | W-ratio | Acc. (%) |
| CIFAR-10 | VGG-16 | QCFS-SNN | Full Prec. | 32 | 16 | 1.00× | 95.74 |
| CIFAR-10 | VGG-16 | QCFS-SNN | HAWQ-V2 | 4.25 | 16 | 7.54× | 95.59 |
| CIFAR-10 | VGG-16 | QCFS-SNN | Ours | 4.21 | 16 | 7.60× | 95.64 |
| CIFAR-10 | VGG-16 | PASCAL | Full Prec. | 32 | 8 | 1.00× | 95.58 |
| CIFAR-10 | VGG-16 | PASCAL | HAWQ-V2 | 4.01 | 8 | 7.99× | 95.19 |
| CIFAR-10 | VGG-16 | PASCAL | Ours | 4.01 | 8 | 7.99× | 95.01 |
| CIFAR-10 | ResNet-18 | QCFS-SNN | Full Prec. | 32 | 16 | 1.00× | 94.34 |
| CIFAR-10 | ResNet-18 | QCFS-SNN | HAWQ-V2 | 4.19 | 16 | 7.63× | 93.99 |
| CIFAR-10 | ResNet-18 | QCFS-SNN | Ours | 4.15 | 16 | 7.71× | 94.01 |
| CIFAR-10 | ResNet-18 | PASCAL | Full Prec. | 32 | 8 | 1.00× | 96.50 |
| CIFAR-10 | ResNet-18 | PASCAL | HAWQ-V2 | 4.00 | 8 | 7.99× | 96.20 |
| CIFAR-10 | ResNet-18 | PASCAL | Ours | 4.01 | 8 | 7.97× | 96.27 |
| CIFAR-10 | SpikeZip-TF | ANN-SNN | Full Prec. | 32 | 64 | 1.00× | 96.60 |
| CIFAR-10 | SpikeZip-TF | ANN-SNN | HAWQ-V2 | 4.47 | 64 | 7.16× | 93.60 |
| CIFAR-10 | SpikeZip-TF | ANN-SNN | Ours | 4.49 | 64 | 7.12× | 94.52 |
| CIFAR-100 | VGG-16 | QCFS-SNN | Full Prec. | 32 | 16 | 1.00× | 71.67 |
| CIFAR-100 | VGG-16 | QCFS-SNN | HAWQ-V2 | 4.46 | 16 | 7.17× | 71.39 |
| CIFAR-100 | VGG-16 | QCFS-SNN | Ours | 4.39 | 16 | 7.29× | 71.43 |
| CIFAR-100 | VGG-16 | PASCAL | Full Prec. | 32 | 8 | 1.00× | 77.15 |
| CIFAR-100 | VGG-16 | PASCAL | HAWQ-V2 | 4.28 | 8 | 7.48× | 75.55 |
| CIFAR-100 | VGG-16 | PASCAL | Ours | 4.30 | 8 | 7.45× | 73.57 |
| CIFAR-100 | ResNet-18 | QCFS-SNN | Full Prec. | 32 | 16 | 1.00× | 65.74 |
| CIFAR-100 | ResNet-18 | QCFS-SNN | HAWQ-V2 | 4.20 | 16 | 7.63× | 65.51 |
| CIFAR-100 | ResNet-18 | QCFS-SNN | Ours | 4.22 | 16 | 7.58× | 65.55 |
| CIFAR-100 | ResNet-18 | PASCAL | Full Prec. | 32 | 8 | 1.00× | 78.15 |
| CIFAR-100 | ResNet-18 | PASCAL | HAWQ-V2 | 4.02 | 8 | 7.96× | 77.01 |
| CIFAR-100 | ResNet-18 | PASCAL | Ours | 4.02 | 8 | 7.96× | 77.01 |
| ImageNet | ResNet-34 | PASCAL | Full Prec. | 32 | 8 | 1.00× | 74.29 |
| ImageNet | ResNet-34 | PASCAL | HAWQ-V2 | 6.70 | 8 | 4.78× | 73.14 |
| ImageNet | ResNet-34 | PASCAL | Ours | 6.70 | 8 | 4.78× | 73.30 |
Table 1. Comparison of mixed-precision quantization methods on converted SNNs using QCFS [4] and PASCAL [24]. Results are reported for 4/8-bit layer-wise mixed-precision quantization. W-bits and W-ratio represent the average bit-width and compression ratio, respectively.
on CIFAR-10. At aggressive compression ratios (7.6–7.7×, corresponding to ~4.1-bit average precision), both methods incur a modest accuracy drop to approximately 94.0%, recovering to 94.2% as the average bit-width increases beyond 5.5 bits. Overall, the two curves remain within 0.05% of each other for the entire bit-width range, confirming that first-order gradient sensitivity serves as effective and computationally cheaper alternative for Hessian-based quantization sensitivity in SNNs.
Computation and Efficiency
Figure 3 illustrates that the proposed method is significantly more memory- and time-efficient than HAWQ-V2 during bit allocation. The higher cost of HAWQ-V2 arises from repeated Hutchinson trace estimation for Hessian approximation, which is further amplified by temporal unrolling in SNNs. By relying on a single first-order backward pass to estimate layer sensitivities, the proposed method eliminates this overhead, resulting in substantially lower memory consumption and runtime. Specifically, on ResNet-34 trained on the ImageNet dataset, the proposed method reduces peak GPU memory from 26.1 GB to 11.3 GB (i.e. 56.9% reduction) and decreases bit-allocation time from 22 min 23.5 s to 13.38 s, achieving an approximately 100× speedup over HAWQ-V2.

Figure 3. GPU memory needed (MB) and total quantization time taken by HAWQ-V2 vs. our method to quantize ResNet-34 SNN on the ImageNet dataset, measured on ADA6000 GPU.
| Dataset | Architecture | Method | W-bits | W-ratio | Acc (%) |
| CIFAR-10 | VGG-16 | Full Prec. | 32 | 1.00× | 92.00 |
| HAWQ-V2 | 4.15 | 7.71× | 91.92 | ||
| Ours | 4.07 | 7.87× | 91.89 | ||
| ResNet-18 | Full Prec. | 32 | 1.00× | 93.83 | |
| HAWQ-V2 | 4.10 | 7.81× | 93.74 | ||
| Ours | 4.09 | 7.82× | 93.81 | ||
| ResNet-20 | Full Prec. | 32 | 1.00× | 93.20 | |
| HAWQ-V2 | 4.09 | 7.82× | 93.02 | ||
| Ours | 4.09 | 7.82× | 93.14 | ||
| CIFAR-100 | VGG-16 | Full Prec. | 32 | 1.00× | 67.90 |
| HAWQ-V2 | 4.47 | 7.15× | 67.83 | ||
| Ours | 4.35 | 7.36× | 67.69 | ||
| ResNet-18 | Full Prec. | 32 | 1.00× | 72.19 | |
| HAWQ-V2 | 4.45 | 7.19× | 71.56 | ||
| Ours | 4.41 | 7.26× | 71.78 | ||
| ResNet-20 | Full Prec. | 32 | 1.00× | 73.12 | |
| HAWQ-V2 | 4.10 | 7.80× | 71.59 | ||
| Ours | 4.16 | 7.68× | 72.82 | ||
| ImageNet | ResNet-34 | Full Prec. | 32 | 1.00× | 66.70 |
| HAWQ-V2 | 4.89 | 6.55× | 65.20 | ||
| Ours | 4.86 | 6.59× | 65.09 | ||
| CIFAR10-DVS | VGGSNN | Full Prec. | 32 | 1.00× | 78.27 |
| HAWQ-V2 | 4.18 | 7.66× | 78.26 | ||
| Ours | 4.18 | 7.66× | 78.26 |
Table 1 (PDF p. 6).
Table 2. Comparison of mixed precision quantization methods on SNNs directly trained using TET [25] for timesteps. We use 4/8-bit layer-wise mixed-precision quantization. W-bits and W-ratio indicate the average bit-width and compression ratio, respectively.
Sensitivity and Bit Allocation Analysis
Figures 4 and 5 compare the layer ranking and the resulting 4/8-bit assignment of HAWQ-V2 and the our method for ResNet-18. Although the rankings differ for some intermediate layers due to the use of Hessian versus gradient-based sensitivity, the resulting bit allocations are highly consistent, with only two layers receiving different precisions. This demonstrates that our first-order sensitivity can achieve a comparable mixed-precision configuration without the computational overhead of Hessian estimation. Additional analysis is provided in the supplementary material.
Post-Quantization Fine-Tuning Analysis
Although the proposed framework is primarily designed for post-training quantization (PTQ), it can be extended to perform post-quantization fine-tuning similar to HAWQ-V2. As shown in Table 4, the proposed bit allocation remains effective under aggressive 2/4/8-bit mixed-precision quantization, achieving over 12× compression while maintaining accuracy close to full-precision models.
| Dataset | Architecture | Method | W-bits | W-ratio | Acc (%) |
| CIFAR-10 | VGG-16 | Full Prec. | 32 | 1.00× | 92.00 |
| Ours | 2.46 | 13.02× | 91.88 | ||
| ResNet-18 | Full Prec. | 32 | 1.00× | 93.83 | |
| Ours | 2.52 | 12.68× | 93.39 | ||
| CIFAR-100 | VGG-16 | Full Prec. | 32 | 1.00× | 67.90 |
| Ours | 2.47 | 12.98× | 66.41 | ||
| ResNet-18 | Full Prec. | 32 | 1.00× | 72.19 | |
| Ours | 2.43 | 13.19× | 71.03 | ||
| ImageNet | ResNet-34 | Full Prec. | 32 | 1.00× | 66.70 |
| Ours | 2.58 | 12.37× | 64.12 |
Table 4. Comparison of our method extended to perform 2/4/8-bit mixed-precision quantization, on SNNs trained using TET [25] for timesteps, versus full-precision baselines. W-bits and W-ratio indicate the average weight precision and compression ratio, respectively.
Ablation Study
We conduct ablation studies to evaluate three aspects of the proposed framework: (i) its applicability to conventional ANN models, (ii) the contribution of threshold-margin information to mixed-precision bit allocation, and (iii) its robustness across different surrogate gradient functions.
Generalization to ANN Models
Although the proposed framework is motivated by efficient SNN quantization, its gradient-based sensitivity metric is applicable to standard ANNs. Table 5 compares our method with HAWQ-V2 on CIFAR-10 and ImageNet. Since ANNs do not exhibit spike dynamics, only the first-order gradientbased sensitivity metric (without threshold-margin information) is used. Using candidate bit-widths of , the proposed method achieves higher compression ratios and better accuracy than HAWQ-V2. On CIFAR-10 and ImageNet, the proposed method improves the compression ratio by 7.6% and 13.0%, respectively, while increasing top-1 accuracy by 0.39% and 0.43%, respectively, over HAWQ-V2. These results indicate that the proposed first-order sensitivity metric remains effective beyond SNNs.
| Dataset | Arch | Type | Method | W-bits | W-ratio | Acc (%) |
| CIFAR-10 | ResNet20 | ANN | Full Prec. | 32 | 1.00× | 92.90 |
| HAWQ-V2 | 13.11× | 92.22 | ||||
| Ours | 2.27 | 14.11× | 92.61 | |||
| ImageNet | Inception-V3 | ANN | Full Prec. | 32 | 1.00× | 77.45 |
| HAWQ-V2 | 12.04× | 75.68 | ||||
| Ours | 2.35 | 13.61× | 76.11 |
Table 5. Comparison of our method on ANNs with HAWQ-V2 whose results are taken from [8]. Our method uses candidate bit-widths of 1, 2, 4, 8. For HAWQ-V2, the reported “W-bits” correspond to the minimum candidate bit-width, whereas for our method, “W-bits” indicate the average allocated weight precision.

Figure 4. Sensitivity-wise layer ranking of ResNet34 SNN trained on ImageNet and quantized using HAWQ-V2 [8] vs. our method. Note that c1 denotes the initial conv layer, while labels of the form cX.x.B.rf/sc.K denote the K-th convolution in the residual (rf) or shortcut (sc) branch of the B-th residual block in the convX-x stage.

Figure 5. Layer-wise mixed precision bit allocation of HAWQ-V2 [8] versus our method for ResNet-34 SNN on ImageNet. Note that c1 denotes the initial conv layer, while labels of the form cX.x.B.rf/sc.K denote the K-th convolution in the residual (rf) or shortcut (sc) branch of the B-th residual block in the convX-x stage.
Effect of Threshold Margin
Table 6 evaluates the contribution of threshold-margin information to the proposed sensitivity metric. Compared
| Dataset | Architecture | Grad W-bits | Grad W-ratio | Grad Acc (%) | Grad + Threshold Margin W-bits | Grad + Threshold Margin W-ratio | Grad + Threshold Margin Acc (%) |
| CIFAR-10 | ResNet-18 | 2.72 | 11.73× | 93.72 | 2.76 | 11.56× | 94.24 |
| VGG-16 | 2.74 | 11.64× | 95.55 | 2.74 | 11.64× | 95.61 | |
| 2.49 | 12.83× | 95.46 | 2.46 | 13.01× | 95.49 | ||
| CIFAR-100 | ResNet-18 | 3.63 | 8.81× | 64.24 | 3.72 | 8.60× | 64.71 |
| 3.56 | 8.98× | 64.24 | 3.59 | 8.89× | 64.6 | ||
| VGG-16 | 2.99 | 10.72× | 70.76 | 2.96 | 10.78× | 70.85 | |
| 2.64 | 12.11× | 70.22 | 2.65 | 12.09× | 70.54 | ||
| 2.44 | 13.07× | 57.28 | 2.48 | 12.89× | 69.94 |
Table 6. Ablation to study the impact of threshold-margin information in the proposed sensitivity metric. Results employ candidate bit-widths of in the QCFS framework ().
with gradients alone, integrating threshold-margin information consistently improves quantized accuracy, with a particularly large gain for CIFAR-100 (VGG-16) from 57.28% to 69.94% at approximately 2.5 bits. These experiments use and candidate bit-widths of , allowing the bit-allocation algorithm to exploit a wider range of precision levels. Further analysis of the effect of is provided in the supplementary material.
Robustness across Surrogate Gradients
Since gradients in SNNs depend on surrogate function, we evaluate the proposed framework using five commonly used surrogate gradients while keeping the trained model and quantization settings fixed. As shown in Figure 6, the proposed method achieves nearly identical quantized accuracy across all surrogate functions. Moreover, Figure 7 shows that the resulting layer sensitivity rankings are highly consistent, with pairwise Spearman coefficients [26] exceeding 0.99. Thus, although surrogate functions may change the absolute sensitivity values, they preserve the relative ordering of layers, leading to consistent bit-allocation decisions. Additional analysis are provided in supplementary materials.

Figure 6. Accuracy of ResNet-18 on CIFAR-10 dataset using different surrogate gradients

Figure 7. Pairwise Spearman rank correlation [26] between layer sensitivity rankings obtained using different surrogate gradient functions. High correlation indicates that the proposed sensitivity metric produces nearly identical layer orderings across surrogate gradient functions.
Hardware Efficiency: ANN vs. SNN
We simulate VGG-16 and ResNet-18 on SparTen [11], an ANN hardware accelerator, against LoAS [30], an SNN hardware accelerator. Both accelerators use the same dual-sparse processing element (PE) pipeline and operate at 560 MHz. Figure 8 illustrates per-inference energy at . The SNN baseline consumes 2.6–2.7× less energy than the ANN baseline at , rising to 4.3–4.5× at , driven by both lower per-PE power and higher combined sparsity at smaller timesteps. Both HAWQ-V2 and our method yield mixed-precision SNNs that provide comparable energy efficiency. Within the SNN baseline itself, we further compare mixed-precision (4/8-bit) weights against uniform 8-bit weights at , as shown in Figure 9. Mixed-precision weights consistently reduce SNN energy by 19–25% over uniform 8-bit execution across all , for both architectures, since the lower average bit-width directly reduces per-PE dynamic power.

Figure 8. Per-inference energy: SparTen-style ANN baseline vs. LoAS-style SNN baseline for ResNet-18 and VGG-16.

Figure 9. Energy incurred by ResNet-18 SNN and VGG-16 SNN per-inference for mixed-precision versus uniform 8-bit weights.
Conclusion
In this work, we proposed a gradient-based mixed-precision quantization framework for SNNs that avoids costly Hessian-based sensitivity estimation through an efficient first-order, spike-aware formulation. By incorporating membrane threshold information into bit allocation, our method captures SNN-specific temporal dynamics while requiring only a single backward pass, achieving competitive accuracy with reduced computational and memory costs for resource-constrained neuromorphic deployment.
Supplementary Material
SNN Training Paradigms
SNNs process information through discrete spiking events over multiple timesteps. At each timestep , a spiking neuron integrates incoming weighted spikes into its membrane potential. When the membrane potential exceeds a predefined firing threshold , the neuron emits a binary spike and updates its internal state. The event-driven computation leads to sparse neural activity and enables energy-efficient inference on neuromorphic hardware.
Since SNNs produce outputs over multiple timesteps, the final prediction is typically obtained by aggregating the output spike across the entire simulation window. A commonly used decoding strategy is rate encoding, where the predicted class is computed as
where denotes the output spike activity corresponding to class at timestep . Broadly, SNNs can be trained using two different paradigms: direct training, which optimizes the network using surrogate gradients to overcome the non-differentiability of spike functions, and ANN-to-SNN conversion, which converts a pre-trained ANN into an equivalent SNN while preserving its predictive performance.
Direct Training of SNN using TET [25]. Temporal Efficient Training improves the optimization of directly trained SNNs by applying supervision across all timesteps rather than only at the final timestep. Instead of computing the loss solely from the final output, TET computes the average temporal loss over the entire spike sequence:
which prevents gradient collapse in early timestep and significantly improves accuracy over standard rate-coded training. However, the aggregation of surrogate gradients across time introduces new sensitivity patterns that affect adversarial bit-level saliency, as shown in our experiments.
ANN-to-SNN Conversion using QCFS [4]. QCFS is an ANN-to-SNN conversion framework designed to achieve accurate and low-latency spiking inference. Instead of using the ReLU activation during ANN training, it uses the Quantization Clip Floor-Shift (QCFS) activation function. This activation constrains the network output to discrete levels that closely resemble the spike rates produced by SNNs, thereby reducing the mismatch between ANN activations and SNN firing behavior. During conversion, the trained ANN is transformed into an equivalent SNN by replacing the quantized activations with spiking neurons while preserving the learned thresholds and scaling factors. As a result, the converted SNN achieves high accuracy using fewer simulation timesteps, making QCFS an efficient ANN-to-SNN conversion framework.
Transformer-based SNN. To demonstrate the generality of the proposed mixed-precision quantization framework, we evaluate our method on spike-based Vision Transformer (ViT) models using the SpikeZIP-TF [31] ANN-to-SNN conversion framework. Unlike convolutional networks, Vision Transformers rely on self-attention, softmax, and layer normalization operations, which are not directly compatible with spike-based computation.
SpikeZIP-TF addresses this issue by first quantizing a pretrained Vision Transformer through quantization-aware training. During conversion, ANN activation is replaced by a spiking neuron called ST-BiF. SpikeZIP-TF proposes Spike-Equivalent Self-Attention (SESA), Spike-Softmax and Spike-LayerNorm, which preserve the functionality of the corresponding Transformer modules in the spiking domain. These operators enable the converted SNN to closely mimic the behavior of the quantized Vision Transformer models, while maintaining high classification accuracy with relatively fewer simulation timesteps.
Theoretical Justification of the First-Order Sensitivity Metric
Hessian-based methods estimate parameter sensitivity using the curvature of the loss landscape. For a model with parameters , the Hessian matrix is defined as
where denotes the training loss. The Hessian captures the local curvature. Computing Hessian is expensive, particularly for temporally unrolled spiking neural networks. We instead utilize first-order gradient statistics derived from the Fisher information matrix [2, 20], which measures the sensitivity of the model output distribution with respect to parameter perturbations.
Consider a probabilistic model that predicts a conditional distribution:
where are the parameters of this model, are the input data, and are the model predictions. Under the negative log-likelihood training, the loss is defined as:
To measure how sensitive the output distribution is to parameter changes, we compute the gradient of the log-likelihood with respect to the parameters:
Here, is known as the score function. While the score function measures the sensitivity of the model distribution for an individual sample, quantization sensitivity should capture the expected parameter sensitivity over the entire data distribution. Therefore, we consider the expected covariance of the score function, leading to the Fisher information matrix [2, 20]:
The Fisher information matrix [2, 20] measures the expected sensitivity of the model distribution over the data distribution. Parameters associated with larger Fisher values produce greater changes in the network predictions under small perturbations, indicating higher importance and quantization sensitivity, thus Fisher captures parameter importance. Since the training objective is defined using negative log-likelihood, the gradient of the loss with respect to the parameters can be written as
Using the definition of the score function,
we obtain
Now, substituting this into the Fisher information matrix [20] gives
The diagonal entries of the Fisher matrix satisfy
where denotes the gradient corresponding to parameter , formulated as
Parameters with larger squared gradients produce larger changes in the loss under perturbations and are therefore more sensitive to quantization. Since
the Hessian of the loss is
Under negative log-likelihood objectives, the curvatures of the loss can be related to the statistical properties of the underlying probability distribution. The relationship can be derived from the normalized property of probability distributions, described by
Differentiating the normalization condition with respect to the model parameters gives
Using the identity [3]:
the above expression becomes
Therefore,
The above expression is known as the score-function identity, which states that the expected score over the data distribution is zero. Now, differentiating once again with respect to the model parameters and rearranging yields
The right-hand side corresponds to the Fisher Information matrix, while the left-hand side represents the expected Hessian curvature of the negative log-likelihood objective [2, 20]. Therefore,
For models trained near local optima, the empirical Hessian closely approximates its expectation over the data distribution, yielding
allowing the second-order loss perturbation to be efficiently approximated using squared gradients, formulated as
Additional Experiments and Comparison with QP-SNN
Table S1 compares our mixed-precision framework with the uniform quantization and pruning strategy adopted by QP-SNN [28]. At comparable compression levels, our proposed method consistently achieves higher accuracy across all evaluated datasets. Notably on ImageNet, the proposed method achieves 65.09% compared to 61.36% and 58.05% for the 8-bit and 4-bit QP-SNN models, respectively. These gains highlight the effectiveness of mixed-precision over uniform-bit allocation.
| Dataset | Architecture | Method | W-bits | W-ratio | Acc (%) |
| CIFAR-10 | VGG-16 | QP-SNN | 8 | 4× | 91.98 |
| QP-SNN | 4 | 8× | 91.90 | ||
| Ours | 4.07 | 7.87× | 91.89 | ||
| CIFAR-100 | VGG-16 | QP-SNN | 8 | 4× | 66.69 |
| QP-SNN | 4 | 8× | 66.21 | ||
| Ours | 4.35 | 7.36× | 67.69 | ||
| ImageNet | ResNet-34 | QP-SNN | 8 | 4× | 61.36 |
| QP-SNN | 4 | 8× | 58.06 | ||
| Ours | 4.86 | 6.59× | 65.09 |
Table S1. Comparison of our mixed-precision quantization method with QP-SNN that uses uniform 8-bit and 4-bit quantization.
Computational Overhead of Sensitivity Estimation
Let denote the number of quantizable layers, the total number of parameters, the number of candidate bit-widths, the number of calibration batches, the number of Hutchinson probes, and the number of greedy bit-reduction steps. For our method, each calibration batch requires one forward-backward pass, which provides gradients for all layers simultaneously. Hence, gradient collection costs , where is the cost of one forward-backward pass. The resulting gradients are reused across all candidate bit-widths, giving a cost of . The greedy allocation examines layers at each of reduction steps, resulting in . Thus,
In contrast, HAWQ-V2 estimates the Hessian trace separately for each layer using Hutchinson probes. If denotes the cost of one Hessian-vector product, this requires . The subsequent candidate-bit evaluation and greedy allocation remain and , respectively. Hence,
Thus, our method avoids the per-layer second-order HVP computations and instead uses a shared first-order gradient computation. This advantage is particularly relevant for SNNs, where the computational graph is unrolled over the simulation timesteps.
Investigation on Fisher-Hessian Relationship in SNNs
To understand the relationship between Fisher and Hessian based sensitivities, we perform a layerwise analysis using
Here, and are the diagonal Hessian and Fisher entries corresponding to parameter , is estimated independently for each layer and captures the remaining curvature. This decomposition is used only for analysis and is not required by our quantization procedure. As depicted
in Figure S1, the raw layer-wise Hessian and Fisher sensitivities do not match; the Fisher values are generally much smaller than the corresponding Hessian values, and therefore the raw Fisher cannot be interpreted as a direct numerical approximation of the Hessian. Now, applying the layer-wise scaling reduces this discrepancy, but still does not fully match , indicating that a simple scaling relationship alone is insufficient to explain the Hessian curvature.

Figure S1. Raw values of Hessian, Fisher, and for ResNet-18 on the CIFAR-10 dataset.
To quantitatively assess the discrepancy between Fisher and Hessian sensitivities, we compute the layer-wise absolute error
and relative error
As shown in Figure. Figure S2 and Figure. Figure S3, the raw Fisher exhibits a substantial magnitude discrepancy with respect to the Hessian across several layers. In particular, the relative error indicates that the Fisher should not be interpreted as a numerically exact approximation of the diagonal Hessian under surrogate-gradient training.

Figure S2. Layer-wise absolute error between the diagonal Hessian and raw Fisher sensitivities for ResNet-18 on CIFAR-10.

Figure S3. Layer-wise relative error between the diagonal Hessian and raw Fisher sensitivities for ResNet-18 on CIFAR-10.
Importantly, despite this difference in magnitude, the two criteria exhibit a strong agreement in their relative layer-wise behavior. The Pearson correlation between the Hessian and Fisher is 0.90, while the Spearman rank correlation [32] is 0.89. In particular, the high Spearman correlation shows that layers identified as relatively more sensitive by the Hessian are also generally ranked highly by the Fisher, and vice versa. This is the property most relevant to our mixed-precision allocation, since the objective is to distinguish relatively sensitive layers rather than reproduce the exact numerical value of the Hessian.
Role of layer-wise scaling and residual curvature. The variation of over layers, shown in Figure. Figure S4, further demonstrates that the Hessian–Fisher relationship is not governed by a single universal scale factor. The layer-dependent scaling varies considerably, confirming that the mismatch between and cannot be removed by simply applying one global multiplicative constant. Nevertheless, the strong rank agreement observed above indicates that this magnitude mismatch does not disrupt the relative sensitivity structure across layers. The remaining discrepancy is captured by the residual

Figure S4. Values of per layer for ResNet-18 on the CIFAR-10 dataset.
As shown in Figure. Figure S5, the residual is substantial for some layers and very small for others. This is also evident in Figure. Figure S1, where remains separated from for several layers. However, after incorporating the residual, i.e., comparing with , the reconstructed values closely match the Hessian across layers. This confirms that the observed discrepancy can be viewed as a combination of a Fisher-aligned component and a layer-dependent residual curvature component.

Figure S5. Values of per layer for ResNet-18 on the CIFAR-10 dataset.
The important observation is therefore not that numerically equals , but that the Fisher preserves much of the relative sensitivity structure of the Hessian even when their absolute magnitudes differ substantially. The high Pearson and Spearman correlations support this observation, while the and residual analyses explain why the numerical values do not directly coincide. This provides an empirical justification for using Fisher sensitivity as a practical surrogate for Hessian sensitivity in our bit-allocation procedure, without requiring Hessian computation itself.
Ablation Studies on Surrogate Gradients
We further investigate whether the choice of surrogate gradient affects the proposed mixed-precision bit allocation strategy. Since surrogate gradients determine the backward-pass approximation of the non-differentiable spiking function, different surrogate functions can potentially alter the estimated layer-wise sensitivity and, consequently, the resulting bit-width assignment. To assess the robustness of our approach to this choice, we evaluate five commonly used surrogate gradients—Atan, Sigmoid, FastSigmoid, Piecewise Linear, and Triangular—on a ResNet-18 [9] obtained through the QCFS conversion framework on the CIFAR-10 dataset. For each surrogate gradient, we independently compute the layer-wise sensitivity scores used by our bit allocation method and derive the corresponding mixed-precision configuration under the same overall bit-budget. This allows us to isolate the effect of the surrogate gradient while keeping the network architecture, conversion framework, dataset, and allocation procedure fixed. We then compare the resulting bit-width assignments and compression performance across the five surrogate-gradient choices to determine whether the proposed allocation strategy remains consistent under different backward-pass approximations.
Coarse Bit-width Search Space ()
We first evaluate the influence of different surrogate gradients using a coarse candidate bit-width set of . Figure S6 shows that all five surrogate gradient produce identical quantized models, achieving the same accuracy of 94.01%. This suggests that the proposed algorithm is largely insensitive to the choice of the surrogate gradient when only two candidate bit-width are available. We analyze the layer-wise sensitivity values computed using different surrogate gradients. As shown in Figure S7, although the absolute sensitivity scores differ slightly across surrogate functions, the overall sensitivity pattern remains consistent. In particular, the same groups of layers are consistently identified as highly sensitive, while the remaining layers exhibit only minor numerical variations.

Figure S6. Quantized accuracy vs. surrogate gradient approximations. The model used here is ResNet-18 trained on CIFAR-10 [17] using the QCFS [4] framework.

Figure S7. Sensitivity of each layer of ResNet-18 SNN trained on CIFAR-10 [15] using the QCFS [4] framework.
Since the proposed algorithm depends primarily on the relative importance of layers rather than their absolute sensitivity values, we next compare the resulting layer rankings. Figure S8 shows that the ranking produced by different surrogate gradients are highly consistent, with most layers retaining identical ranks and only a few layers exchanging neighboring positions. Figure S9 presents the bit

Figure S8. Comparison of layer rankings obtained using different surrogate gradients for ResNet-18 [9] on CIFAR-10 [15] using the QCFS [4] framework.
allocation obtained using different surrogate gradient functions. Although each surrogate produces slightly different gradient magnitudes and corresponding sensitivity scores, the resulting layer rankings remain consistent. Because bit allocation is performed over a small set of candidate precisions, these small score differences do not affect the selected bit-width for any layer. Therefore, all surrogate gradients generate an identical mixed-precision configuration, which in turn results in identical model accuracy, as shown in Figure S6.

Figure 9 (PDF p. 16). Layer-wise bit allocation of ResNet-18 [9] SNN using different surrogate functions.
Fine-Grained Candidate Bit-width Setting (1,2,4,8)
Unlike the coarse candidate bit-width setting discussed in the previous subsection, the finer search space of gives the algorithm more flexibility in assigning layer-wise precisions. Consequently, variations in the surrogate functions influence the sensitivity ordering of layers, resulting in different mixed-precision configurations. Figure S10 illustrates the layer sensitivity scores obtained using different surrogate gradients.
Although all surrogate functions identify the final residual block as the most quantization-sensitive region of the network, noticeable differences are observed in the sensitivity values across layers. These differences suggest that surrogate gradients produce slightly different estimates of layer importance when a richer candidate precision set is available. To better understand these variations, Figure S11 converts the sensitivity values into layer-wise rankings. Compared to setting, the agreement among surrogate gradients

Figure 10. Layer-wise sensitivity of ResNet-18 SNN trained on CIFAR-10 using QCFS [4] framework. Candidate bits used here are .

Figure 11. Comparison of layer sensitivity rankings obtained using different surrogate gradients for ResNet-18 SNN on CIFAR-10 [15] using the QCFS [4] framework.
caption: Quantized accuracy versus surrogate gradient functions for ResNet-18 SNN trained on CIFAR-10 [15] dataset using the QCFS [4] framework.
dients decreases considerably. Several layers undergo substantial change in rank, especially in the later stages of the network where sensitivity values are relatively close. Unlike the coarse search space, the richer candidate bit-width set provides the optimization algorithm with greater flexibility to distinguish between layers with similar sensitivities, allowing these ranking differences to influence the final precision agreement. These ranking differences are reflected in the bit allocation, with layers whose sensitivity changes across surrogate gradients receiving different precisions. In contrast, consistently ranked layers retain the same bit-width. Since only a small subset of layers change precision, the overall mixed-precision configuration remains highly consistent, indicating that the proposed algorithm adapts to surrogate-specific sensitivity while maintaining stable allocations for consistently important layers.
The influence of surrogate-specific ranking differences on the final mixed-precision configuration is illustrated in fig:S13. Consistent with the observed ranking variations, the finer candidate bit-width set allows the algorithm to assign different precisions to a few layers across surrogate gradients, while the majority of layers retain identical bit-widths. This confirms that the proposed bit allocation strategy directly follows the surrogate-specific layer sensitivity estimates. The final quantized accuracy remains remarkably stable, as shown in fig:S12. The accuracy varies only from 94.05% to 94.19% across all surrogate gradients, demonstrating that the proposed mixed-precision framework is robust to the choice of surrogate gradient even when a richer candidate bit-width search space is employed.
Ablation studies on Protection Factor Parameter
The protection factor is defined as
where controls the contribution of threshold-margin information. We evaluate on ResNet-18 and VGG-16
caption: Layer-wise bit allocation of ResNet-18 [9] SNN using different surrogate gradient functions.
using CIFAR-10 and CIFAR-100, while keeping all other settings fixed. As shown in fig:S14, introducing the
caption: Beta analysis of the protection factor for different models trained on different datasets.
threshold-margin term () improves quantized accuracy by 57.5% − 71.78 on VGG-16 (CIFAR-100) over the gradient-only setting (). The optimal varies across architectures and datasets but a broad high-accuracy region is observed in all cases. Based on these results, we use as a fixed default value in our main experiments rather than tuning it separately for each configuration.
Layer-wise Bit Allocation Comparison
To further analyze the proposed mixed-precision framework, we compare the layer-wise bit allocations generated by our gradient-based sensitivity metric with those obtained using HAWQ-V2. We report the assigned bit-width for every quantized layer across multiple SNN and ANN architectures. This comparison provides a qualitative assessment of whether the proposed first-order sensitivity metric captures similar layer importance as the second-order Hessian-based criterion.
Although the proposed method relies only on first-order gradient information, the resulting bit allocations closely resemble those produced by HAWQ-V2 for most layers. Differences primarily appear in layers whose sensitivities are relatively similar, where multiple bit assignments can satisfy the target compression budget. Table S2 and Table S3 compare the layer-wise bit allocation produced by the proposed method and HAWQ-V2 for VGG-16 SNN trained on CIFAR-10 and CIFAR-100 datasets, respectively. The overall allocation patterns are consistent, indicating that the first-order sensitivity metric captures layer importance comparable to the Hessian-based criterion of HAWQ-V2. Notably, the proposed method assigns lower bit-widths to several convolutional layers while maintaining higher precision for the most sensitive layers, resulting in a more aggressive compression strategy. Despite these differences, the overall
| Layer | Ours | HAWQ-V2 |
| conv-1 | 8 | 8 |
| conv-2 | 8 | 8 |
| conv-3 | 8 | 8 |
| conv-4 | 8 | 8 |
| conv-5 | 8 | 4 |
| conv-6 | 8 | 8 |
| conv-7 | 8 | 4 |
| conv-8 | 4 | 8 |
| conv-9 | 4 | 4 |
| conv-10 | 4 | 4 |
| conv-11 | 4 | 4 |
| conv-12 | 4 | 4 |
| conv-13 | 4 | 4 |
| FC-1 | 4 | 4 |
| FC-4 | 4 | 4 |
| FC-7 | 8 | 8 |
Table S2. Layer-wise bit allocation for VGG-16 SNN trained on CIFAR-10 [15] using the QCFS [4] framework.
| Layer | Ours | HAWQ-V2 |
| conv-1 | 8 | 8 |
| conv-2 | 8 | 8 |
| conv-3 | 8 | 8 |
| conv-4 | 8 | 8 |
| conv-5 | 8 | 8 |
| conv-6 | 4 | 8 |
| conv-7 | 8 | 8 |
| conv-8 | 4 | 8 |
| conv-9 | 4 | 4 |
| conv-10 | 8 | 4 |
| conv-11 | 4 | 4 |
| conv-12 | 4 | 4 |
| conv-13 | 4 | 4 |
| FC-1 | 4 | 4 |
| FC-4 | 4 | 4 |
| FC-7 | 8 | 8 |
Table S3. Layer-wise bit allocation for VGG-16 SNN trained on CIFAR-100 [15] using the QCFS [4] framework.
mixed-precision configurations remain similar.
| Layer | Ours | HAWQ-V2 |
| conv-1 | 8 | 8 |
| conv-2 | 8 | 8 |
| conv-3 | 8 | 8 |
| conv-4 | 4 | 4 |
| conv-5 | 4 | 4 |
| conv-6 | 4 | 4 |
| conv-7 | 4 | 4 |
| conv-8 | 4 | 4 |
| FC-1 | 8 | 8 |
Table S4. Layer-wise bit allocation obtained for VGGSNN trained on CIFAR10-DVS [17] using the TET [25] framework.
| Stage | Layer(s) | Weight Bit |
| Stem | Conv2d_1a_3x3.conv – Conv2d_3b_1x1.conv | 8 |
| Conv2d_4a_3x3.conv | 4 | |
| Mixed_5b | branch1x1.conv – branch3x3dbl_2.conv | 6 |
| branch3x3dbl_3.conv | 4 | |
| branch_pool.conv | 8 | |
| Mixed_5c | branch1x1.conv – branch3x3dbl_1.conv | 6 |
| branch3x3dbl_2.conv – branch3x3dbl_3.conv | 4 | |
| branch_pool.conv | 6 | |
| Mixed_5d | branch1x1.conv – branch5x5_1.conv | 6 |
| branch5x5_2.conv | 4 | |
| branch3x3dbl_1.conv – branch3x3dbl_2.conv | 6 | |
| branch3x3dbl_3.conv | 4 | |
| branch_pool.conv | 6 | |
| Mixed_6a | branch3x3.conv | 1 |
| branch3x3dbl_1.conv | 6 | |
| branch3x3dbl_2.conv – branch3x3dbl_3.conv | 4 | |
| Mixed_6b – Mixed_6e | All convolution layers | 4 |
| Mixed_7a | branch3x3_1.conv | 4 |
| branch3x3_2.conv | 1 | |
| branch7x7x3_1.conv – branch7x7x3_3.conv | 4 | |
| branch7x7x3_4.conv | 1 | |
| Mixed_7b | branch1x1.conv | 4 |
| branch3x3_1.conv – branch3x3dbl_2.conv | 1 | |
| branch3x3dbl_3a.conv | 4 | |
| branch3x3dbl_3b.conv | 1 | |
| branch_pool.conv | 4 | |
| Mixed_7c | branch1x1.conv | 1 |
| branch3x3_1.conv | 2 | |
| branch3x3_2a.conv – branch3x3_2b.conv | 1 | |
| branch3x3dbl_1.conv | 2 | |
| branch3x3dbl_2.conv – branch_pool.conv | 1 | |
| Head | fc | 1 |
Table S5. Layer-wise bit allocation produced by the proposed gradient-based mixed-precision quantization method for Inception-v3 ANN on ImageNet [6]. Consecutive layers that are assigned the same bit-width are grouped for concise reporting.
References
- [1]Filipp Akopyan, Jun Sawada, Andrew S. Cassidy, Alvarez-Icaza Rodrigo, John V. Arthur, Paul Merolla, Nabil Imam, Yutaka Nakamura, Pallab Datta, Gi Joon Nam, Brian Taba, Michael P. Beakes, Bernard Brezzo, Jente B. Kuang, Rajit Manohar, William P. Risk, Bryan L. Jackson, and Dharmendra S. Modha. Truenorth: Design and tool flow of a 65 mw 1 million neuron programmable neurosynaptic chip. In IEEE Transactions on Computer-Aided Design on Integrated Circuits and Systems (TCADIS), 2015. 1DOI
- [2]Shun-ichi Amari. Information Geometry and Its Applications. Springer Publishing Company, Incorporated, 1st edition, 2016. 3, 1, 2
- [3]Christopher M. Bishop. Pattern Recognition and Machine Learning. Springer, 2006. 2
- [4]Tong Bu, Wei Fang, Jianhao Ding, PENGLIN DAI, Zhaofei Yu, and Tiejun Huang. Optimal ANN-SNN conversion for high-accuracy and ultra-low-latency spiking neural networks. In International Conference on Learning Representations, 2022. 1, 2, 4, 5, 6, 7, 8arxiv.org/abs/2303.04347
- [5]Mike Davies, Narayan Srinivasa, Tsung-Han Lin, Gautham Chinya, Yongqiang Cao, and Sri Harsha Choday. Loihi: A neuromorphic manycore processor with on-chip learning. In IEEE MIC, Vol. 38, 2018. 1DOI
- [6]Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, 2009. 4, 9
- [7]Zhen Dong, Zhewei Yao, Amir Gholami, Michael W. Mahoney, and Kurt Keutzer. Hawq: Hessian aware quantization of neural networks with mixed-precision. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), 2019. 1, 2arxiv.org/abs/1905.03696
- [8]Zhen Dong, Zhewei Yao, Daiyaan Arfeen, Amir Gholami, Michael Mahoney, and Kurt Keutzer. Hawq-v2: Hessian aware trace-weighted quantization of neural networks. In Advances in Neural Information Processing Systems, pages 18518–18529. Curran Associates, Inc., 2020. 1, 2, 3, 5, 6, 7arxiv.org/abs/1911.03852
- [9]Wei Fang, Zhaofei Yu, Yanqi Chen, Tiejun Huang, Timothée Masquelier, and Yonghong Tian. Deep residual learning in spiking neural networks. In Advances in Neural Information Processing Systems, pages 21056–21069. Curran Associates, Inc., 2021. 5, 6, 7arxiv.org/abs/2102.04159
- [10]Wulfram Gerstner and Werner M. Kistler. Spiking Neuron Models. Cambridge University Press, 2002. 1
- [11]Ashish Gondimalla, Noah Chesnut, Mithuna Thottethodi, and T. N. Vijaykumar. Sparten: A sparse tensor accelerator for convolutional neural networks. In Proceedings of the 52nd Annual IEEE/ACM International Symposium on Microarchitecture, page 151–165, New York, NY, USA, 2019. Association for Computing Machinery. 8DOI
- [12]Song Han, Huizi Mao, and William Dally. Deep compression: Compressing deep neural networks with pruning, trained quantization and huffman coding. International Conference on Learning Representations (ICLR), 2016. 1arxiv.org/abs/1510.00149
- [13]Benoit Jacob, Skirmantas Kligys, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 2704–2713, 2018. 1arxiv.org/abs/1712.05877
- [14]Chetan Kadway, Sounak Dey, Arijit Mukherjee, Arpan Pal, and Gilles Bézard. Low power & low latency cloud cover detection in small satellites using on-board neuromorphic processors. In 2023 International Joint Conference on Neural Networks (IJCNN), pages 1–8, 2023. 1DOI
- [15]Alex Krizhevsky, Vinod Nair, and Geoffrey E Hinton. Cifar-10 and 100 (canadian institute for advanced research). ”http://www.cs.toronto.edu/~kriz/cifar.html”, 2010. 4, 5, 6, 7, 8
- [16]Frederik Kunstner, Philipp Hennig, and Lukas Balles. Limitations of the empirical fisher approximation. In Neural Information Processing Systems, 2019. 3arxiv.org/abs/1905.12558
- [17]Hongmin Li, Hanchao Liu, Xiangyang Ji, Guoqi Li, and Luping Shi. Cifar10-dvs: an event-stream dataset for object classification. Frontiers in Neuroscience, 11:309, 2017. 4, 5, 8DOI
- [18]Jiahao Li, Ming Xu, Heng Dong, Bin Lan, Yuxin Liu, He Chen, Yin Zhuang, Yizhuang Xie, and Liang Chen. Balancing accuracy and efficiency: co-design of hybrid quantization and unified computing architecture for spiking neural networks. Frontiers in Neuroscience, Volume 19 - 2025, 2025. 2, 5, 6DOI
- [19]Hin Wai Lui and Emre Neftci. Hessian aware quantization of spiking neural networks. In International Conference on Neuromorphic Systems 2021, New York, NY, USA, 2021. Association for Computing Machinery. 2, 5, 6
- [20]James Martens. New insights and perspectives on the natural gradient method. Journal of Machine Learning Research, 21 (146):1–76, 2020. 3, 1, 2
- [21]Shadi Matinizadeh, Arghavan Mohammad Hassani, Noah Pacik-Nelson, Ioannis Polykratis, Abhishek Mishra, James Shackleford, Nagarajan Kandasamy, Eric Gallo, and Anup Das. A fully-configurable digital spiking neuromorphic hardware design with variable quantization and mixed precision. In 2024 IEEE 67th International Midwest Symposium on Circuits and Systems (MWSCAS), pages 937–941, 2024. 2DOI
- [22]Emre O. Neftci, Hesham Mostafa, and Friedemann Zenke. Surrogate gradient learning in spiking neural networks: Bringing the power of gradient-based optimization to spiking neural networks. IEEE Signal Processing Magazine, 36 (6):51–63, 2019. 1, 2DOI
- [23]Eustace Painkras, Luis A Plana, Jim Garside, Steve Temple, Francesco Galluppi, Cameron Patterson, David R Lester, Andrew D Brown, and Steve B Furber. Spinnaker: A 1-w 18-core system-on-chip for massively-parallel neural network simulation. IEEE Journal of Solid-State Circuits, 48 (8):1943–1953, 2013. 1DOI
- [24]Pranav Ramesh and Gopalakrishnan Srinivasan. PASCAL: Precise and efficient ANN- SNN conversion using spike accumulation and adaptive layerwise activation. Transactions on Machine Learning Research, 2025. 1, 2, 4, 5arxiv.org/abs/2505.01730
- [25]Deng Shikuang, Li Yunzhan , Shiwei Zhang, and Shi Gu. Temporal efficient training of spiking neural networks via gradient re-weighting. In International Conference on Learning Representations (ICLR), 2022. 1, 2, 4, 6, 7, 8arxiv.org/abs/2202.11946
- [26]Charles Spearman. The proof and measurement of association between two things. The American Journal of Psychology, 15(1):72–101, 1904. 7, 8
- [27]Wenjie Wei, Yu Liang, Ammar Belatreche, Yichen Xiao, Honglin Cao, Zhenbang Ren, Guoqing Wang, Malu Zhang, and Yang Yang. Q-snns: Quantized spiking neural networks. In Proceedings of the 32nd ACM International Conference on Multimedia, page 8441–8450, New York, NY, USA, 2024. Association for Computing Machinery. 1, 2arxiv.org/abs/2406.13672
- [28]Wenjie Wei, Malu Zhang, Zijian Zhou, Ammar Belatreche, Yimeng Shan, Yu Liang, Honglin Cao, Jieyuan Zhang, and Yang Yang. QP-SNN: Quantized and pruned spiking neural networks. In The Thirteenth International Conference on Learning Representations, 2025. 1, 2, 3arxiv.org/abs/2502.05905
- [29]Paul J. Werbos. Backpropagation through time: What it does and how to do it. Proc. IEEE, 78:1550–1560, 1990. 2DOI
- [30]Ruokai Yin, Youngeun Kim, Di Wu, and Priyadarshini Panda. Loas: Fully temporal-parallel dataflow for dual-sparse spiking neural networks. In 2024 57th IEEE/ACM International Symposium on Microarchitecture (MICRO), pages 1107–1121, 2024. 8arxiv.org/abs/2407.14073
- [31]Kang You, Zekai Xu, Chen Nie, Zhijie Deng, Qinghai Guo, Xiang Wang, and Zhezhi He. SpikeZIP-TF: Conversion is all you need for transformer-based SNN. In Proceedings of the 41st International Conference on Machine Learning, pages 57367–57383. PMLR, 2024. 4, 1arxiv.org/abs/2406.03470
- [32]Jerrold Zar. Spearman Rank Correlation, chapter 1, pages 1–10. Wiley, 2005. 4DOI