Unofficial Hacker News companion — get notified on comment replies, and more.

Language Modeling Is Compression [pdf] (opens external site)

126 points by gmays 4 days ago | proceedings.iclr.cc | 25 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (10)

  1. 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?
    Replies (5)
    1. 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.

      Replies (1)
      1. 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.

        Replies (2)
        1. How do you decide how to travel from A to B?

          There are infinite different paths and choices to make. It's the color of the hat you choose relevant? The frequency of eclipses? Should you think about it in German or Italian?

          Intelligence it's the hability of ignoring irrelevant considerations, and reduce the problem to a small model which is manageable by the puny human brain. And that's compression.

        2. Finding the newer path by making the right choices is intelligence, finding it by bruteforcing all possible choices as evolution does is not.

          One can argue that once you have a lot of knowledge it is easier to make the right choices, but there's always some choices that can't be directly pulled out of the previous knowledge and has to be intelligently thought about.

    2. 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.

      Replies (1)
      1. 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.

    3. I would recommend 3Blue1Brown for an introduction to what people mean by the word "compression":

      https://www.youtube.com/watch?v=l6DKRf-fAAM&list=PLQjjvQ4fxJ...

      And the book:

      "Data-Driven Science and Engineering: Machine Learning, Dynamical Systems, and Control" (Steven L. Brunton, J. Nathan Kutz)

      https://www.amazon.com/dp/1009098489/

      The physics informed models are actually more interesting, and accessible to regular academics.

      "Intelligence" is an imprecise definition, and an LLM does not need to clear some arbitrary threshold to help users or cause actual harm. Best of luck =3

    4. I always thought that intelligence it's the skill of ignoring non relevant information.
    5. "Matter energy equivalence" is a popular but very incorrect expression, which should be avoided by anyone who understands what the theory of relativity is about.

      The theory of relativity did not show any kind of equivalence between matter and energy.

      The new part was that the classical conservation laws of energy, momentum and mass are not always true, but the real conservation law is that of the momentum-energy 4-vector.

      This has also enforced the distinction between the quantity of matter and mass, which were frequently confused in the past, for the reason that the quantity of matter is seldom easy to measure directly, but normally either the mass or the volume are measured, from which the quantity of matter can be computed.

      The quantity of matter (which is a discrete quantity) remains conserved in the theory of relativity, like it always was. There is also no equivalence of any kind between it and energy.

      On the other hand, the meaning of the mass (a.k.a. rest mass) is clarified as being the pseudo-norm of the momentum-energy 4-vector, which is a scalar invariant to coordinate transformations, but which is not a conserved quantity, like the 4-vector is.

      "E=mc^2" is a useless and misleading formula, which is obtained by changing the meaning of the symbol "m" and of the word "mass", by applying them to the energy expressed in another system of units.

      Thus this formula just states the tautology that energy is equal to energy. The use of the name "mass" should remain restricted to what has been unfortunately called "rest mass" in order to distinguish if from the word "mass" inappropriately used with the meaning of "energy".