ZipLLM: Efficient LLM Storage via Model-Aware Synergistic Data Deduplication and Compression

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Zirui, Lan, Tingfeng, Su, Zhaoyuan, Yang, Juncheng, Cheng, Yue
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917068384763904
author Wang, Zirui
Lan, Tingfeng
Su, Zhaoyuan
Yang, Juncheng
Cheng, Yue
author_facet Wang, Zirui
Lan, Tingfeng
Su, Zhaoyuan
Yang, Juncheng
Cheng, Yue
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_06252
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ZipLLM: Efficient LLM Storage via Model-Aware Synergistic Data Deduplication and Compression
Wang, Zirui
Lan, Tingfeng
Su, Zhaoyuan
Yang, Juncheng
Cheng, Yue
Databases
Distributed, Parallel, and Cluster Computing
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.
title ZipLLM: Efficient LLM Storage via Model-Aware Synergistic Data Deduplication and Compression
topic Databases
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2505.06252