Latest / Heliox: Where Evidence Meets Empathy 🇨🇦‬ / 🧠Learning to Dance with Chaos: What AI Teaches Us About Our Beautiful, Messy Minds
Transcript
- 0:25think for a moment about something like learning to ride a bike or even just forming a sentence.
- 0:30These are complex sequences, right? They need perfect timing. And our brains just do it. They do. Seamlessly.
- 0:37Yeah. And in AI, we try to copy that with what are called recurrent neural networks or RNNs.
- 0:42But there's a huge paradox right at the start.
- 0:45Massive one. Yeah. Because when you look at real brain circuits or even just initialize one of these artificial networks, they often start in a state of just...
- 0:53disorganized activity. It's basically chaos. Right. It's unpredictable. And so the big question for everyone in this field is, how do you take that initial swirling chaos and train it into something reliable, something that can actually perform a complex task? For a long time, the best answer we had was a learning rule called force. And it works. I mean, it suppresses the chaos and trains the network. But when you look under the hood, it's got these two major red flags for biologists.
- 1:20It needs non-local information, meaning one tiny synapse needs to know what's happening way across the network.
- 1:26And it has to know it instantly.
- 1:28Exactly. The changes are almost instantaneous, which just isn't how synapses work.
- 1:32So it's a mathematical trick, but it's not a model of the brain.
- 1:36Okay, let's unpack this.
- 1:37because our deep dive today is on a totally new framework published in July 2025 that offers a much more plausible answer.
- 1:45It's called predictive alignment.
- 1:47And his goal isn't to just kill the chaos, but to gently tame it, to shape it.
- 1:53Let's get right into that because predictive alignment really flips a core assumption on its head.
- 1:58Most learning rules, they try to train the network's internal connections by directly minimizing the output error.
- 2:05Right. The difference between what the network did and what it should have done.
- 2:08But this new method doesn't do that at all for the internal part.
- 2:11Not at all. It completely sidesteps that external error signal.
- 2:14It basically says the recurrent part of the network needs to worry about its own internal business, its own stability and predictions, not external mistakes.
- 2:23Okay, so if it's not looking at the final score, what is it looking at?
- 2:27What's its internal goal?
- 2:28It's a two-part goal, and it's all self-referential.
- 2:31First, the plastic part of the network learns to predict a feedback signal that comes from the network's own output.
- 2:37So it's predicting the consequences of its own actions internally.
- 2:41Exactly.
- 2:42It's building a little model of itself.
- 2:43And then part two, and this is the really new part, it uses this regularization term to actively align its new predictive dynamics with its own underlying chaotic dynamics.
- 2:54So it's not fighting the chaos, it's learning to work with it.
- 2:57to incorporate it you're not trying to damn the river you're learning its current so you can navigate it that's a huge shift and the network's actual wiring is set up to reflect this with these two different components GNM that's right the total connectivity is J which is just G plus M G is strong it's fixed it doesn't learn G is the chaos generator that's the powerful wild river and M is the part that learns starts out weak it's fully connected and it's plastic and Its whole job is to learn how to suppress and shape the chaos coming from G.
- 3:28Okay, so if M is only focused on this internal prediction and alignment game, how does the network ever learn the actual target?
- 3:37You know, the correct answer.
- 3:39That's where the final layer comes in, the read-out weights.
- 3:41That part still uses a standard totally normal learning rule like the Delta rule it Minimizes the real error between the final output and the target Ah, I see so the internal work from M makes the network's activity so rich and stable That the final step for the readout weights becomes incredibly simple you got it all the hard work is done internally making the final tuning easy And the update for M only needs local information, which brings us right back to being biologically plausible.
- 4:09So we know how it works.
- 4:10But that leaves a bigger question.
- 4:12Why start with chaos in the first place?
- 4:14If it's such a problem, why is it also the starting point?
- 4:17Because that chaos isn't just noise.
- 4:19It's a resource.
- 4:21It provides this incredibly rich, high-dimensional set of basis functions.
- 4:25Think of it like a vocabulary.
- 4:26You're starting with every word in the dictionary available to you instead of just a handful.
- 4:31Precisely.
- 4:32And the researchers found that predictive alignment works best when the network is initialized at a very specific point.
- 4:39what's known as the edge of chaos.
- 4:41Why that specific point?
- 4:43Why is the edge of the cliff the best spot to be?
- 4:46It's all about a trade-off.
- 4:48It's a balance between richness and structure.
- 4:51If you have too little chaos, if you're subcritical, the network is too stable, too rigid.
- 4:55It's boring. It doesn't have enough moves to learn anything complex.
- 4:58Exactly. You're stuck in a rut.
- 5:00But if you go too far into the chaos, You have all the diversity in the world, but there's no structure.
- 5:06Information is just scattered everywhere.
- 5:07You can't pull a reliable pattern out of it.
- 5:09It's the difference between a great jazz musician improvising and someone just banging on a piano.
- 5:16One has structure and richness.
- 5:17The other is just noise.
- 5:19That is the perfect analogy.
- 5:20And they actually quantify this.
- 5:21They found this edge of chaos is where you maximize computational efficiency.
- 5:26You get the most representational diversity for the least amount of structural mess.
- 5:31So you start on that exciting, unstable edge, and then the learning process, the alignment, pulls the network back into a stable state, but it gets to keep all that rich potential it started with.
- 5:42That's the beauty of it.
- 5:43After learning, they can measure it.
- 5:45The network's Leopunov exponent, which is a measure of how chaotic a system is, shifts way into the negative.
- 5:53The system becomes very stable and very accurate.
- 5:56Here's where it gets really interesting.
- 5:58because the real test isn't just learning a simple wave it's can it handle messy complex real-world type tasks absolutely and it proved to be incredibly versatile it worked with multiple outputs learning five different things at once you can even take a static input like flipping a switch and generate completely different behaviors based on that input I can handle context right but then they threw two major curveballs at it the first was the Lorenz attractor ah the famous butterfly shaped chaos pattern it never repeats itself Exactly. A model of atmospheric convection. They tasked the network with generating those three-dimensional dynamics.
- 6:33And if it just memorized the points, that wouldn't be very impressive.
- 6:36But that's not what it did. The output was strikingly similar. But even after they turned the learning off, the network kept going, producing these complex, attractor-like dynamics.
- 6:47It suggests it didn't learn the sequence, it learned the underlying rule, the physics of the system.
- 6:52- That's a huge leap.
- 6:54Okay, what about memory?
- 6:55They tested that with a ready, set, go task, right?
- 6:57- Yep, the RSG task.
- 7:00The network sees a ready pulse, then a set pulse.
- 7:04It has to measure and remember the time delay between them.
- 7:06Then, when it gets the Go pulse, it has to reproduce that exact delay.
- 7:10And how did it do?
- 7:11It learned the specific delays it was trained on perfectly.
- 7:14But the really cool part was testing what it hadn't seen.
- 7:17It showed amazing interpolation.
- 7:19So if it learned 120 milliseconds and 140, it could accurately guess 130.
- 7:24Perfectly. But, and this is key, it failed at extrapolation.
- 7:28It couldn't guess a time outside the range it was trained on.
- 7:31And that failure is actually a good sign.
- 7:33It's a great sign.
- 7:34It means it didn't just memorize four separate tasks.
- 7:37It learned a structured geometric relationship for the delays it was shown.
- 7:41It found a map, but only for the territory it explored.
- 7:45I see.
- 7:46It found a rule, but the rule was only valid for the data it had seen.
- 7:49Exactly.
- 7:50An analysis of the network's internal states confirmed it.
- 7:54The memory states shifted in a perfectly linear way as the time delay increased.
- 7:59It's solid proof of structured learning.
- 8:01Okay, let's get to the most stunning example, the kitten video.
- 8:05That seems like an impossible task for a small network.
- 8:07It's the ultimate test.
- 8:09Learn and replay a 1,000 frame video of a kitten.
- 8:13And the challenge was a massive dimensionality mismatch.
- 8:16The video signal has over 22,000 dimensions.
- 8:18You know, pixels, colors.
- 8:20Wait, hold on.
- 8:2122,000 dimensions for the target signal?
- 8:23But the network itself only had 800 neurons.
- 8:25Yep.
- 8:25The target was almost 30 times bigger than the network trying to learn it.
- 8:28How is that even possible?
- 8:30I would expect it to just learn a blurry mess.
- 8:32You would, but it didn't.
- 8:34After training, the network accurately encoded and replayed the entire video.
- 8:38It could only do that because the internal learning process created such a high quality, rich set of basis functions that the readout layer could project that huge video signal down onto its small internal state.
- 8:52That is genuinely incredible. It shows this isn't just a toy model.
- 8:55It shows it's robust enough for natural high dimensional signals.
- 8:59Which brings us back full circle to the biology. Why is this a better brain model than something like force?
- 9:05Well, we talked about the local learning rules, but the other huge advantage is it requires no clamping.
- 9:08Yeah.
- 9:10What exactly is clamping? It sounds aggressive.
- 9:13It kind of is. In rules like force, during learning, you have to literally force the network's output to be the correct answer at every single moment in time. You clamp it to the target.
- 9:24And that forces the weights to change unnaturally fast.
- 9:27instantaneously almost it's just not biological predictive alignment doesn't need that because it's learning from its own internal predictions not from constant external correction it's learning to anticipate its own feedback not being forced into a box moment by moment precisely and that allows for the slow gradual weight changes we actually see in the cortex yeah the researchers even have a hypothesis for how this could work in the motor cortex where the network's own output activity gets sent back as its own teaching signal.
- 9:55And they even speculated on where in the neuron this could happen, right?
- 9:59The dendrites.
- 10:00Yeah, a really testable prediction.
- 10:02They suggest the plastic connections, the M matrix, could project to the proximal dendrites, which are known for plasticity.
- 10:09while the static chaos generator G projects to the distal dendrites, a physical separation of labor.
- 10:15Fascinating. And there was one last point about generalization and something called reservoir computing.
- 10:20Right. A reservoir computer uses a fixed, random network to do complex processing, and you only train the final output layer. It's super efficient.
- 10:28And the predictive alignment network acted like one.
- 10:31It did.
- 10:32Once they trained the network on a hard task, they could then freeze all those internal M weights.
- 10:37And the network could still learn completely new, complex tasks just by retraining the readout weights alone.
- 10:43Wow.
- 10:44So the learning process didn't just solve one problem.
- 10:46Correct.
- 10:46It turned the network into a flexible, powerful computational engine.
- 10:50It learned how to learn.
- 10:52That's a great place to wrap up the details.
- 10:54So what does this all mean?
- 10:55It means predictive alignment is a powerful, plausible, new way to train these chaotic networks.
- 11:01It uses internal prediction, not external error, to harness chaos as a resource, shaping it into reliable, complex behavior.
- 11:09And the provocative thought for you, the learner, is this.
- 11:13Maybe the brain isn't primarily an error correction machine.
- 11:17We tend to think of learning as reducing mistakes, but perhaps the brain is really a prediction machine.
- 11:23A system that takes its own inherent chaos, its creative potential, and uses internal self-prediction as the main driver to pull structured, intelligent behavior out of it.
- 11:32The chaos isn't a bug to be fixed. It's the feature from which everything else is built.
- 11:36We'd encourage you to explore this idea of the edge of chaos.
- 11:40That balance point between stability and diversity might just be the universal design principle for any complex intelligent system, whether it's made of silicon or cells.