NeuralZip: Reusable Setup for Fast Lossless Compression
Mart\'in Bravo, Samuel Horv\'ath, Gonzalo Navarro, Andr\'es Abeliuk
Key points
From the paper's conclusion- Therefore, compression adaptation is transferable and reusable.
Abstract
Lossless compression can reduce the storage and movement of model weights without changing their floating-point values, but repeated statistical analysis and code construction add computational overhead. We study whether the statistical structure of exponents can be prepared once and reused. For this, we introduce NeuralZip, which groups chunks with similar exponent distributions, shares Huffman codes, and selectively represents recurring exponent tuples using packed exponents, thereby achieving additional moderate compression ratios. A setup chooses these representations before subsequent encodings, while every encoding still processes the current tensor values. In floating-point model checkpoints, post-setup compression is 1.81-21.33$\times$ faster than the baselines and achieves exact bit-to-bit reconstruction. We show that this setup can be precomputed and transferred from another compatible architecture, preserving similar compression ratios and avoiding the need to amortize setup costs. Therefore, compression adaptation is transferable and reusable. Training checkpoints demonstrate continued reuse as the weights evolve. Finally, GPU experiments reduce active memory usage by up to 27.5$\%$ while reproducing the logits exactly.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LCT: Losslessly Compressed Tensors with GPU friendly execution for TrainingarXiv · 2026
- FMT: Lossless Image Compression in a Fixed Number of Parallel StepsarXiv · 2026
- Neural Compression over Equivalence Classes: Exact Gauges and Functional Rate-DistortionarXiv · 2026
- BitSparse: Compact Activation Storage for ReLU Feed-Forward NetworksarXiv · 2026
- How Small Can We Go? Calibrating Activation-Cache Compression for SAE TrainingarXiv · 2026
- Benchmarking Neural Image Compression with DCT-Based Spectral DiagnosticsarXiv · 2026