paper-with-me

Papers

SQUAT: Stateful Quantization-Aware Training in Recurrent Spiking Neural Networks

2024-04-15 · Sreyes Venkatesh, Razvan Marinescu, Jason K. Eshraghian

Weight quantization is used to deploy high-performance deep learning models on resource-limited hardware, enabling the use of low-precision integers for storage and computation. Spiking neural networks (SNNs) share the goal of enhancing efficiency, but adopt an 'event-driven' approach to reduce the power consumption of neural network inference. While extensive research has focused on weight quantization, quantization-aware training (QAT), and their application to SNNs, the precision reduction of state variables during training has been largely overlooked, potentially diminishing inference performance. This paper introduces two QAT schemes for stateful neurons: (i) a uniform quantization strategy, an established method for weight quantization, and (ii) threshold-centered quantization, which allocates exponentially more quantization levels near the firing threshold. Our results show that increasing the density of quantization levels around the firing threshold improves accuracy across several benchmark datasets. We provide an ablation analysis of the effects of weight and state quantization, both individually and combined, and how they impact models. Our comprehensive empirical evaluation includes full precision, 8-bit, 4-bit, and 2-bit quantized SNNs, using QAT, stateful QAT (SQUAT), and post-training quantization methods. The findings indicate that the combination of QAT and SQUAT enhance performance the most, but given the choice of one or the other, QAT improves performance by the larger degree. These trends are consistent all datasets. Our methods have been made available in our Python library snnTorch: https://github.com/jeshraghian/snntorch.

📄 PDF Abstract BibTeX arXiv:2404.19668

Code (1)

jeshraghian/snntorch 공식 구현 pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

SQuAT: Sharpness- and Quantization-Aware Training for BERT

2022-10-13 · Zheng Wang, Juncheng B Li, Shuhui Qu, Florian Metze 외

Quantization is an effective technique to reduce memory footprint, inference latency, and power consumption of deep learning models. However, existing quantization methods suffer from accuracy degradation compared to ful…

Quantization

SQuat: Subspace-orthogonal KV Cache Quantization

2025-03-31 · Hao Wang, Ligong Han, Kai Xu, Akash Srivastava

The key-value (KV) cache accelerates LLMs decoding by storing KV tensors from previously generated tokens. It reduces redundant computation at the cost of increased memory usage. To mitigate this overhead, existing appro…

Quantization

Investigation of intelligent barbell squat coaching system based on computer vision and machine learning

2025-03-31 · Yinq-Rong Chern, Yuhao Lee, Hsiao-Ching Lin, Guan-Ting Chen 외

Purpose: Research has revealed that strength training can reduce the incidence of chronic diseases and physical deterioration at any age. Therefore, having a movement diagnostic system is crucial for training alone. Henc…

Diagnosticfeature selection

Mamba-PTQ: Outlier Channels in Recurrent Large Language Models

2024-07-17 · Alessandro Pierro, Steven Abreu

Modern recurrent layers are emerging as a promising path toward edge deployment of foundation models, especially in the context of large language models (LLMs). Compressing the whole input sequence in a finite-dimensiona…

MambaModel CompressionQuantization

Stateful Premise Selection by Recurrent Neural Networks

2020-03-11 · Bartosz Piotrowski, Josef Urban

In this work, we develop a new learning-based method for selecting facts (premises) when proving new goals over large formal libraries. Unlike previous methods that choose sets of facts independently of each other by the…

Data AugmentationTranslation