arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.00922cs.LGcs.AR
收藏

Huff-LLM:用于高效LLM推理的端到端无损压缩

Huff-LLM: End-to-End Lossless Compression for Efficient LLM Inference

New York University(纽约大学);University of Notre Dame(圣母大学)

Patrick Yubeaton, Tareq Mahmoud, Shehab Naga, Pooria Taheri, Tianhua Xia, Arun George, Yasmein Khalil, Sai Qian Zhang, Siddharth Joshi, Chinmay Hegde, Siddharth Garg

AI总结:

针对大型语言模型在边缘设备上部署困难且有损压缩会不可预测地改变模型行为的问题,提出端到端无损压缩方法Huff-LLM,通过在各层存储中压缩权重,实现内存节省并提升推理延迟与能效。

摘要:

随着能力的增强,大型语言模型(LLMs)的规模持续迅速扩大。这加剧了在小型边缘设备上运行最先进LLM的困难。标准技术主张通过有损压缩技术(如量化或剪枝)来解决此问题。然而,此类压缩技术是有损的,且已被证明会以不可预测的方式改变模型行为。我们提出了Huff-LLM,这是一种端到端的无损模型压缩方法,允许用户在云、磁盘、主存甚至片上存储器/缓冲区中,以压缩格式随处存储LLM权重。这不仅使我们能在主存中加载更大的模型,还减少了将权重加载到片上所需的带宽,并更高效地利用片上权重缓冲区。除了通过压缩实现的内存节省外,我们还展示了使用压缩模型进行推理时在延迟和能效方面的提升。

英文摘要:

As they become more capable, large language models (LLMs) have continued to rapidly increase in size. This has exacerbated the difficulty in running state of the art LLMs on small, edge devices. Standard techniques advocate solving this problem through lossy compression techniques such as quantization or pruning. However, such compression techniques are lossy, and have been shown to change model behavior in unpredictable manners. We propose Huff-LLM, an \emph{end-to-end, lossless} model compression method that lets users store LLM weights in compressed format \emph{everywhere} -- cloud, disk, main memory, and even in on-chip memory/buffers. This allows us to not only load larger models in main memory, but also reduces bandwidth required to load weights on chip, and makes more efficient use of on-chip weight buffers. In addition to the memory savings achieved via compression, we also show latency and energy efficiency improvements when performing inference with the compressed model.

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

↑