paper-with-me

홈 › Papers

FlexRound: Learnable Rounding based on Element-wise Division for Post-Training Quantization

2023-06-01 · Jung Hyun Lee, Jeonghoon Kim, Se Jung Kwon, Dongsoo Lee

Post-training quantization (PTQ) has been gaining popularity for the deployment of deep neural networks on resource-limited devices since unlike quantization-aware training, neither a full training dataset nor end-to-end training is required at all. As PTQ schemes based on reconstructing each layer or block output turn out to be effective to enhance quantized model performance, recent works have developed algorithms to devise and learn a new weight-rounding scheme so as to better reconstruct each layer or block output. In this work, we propose a simple yet effective new weight-rounding mechanism for PTQ, coined \emph{FlexRound}, based on element-wise division instead of typical element-wise addition such that FlexRound enables jointly learning a common quantization grid size as well as a different scale for each pre-trained weight. Thanks to the reciprocal rule of derivatives induced by element-wise division, FlexRound is inherently able to exploit pre-trained weights when updating their corresponding scales, and thus, flexibly quantize pre-trained weights depending on their magnitudes. We empirically validate the efficacy of FlexRound on a wide range of models and tasks. To the best of our knowledge, our work is the first to carry out comprehensive experiments on not only image classification and natural language understanding but also natural language generation. Moreover, we demonstrate, for the first time, that large language models can be efficiently quantized, with only a negligible impact on performance compared to half-precision baselines, achieved by reconstructing the output in a block-by-block manner. Our code is available at \url{https://github.com/onliwad101/FlexRound_LRQ}.

📄 PDF Abstract BibTeX arXiv:2306.00317

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage ClassificationNatural Language UnderstandingQuantizationText Generation

Similar Papers 제목 키워드 기반

Low-Complexity CSI Feedback for FDD Massive MIMO Systems via Learning to Optimize

2024-06-24 · Yifan Ma, Hengtao He, Shenghui Song, Jun Zhang 외

In frequency-division duplex (FDD) massive multiple-input multiple-output (MIMO) systems, the growing number of base station antennas leads to prohibitive feedback overhead for downlink channel state information (CSI). T…

Compressive SensingDecoder

Revisiting Adaptive Rounding with Vectorized Reparameterization for LLM Quantization

2026-02-02 · Yuli Zhou, Qingxuan Chen, Luca Benini, Guolei Sun 외 arxiv

Adaptive Rounding has emerged as an alternative to round-to-nearest (RTN) for post-training quantization by enabling cross-element error cancellation. Yet, dense and element-wise rounding matrices are prohibitively expen…

AReLU: Attention-based Rectified Linear Unit

2020-06-24 · Dengsheng Chen, Jun Li, Kai Xu

Element-wise activation functions play a critical role in deep neural networks via affecting the expressivity power and the learning dynamics. Learning-based activation functions have recently gained increasing attention…

Meta-LearningTransfer Learning

Ferret-UI: Grounded Mobile UI Understanding with Multimodal LLMs

2024-04-08 · Keen You, Haotian Zhang, Eldon Schoop, Floris Weers 외

Recent advancements in multimodal large language models (MLLMs) have been noteworthy, yet, these general-domain MLLMs often fall short in their ability to comprehend and interact effectively with user interface (UI) scre…

Instruction Following

Multigroup Multicast Design for Pinching-Antenna Systems: Waveguide-Division or Waveguide-Multiplexing?

2025-06-19 · Shan Shan, Chongjun Ouyang, Yong Li, Yuanwei Liu

This article addresses the design of multigroup multicast communications in the pinching-antenna system (PASS). A PASS-enabled multigroup transmission framework is proposed to maximize multicast rates under a couple of t…