paper-with-me

Papers

VS-Quant: Per-vector Scaled Quantization for Accurate Low-Precision Neural Network Inference

2021-02-08 · Steve Dai, Rangharajan Venkatesan, Haoxing Ren, Brian Zimmer, William J. Dally, Brucek Khailany

Quantization enables efficient acceleration of deep neural networks by reducing model memory footprint and exploiting low-cost integer math hardware units. Quantization maps floating-point weights and activations in a trained model to low-bitwidth integer values using scale factors. Excessive quantization, reducing precision too aggressively, results in accuracy degradation. When scale factors are shared at a coarse granularity across many dimensions of each tensor, effective precision of individual elements within the tensor are limited. To reduce quantization-related accuracy loss, we propose using a separate scale factor for each small vector of ($\approx$16-64) elements within a single dimension of a tensor. To achieve an efficient hardware implementation, the per-vector scale factors can be implemented with low-bitwidth integers when calibrated using a two-level quantization scheme. We find that per-vector scaling consistently achieves better inference accuracy at low precision compared to conventional scaling techniques for popular neural networks without requiring retraining. We also modify a deep learning accelerator hardware design to study the area and energy overheads of per-vector scaling support. Our evaluation demonstrates that per-vector scaled quantization with 4-bit weights and activations achieves 37% area saving and 24% energy saving while maintaining over 75% accuracy for ResNet50 on ImageNet. 4-bit weights and 8-bit activations achieve near-full-precision accuracy for both BERT-base and BERT-large on SQuAD while reducing area by 26% compared to an 8-bit baseline.

📄 PDF Abstract BibTeX arXiv:2102.04503

Code (0)

등록된 구현이 없습니다.

Tasks

MathQuantization

Similar Papers 제목 키워드 기반

Position-based Scaled Gradient for Model Quantization and Pruning

2020-05-22 · NeurIPS 2020 12 · Jangho Kim, KiYoon Yoo, Nojun Kwak

We propose the position-based scaled gradient (PSG) that scales the gradient depending on the position of a weight vector to make it more compression-friendly. First, we theoretically show that applying PSG to the standa…

Model CompressionPositionQuantization

SKIM: Any-bit Quantization Pushing The Limits of Post-Training Quantization

2024-12-05 · Runsheng Bai, Bo Liu, Qiang Liu

Large Language Models (LLMs) exhibit impressive performance across various tasks, but deploying them for inference poses challenges. Their high resource demands often necessitate complex, costly multi-GPU pipelines, or t…

ClusteringGPUQuantization

Hyperspherical Quantization: Toward Smaller and More Accurate Models

2022-12-24 · Dan Liu, Xi Chen, Chen Ma, Xue Liu

Model quantization enables the deployment of deep neural networks under resource-constrained devices. Vector quantization aims at reducing the model size by indexing model weights with full-precision embeddings, i.e., co…

Quantization

Four Over Six: More Accurate NVFP4 Quantization with Adaptive Block Scaling

2025-12-01 · Jack Cook, Junxian Guo, Guangxuan Xiao, Yujun Lin 외 arxiv

As large language models have grown larger, interest has grown in low-precision numerical formats such as NVFP4 as a way to improve speed and reduce memory usage. However, quantizing models to NVFP4 remains challenging a…

Task Vector Quantization for Memory-Efficient Model Merging

2025-03-10 · Youngeun Kim, Seunghwan Lee, Aecheon Jung, Bogon Ryu 외

Model merging enables efficient multi-task models by combining task-specific fine-tuned checkpoints. However, storing multiple task-specific checkpoints requires significant memory, limiting scalability and restricting m…

image-classificationImage ClassificationmodelQuantization