CALM: 一种基于CKA的自适应层级模块化框架用于LLM量化
CALM: A CKA-Guided Adaptive Layer-Wise Modularization Framework for LLM Quantization
AI总结:
CALM提出一种基于CKA的自适应层级模块化框架,通过独立评估各层最佳量化策略,提升LLM量化效果。
摘要:
当前主流的大语言模型后训练量化方法通常在所有网络层上应用统一的量化策略,忽略了各层在算法适用性上的显著差异。为了解决这一限制,我们提出了CALM(一种基于CKA的自适应层级模块化框架),这是一种无需微调的即插即用框架,用于算法异构量化。CALM在每一层上独立评估多种PTQ算法,并采用线性中心核对齐(CKA)作为度量标准,自动选择每层的最佳量化策略。然后将这些单独优化的策略整合起来,构建一个混合量化模型。实验表明,我们的方法在主流LLM(包括LLaMA和Qwen)中,在困惑度(PPL)和下游任务性能方面 consistently 超过统一量化基线和最先进的混合精度方法。
英文摘要:
Current mainstream post-training quantization methods for large language models typically apply a uniform quantization strategy across all network layers, overlooking the substantial differences in algorithmic suitability among layers. To address this limitation, we propose CALM (A CKA-guided Adaptive Layer-wise Modularization)a fine-tuning-free, plug-and-play framework for algorithmic heterogeneous quantization. CALM independently evaluates multiple PTQ algorithms on each layer and employs Linear Centered Kernel Alignment (CKA) as a metric to automatically select the optimal quantization strategy per layer. The individually optimized strategies are then integrated to construct a hybrid quantized model. Experiments demonstrate that our approach consistently outperforms both uniform quantization baselines and state-of-the-art mixed-precision methods across mainstream LLMsincluding LLaMA and Qwenin terms of perplexity (PPL) and downstream task performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。