Lossless and Near-Lossless Compression for Foundation Models

Moshik Hershcovitch, Leshem Choshen, Andrew Wood, Ilias Enmouri, Peter Chin +2 more
4/5/2024
cs.LGcs.IT

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

With the growth of model sizes and scale of their deployment, their sheer size burdens the infrastructure requiring more network and more storage to accommodate these. While there is a vast literature about reducing model sizes, we investigate a more traditional type of compression -- one that compresses the model to a smaller form and is coupled with a decompression algorithm that returns it to its original size -- namely lossless compression. Somewhat surprisingly, we show that such lossless compression can gain significant network and storage reduction on popular models, at times reducing over $50\%$ of the model size. We investigate the source of model compressibility, introduce compression variants tailored for models and categorize models to compressibility groups. We also introduce a tunable lossy compression technique that can further reduce size even on the less compressible models with little to no effect on the model accuracy. We estimate that these methods could save over an ExaByte per month of network traffic downloaded from a large model hub like HuggingFace.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hershcovitch2024lossless,
  title  = {Lossless and Near-Lossless Compression for Foundation Models},
  author = {Moshik Hershcovitch and Leshem Choshen and Andrew Wood and Ilias Enmouri and Peter Chin and Swaminathan Sundararaman and Danny Harnik},
  year   = {2024},
  eprint = {2404.15198},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.15198v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.15198.svg)](https://codeofpaper.com/paper/2404.15198)

Discussion