r/programming • • Oct 17 '26

Compression is prediction

https://ngrok.com/blog/compression-is-prediction
293 Upvotes

45 comments sorted by

View all comments

32

u/reddit_user13 Oct 17 '26

Compression can be a bit lossy or lossless. You can get back the input, or in the case of the source code example, something close enough to be functional.

Crunching input texts into an LLM model is very lossy, and you can't get anything like the source text(s) back.

17

u/DLCSpider Oct 17 '26

It's not always lossy enough. The German music industry used popular lyrics and Suno AI always produced the same same song (basically a shitty version of the original). They recently won in court.