Lossy and Lossless (L2) Post-training Model Size Compression

Yumeng Shi, Shihao Bai, Xiuying Wei, Ruihao Gong, Jianlei Yang
2/14/2026

No official code found. Best implementation: ModelTC/L2_Compression (13 stars, Apache-2.0, last commit 2024-06-16).

Abstract

Deep neural networks have delivered remarkable performance and have been widely used in various visual tasks. However, their huge sizes cause significant inconvenience for transmission and storage. Many previous studies have explored model size compression. However, these studies often approach various lossy and lossless compression methods in isolation, leading to challenges in achieving high compression ratios efficiently. This work proposes a post-training model size compression method that combines lossy and lossless compression in a unified way. We first propose a unified parametric weight transformation, which ensures different lossy compression methods can be performed jointly in a post-training manner. Then, a dedicated differentiable counter is introduced to guide the optimization of lossy compression to arrive at a more suitable point for later lossless compression. Additionally, our method can easily control a desired global compression ratio and allocate adaptive ratios for different layers. Finally, our method can achieve a stable 10× compression ratio without sacrificing accuracy and a 20× compression ratio with minor accuracy loss in a short time. Our code is available at https://github.com/ModelTC/L2_Compression.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
130C++, CudaAug 7, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{shi2026lossy,
  title  = {Lossy and Lossless (L2) Post-training Model Size Compression},
  author = {Yumeng Shi and Shihao Bai and Xiuying Wei and Ruihao Gong and Jianlei Yang},
  year   = {2026},
  eprint = {2308.04269},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2308.04269},
  journal = {ICCV 2023 2023}
}

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/2308.04269.svg)](https://codeofpaper.com/paper/2308.04269)

Discussion