arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.02026cs.LGcs.CL
收藏

大型语言模型压缩基础——第一部分:权重量化

Foundations of Large Language Model Compression -- Part 1: Weight Quantization

Sean I. Young

AI总结:

本文从凸优化视角提出LLM权重量化框架CVXQ,支持训练后压缩至任意模型规模,并可扩展至数千亿参数模型。

摘要:

近年来,大型语言模型(LLMs)的压缩已成为一个重要问题,目的是使语言模型能够部署在资源受限的设备上,降低计算成本,并减轻大规模人工智能基础设施的环境足迹。本文从凸优化的角度为LLM量化奠定基础,并提出一种基于该基础的量化技术,以实现最优量化结果。我们的量化框架CVXQ可扩展至包含数千亿权重参数的模型,并允许用户在训练后灵活地将模型压缩到任意指定规模。CVXQ的参考实现可从github.com/seannz/cvxq获取。

英文摘要:

In recent years, compression of large language models (LLMs) has emerged as an important problem to enable language model deployment on resource-constrained devices, reduce computational costs, and mitigate the environmental footprint of large-scale AI infrastructure. In this paper, we lay down the foundation for LLM quantization from a convex optimization perspective and propose a quantization technique that builds on this foundation for optimum quantization outcomes. Our quantization framework, CVXQ, scales to models containing hundreds of billions of weight parameters and provides users with the flexibility to compress models to any specified model size, post-training. A reference implementation of CVXQ can be obtained from github.com/seannz/cvxq.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑