paper-with-me

홈 › Papers

A simple approach for quantizing neural networks

2022-09-07 · Johannes Maly, Rayan Saab

In this short note, we propose a new method for quantizing the weights of a fully trained neural network. A simple deterministic pre-processing step allows us to quantize network layers via memoryless scalar quantization while preserving the network performance on given training data. On one hand, the computational complexity of this pre-processing slightly exceeds that of state-of-the-art algorithms in the literature. On the other hand, our approach does not require any hyper-parameter tuning and, in contrast to previous methods, allows a plain analysis. We provide rigorous theoretical guarantees in the case of quantizing single network layers and show that the relative error decays with the number of parameters in the network if the training data behaves well, e.g., if it is sampled from suitable random distributions. The developed method also readily allows the quantization of deep networks by consecutive application to single layers.

📄 PDF Abstract BibTeX arXiv:2209.03487

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Similar Papers 제목 키워드 기반

A Greedy Algorithm for Quantizing Neural Networks

2020-10-29 · Eric Lybrand, Rayan Saab

We propose a new computationally efficient method for quantizing the weights of pre- trained neural networks that is general enough to handle both multi-layer perceptrons and convolutional neural networks. Our method det…

Quantization

Quantizing deep convolutional networks for efficient inference: A whitepaper

2018-06-21 · Raghuraman Krishnamoorthi

We present an overview of techniques for quantizing convolutional neural networks for inference with integer weights and activations. Per-channel quantization of weights and per-layer quantization of activations to 8-bit…

Quantization

PROM: Prioritize Reduction of Multiplications Over Lower Bit-Widths for Efficient CNNs

2025-05-06 · Lukas Meiner, Jens Mehnert, Alexandru Paul Condurache

Convolutional neural networks (CNNs) are crucial for computer vision tasks on resource-constrained devices. Quantization effectively compresses these models, reducing storage size and energy cost. However, in modern dept…

Quantization

AutoQNN: An End-to-End Framework for Automatically Quantizing Neural Networks

2023-04-07 · Cheng Gong, Ye Lu, Surong Dai, Deng Qian 외

Exploring the expected quantizing scheme with suitable mixed-precision policy is the key point to compress deep neural networks (DNNs) in high efficiency and accuracy. This exploration implies heavy workloads for domain …

Neural Architecture SearchQuantization

CrossQuant: A Post-Training Quantization Method with Smaller Quantization Kernel for Precise Large Language Model Compression

2024-10-10 · Wenyuan Liu, Xindian Ma, Peng Zhang, Yan Wang

Post-Training Quantization (PTQ) is an effective technique for compressing Large Language Models (LLMs). While many studies focus on quantizing both weights and activations, it is still a challenge to maintain the accura…

Language ModelingLanguage ModellingLarge Language ModelModel Compression+1