paper-with-me

Papers

Post-Training Sparsity-Aware Quantization

2021-05-23 · NeurIPS 2021 12 · Gil Shomron, Freddy Gabbay, Samer Kurzum, Uri Weiser

Quantization is a technique used in deep neural networks (DNNs) to increase execution performance and hardware efficiency. Uniform post-training quantization (PTQ) methods are common, since they can be implemented efficiently in hardware and do not require extensive hardware resources or a training set. Mapping FP32 models to INT8 using uniform PTQ yields models with negligible accuracy degradation; however, reducing precision below 8 bits with PTQ is challenging, as accuracy degradation becomes noticeable, due to the increase in quantization noise. In this paper, we propose a sparsity-aware quantization (SPARQ) method, in which the unstructured and dynamic activation sparsity is leveraged in different representation granularities. 4-bit quantization, for example, is employed by dynamically examining the bits of 8-bit values and choosing a window of 4 bits, while first skipping zero-value bits. Moreover, instead of quantizing activation-by-activation to 4 bits, we focus on pairs of 8-bit activations and examine whether one of the two is equal to zero. If one is equal to zero, the second can opportunistically use the other's 4-bit budget; if both do not equal zero, then each is dynamically quantized to 4 bits, as described. SPARQ achieves minor accuracy degradation and a practical hardware implementation. The code is available at https://github.com/gilshm/sparq.

📄 PDF Abstract BibTeX arXiv:2105.11010

Code (1)

gilshm/sparq 공식 구현 pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

MixA-Q: Revisiting Activation Sparsity for Vision Transformers from a Mixed-Precision Quantization Perspective

2025-07-25 · Weitian Wang, Rai Shubham, Cecilia De La Parra, Akash Kumar arxiv

In this paper, we propose MixA-Q, a mixed-precision activation quantization framework that leverages intra-layer activation sparsity (a concept widely explored in activation pruning methods) for efficient inference of qu…

TSPTQ-ViT: Two-scaled post-training quantization for vision transformer

2023-05-22 · Yu-Shan Tai, Ming-Guang Lin, An-Yeu, Wu

Vision transformers (ViTs) have achieved remarkable performance in various computer vision tasks. However, intensive memory and computation requirements impede ViTs from running on resource-constrained edge devices. Due …

Quantization

TorchAO: PyTorch-Native Training-to-Serving Model Optimization

2025-07-21 · Andrew Or, Apurva Jain, Daniel Vega-Myhre, Jesse Cai 외 arxiv

We present TorchAO, a PyTorch-native model optimization framework leveraging quantization and sparsity to provide an end-to-end, training-to-serving workflow for AI models. TorchAO supports a variety of popular model opt…

CASP: Compression of Large Multimodal Models Based on Attention Sparsity

2025-03-07 · CVPR 2025 1 · Mohsen Gholami, Mohammad Akbari, Kevin Cannons, Yong Zhang

In this work, we propose an extreme compression technique for Large Multimodal Models (LMMs). While previous studies have explored quantization as an efficient post-training compression method for Large Language Models (…

Model CompressionQuantization

DAQ: Delta-Aware Quantization for Post-Training LLM Weight Compression

2026-03-20 · Xiaoming Yu, Shize Tang, Guanghua Yu, Linchuan Xie 외 arxiv

We introduce Delta-Aware Quantization (DAQ), a data-free post-training quantization framework that preserves the knowledge acquired during post-training. Standard quantization objectives minimize reconstruction error but…