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