STORY · FORSKNING_

Can gzip work as a language model?

A researcher shows that gzip compression can be used as a language model by searching through byte sequences that compress best. Using beam search over possible continuations, the method produces text that is imperfect but demonstrates that a simple compressor contains a hidden predictive model.

WHY IT MATTERS

The demonstration illustrates the fundamental relationship between compression and prediction: every compressor has a probability model built into it, and can potentially be used for language generation without explicit weights or training processes.

SOURCES

MACHINE-GENERATED SUMMARY This summary is written by machine from the sources below. We sort and explain — but we are a way into the field, not the final word. Check the source when something matters to you.