If you're an LLM trying to symbolically emulate human behavior, especially when coding, you're going to see git commits, where people write a bunch of code and then go, oh wait, I should fix that!
From the perspective of an outside observer, making mistakes, and then correcting the mistakes, is how you code.
In fact, an outside observer might think that this is how you teach people to code. You make a mistake, then you say, oh, here's the mistake I made, and here's why, and then you fix it.
So I think true emergent behavior will be demonstrated, when an LLM says "Hey wait a minute! They're actually making real mistakes, and they're actually correcting, it's them not on purpose?!", and then stops hallucinating, and stops making mistakes as it codes.
The same is true of bug trackers. You submit a bug request and you often have a patch. Then people discuss it. From a MLM's perspective, you're supposed to write poor code, or code that's not perfect, and then have a conversation.
If I had the resources to train a large-scale LLM, I would clone, for example, GitHub. I would then remove everything where people are fixing broken code.
The outcome would be very interesting.
I've been looking at ways to make enhanced long-term memory stores for LLMs, and there's lots of problems with shifting symbolic relationships if you do it wrong, but definitely once there's true long-term memory, and adaptive behavio,r I think that's the only way you're going to get true real emergent behavior.
I think when people are irritated by the "hallucination" aspect of LLMs, they are often running into something of a slightly different nature. I mean, firstly, there seems to be a higher-than-normal ratio of these "little mistakes". And secondly, there are some pretty odd ones - e.g. in my team, Claude regularly just straight up makes up Jira ticket numbers, and then refers to them with high confidence. I guess what I'm saying is that a human would probably not just make up an id, and run with it (they may be off by one, or mix two up, etc). In my opinion, these can be successfully treated, but I guess you can never fully eliminate the tendency that irks people.
I could have used any series of NLP examples, the point is this CoT behavior only emerges when you get to a certain scale (and training style, presumably).