analiza aiqbench
This research introduces AF1, a genuine 1-bit post-training quantization framework that eliminates hidden overheads to achieve strict 1.0-bits-per-weight compression without sacrificing accuracy. By combining null-space-aware binary factorization with hierarchical Shapley allocation, the method delivers significant inference speedups and memory reductions across major LLM families like LLaMA and Qwen. This work advances the practical viability of deploying large models on resource-constrained edge devices through extreme efficiency gains.
All for 1-Bit: Towards Genuine 1-Bit Post-Training Quantization for LLMs
De la arXiv
Text integralLarge language models (LLMs) have achieved remarkable progress, yet their massive storage and memory-bandwidth demands still hinder efficient deployment. Weight binarization is a promising solution, but existing binarization-based post-training quantization (PTQ) methods usually far exceed the nominal 1-bit storage target due to hidden overhead. To address this gap, we propose All for 1-Bit (AF1), a genuine 1-bit PTQ framework for LLMs. AF1 comprises two complementary components: (1) Null-space-Aware Binary Factorization (NABF) for improving binary reconstruction through Hessian-aware surrogate reparameterization, null-space-aware binary factorization, and scale-only global reconstruction; and (2) Hierarchical Shapley Allocation (HiSA) for assigning structural capacity using hierarchical Shapley sensitivity.
Together, they preserve model accuracy under a strict 1.0-BPW budget in the PTQ setting. Experiments on LLaMA, Qwen, and Gemma families show that AF1 consistently outperforms existing binarization-based PTQ methods in perplexity and zero-shot accuracy. Compared with BF16, AF1 achieves an average 2.5 times inference speedup and over 90% memory reduction across evaluated models, providing a practical path toward deployable genuine 1-bit compression for LLMs. The code for reproducibility is available at this https URL.
Text integral sub licența deschisă a publicației · 175 cuvinte