ZipLLM:通过模型感知的协同数据去重与压缩实现高效的大语言模型存储
ZipLLM: Efficient LLM Storage via Model-Aware Synergistic Data Deduplication and Compression
AI总结:
本文提出 ZipLLM 存储缩减流水线,通过 LLM 家族聚类协同张量级去重与无损 BitX 增量压缩,将模型存储消耗降低 54%,优于现有方法 20% 以上。
摘要:
现代模型中心(如 Hugging Face)存储着数十 PB 的大语言模型(LLM),其中微调变体的数量远超基础模型,并占据存储消耗的主导地位。现有的存储缩减技术——如去重和压缩——要么对 LLM 不敏感,要么彼此不兼容,限制了数据缩减效果。我们对所有公开可用的 Hugging Face LLM 仓库进行的大规模特征分析研究揭示了几个关键发现:(1)同一家族内的微调模型表现出高度结构化、稀疏的参数差异,适合进行增量压缩;(2)按位相似性使得 LLM 家族聚类成为可能;(3)张量级去重更契合模型存储工作负载,能够以较低的元数据开销实现高数据缩减率。基于这些发现,我们设计了 BitX,一种高效、快速、无损的增量压缩算法,用于压缩微调模型与基础 LLM 之间的异或差异。我们构建了 ZipLLM,一个模型存储缩减流水线,统一了张量级去重与无损 BitX 压缩。通过围绕 LLM 家族聚类协同去重与压缩,ZipLLM 将模型存储消耗降低了 54%,比最先进的去重和压缩方法高出 20% 以上。
英文摘要:
Modern model hubs, such as Hugging Face, store tens of petabytes of LLMs, with fine-tuned variants vastly outnumbering base models and dominating storage consumption. Existing storage reduction techniques -- such as deduplication and compression -- are either LLM-oblivious or not compatible with each other, limiting data reduction effectiveness. Our large-scale characterization study across all publicly available Hugging Face LLM repositories reveals several key insights: (1) fine-tuned models within the same family exhibit highly structured, sparse parameter differences suitable for delta compression; (2) bitwise similarity enables LLM family clustering; and (3) tensor-level deduplication is better aligned with model storage workloads, achieving high data reduction with low metadata overhead. Building on these insights, we design BitX, an effective, fast, lossless delta compression algorithm that compresses XORed difference between fine-tuned and base LLMs. We build ZipLLM, a model storage reduction pipeline that unifies tensor-level deduplication and lossless BitX compression. By synergizing deduplication and compression around LLM family clustering, ZipLLM reduces model storage consumption by 54%, over 20% higher than state-of-the-art deduplication and compression approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。