DAQ:用于脉冲Transformer的决策对齐后训练量化
DAQ: Decision-Aligned Post-Training Quantization for Spiking Transformers
AI总结:
本文针对脉冲Transformer的权重与膜变量量化难题,提出决策对齐后训练量化(DAQ)方法,通过校准量化器对齐脉冲决策,在多任务实验中实现4位量化下的性能与能耗优化。
摘要:
脉冲Transformer结合了基于注意力的表示学习与稀疏脉冲通信,但其权重和膜变量仍会产生大量存储与计算开销。后训练量化(PTQ)是降低这些开销的实用方法,但在权重和膜量化下保留神经元脉冲仍具挑战性。本文提出决策对齐后训练量化(DAQ),该方法校准量化器以对齐神经元脉冲决策与浮点参考的决策。我们分析了这些量化误差如何影响决策边界处的脉冲,以及它们如何在循环神经元的时间步长中传播。基于此分析,我们构建了一个目标函数,鼓励量化后的膜变量在量化模型自身状态轨迹上保持在参考脉冲区域内。在图像分类、语义分割和基于事件的跟踪任务的多种脉冲Transformer架构上的实验证明了DAQ在4位权重和膜变量下的有效性。在FE108数据集上,DAQ结合SDTrack实现了58.8%的AUC和90.9%的PR,同时降低了66.2%的能耗。
英文摘要:
Spiking transformers combine attention-based representation learning with sparse spike communication, yet their weights and membrane variables still incur substantial storage and computation overhead. Post-training quantization (PTQ) offers a practical way to reduce these overheads, but preserving neuronal firing under weight and membrane quantization remains challenging. In this paper, we propose Decision-Aligned Post-Training Quantization (DAQ), a method that calibrates the quantizers to align neuronal firing decisions with those of a floating-point reference. We analyze how errors from these quantizers affect firing at decision boundaries and how they propagate over time steps in recurrent neurons. Based on this analysis, we formulate an objective that encourages quantized membrane variables to remain within the reference firing regions along the quantized model's own state trajectory. Experiments across multiple spiking transformer architectures on image classification, semantic segmentation, and event-based tracking demonstrate the effectiveness of DAQ with 4-bit weights and membrane variables. On FE108, DAQ achieves 58.8\% AUC and 90.9\% PR with SDTrack, while reducing energy by 66.2\%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。