paper-with-me

Papers

Prune or quantize? Strategy for Pareto-optimally low-cost and accurate CNN

2019-09-25 · Kengo Nakata, Daisuke Miyashita, Asuka Maki, Fumihiko Tachibana, Shinichi Sasaki, Jun Deguchi

Pruning and quantization are typical approaches to reduce the computational cost of CNN inference. Although the idea to combine them together seems natural, it is being unexpectedly difficult to figure out the resultant effect of the combination unless measuring the performance on a certain hardware which a user is going to use. This is because the benefits of pruning and quantization strongly depend on the hardware architecture where the model is executed. For example, a CPU-like architecture without any parallelization may fully exploit the reduction of computations by unstructured pruning for speeding up, but a GPU-like massive parallel architecture would not. Besides, there have been emerging proposals of novel hardware architectures such as one supporting variable bit precision quantization. From an engineering viewpoint, optimization for each hardware architecture is useful and important in practice, but this is quite a brute-force approach. Therefore, in this paper, we first propose hardware-agnostic metric to measure the computational cost. And using the metric, we demonstrate that Pareto-optimal performance, where the best accuracy is obtained at a given computational cost, is achieved when a slim model with smaller number of parameters is quantized moderately rather than a fat model with huge number of parameters is quantized to extremely low bit precision such as binary or ternary. Furthermore, we empirically found the possible quantitative relation between the proposed metric and the signal to noise ratio during SGD training, by which the information obtained during SGD training provides the optimal policy of quantization and pruning. We show the Pareto frontier is improved by 4 times in post-training quantization scenario based on these findings. These findings are available not only to improve the Pareto frontier for accuracy vs. computational cost, but also give us some new insights on deep neural network.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

CPUGPUQuantization

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

Pareto-Optimal Quantized ResNet Is Mostly 4-bit

2021-05-07 · Amirali Abdolrashidi, Lisa Wang, Shivani Agrawal, Jonathan Malmaud 외

Quantization has become a popular technique to compress neural networks and reduce compute cost, but most prior work focuses on studying quantization without changing the network size. Many real-world applications of neu…

Quantization

Distributed Optimal Allocation with Quantized Communication and Privacy-Preserving Guarantees

2021-09-29 · Jakob Nylöf, Apostolos I. Rikos, Sebin Gracy, Karl H. Johansson

In this paper, we analyze the problem of optimally allocating resources in a distributed and privacy-preserving manner. We propose a novel distributed optimal resource allocation algorithm with privacy-preserving guarant…

Privacy Preserving

An Optimal Procedure to Check Pareto-Optimality in House Markets with Single-Peaked Preferences

2020-02-14 · Aurélie Beynier, Nicolas Maudet, Simon Rey, Parham Shams

Recently, the problem of allocating one resource per agent with initial endowments (house markets) has seen a renewed interest: indeed, while in the domain of strict preferences the Top Trading Cycle algorithm is known t…

HAO: Hardware-aware neural Architecture Optimization for Efficient Inference

2021-04-26 · Zhen Dong, Yizhao Gao, Qijing Huang, John Wawrzynek 외

Automatic algorithm-hardware co-design for DNN has shown great success in improving the performance of DNNs on FPGAs. However, this process remains challenging due to the intractable search space of neural network archit…

Hardware Aware Neural Architecture Searchimage-classificationImage ClassificationNeural Architecture Search+1

Language Model-Driven Data Pruning Enables Efficient Active Learning

2024-10-05 · Abdul Hameed Azeemi, Ihsan Ayyub Qazi, Agha Ali Raza

Active learning (AL) optimizes data labeling efficiency by selecting the most informative instances for annotation. A key component in this procedure is an acquisition function that guides the selection process and ident…

Active LearningLanguage ModelingLanguage ModellingSentiment Analysis+1