News for hackers. Stuff that matters.
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.