Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Unifying Uniform and Binary-coding Quantization for Accurate Compression of Large Language Models

About

How can we quantize large language models while preserving accuracy? Quantization is essential for deploying large language models (LLMs) efficiently. Binary-coding quantization (BCQ) and uniform quantization (UQ) are promising quantization schemes that have strong expressiveness and optimizability, respectively. However, neither scheme leverages both advantages. In this paper, we propose UniQuanF (Unified Quantization with Flexible Mapping), an accurate quantization method for LLMs. UniQuanF harnesses both strong expressiveness and optimizability by unifying the flexible mapping technique in UQ and non-uniform quantization levels of BCQ. We propose unified initialization, and local and periodic mapping techniques to optimize the parameters in UniQuanF precisely. After optimization, our unification theorem removes computational and memory overhead, allowing us to utilize the superior accuracy of UniQuanF without extra deployment costs induced by the unification. Experimental results demonstrate that UniQuanF outperforms existing UQ and BCQ methods, achieving up to 4.60% higher accuracy on GSM8K benchmark.

Seungcheol Park, Jeongin Bae, Beomseok Kwon, Minjun Kim, Byeongwook Kim, Se Jung Kwon, U Kang, Dongsoo Lee• 2025

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText2
Perplexity3.19
1875
Multi-task Language UnderstandingMMLU
Accuracy76.97
842
Mathematical ReasoningGSM8K Instruct (test)
Accuracy72.38
11
Inference LatencyOPT-175B first FFN layer--
5
Inference LatencyOPT-30B--
5
Showing 5 of 5 rows

Other info

Code

Follow for update