News for hackers. Stuff that matters.
Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @02:06PM (#50602816)
Maybe I misunderstand the technicalities behind compression and prediction but there is something wrong with them in terms of LLMs. You can't really compress knowledge all the time.

You can for example talk to ChatGPT about religion - just tell it that you are on a hard journey and you hope God is on your side or something like this, and it will become a full on preacher of the gospels. In other words it hasn't really compressed the scientific knowledge with the religious knowledge, it contains both of them. If there was this objective type of compression and prediction, you would predict that the LLM would reach some kind of universal information state, but that doesn't seem to be the case?

The other thing is, maybe there is a way to compress answers to questions that are objective. Like if I ask ChatGPT to extract the audio from a Youtube video and save it as a wav file. Relatively objective right? Well sort, but there's a gazillion ways you can do that. You can write a script in an endless amount of programming languages, you can segment the task into an almost innumerable set of sub steps (for example different scripts for different steps in the process), so what exactly does compression of that information mean when it can be compressed and predicted in so many different ways?

I don't really have a total answer here, I'm just thinking about all of these things and wondering.

Re:Perplexity and Intelligence by janandonly on Sunday November 22, 2026 @02:08PM (#50602830)
By that preacher’s argument you are ignoring all the PhDs who do believe in a God.

They might not be very vocal about their personal beliefs for obvious reasons.

Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @02:16PM (#50602915)
OK fair enough, but it's the first example I could come up with. But I think the point still stands in that the LLM contains conflicting information, some about science and philosophy, and some about religion. It doesn't try to consolidate or "compress" conflicting information from what I've found.
Re:Perplexity and Intelligence by toomuchtodo on Sunday November 22, 2026 @02:20PM (#50602943)
“Resolve” might be the word you’re looking for?
Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @02:34PM (#50603072)
Sure.
Re:Perplexity and Intelligence by rukuu001 on Sunday November 22, 2026 @02:45PM (#50603173)
You want an objective truth machine?
Re:Perplexity and Intelligence by zuminator on Sunday November 22, 2026 @03:16PM (#50603468)
It's possible that the LLM finds and compresses common elements of what we perceive as entirely disparate or conflicting information.
Re:Perplexity and Intelligence by famouswaffles on Sunday November 22, 2026 @02:15PM (#50602901)
>You can for example talk to ChatGPT about religion - just tell it that you are on a hard journey and you hope God is on your side or something like this, and it will become a full on preacher of the gospels. In other words it hasn't really compressed the scientific knowledge with the religious knowledge, it contains both of them.

In the first place, science and religion are not necessarily contradictory. Did you expect it to try to convince you to become an atheist? Newton was devoutly religous and many scientists are religious today.

> If there was this objective type of compression and prediction, you would predict that the LLM would reach some kind of universal information state, but that doesn't seem to be the case?

The objective is to predict, at minimum, internet scale text. Internet scale text is a massive trove of data with highly diverse and sometimes contradictory opinions and ideas, and the goal is to predict all of them well. Congealing on a single opinion or idea is obviously going to run counter to that objetcive.

Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @02:27PM (#50603011)
Yeah fair enough, maybe religion vs science wasn't the best example to use. It was the example I could come up with off hand.

> The objective is to predict, at minimum, internet scale text.

But then what does it compress exactly? How do you compress the answer to a question that has multiple answers? How do you pick "the right one"? That's at least what I get from this idea of compression that there is some congealing of information.

Re:Perplexity and Intelligence by michalsustr on Sunday November 22, 2026 @03:08PM (#50603392)
You don’t - what’s reported is average compression, not for the particular examples you made. Some things are more compressible than others
Re:Perplexity and Intelligence by codersfocus on Sunday November 22, 2026 @03:22PM (#50603514)
> But then what does it compress exactly?

Tokens into dimensions.

A good example is how humans talk about "left and right" in terms of political systems.

Humans are able to intuitively place these complicated multivariable economic-political systems into a one dimensional line that we call left or right wing.

Of course, this deep compression complicates things... why is national socialism considered right, while democratic socialism is considered left.

You can get more signal by increasing dimensions, so let's say instead just left or right, we have 2 axis one for economic and one for political. This would make things more clear. Even clearer if we add another dimension, let's say authoritarian or democratic. We can add yet another, socially liberal or conservative.

You can keep going, and as you add more dimensions it makes things clearer / more intelligent (to a limit.)

AI is doing this to text. It ingests text, and creates a token vocabulary. IIRC most models have a vocab of hundreds to low thousands of tokens.

This token vocabulary (how many distinct tokens it uses) is how many dimensions the AI thinks in, so to speak.

After this, there is the whole training process of how tokens relate to each other.

So your question of

> How do you compress the answer to a question that has multiple answers?

Isn't applicable, as it doesn't compress anything we would call a question or answer.

Instead, answers to questions are an emergent property of how text fragments relate to each other, and is why it can give contradictory answers.

Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @09:28PM (#50606800)
Wait wait are you sure this is correct?

Isn't what you said more like embedding dimensions? Like +1 republican, -3 democrat, +2 economic vectors for one token. Increasing vocabulary size doesn't automatically increase the conceptual complexity of a model's representations. A model with 100,000 tokens and 2048 embedding vectors doesn't necessarily have a richer conceptual understanding than one with 50,000 tokens and 4096 embedding vectors.

Regardless I understand what you're saying about compression, but this kind of conflicts a little bit with what I've heard. Maybe it's just me but people have said that the model gains and understanding of the world and that it needs to in order to predict the next token. That prediction is a form of compression. So yes, some people do say that it compresses something we would call an answer and a question.

At least from where I stand what's implicit in the idea of understanding the world by compressing it is that there will be a congealing of information, but if it's true what another comment said that it's not about understanding the world it's about compressing the training data, then sure I can see that.

Re:Perplexity and Intelligence by fc417fc802 on Sunday November 22, 2026 @03:49PM (#50603727)
An adjacent comment explains your misconception about the nature of what's being described as compression.

Separately I'd like to add that you seem to be focused on the concept of some sort of universal truth. Meanwhile compression has nothing to do with that. Input is entirely arbitrary - it can contain contradictory statements or even random noise. Obviously truly random noise isn't compressible but for example pseudorandom values derived from a seed are. Compression merely involves finding a set of rules that can be used to describe the data in question.

Re:Perplexity and Intelligence by prometheus1992 on Sunday November 22, 2026 @02:22PM (#50602967)
>>you would predict that the LLM would reach some kind of universal information state, but that doesn't seem to be the case?

maybe a 50T parameter will do better on this benchmark. you can already see signs of the models discussing trade offs in great length and this falls somewhere in that direction.

Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @02:32PM (#50603051)
It would be interesting if that were the case.
Re:Perplexity and Intelligence by ACCount39 on Sunday November 22, 2026 @02:37PM (#50603103)
Why not?

If our objective is, for example, "compress the sum of all of humankind's knowledge", then we have a bit of a conundrum: that objective contains human knowledge of math, but also of religion, and of soap opera plots.

You, a human, could easily make an argument that one of those things is more important than the others. But an optimal compressor does not care. All of those things are in its objective. It weights them accordingly. It will compress both math and soap opera into its "universal information state" - and if it finds patterns that happen to help compress both, then all the better for it.

As such, if we take "compressor" as LLM and "objective" as its training datasets, a capable LLM would be able to both solve math problems and give a preacher-like sermon. But it would not let its knowledge of religion intrude into its performance in math, or the other way around, to an unwarranted level. The compressor lives by "non-overlapping magisteria."

> You can write a script in an endless amount of programming languages, you can segment the task into an almost innumerable set of sub steps (for example different scripts for different steps in the process), so what exactly does compression of that information mean when it can be compressed and predicted in so many different ways?

It means that, instead of storing every possible permutation, we get a compressed representation that decomposes - separates "segment a video" from "write code in language A" or "use tool B". And then those elements can be recombined into the near-infinite permutations to decompress. The compressor finds the commonalities and exploits them to fit infinite into finite better.

Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @04:30PM (#50604097)
> It means that, instead of storing every possible permutation, we get a compressed representation that decomposes - separates "segment a video" from "write code in language A" or "use tool B". And then those elements can be recombined into the near-infinite permutations to decompress. The compressor finds the commonalities and exploits them to fit "infinite" into "finite" better.

This is kind of hard to explain but I feel like there is a difference between a generalized representation and what I understand to be happening in an LLM. From what I gather, LLMs have a high dimensional space and there are thousands of vectors involved in predicting the next token, so for example if I ask it to download a youtube video, there may be shared activation spaces around downloading a video, which shifts the distributions of tokens towards tokens related to downloading a youtube video. But does it for example generalize the concept of downloading? Do all prompts related to any kind of downloading share vector spaces and are generalized? This seems wrong to me but I could be wrong.

Also is it really true that it can create compressed representations that decompose? Like I feel like to understand tools and specific scenarios you need agent skills and training data about the tool. It can't just learn from something else. So there _is_ a lot of specialized instances of data about all kinds of things. The higher level goal of "downloading a youtube video" doesn't really matter in the grand scheme of things, it only matters as much as it helps the LLM find the right text to produce. Like in my example it may be that if I used the keyword "yt-dlp" in the prompt that would matter a lot more than "download a video".

Re:Perplexity and Intelligence by ACCount39 on Sunday November 22, 2026 @09:19PM (#50606725)
Relevant: https://transformer-circuits.pub/2024/scaling-monosemanticit...

This demonstrates examples of "features that generalize" in early production LLMs - like "golden gate bridge" feature that crosses between Chinese and English, or "code error" feature that crosses between Python and C code.

That's empirical evidence of LLMs finding representations like this.

Vector spaces: wrong abstraction layer? Sure, at the day's end, all LLM activities revolve around residual stream - FFN and attention and embedding/unembedding all read/write it. But that tells us very little about whether an LLM learns certain representations.

Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @10:37PM (#50607208)
I will admit this is very interesting and it would be very hard to write a proper response to this off hand like this in a HN thread. So the following is more of a casual response.

But just looking at it, for example https://transformer-circuits.pub/2024/scaling-monosemanticit...

You can see the feature doesn't just activate on errors in code, it activates on all kinds of other random bits of information. You can also see it in the golden gate bridge feature https://transformer-circuits.pub/2024/scaling-monosemanticit...

It activates on the words "Then bike to" and "similar" and even "icy patch of water which is 50 miles" as examples. This to me doesn't read like a clean generalization, but rather something else which is hard to describe. I don't think we have a good mental model for what happens when you have thousands of embedding dimensions for a token and you run next token prediction on those tokens. What information is being counted and how?

But one thing to look out for are the failure cases, especially the ones we saw in earlier models. I would ask it to code a Google API script, and it failed at writing code that actually worked. It didn't have a mental model of the Google API at the time. Also it used a script I wrote (it was the only script of its kind that I could find online) but it miswrote parts of the script and thus it didn't work.

There are also failure cases like the reversal curse which you've probably heard of.

Overall though I would say that there is definitely activation space sharing and features do and can connect information and the LLM can use this shared information, it's just not as clean or intuitive as it may seem. I think the way I mentally model it is that all of these shared connections emerge randomly and jaggedly on what is ultimately a goal of predicting the next token. There is an incredibly nuanced and dense probability distribution of tokens, and since tokens aren't always complete words, it gets even more difficult to mentally model how that probability distribution is being calculated.

So there's a very fine line between generalization as we see it in humans and generalization in LLMs which I would argue is a very different beast.

Re:Perplexity and Intelligence by ACCount39 on Sunday November 22, 2026 @11:44PM (#50607570)
"Bike to" is a fascinating example because it points to "anticipation" in LLMs. It's not actually random. It's LLM's predictive machinery in action.

The feature fires not just at the direct mentions of Golden Gate Bridge, and not just at indirect mentions of it too, but also near the moments the model expects it to be mentioned.

"Bike to" what? Golden Gate Bridge maybe? No, "work"? Fine. "Bike to Golden" what, "Bike to Golden Gate" oh surely it's "Bridge", what, no it's actually "Park"? Fine.

And then "GG bridge" is actually mentioned - but the feature, again, starts to light up in advance.

The same goes for "has similar" - similar to what? Golden Gate Bridge? The bridge does get mentioned, but later. Or "a picture of the" - of what, the bridge that was mentioned shortly before?

And, I don't think your "failure cases" point to anything? You're just bringing them up to bring them up.

Re:Perplexity and Intelligence by thrw045 on Monday November 23, 2026 @12:38AM (#50607882)
Well first about the "anticipation". My model of LLMs don't actually preclude this idea that it can anticipate information in advance. Our conversation kind of shifted a little bit. The reason I brought up the examples was to argue against the idea that the LLM neatly compresses things into composable bits. I am the one who brought up next token prediction as the argument against this compositionality but now you are using that argument to make a different argument than you were before. How does anticipating text explain decomposable primitives in LLMs?

Also regarding the "failure cases". To be honest I had a bit of an issue coming up with some because they are hidden deeply within my chat history and I'm not in the mood to go digging for them. But you can just ask an LLM for the failure cases and it will list a lot of them.

This goes to your composition argument. We have had evidence for a while that the LLM is predicting the next token and if something doesn't exist in the training data, it fails to predict the correct answer in certain cases. For example in the reversal curse example. This doesn't mean that there is _no_ compositionality or generalization in LLMs, but to me it just means that the story is more complicated than simply saying the LLM neatly compresses everything into composable primitives. Also the more holes the developers of the LLMs plug, the more difficult it is to know the failure cases.

Regardless of this my main argument was that we have not yet separated complex probability distributions of tokens from the emergent properties of that activity like compositionality. I would argue you can explain all of the emergent properties in terms of the probability distribution. When the LLM is predicting the next token it's traversing a complex high dimensional space that can include and exclude predictive trajectories through the space. If the model has a lot of parameters and a lot of training data, you get very sophisticated trajectories that can capture a lot of different cases. From this you get behavior that looks like compositionality but maybe is not, but the jury is still out on that. I have seen things in LLMs that seem damn near magical so I'm not going to claim I know this for a fact.

Re:Perplexity and Intelligence by ACCount39 on Monday November 23, 2026 @01:43AM (#50608282)
Nothing about LLMs is "neat". They're AIs. They're products of an inhuman optimization process that crams an enormous dataset into a model's weights with an unholy amount of compute. They're "neat" the same way biology is "neat".

The optimizer doesn't find a perfect solution - it finds one that works. LLM compression is inherently lossy and imperfect. Model capacity is limited, and our optimizers have painfully finite compute budgets to work with.

LLM compression is, however, more than good enough for LLMs to be useful. It both discovers useful features and arranges them in ways that make them amenable to further composition.

I don't think "complex probability distributions of tokens" is that useful of a primitive for reasoning about LLM capabilities? Again: too low of an abstraction layer to be useful for what we're trying to reason about.

Re:Perplexity and Intelligence by thrw045 on Monday November 23, 2026 @02:45AM (#50608645)
OK fair enough, I can agree with that. The reason I made the argument about "complex distributions..." is just because I worried that if we reason too much at the higher level we might lose track of what is going on at the lower level. I felt like there was an actual difference between the lower level and the higher level in the way some were talking about it and that's what I was trying to hash out. If both levels of description are compatible at least then there is no issue. I also don't want to seem like I think I know exactly what's going on, I don't, I'm just interested in discussing it.
Re:Perplexity and Intelligence by the8472 on Sunday November 22, 2026 @06:50PM (#50605418)
[delayed]
Re:Perplexity and Intelligence by thrw045 on Sunday November 22, 2026 @10:50PM (#50607266)
Again though what does it mean to "internalize some physics and material science"? Are these some kind of statistical regularities in the information of all the images it's been trained on? I would not call this understanding physics and material science.

An example I would use is for example this image I generated: https://i.imgur.com/LJ2rO6a.jpeg

Now the question is, is the blurring at the bottom of the mirror accurate to the physics of mirrors, or is it some kind of statistical property of the artwork that it has seen? At first glance it looks realistic, but I would argue it isn't necessarily so.

It can quickly become dubious if we start to assume the model uses physics and material science rather than some information that is shared between the images.

Re:Perplexity and Intelligence by the8472 on Monday November 23, 2026 @06:55AM (#50610494)
[delayed]