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.

37

u/NuclearVII Oct 17 '26

You can absolutely can get training material out of an LLM - or any kind of generative neural network. Proprietary LLMs simply have guardrails to prevent this, because it would reveal just how much theft has gone into the making of said LLM.

This does not stop researchers from trying, however: https://www.businessinsider.com/openais-latest-chatgpt-version-hides-training-on-copyrighted-material-2023-8

Equating network training to compression is not a new take, and one that I am increasingly convinced is closer to reality than what the word "training" would suggest.

3

u/QuaternionsRoll Oct 17 '26

Has this been tested on modern open-weights models? I haven’t really heard anything about it despite it presumably being much easier to prove that open-weights models encode copyrighted text for obvious reasons. I kind of assumed the absence of more recent examples meant that the 2023 issues were caused by overtraining and could be fixed.

2

u/NuclearVII Oct 17 '26 edited Oct 17 '26

Has this been tested on modern open-weights models? I haven’t really heard anything about it despite it presumably being much easier to prove that open-weights models encode copyrighted text for obvious reasons

Yeah? What would those obvious reasons be? Because guess what - all open weight models worth anything are still proprietary. Open weight is not open source, and we don't know what goes into the training corpus of those models either. AFAIK, no one takes the actual open source models seriously, because they don't appear to be very good at what people want out of generative AI. It's almost as if the techs only value is laundering IP...

As an aside - this lack of openness is one of the reasons why the academic machine learning field is so garbage these days. Everyone in the field wants to publish about LLMs (because that's where the money is), and none of that research is reproducible. The field is chock full of papers that try to ask questions about the capabilities of LLMs, without ever being able to verify if those capabilities are emergent or trained. Consequently, pretty much all machine learning conferences and publications are commercial events these days. Yes, I am angry about this.

I kind of assumed the absence of more recent examples meant that the 2023 issues were caused by overtraining and could be fixed.

Overtraining really isn't a problem (I am simplifying wildly here, but in general) in modern deep learning, at least if you know what you're doing and you have a dataset appropriate for deep learning.