Studying how models train requires keeping checkpoint trajectories, whose storage cost limits temporal resolution. Adjacent checkpoints are numerically close, but existing lossless codecs either difference XOR bit patterns or ignore structure specific to optimization trajectories. We show that the exponent of a reference weight predicts the bit length of its displacement in ordered floating-point space, and that the decoder can exploit this without side information. ULPack, a lossless codec, conditions entropy models of ordered-integer residuals on this exponent. Across bfloat16, float16, and float32 trajectories from eight model families (70M to 176B parameters), ULPack is the smallest codec on every evaluated sequence. Averaged over each pre-training sequence, it is up to 14.9% smaller than ZipNN, 15.0% smaller than zstd-19, and 9.2% smaller than FM-Delta, and in RL fine-tuning it is 29.8% smaller than the best baseline. A GPU implementation produces byte-identical output at up to 1 GB/s encode. Compression improves as updates shrink relative to the weights, while near-uniform low-order bits set the remaining floor and earlier checkpoints add little information.
翻译:暂无翻译