Remix.run Logo
▲ Language Modeling Is Compression [pdf](proceedings.iclr.cc)
59 points by gmays 4 hours ago | 11 comments
▲dtf 3 hours ago | parent | next [-]

3Blue1Brown has a wonderful 3-part series on Compression & Intelligence.

After watching these, I found it interesting seeing OpenAI's recent "Perplexity and Intelligence" blog post [1] use the term compressor/compression four times.

https://openai.com/index/perplexity-and-intelligence/

▲serioussecurity an hour ago | parent [-]

Perplexity and cross entropy are commonly understood as compression measures:

https://d2l.ai/chapter_mdl-information-theory/mdl-coding-com...

▲delichon an hour ago | parent | prev | next [-]

Is any intelligence compression? If I observe that "F=ma", or "pizza tastes good", isn't that an act of compressing innumerable phenomena into a short statement? Isn't Einstein the avatar of intelligence because his feats of compression like a matter energy equivalence?

▲PowerElectronix an hour ago | parent | next [-]

I'd say knowledge or wisdom is compression. If you follow a long reasoning or train of thought and you arrive to a conclusion, that's intelligence for me. If you then recall that reasoning and go from the start to the end in a single step, that's compression/knowledge/wisdom.

Compression/knowledge/wisdom makes you travel faster because you know the shortcuts. Intelligence makes you able to open new paths.

▲sillysaurusx an hour ago | parent [-]

The problem with that argument is that anything fits the definition of intelligence. Get from point A to point B? Intelligence. Get there faster? Compression/knowledge/wisdom.

You could say “yes, that is intelligence.” But what about evolution? Evolving from species A to species B is impressive. But is it intelligence? By that argument you’d have to say yes, even though evolution is a process devoid of intelligence.

I’m not sure where to go with this, just that there’s something to it.

▲sigbottle an hour ago | parent | prev [-]

Prediction is compression*

but yes at some point the philosphical analogies become extremely vacuous that it feels like I'm reading ancient Greek texts talking about accident/essence, dressed up in 21st century language.

It's similar to how people will apply Darwinism/survivorship bias to everything - it's technically true and permeates everything but at some point you don't actually get anything out of it.

▲YZF 29 minutes ago | parent [-]

So something like compressing the proof e.g. of the Riemann Hypothesis into a prompt that says: "Prove that all the zeros lie on x=1/2 line" is intelligence.

Basically the ability of the model to predict the proof isn't unlike the ability of a video compressor to predict the next frame. The better the prediction, the better the compression, the more "intelligent" the predictor is.

▲devindotcom 3 hours ago | parent | prev | next [-]

It seems perfectly logical to me that a model trained on one language would work on another, its effectiveness scaling with how similar the rules and presentation of the second language are to the first.

Since storage and code is just a machine-readable language it makes sense that if it can be rendered as a sequence of "words" with relatively predictable relationships to one another, it can be operated on just like any other language. I guess that doesn't necessarily identify it as compression per se but the two concepts are very close.

▲cyanydeez 3 hours ago | parent [-]

3blue1green does a multi part presentation on this. The key component he pulls out is that early testing with text+zip compression predicted the ratios of text compression into the language families.

That is, the closer a language family was, the higher the compression ratio they could share since dynamic compression uses dictionaries, and a shared dictionary allows better compression.

It was surprising at that time, but it goes into LLMs because it's been clear they're lossy compression and training them seems akin to building a compression dictionary.

Obviously LLMs are suprising in and of themselves, but the amount of parallel maths are pretty surprising in isolation, especially if you pull the full intelligence = compression.

▲usernametaken29 3 hours ago | parent | prev | next [-]

What a breeze from the past, I haven’t read about chinchilla models in a while, cool paper!

▲visarga 3 hours ago | parent | prev [-]

published in 2023