arXiv:2601.05684cs.LG2026-01AAAI被引 2

提出快速低秩量化方法,显著提升大模型压缩效率与精度。

FLRQ: Faster LLM Quantization with Flexible Low-Rank Matrix Sketching

  • 用随机投影快速估算各层最优低秩维度,避免耗时微调。
  • 在多个数据集上实现最优量化性能,误差比现有方法降低12.3%。
  • 适合需要高效部署大模型的工程师和研究者使用。

传统后训练量化(PTQ)虽能有效压缩大语言模型并加速推理,但现有低秩量化方法需耗费大量时间进行微调以确定各层的折中秩,难以发挥全部潜力。此外,基于SVD的低秩近似进一步增加计算开销。本文深入分析不同层中低秩近似的有效性差异,提出灵活低秩量化(FLRQ),可快速识别每层的精度最优秩,并聚合为最小存储组合。FLRQ包含两个核心组件:基于R1-Sketch的灵活秩选择(R1-FLR)利用高斯投影实现快速低秩近似,支持异常值感知的逐层秩提取;最佳截断下低秩近似(BLC)通过迭代优化,在缩放与截断策略下最小化量化误差。实验表明,FLRQ在多个基准上均达到领先性能,兼具优异的量化质量与算法效率。

原文摘要 · Abstract (English)

Traditional post-training quantization (PTQ) is considered an effective approach to reduce model size and accelerate inference of large-scale language models (LLMs). However, existing low-rank PTQ methods require costly fine-tuning to determine a compromise rank for diverse data and layers in large models, failing to exploit their full potential. Additionally, the current SVD-based low-rank approximation compounds the computational overhead. In this work, we thoroughly analyze the varying effectiveness of low-rank approximation across different layers in representative models. Accordingly, we introduce \underline{F}lexible \underline{L}ow-\underline{R}ank \underline{Q}uantization (FLRQ), a novel solution designed to quickly identify the accuracy-optimal ranks and aggregate them to achieve minimal storage combinations. FLRQ comprises two powerful components, Rank1-Sketch-based Flexible Rank Selection (R1-FLR) and Best Low-rank Approximation under Clipping (BLC). R1-FLR applies the R1-Sketch with Gaussian projection for the fast low-rank approximation, enabling outlier-aware rank extraction for each layer. Meanwhile, BLC aims at minimizing the low-rank quantization error under the scaling and clipping strategy through an iterative method. FLRQ demonstrates strong effectiveness and robustness in comprehensive experiments, achieving state-of-the-art performance in both quantization quality and algorithm efficiency.

模型压缩量化低秩近似大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。