cs.LGOct 15, 2026

LCT: Losslessly Compressed Tensors with GPU friendly execution for Training

Authors: Max Zhu, Bohang Sun, Pietro Lio, Jialin Yu

Organizations: University of Cambridge · University of Oxford

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×1.455\times, and is demonstrated in training and finetuning settings. On a 162M-parameter NanoGPT, LCT reduces memory usage by 24.6%24.6\% for a 7.2%7.2\% step-time increase. In Qwen3-4B fine-tuning, LCT saves up to 23.8%23.8\% of peak memory, enabling a 3.5×3.5\times larger context length in training on the same GPU.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. BitSparse: Compact Activation Storage for ReLU Feed-Forward Networks

    Oct 15, 2026Max Zhu, Bohang Sun, Pietro Lio +1Activation CompressionMemory Compression

  2. NeuralZip: Reusable Setup for Fast Lossless Compression

    Oct 7, 2026Martín Bravo, Samuel Horváth, Gonzalo Navarro +1Lossless Data CompressionNeural Network Compression

  3. Reducing the GPU Memory Bottleneck with Lossless Compression for ML -- Extended

    May 29, 2026Aditya K Kamath, Arvind Krishnamurthy, Marco Canini +1Efficient Neural Network InferenceGPU Kernel Optimization