A few days ago Tufa Labs tweeted that they’d compressed 1 GB of Wikipedia to 105 MB, losslessly, beating other compressors like zip or xz by 2-3x. Their compressor, tufazip, isn’t an algorithm in the usual sense. It’s a 163M-parameter transformer that trains on the file as it compresses it, with an arithmetic coder turning its predictions into bits.1
Compressing with a neural network has one problem: the output only decodes on the machine that encoded it. Floating-point results differ from one GPU to the next, and a neural compressor is one long floating-point computation. Tufazip’s launcher checks for exactly two NVIDIA B200s and exact versions of PyTorch, CUDA and cuDNN, and refuses to run otherwise. A file that only opens on one model of GPU isn’t much of an archive.