用于Transformer权重压缩的带渐进残差细化的正交混合符号编码
Orthogonally Mixed Sign Coding with Progressive Residual Refinement for Transformer Weight Compression
AI总结:
该研究提出无训练的正交混合符号编码框架,用于Transformer权重压缩,通过渐进残差细化实现灵活存储-保真度权衡,在GPT-2 Large和Llama-3-8B上验证了其优于传统量化器的性能。
摘要:
大语言模型(LLM)量化可减少存储,但在低比特率下常降低预测保真度。我们提出一种无训练、无累积分布函数(CDF)、受高斯中心极限定理(Gaussian-CLT)启发的渐进残差符号量化框架,该框架采用随机正交混合以促进类高斯残差分布,改进Transformer权重的基于符号的重建。每个阶段独立归一化残差并解析校准重建,逐步恢复量化误差。该框架无需学习码本、经验CDF或网格优化,即可实现灵活的存储-保真度权衡。我们在GPT-2 Large和Llama-3-8B的注意力与多层感知机(MLP)投影上进行评估。在5个残差阶段下,联合量化保留接近基线的预测保真度,困惑度分别为32.16和12.73,而全精度值分别为29.89和11.07。 ablation实验进一步表明,正交混合相比基于恒等的符号编码显著提升重建效果,激活感知缩放改进输出保真度,低精度统计降低存储开销且困惑度下降可忽略。与传统量化器的对比确立了该方法的渐进保真度恢复能力,并表征了其存储-质量与运行时间的权衡。这些结果证明了正交混合残差符号编码在灵活、无训练的Transformer权重压缩中的有效性。
英文摘要:
LLM quantization reduces storage but often degrades predictive fidelity at low bit rates. We propose a training-free, CDF-free, Gaussian-CLT-motivated progressive residual-sign quantization framework that uses randomized orthogonal mixing to promote Gaussian-like residual distributions and improve sign based reconstruction of Transformer weights. Each stage independently normalizes residuals and analytically calibrates reconstruction, progressively recovering quantization errors. The framework enables flexible storage-fidelity trade-offs without learned codebooks, empirical CDFs, or trellis optimization. We evaluate GPT-2 Large and Llama-3-8B across attention and MLP projections. At five residual stages, joint quantization preserves near-baseline predictive fidelity, achieving perplexities of 32.16 and 12.73, compared with full-precision values of 29.89 and 11.07, respectively. Ablations further demonstrate that orthogonal mixing substantially improves reconstruction over identity-based sign coding, while activation-aware scaling improves output fidelity and reduced-precision statistics lower storage overhead with negligible perplexity degradation. Comparisons with conventional quantizers establish the method's progressive fidelity recovery and characterize its storage-quality and runtime trade-offs. These results demonstrate the effectiveness of orthogonally mixed residual-sign coding for flexible, training-free Transformer weight compression.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。