What changed
Tufa Labs’ tufazip has compressed 1GB of information from Wikipedia into just 105.39MB of space, losslessly, without using any hand-built models, according to a research post. The method uses a 163-million-parameter Transformer model as a predictor instead, and similar compression or decompression would take two Nvidia B200 GPUs about a week to manage. It’s the smallest result on the Large Text Compression Benchmark from any entry that uses a neural network as its only predictor.
What this means in practice
Researcher Tommy He built tufaz, and the full package, at 105.39MB after optimization, includes a small, 4.33MB pre-trained starter model — stored at low precision, or quantized, to save space — that’s needed to unpack the file. The full model is a 12-layer Transformer, which means there are 12 stages for each guess to go through. The starter stores just two already-trained stages, copying them back and forth to fill all 12 once the full model spins up in memory; each copy keeps learning on its own.
This doesn’t work like a traditional chatbot or cloud AI but is, rather, a self-contained language model that learns on the fly. Notable here is that this compression is lossless, which means there’s no risk of any data being lost in the process. This means that predictor updates must be “fully deterministic.”
Limitations and availability
Training happens in two stages. The starter, a 34-million-parameter model, is trained offline, before any compression begins. Then, the full model begins to learn online, by predicting each token and training on it, with the unpacking side repeating the same steps, with the model itself being rebuilt alongside the text. For this reason, the total size must include, besides the compressed text, only the unpacking program and the files it needs, including the starter, but not the full trained model.
There is no traditional, hand-built compression model that assists, setting it apart, Tufa Labs says, from all 12 entries that now rank above it on the benchmark, which mix a Transformer with hand-built models.
Its first, online-only version ranked second when submitted in early September; the 105.39MB version was 13th as of the benchmark’s Nov. 19 update. Emphasis should be placed on this being a text-only benchmark, for those imagining media files.
While this sounds more exciting than, say, WinRAR, it’s for research purposes and not a product, and that’s underlined by what you’d need to actually run it.
Currently, two Nvidia B200 GPUs — plus two Intel Xeon Platinum 8570 CPUs in the test machine — would need 631,548 seconds to compress and 645,748 seconds to decompress the 105.39MB version, or about 7.3 and 7.5 days, respectively, not counting the starter’s offline training.
