LCT: Losslessly Compressed Tensors with GPU friendly execution for Training
Max Zhu, Bohang Sun, Pietro Lio, Jialin Yu
Key points
From the paper's conclusion- We introduce Losslessly Compressed Tensors (LCT), a GPU execution framework designed for this repeated encode-decode regime.
Abstract
Lossless tensor compression could reduce memory usage during training, but training requires tensors to be repeatedly re-encoded. We introduce Losslessly Compressed Tensors (LCT), a GPU execution framework designed for this repeated encode-decode regime. LCT exploits the natural redundancy in floating point data to reduce storage for weights, activations and optimizer states. Highly optimized GPU kernels implement Huffman coding with precomputed codebooks for low compression and decompression overhead, essential for training. Our analysis characterizes LCT's storage costs and adaptation to magnitude shifts. LCT achieves a compression ratio of up to $1.455\times$, and is demonstrated in training and finetuning settings. On a 162M-parameter NanoGPT, LCT reduces memory usage by $24.6\%$ for a $7.2\%$ step-time increase. In Qwen3-4B fine-tuning, LCT saves up to $23.8\%$ of peak memory, enabling a $3.5\times$ larger context length in training on the same GPU.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- BitSparse: Compact Activation Storage for ReLU Feed-Forward NetworksarXiv · 2026
- NeuralZip: Reusable Setup for Fast Lossless CompressionarXiv · 2026
- Surviving Resource-constraint Compression: Capability Retention under Tensor-train Decomposition for Sub-billion Parameter Language ModelsMachine Intelligence Research · 2026
- AutoCompress: Automated Hardware-Guided Model CompressionarXiv · 2026
- Computed Permutation Trellis Coding: Near-Optimal Quantization from Two Multiplications and a 64-Byte TablearXiv · 2026
- LLM.265: Video Codecs Are Secretly Tensor CodecsIEEE Micro · 2025