mlsanityData to 7 Oct 2026

Lossless Compression for LLM Tensor Incremental Snapshots

arXiv 2505.09810 ↗First posted 14 May 2025cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

During the training of Large Language Models (LLMs), tensor data is periodically "checkpointed" to persistent storage to allow recovery of work done in the event of failure. The volume of data that must be copied during each checkpoint, even when using reduced-precision representations such as bfloat16, often reaches hundreds of gigabytes. Furthermore, the data must be moved across a network and written to a storage system before the next epoch occurs. With a view to ultimately building an optimized checkpointing solution, this paper presents experimental analysis of checkpoint data used to derive a design that maximizes the use of lossless compression to reduce the volume of data. We examine how tensor data and its compressibility evolve during model training and evaluate the efficacy of existing common off-the-shelf general purpose compression engines combined with known data optimization techniques such as byte-grouping and incremental delta compression. Leveraging our analysis we have built an effective compression solution, known as Language Model Compressor (LMC), which is based on byte-grouping and Huffman encoding. LMC offers more compression performance than the best alternative (BZ2) but with an order-of-magnitude reduction in the time needed to perform the compression. We show that a 16-core parallel implementation of LMC can attain compression and decompression throughput of 2.78 GiB/s and 3.76 GiB/s respectively. This increase in performance ultimately reduces the CPU resources needed and provides more time to copy the data to the storage system before the next epoch thus allowing for higher-frequency checkpoints.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 8 of its 21 references that are in the map. First posted on arXiv 14 May 2025.

Builds on

8 of 21 references.

References · 8

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  3. 2021The MultiBERTs: BERT Reproductions for Robustness Analysiscited by 89
  4. 2021Time series compression: a surveycited by 16
  5. 2024A Comprehensive Survey of Compression Algorithms for Language Modelscited by 15
  6. 2020CPR: Understanding and Improving Failure Tolerant Training for Deep Learning Recommendation with Partial Recoverycited by 11
  7. 2023FCBench: Cross-Domain Benchmarking of Lossless Compression for Floating-Point Datacited by 5
  8. 2024Lossless and Near-Lossless Compression for Foundation Modelscited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.