Adam Marblestone — AI is missing something fundamental about the brain
109m 53s
The central mystery of how the brain outperforms AI models like large language models lies not in their architecture, but in the evolved complexity of their learning mechanisms. Unlike AI, which relies on simple, mathematically defined loss functions (e.g., next-token prediction), the brain likely uses a rich, dynamic set of loss and reward functions shaped by evolution. These functions encode innate reflexes—such as flinching at a moving insect or feeling shame at social missteps—and are learned through generalized prediction. A key insight is that the cortex functions as an omnidirectional inference engine, capable of predicting any subset of variables from any context, enabling flexible, real-time reasoning. This capability stems from the brain’s separation of learning (cortex) and steering (subcortical) subsystems, where the latter provides innate heuristics that the cortex learns to predict. Evolution has likely built these systems using compact, biologically efficient coding—such as specialized cell types and pre-wired neural circuits—rather than relying on vast training data. This suggests that human intelligence grew not from new architectures, but from enhanced social learning and reward functions that improve learning efficiency. Modern AI fails to replicate this because it lacks the integrated, multimodal, and generalizable inference systems that allow the brain to link abstract concepts with emotional and instinctive responses. Future progress in AI may depend on incorporating such biological principles—like energy-based models, multi-modal prediction, and bootstrapped reward functions—to bridge the gap between artificial and biological intelligence.
The big million-dollar question that I have that I've been trying to get the answer to
through all these interviews with AI researchers, how does the brain do it, right?
Like, we're throwing way more data at these LLMs, and they still have a small fraction
of the total capabilities that a human does.
So what's going on?
Yeah, I mean, this might be the quadrillion-dollar question or something like that.
It's arguable.
You could make an argument this is the most important question in science.
I don't claim to know the answer.
I also don't really think that the answer will necessarily come even from a lot of smart
people thinking about it as much as they are.
My overall meta-level take is that we have to empower the field of neuroscience to just
make neuroscience a more powerful field, technologically and otherwise, to actually be able to crack
a question like this.
But maybe the way that we would think about this now with modern AI, neural nets, deep
learning, is that. There's sort of these certain key components of that.
There's the architecture.
There's maybe hyperparameters of the architecture.
How many layers do you have are sort of properties of that architecture.
There is the learning algorithm itself.
How do you train it?
You know, backprop, gradient descent.
Is it something else?
There is, how is it initialized?
Okay, so if we take the learning part of the system, it still may have some initialization
of the weights.
And then there are also cost functions.
There's like, what is it being trained?
What is it going to do?
What's the reward signal?
What are the loss functions, supervision signals?
My personal hunch within that framework is that the field has neglected the role of this
very specific loss functions, very specific cost functions.
Machine learning tends to like mathematically simple loss functions, right?
Predict the next token.
You know, cross-entropy, these simple kind of computer scientist loss functions.
Right.
Right.
Yeah.
I think evolution may have built a lot of complexity into the loss functions.
Actually many different loss functions were different areas turned on at different stages
of development.
A lot of Python code basically generating a specific curriculum for what different parts
of the brain need to learn.
Because evolution has seen many times what was successful and unsuccessful and evolution
could encode the knowledge of the learning curriculum.
So in the machine learning framework, maybe we can come back and we can talk about where
do the loss functions of the brain come from?
Yeah.
Can that, can loss, different loss functions lead to different efficiency of learning?
You know, people say like the cortex has got the universal human learning algorithm,
the special cells that humans have.
What's up with that?
Well, this is a huge question.
And we don't know.
I've seen models where what the cortex, you know, the cortex has typically this like six
layered structure, layers in a slightly different sense than layers of a neural net.
It's like any one location in the cortex has six physical layers of tissue as you go in
layers of the sheet.
And then those areas then connect to each other.
And that's more like the layers of a network.
I've seen versions of that where what you're trying to explain is actually just how does
it approximate backprop and what is the cost function for that?
What is the network being asked to do?
If you sort of are trying to say it's something like backprop, is it doing backprop on next
token prediction?
Is it doing backprop on classifying images or what is it doing?
And no one, no one knows.
But I think, I think one, one thought about it.
One possibility about it is that it's just this incredibly general prediction engine.
So, so any one area of cortex is just trying to predict any, basically, can it learn to
predict any subset of all the variables it sees from any other subset?
So like omnidirectional inference or omnidirectional prediction, whereas an LLM is just, you see
everything in the context window and then it, it computes a very particular conditional
probability, which is given all the last thousands of things, what is the very probabilities
for all the, all the, the next token.
Yeah.
Um, but it would be weird for a large language model to say, you know, um, you know, the
quick brown Fox blank, blank, the lazy dog, um, and filling in the middle, um, uh, versus
do the next token.
It, it, if it's, if it's doing just forward, it can learn how to do that stuff in this
emergent level of in context learning, but natively it's just predicting the next token.
What if the cortex is just natively made so that it can, you know, any area of cortex
can predict any pattern in any subset of inputs, given any other missing subset.
Um, that is a little bit more like quote unquote, probabilistic AI.
Um, I think a lot of the things I'm saying by the way, are extremely similar to like
what Yann LeCun would say.
Yeah.
Um, he's really interested in these energy-based models, um, and something like that is like
the joint distribution of all the variables.
What is that?
It's the likelihood or unlikelihood of just any combination of variables.
And if I, if I clamp some of them, I say, well, definitely these variables are in these
states, then I can compute with probabilistic sampling.
For example, I can compute, okay.
Conditioned on these being set in this state, what are, and these could be any arbitrary
subset of, of, of variables in the model.
Can I predict what any other subset is gonna do and sample from any other subset given
clamping this subset.
So it's a totally different subset and sample from that subset.
Um, so it's omnidirectional inference.
And so it, you know, it, that could be, there's some parts of air of cortex that might be
like association areas of cortex that may, you know, predict vision from audition.
Yeah.
There might be areas that predicts things that the more innate part of the brain is
gonna do.
Because remember this whole thing is basically riding on top of the sort of a lizard brain
and lizard body, if you will.
Um, and that thing is a thing that's worth predicting too.
So you're not just predicting, do I see this or do I see that?
But I. Is this muscle?
Is this muscle about to tense?
Am I about to have a reflex where I laugh?
You know, is my heart rate about to go up?
Um, am I about to activate this instinctive behavior?
Based on my higher level understanding of like I can match, uh, somebody has told me
there's a spider on my back to this lizard part that would activate if I was like literally
seeing a spider in front of me and that you, you learn to associate the two so that even
just from somebody hearing you say there's a spider on your back.
Well, let's, well, let's come back to this.
And this, this is partly having to do with, with Steve Byrne's theories, which I'm recently
obsessed about.
But, but on your podcast with Ilya, um, he said, look, I'm not aware of any, any good
theory of how evolution encodes high level desires or intentions.
I think this is like, this is like very connected, uh, to, to, to all of these questions about
the loss functions and the cost functions, um, that the brain would use.
It's a really profound question, right?
Like, like, let's say that, um, I am embarrassed for saying the wrong thing on your podcast
because I'm imagining that young Lacoon is listening and he says, that's not my theory.
You described energy based models really badly.
That's going to enact, activate in me innate embarrassment and shame, and I'm going to
want to go hide and, and whatever.
And that's going to activate these innate reflexes.
Um, and that's important because I might otherwise get, get killed by young Lacoon's, you know,
marauding army of, of other French AI researchers coming for you, Adam.
And so it's important that I have that instinctual response.
But of course, evolution has never seen young Lacoon or known about energy based models
or known the, what a, a, a, a, a important scientist or a podcast is.
And so somehow the brain has to encode this desire to, you know, uh, not, not piss off
really important, you know, people in the tribe or something like this, um, in a very
robust way without knowing in advance.
All the things that the, the learning subsystem of case of the brain, the part that is learning
cortex and other parts, uh, the cortex is going to learn this world model that's going
to include things like young Lacoon and, and podcasts and, uh, evolution has to make sure
that that those neurons, whatever the young Lacoon being upset with me, neurons get properly
wired up to the shame response or this part of the reward function.
Um, and this is important, right, because if we're going to be able to seek status in
the tribe or learn from knowledgeable people, as you said, or things like that, exchange
knowledge and skills with friends, but not with enemies, I mean, we have to learn all
this stuff.
So it has to be able to robustly wire these learned features of the world, um, learn parts
of the world model up to, uh, these innate reward functions, and then actually use that
to then learn more.
Right.
Cause next time I'm not going to try to piss off young Lacoon if he emails me that I got
this wrong.
Um, and so, uh, we're going to do further learning based on that.
So it's in constructing the reward function.
It has to use, uh, learned information, but how can evolution evolution didn't know about
young Lacoon.
So how can, how can it, how can it do that?
And so, uh, the basic idea, um, that Steve Burns is proposing is that, well, part of
the cortex, uh, or, or other areas like the amygdala that learn, um, what they're doing
is they're modeling the steering subsystem steering subsystem is the part with these
more innate innately programmed responses and the innate programming of these series
of reward functions, cost functions, bootstrapping, uh, functions that exist.
So there are parts of the amygdala, for example, that are able to monitor what, what those
parts do and predict what those parts do.
So, um, so how do you find the neurons, um, that are important for social status?
Well, you have some innate heuristics of social status, for example, or you have some innate,
uh, innate, uh, heuristics of friendliness that, um, that the steering subsystem can
use.
And the steering subsystem actually has its own sensory system, which is kind of crazy.
So we think of, you know, vision as being something that the cortex does.
There's also a steering subsystem subcortical visual system called the superior colliculus,
with innate ability to detect faces, for example, or threats.
So there's a visual system that has innate heuristics
and that the steering subsystem has its own responses.
So there'll be part of the amygdala or part of the cortex
that is learning to predict those responses.
And so what are the neurons that matter in the cortex
for social status or for friendship?
Or they're the ones that predict
those innate heuristics for friendship, right?
So you train a predictor in the cortex
and you say, which neurons are part of the predictor?
Those are the ones that are,
now you've actually managed to wire it up.
Yeah.
This is fascinating.
I feel like I still don't understand.
I understand how the cortex could learn
how this primitive part of the brain would respond to,
so it can obviously, it has these labels on,
here's literally a picture of a spider and this is bad,
like be scared of this.
And then the cortex learns
that this is bad because the innate part tells it that.
But then it has to generalize to,
okay, the spider's on my back.
Yes.
And somebody's telling me the spider's on your back.
That's also bad.
Yes.
But it never got supervision on that.
Right.
So how does it?
Well, it's because the learning subsystem
is a powerful learning algorithm
that does have generalization,
that is capable of generalization.
So the steering subsystem,
these are the innate responses.
So you're going to have some, let's say,
built into your steering subsystem,
these lower brain areas, hypothalamus, brainstem, et cetera.
And again, they include,
they have their own primitive sensory systems.
So there may be an innate response.
If I see something that's kind of moving fast
toward my body that I didn't previously see was there
and is kind of small and dark and high contrast,
that might be an insect kind of skittering onto my body.
I am going to like flinch, right?
And so there are these innate responses.
And so there's going to be some group of neurons,
let's say in the hypothalamus,
that is the, I am flinching or I just flinched, right?
I just flinched neurons in the hypothalamus.
So when you flinch, first of all,
that's a negative contribution to the reward function.
You didn't want that to happen, perhaps.
But that's a reward function then
that doesn't have any generalization in it.
So I'm going to avoid that exact situation
of the thing skittering toward me.
And maybe I'm going to avoid some actions
that lead to the thing skittering.
So that's something, a generalization you can get.
What Steve calls it is
downstream of the reward function.
So I'm going to avoid the situation
where the spider was skittering toward me.
But you're also going to do something else.
So there's going to be like a part of your amygdala, say,
that is saying, okay, a few milliseconds,
you know, hundreds of milliseconds or seconds earlier,
could I have predicted that flinching response?
It's going to be a group of neurons
that is essentially a classifier of, am I about to flinch?
And I'm going to have classifiers for that.
For every important steering subsystem variable
that evolution needs to take care of.
Am I about to flinch?
Am I talking to a friend?
Should I laugh now?
Is the friend high status?
Whatever variables the hypothalamus brainstem contain,
am I about to taste salt?
So that's going to have all these variables.
And for each one, it's going to have a predictor.
It's going to train that predictor.
Now the predictor that it trains,
that can have some generalization.
And the reason it can have some generalization
is because it just has a totally different input.
So its input data might be things like the word spider,
but the word spider can activate in all sorts of situations
that lead to the word spider activating in your world model.
So if you have a complex world model,
which really complex features,
that inherently gives you some generalization.
It's not just the thing skittering toward me.
It's even the word spider or the concept of spider
is going to cause that to trigger.
And this predictor can learn that.
So whatever spider neurons are in my world model,
which could even be a book about spiders
or somewhere, a room where there are spiders
or whatever.
The amount of heebie-jeebies
that this conversation is eliciting in the audience is like. So now I'm activating your steering subsystem.
Your steering subsystem, spider, hypothalamus,
a subgroup of neurons of skittering insects
are activating based on these very abstract concepts
in the conversation.
If we keep going, I'm going to have to put in a trigger warning.
That's because you learned this.
And the cortex inherently has the ability to generalize
because it's just predicting
based on these very abstract variables
and all these integrated information that it has.
Whereas the. The steering subsystem only can use
whatever the superior colliculus
and a few other sensors can spit out.
So. By the way, it's remarkable that the person
who's made this connection
between different pieces of neuroscience,
Stephen Burns,
like former physicist,
has for the last few years
has been trying to synthesize.
He's an AI safety researcher.
He's just synthesizing.
This comes back to the academic incentives thing.
I think that this is a little bit hard to say.
What's the exact next experiment?
How am I going to publish a paper on this?
How am I going to train my grad student to do this?
It's very speculative.
But there's a lot in the neuroscience literature
and Stephen has been able to pull this together.
And I think that Steve has
an answer to Ilya's question, essentially,
which is how does the brain
ultimately code for these higher level desires
and link them up to the more primitive rewards?
Yeah.
Very naive question.
But why can't we achieve
this omnidirectional inference
by just training the model
to not just map from a token to next token,
but remove the masks in the training
so it maps every token to every token
or come up with more labels
between video and audio and text
so that it's forced to map one to each one?
I mean, that may be the way.
So it's not clear to me.
Some people think that there's sort of a different way
that it does probabilistic inference
or a different learning algorithm that isn't backprop.
There might be like other ways
of learning energy-based models
or other things like that that you can imagine,
but that it's involved in being able to do this
and that the brain has that.
But I think there's a version of it
where what the brain does is like crappy versions
of backprop to learn to predict through a few layers.
And that, yeah, it's kind of like
a multimodal foundation model.
Yeah, so maybe the cortex is just kind of like
certain kinds of foundation models.
LLMs are maybe just predicting the next token,
but vision models maybe are learning to fill in the blanks
or reconstruct different pieces or combinations.
But I think that it does it in an extremely flexible way.
So if you train a model to just fill in this blank
at the center, okay, that's great.
But what if you didn't train it to,
to fill in this other blank over to the left,
then it doesn't know how to do that.
It's not part of its like repertoire of predictions
that are like amortized into the network.
Whereas with a really powerful inference system,
you could choose at test time,
you know, what is the subset of variables
it needs to infer and which ones are clamped.
Okay, two sub questions.
One, it makes you wonder whether the thing
that is lacking in artificial neural networks
is less about the reward function
and more about the,
the encoder or the embedding,
which like maybe the issue is that
you're not representing video and audio and text
in the right latent abstraction
such that they could intermingle and conflict.
Maybe this is also related to why
LLM is so bad at drawing connections
between different ideas.
Like it's like,
are the ideas represented at a level of generality
at which you could notice different connections?
Well, the problem is these questions are all commingled.
So if we don't know if it's doing a backprop like learning
and we don't know if it's doing energy-based models
and we don't know how these areas
are even connected in the first place,
it's like very hard to like really get
to the ground truth of this.
But yeah, it's possible.
I mean, I think that people have done some work.
My friend, Joel DiPello,
actually did something some years ago
where I think he put a model.
I think it was a model of V1
of sort of specifically how the early visual cortex
represents images.
And I think it was a model of V1 of sort of specifically how the early visual cortex represents images.
And put that as like an input into like a convnet
and that like improves some things.
So it could be like differences.
The retina is also doing, you know,
motion detection and certain things
are kind of getting filtered out.
So there may be some pre-processing of the sensory data.
There may be some clever combinations
of which modalities are predicting which
or so on that
lead to better representation.
There may be much more clever things than that.
Some people certainly do think that there's
inductive biases built in the architecture
that will shape the representations
in the data.
You know,
differently or that there are clever things
that you can do.
So Astera,
which is the same organization
that employs Steve Behrens,
just launched this neuroscience project
based on Doris So's work.
And she has some ideas about
how you can build
vision systems that basically require less training.
They put in,
they in-build into the assumptions
of the design of the architecture
that things like objects are bounded by surfaces
and the surfaces have certain types of
shapes and relationships of how they occlude
each other and stuff like that.
So it may be possible to build more assumptions
into the network.
And evolution may have also put some changes
of architecture.
It's just,
I think that also the cost functions and so on
may be a key key thing that it does.
So Andy Jones is this amazing 2021 paper where
he uses AlphaZero to show that you can trade off
test time compute and training compute.
And while that might seem obvious now,
this was three years before people were talking about
inference cases.
So this got me thinking,
is there an experiment you could run today,
even if it's a toy experiment,
which would help you anticipate the next scaling paradigm?
One idea I had was to see if there was anything
to multi-agent scaling.
Basically, if you have a fixed budget of training compute,
are you going to get the smartest agent
by dumping all of it into training one single agent
or by splitting that compute up amongst a bunch of models,
resulting in a diversity of strategies
that get to play off each other?
I didn't know how to turn this question
into a concrete experiment though.
So I started brainstorming with Gemini 3 Pro
in the Gemini.
Gemini helped me think through a bunch of different judgment calls.
For example, how do you turn the training loop from self-play to this kind of co-evolutionary
league training?
How do you initialize and then maintain diversity amongst different AlphaZero agents?
How do you even split up the compute between these agents in the first place?
I found this clean implementation of AlphaGo Zero, which I then forked and opened up in
Anti-Gravity, which is Google's agent-first IDE.
The code was originally written in 2017, and it was meant to be trained on a single GPU
of that time.
But I needed to train multiple whole separate populations of AlphaZero agents, so I needed
to speed things up.
I rented a beefcake of a GPU node, but I needed to refactor the whole implementation to take
advantage of all this scale and parallelism.
Gemini suggested two different ways to parallelize self-play.
One which would involve higher GPU context switching, and the other would involve higher
communication overhead.
I wasn't sure which one to pick, so I just asked Gemini.
And not only did it get both of them working in minutes, but it autonomously created and
then ran a backup.
It was a great benchmark to see which one was best.
It would have taken me a week to implement either one of these options.
Think about how many judgement calls a software engineer working on an actually complex project
has to make.
If they have to spend weeks architecting some optimization or feature before they can see
whether it will work out, they will just get to test out so many fewer ideas.
Anyways, with all this help from Gemini, I actually ran the experiment and got some results.
Now please keep in mind that I'm running this experiment on an anemic budget of compute,
and it's very possible I made some mistakes in implementation.
But it looks like there can be gains from splitting up a fixed budget of trading compute
amongst multiple agents rather than just dumping it all into one.
Just to reiterate how surprising this is, the best agent in the population of 16 is
getting 1/16th the amount of trading compute as the agent trained on self-play alone, and
yet it still outperforms the agent that is hogging all of the compute.
The whole process of vibe-coding this experiment with Gemini was really absorbing.
It gave me the chance to actually understand how AlphaZero works, and to understand the
design space around decisions about the hyperparameters and how search is done, and how you do this
kind of coevolutionary training, rather than getting bogged down in my very novice abilities
as an engineer.
Go to gemini.google.com to try it out.
I want to talk about this idea that you just glanced off of, which was amortized inference.
And maybe I should try to explain what I think it means, because I think it's probably wrong,
and this will help you correct me.
It's been a few years for me, too, so. Okay.
Right now, the way the models work is you have an input, it maps it to an output.
And this is amortizing a process that the real process, which we think is like what
intelligence is, which is like, you have some prior over how the world could be.
Like, what are the causes that make the world the way that it is?
And then when you see some observation, you should be like, okay, here's all the ways
the world could be.
This cause explains what's happening best.
Now doing this calculation over every possible cause is computationally intractable.
So then you just have to sample like, oh, here's a potential cause.
Does this explain this observation?
No.
Forget it.
Let's keep sampling.
Right.
So eventually you get the cause, the cause explains the observation, and then this becomes
your posterior.
That's actually pretty good, I think, of sort of, yeah, Bayesian inference in general
is of this very intractable thing.
The algorithms that we have for doing that tend to require taking a lot of samples, Monte
Carlo methods, taking a lot of samples.
And taking samples takes time.
I mean, this is like the original, like, Boltzmann machines and stuff were using techniques like
this.
And still it's used with probability.
It's used with probabilistic programming, other types of methods often.
And so, yeah, so the Bayesian inference problem, which is like basically the problem of like
perception, like given some model of the world and given some data, like how should I update
my, what are the like, the variables, you know, missing variables in my internal model.
And I guess the idea is that neural networks are hopefully, obviously there's mechanistically,
the neural network is not starting with like, here is my model of the world, and I'm going
to try to explain this data.
But the hope is that instead of starting with, hey, does this cause explain this observation?
No.
Did this cause explain this explanation?
Right.
Yes.
What you do is just like observation.
What's the most, what's the cause that we, the neural net thinks is the best one.
Yeah.
Observation to cause.
So the feed forward like goes observation to cause.
To then output that.
Yes.
You don't have to, you don't have to evaluate all these energy values or whatever and sample
around to make them higher and lower.
You just say approximately that process would.
Result in this being the top one or something like that.
Exactly.
Yeah.
One way to think about it might be that test time compute, inference time compute is actually
doing this sampling again, because you literally read its chain of thought.
It's like actually doing this toy example we're talking about where it's like, oh, can
I solve this problem by doing X?
Yeah.
I need a different approach.
And this raises the question, I mean, over time it is the case that the capabilities,
which were, which required inference time compute to elicit, get distilled into the,
into the model.
So you're amortizing the thing, which previously you needed to do these like rollouts is like
Monte Carlo rollouts to, to figure out.
And so in general, there, maybe there's this principle of digital minds, which can be copied,
have different trade offs, which are relevant than biological minds, which cannot.
And so in general, it should make sense to amortize more things because you can literally
copy the copy, the amortization, right.
Or copy the things that you have sort of like built in and it, this is a tangential question
where it might be interesting to speculate.
But in the future, as these things gonna become more intelligent and the way we train them
becomes more economically rational, what will make sense to amortize into these minds, which
evolution did not think it was worth amortizing into biological minds that you have to retrain
every time.
Right.
I mean, first of all, I think the probabilistic AI people would be like, of course you need
text time compute because this inference problem is really hard and the only ways we know how
to do it involve lots of test time compute.
Otherwise it's just a crappy approximation.
That's never gonna like, you have to do infinite data or something to like make this.
So I think that some of the probabilistic people will be like, no, it's like inherently
probabilistic and like amortizing it in this way, like just doesn't make sense.
And so, and they might then also point to the brain and say, okay, well the brain, the
neurons are kind of stochastic and they're sampling and they're doing, doing things.
And so maybe the brain actually is doing more like the non-amortized inference, the real
inference.
But it's also kind of strange how perception can work in just like milliseconds or whatever.
It doesn't seem like it uses that much sampling.
So it's also clearly also doing some kind of sampling.
Some kind of baking things into, into like approximate forward passes or something like
that to do this.
And yeah.
So in the future, you know, I don't know, I mean, I think is it already a trend to some
degree that things that are people were having to use test time compute for, or getting like
used to train back the, the base model.
Right.
Yeah.
Yeah.
That, so now it can do it in one pass.
Right.
Yeah.
You know, maybe evolution did or didn't do that.
I think evolution still has to pass everything through the genome, right.
To build the network.
So, and the environment in which humans are living is very dynamic, right.
And so maybe that's, if we believe this is true, that, that there's a learning subsystem
per Steve Burns and a steering subsystem that the learning subsystem doesn't have a lot
of like pre-initialization or pre-training as a certain architecture, but then within
lifetime it learns.
Yeah.
Right.
Then evolution didn't, you know, actually like amortize that much into that network.
Right.
It amortized it instead into a set of innate behaviors and a set of these bootstrapping
cost functions or ways of building up very particular reward signals.
Yeah.
Yeah.
This framework helps explain this mystery that people have pointed out and I've asked
a few guests about, which is how, if you want to analogize evolution to pre-training, well,
how do you explain the fact that so little information is conveyed through the genome,
so three gigabytes is the size of the total human genome, obviously a small fraction of
that is actually relevant to coding at the brain.
Yeah.
And if previously people made this analogy that actually pre evolution has found
the hyper parameters of the model, the, the numbers, which tell you how many layers should
there be the architecture basically, right?
Like how, how should things be wired together?
But if a big part of the story that increases the sample efficiency aids learning generally
makes systems more performant is the reward function is the loss function.
Yeah.
And if evolution found those loss functions, which aid learning, then it actually kind
of makes sense how so you can like build an intelligence with so little information because
like the reward function, oh, you're like right in Python, right?
The reward function is like literally a line.
Yes.
And so you just like have like a thousand lines like this and that's, it doesn't take
up that much space.
Yes.
And it also gets to do this generalization thing with the thing, the thing I was describing
where we were talking with about the spider, right.
Of where it learns that just the word spider, you know, triggers the spider, you know, reaches,
you know, reflects or whatever.
It gets to exploit that too, right.
So it gets to build a reward function that actually has a bunch of generalization in
it just by specifying these innate spider stuff and the thought assessors as Steve calls
them that do the learning.
So that's like a potentially a really compact solution to building up these more complex
reward functions too, that you need.
So it doesn't have to anticipate everything about the future of the reward function just
as anticipate what variables are relevant and what are heuristics for like finding what
those variables are.
And then, yeah.
And then it has to have like a very compact specification for like the learning algorithm
and basic architecture of the learning subsystem.
And then it has to specify all this Python code of like all the stuff about the spiders and all the stuff about friends and all the stuff about your mother and all the stuff about mating and social groups and joint eye contact.
It has to specify all that stuff.
And so is this really true?
And so I think that there is some evidence for it.
So Fei Chen and Evan McCosko and various other researchers who have been doing like these single cell atlases.
So one of the things that neuroscience technology or sort of scaling up neuroscience technology, again, this is kind of like one of my obsessions, has done through the Brain Initiative, a big neuroscience funding program.
They've basically gone through different areas, especially the mouse brain and mapped like where are the different cell types?
How many different types of cells are there in different areas of cortex?
Are they the same across different areas?
And then you look at these subcortical regions.
Which are more likely like steering subsystem or reward function generating regions.
How many different types of cells do they have?
And which neurons types do they have?
We don't know how they're all connected and exactly what they do or what the circuits are, what they mean.
But you can just like quantify like how many different kinds of cells are there with sequencing the RNA.
And there are a lot more weird and diverse and bespoke cell types in the steering subsystem, basically, than there are in the learning subsystem.
Like the cortical cell types, there's enough to build, it seems like there's enough to build a learning algorithm up there and specify some hyperparameters.
And in the steering subsystem, there's like a gazillion, you know, thousands of really weird cells, which might be like the one for the spider flinch reflex and the one for I'm about to taste salt.
Sorry, but why would each reward function need a different cell type?
Well, so this is where you get innately wired circuits, right?
So in the learning algorithm part, in the learning subsystem.
You set up, specify the initial architecture, you specify a learning algorithm.
It's all the juices is happening through plasticity of the synapses, changes of the synapses within that big network.
But it's kind of like a relatively repeating architecture, how it's initialized.
It's just like the amount of Python code needed to make, you know, an eight layer transformer is not that different from wanting to make a three layer transformer, right?
You're just replicating.
Whereas all this Python code for the reward function, you know, if superior calculus sees something.
Skittering and, you know, you're feeling goosebumps on your skin or whatever, then trigger spider reflex.
That's just a bunch of like bespoke species specific situation, specific crap that the cortex doesn't know about spiders.
It just knows about layers and right.
And you're saying that the only way to have this, like write this reward function is to have a special cell type.
Yeah, yeah.
Well, I think so.
I think you either have to have a special cell types or you have to somehow, somehow otherwise get special wire.
There's a lot of different wiring rules that evolution can say this neuron needs to wire to this neuron without any learning.
And the way that that is most likely to happen, I think, is that those cells express like different receptors and proteins that say, OK, when this one comes in contact with this one, let's form a synapse.
So it's genetic wiring.
Yeah.
And those need cell types to do it.
Yeah.
I'm sure this would make a lot more sense if I knew one to one neuroscience.
But like, it seems like there's still a lot of complexity.
Or generality, rather, in the steering subsystem, so in the steering subsystem has its own visual system that's separate from the visual cortex.
Yeah, different features still need to plug into that vision system in the so like the spider thing needs to plug into it and also the the love thing needs to plug into it, et cetera, et cetera.
Yes.
So it seems complicated.
No, it's still complicated.
And that's that's all the more reason why a lot of the genomic, you know, real estate in the genome and in terms of these different cell types and so on would go into wiring up the steering subsystem pre wiring it.
Can we tell how much of the genome is like clearly working?
So I guess you could tell how many are relevant to the producing the RNA that manifest or the epigenetics that manifest in different cell types in the brain, right?
Yeah, this is what the cell types helps you get at it.
I don't think I don't think it's exactly like, oh, this percent of the genome is doing this.
But you could say, OK, in these all these steering subsystems, subtypes, you know, how many different genes are involved in sort of specifying which is which and how they wire and how much genomic real estate do those genes take up versus the ones that specify, you know, visual cortex versus audio auditory cortex, you kind of just reusing the same genes to do the same thing twice, whereas the spider reflex hooking up.
Yes, you're right.
They have to they have to build their vision system and they have to build some auditory systems and touch systems and navigation.
So, you know, even feeding into the hippocampus and stuff like that, there's head direction cells, even the fly brain has innate circuits that, you know, figure out its orientation and help it navigate in the world.
And it uses vision figures optical flow of how it's flying and, you know, how is it how is its flight related to the wind direction?
It has all these innate stuff that I think in the mammal brain, we would all put that and lump that into the steering subsystem.
So there's a lot of work.
So all the genes basically that go into specifying all the things a fly has.
To do, we're going to have stuff like that, too, just all in the steering subsystem.
But do we do we have some estimate of like, here's how many nucleotides, how many megabases it takes to.
I don't know.
I mean, but I mean, I think you might be able to talk to biologists about this, you know, to some degree, because you can say, well, we just have a ton in common.
I mean, we have a lot in common with yeast from a genes perspective.
Yeast is still used as a model for, you know, some amount of drug development and stuff like that in biology.
And so so much of the genome is just going towards you have a cell at all.
It can recycle waste.
It can get energy.
It can replicate and then then you see what we have in common with a mouse.
And so we do know at some level that, you know, the difference is us in a chimpanzee or something.
And that includes the social instincts and the more advanced, you know, differences in cortex and so on.
It's a it's a tiny number of genes that go into these additional amount of making the eight layer transformer instead of the six layer transformer or.
Tweaking that reward function, this would help explain why the hominid brain exploded in size so fast, which is presumably like tell me this is correct.
But under the story, we social learning or some other thing increased the ability to learn from the environment, like increased our sample efficiency.
Right. Instead of having to go and kill the boar yourself and figure out like how to do that.
You can just be like the elder told me this.
You make a spear and then now it increases the incentive to have a bigger cortex, which can like learn these things.
Yes. And that can be done with a relatively few genes because it's really it's really replicating what the mouse already has is making more of it.
And it's maybe not exactly the same.
And there may be tweaks, but it's like from a perspective, you don't have to reinvent.
Right. All this stuff.
Right. So then how far back in the history of the evolution of the brain does the cortex go back?
It is the idea that like the cortex is always out.
I have figured out this omnidirectional inference thing that that's been a problem for a long time.
And then the big unlock with primates is this we got the reward function which increased the returns to having omnidirectional inference.
Or is this good question?
Is the cortex is the omnidirectional inference also something that took a while to unlock?
I'm not sure that there's agreement about that.
I think there might be specific questions about language, you know, are there tweaks to be, you know, whether that's to auditory and memory, some combination auditory memory regions.
There may also be like macro wiring.
Right. Of like.
You need to wire auditory regions into memory regions or something like that and into some of these social instincts to get.
I see.
Language, for example, to happen.
So there might be, but that might be also a small number of gene changes.
Yeah.
To be able to say, oh, I just need from my temporal lobe over here going over to the auditory cortex, something.
Right. And there is some evidence for the, you know, the Broca's area, Wernicke's area.
They're connected with these hippocampus and so on.
And so prefrontal cortex.
So there's like some small number of genes maybe for like enabling humans to really properly.
Do language that could be a big one.
But yeah, I mean, I think that.
Is it that something changed about the cortex and it became possible to do these things?
Whereas there was that potential was already there, but there wasn't the incentive to expand that capability and then use it, wired it to these social instincts and use it more.
I mean, I would lean somewhat toward the latter.
I mean, I think a mouse.
I has a lot of similarity.
In terms of cortex as a human, right?
Although there's that, uh, the Susanna Hercula, who's all work, uh, the, um, the, the number of neurons scales better with weight with primate brains than it does with rodent brains, right?
So does that suggest that there actually was some improvement in the scalability of the cortex?
Maybe, maybe I'm not, I'm not super deep on this.
There may, there may have been, yeah, changes in architecture changes in the folding changes in.
Neuron properties and stuff that, that somehow slightly tweak this, but there's still a scaling, right.
Either way.
Right.
Um, and so I, I was not saying there aren't something special about humans in the architecture of the learning subsystem at all.
Um, but yeah, I mean, it's, I think it's pretty widely thought that this is expanded, but then the question is, okay, well, how does that, how does that fit in also with the steering subsystem changes and the instincts that make use of this and allow you to bootstrap using this effectively?
But I mean, just to say a few other things.
I mean, so even the fly brain has some amount of,
for example, even, even very far back. Um, I mean, I think you've read this, this great book,
the brief history of intelligence, right? I think this is a really good book. Lots of AI
researchers think this is a really good book. It seems like, um, yeah, you have some amount of
learning going back, um, all the way, uh, to anything that has a brain basically. Um, you have
something kind of like primitive reinforcement learning, at least, um, going back at least to
like vertebrates, like imagine like a zebra fish, just like, uh, um, and there's kind of these other
branches, birds may be kind of reinvented something kind of cortex-like, but it doesn't
have the six layers. Um, but they have something a little bit cortex-like. Um, so that, that's
some of those things, um, after reptiles in some sense, birds and mammals both kind of made us up
somewhat cortex-like, but differently organized thing. But even a fly brain has like associative
learning centers that, um, actually do things that maybe look a little bit like this,
like thought assessor concept from, from Beren's, where there's like a specific dopamine signal to
train specific subgroups of neurons in the fly mushroom body to associate different sensory
information with, am I going to get food now or am I going to get hurt now? Yeah.
Brief tangent. I remember reading in, uh, one blog post that Beren Millage wrote that the
parts of the cortex, which are associated with audio and vision have,
scale disproportionately between other primates and humans, whereas the parts associated say with
odor have not. And I remember him saying something like, this is explained by that kind of data
having worse scaling law properties. But I think the, and maybe he meant this, but another
interpretation of actually what's happening there is that these social reward functions that are
built into the steering subsystem needed to make use.
More of being able to see your elders and see what the visual cues are and hear what they're
saying. Yeah. And in order to make a sense of these cues, which guide learning you needed to
activate these, um, activate the vision and audio more than, I mean, there's all this stuff. I feel
like it's come up in, in your, your shows before actually, but like, even like the design of the
human eye where you have like the pupil and the white and everything, like we are designed to be
able to establish relationships based on joint eye contact. And maybe this came up in the sudden,
episode. I can't remember, but, um, yeah, we're, we, we have to bootstrap to the point where we can
detect eye contact and where we can communicate by language. Right. And that's like what the first
couple of years of life are trying to do. Yeah. Okay. Uh, I want to ask you about RL.
So, um, currently the way these elements are trained, you know, they are, um, if, if they
solve the unit test or solve a math problem, that whole trajectory, every token in that trajectory
is up weighted and what's going on with humans. Is there, are there different types of model
based versus model free that are happening in different parts of the brain? Yeah. I mean,
this is, this is another one of these things. I mean, again, all my answers to these questions,
any specific thing I say is all just kind of like directionally, this is, we can kind of explore
around this. I find this interesting. Maybe I feel like the literature points in these directions
in some very broad way. What I actually want to do is like go and map the entire mouse brain and
like figure this out comprehensively and like make neuroscience a ground truth science. So I don't
know basically. Um, but, uh, but yeah, I mean there, so first of all, I mean, I think with Ilya,
on the podcast, I mean, he was like, it's weird that you don't use value functions, right? You
use like the most dumbest form of RL based. And of course there are, these people are incredibly
smart and they're optimizing for how to do it on GPUs. And it's really incredible what they're
achieving, but like conceptually it's a really dumb form of RL even compared to like what was
being done in like 10 years ago. Right. Like even, uh, you know, the Atari game playing stuff,
right. Was using like Q learning, which is basically like, it's a kind of temporal
difference learning. Right. And the temporal difference learning basically means you have
some kind of a value function of like what action I choose now doesn't just tell me literally what
happens immediately after this. It tells me like, what is the long run consequence of that for my
expected, you know, total reward or something like that. Um, and so you have value functions,
like the fact that we don't have like value functions at all is like in the LLMs is like,
it's crazy. I mean, I, I think, I think because Ilya said it, I, I can say it, I know, you know,
one, one, one hundredth of what he does about AI, but like,
it's kind of crazy that this is working. Yeah. Um, but, uh, yeah, I mean, in terms of the brain,
um, well, so I think there are some parts of the brain that are thought to do something that's very
much like model free RL. That's sort of parts of the basal ganglia, um, sort of striatum and basal
ganglia. They have like a, a certain finite, like it is thought that they have a certain like
finite, relatively small action space. And the type of action space that they have is like,
the types of actions they could take, first of all, might be like tell the spinal cord or tell
the brain stem and spinal cord to do this motor action. Yes, no. Um, or it might be more
complicated, cognitive type actions, like tell the thalamus to allow this part of the cortex to
talk to this other part or release the memory that's in the hippocampus and start a new one
or something like that. There's, but there's some finite set of actions that kind of come out of the
basal ganglia and that it's just a very simple RL. So there are probably parts of other brains in our
brain that are just like doing very simple naive type RL algorithms. Um, layer one thing on top of
that is that some of the major work in neuroscience, like Peter Diane's work and a bunch of, bunch of
work that is part of why I think DeepMind did the temporal difference learning stuff in the first
place, um, is they were very interested in neuroscience. Um, and there's a lot of neuroscience
evidence that the dopamine is giving this reward prediction error signal, um, rather than just
reward, yes, no, you know, a gazillion time steps in the future. Um, and there's a lot of neuroscience
evidence that the dopamine is giving this reward prediction error signal, um, rather than just reward,
in the future, it's a prediction error. Um, and that's consistent with like learning these value
functions. Um, so there's that. And then there's maybe like higher order stuff. So we have these
cortex making this world model. Well, one of the things that cortex world model can contain
is a model of when you do and don't get rewards, right? Again, it's predicting what the steering
subsystem will do. It could be predicting what the basal ganglia will do. And so you have a model
in your cortex that has more generalization and more concepts and all this stuff that says, okay,
these types of plans, these types of actions will lead in these types of circumstances to reward. So
I have a model of my reward. Um, some people also think that you can go the other way. And so this
is part of the inference picture. There's this idea of RL as inference. Um, you could say, well,
conditional on my having a high reward, sample a plan that I would have had to get there.
That's inference of the plan part from the reward part. I'm clamping the reward as high and inferring
the plan sampling from plans that could lead to that. Um, and so if you have this very general
cortical thing, it can just do, if you have this like general, very general model based system and
the model among other things includes plans and rewards, then you just get it for free basically.
So like in neural network parlance, there's a value head associated to the,
the, the omnidirectional inference that's happening. Yeah. Or there's a value input. Um,
yeah. Oh, okay. Yeah. And it, and it can predict one of the, one of the, one of the almost sensory
variables that can predict is, is what rewards is going to get. Yeah. But, but speaking of this
thing about amortizing things, um, yeah, obviously value is like amortized rollouts
of looking up reward. Yeah. Something like that. Yeah. Yeah. It's like a statistical
average or prediction of it. Yeah. Right. Tangential thought, uh, you know, Joe Henrik and
others have this idea that the way human societies have learned to do things is just like, how do you
figure out the, you know, this kind of being, which actually just almost always poisons you
is edible. If you do this 10 step, incredibly complicated process, any one of which, if you
fail at the bean will be poisonous. How do you figure out how to hunt the seal in this particular
way with this like particular weapon at this particular time of the year, et cetera. Um,
there's no way, but,
uh, it just like trying shit over generations. And it strikes me that this is actually very much
like model free RL happening at like a civilizational level. Um, no, not exactly.
I mean, evolution is the simplest algorithm in some sense. Right. And if we believe that all
of this can come from evolution, like the outer loop can be like extremely not foresighted and
yeah. Right. Um, that, that, that's interesting. Just like, uh, hierarchies of evolution model
for a culture, uh, evolution model. So what does that tell you? Maybe the simple algorithms can
just get you anything if you do it.
Right. Right. Yeah. Yeah. I don't know. So, but yeah, so you, you have like maybe this
evolution model for a basal ganglia model free cortex model based culture, uh, model free
potentially. Um, I mean, there's like, you pay attention to your elders or whatever. So there's
maybe this like group selection or whatever, right. Of these things is like more model free.
Yeah. But now I think culture, well, it stores some of the model. Yeah. Right. So let's
say you want to train an agent to help you with something like processing loan applications,
training an agent to do this requires more than just giving the model access to the right tools,
things like browsers and PDF readers and risk models. There's this level of task and knowledge
that you can only get by actually working in an industry. For example, certain loan applications
will pass every single automated check despite being super risky. Every single individual part of the
application might look safe, but experienced underwriters know to compare across documents to find subtle
patterns that signal risk.
Libelbox has experts like this in whatever domain you're focused
And they will set up highly realistic training environments that include whatever subtle nuances and watchouts you need to look out for.
Beyond just building the environment itself, Labelbox provides all the scaffolding you need to capture training data for your agent.
They give you the tools to grade agent performance and capture the video of each session and to reset the entire environment to a clean state between every episode.
So whatever domain you're working in, Labelbox can help you train reliable real-world agents.
Learn more at labelbox.com slash thwarkash.
Stepping back, is it a disadvantage or an advantage for humans that we get to use biological hardware in comparison to computers as they exist now?
So what I mean by this question is like if there's the algorithm, would the algorithm just qualitatively perform much worse or much better if inscribed in the hardware of today?
And the reason to think.
It might like, here's what I mean.
Like, you know, obviously the brain has had to make a bunch of trade-offs which are not relevant to computing hardware.
It has to be much more energetically efficient.
Maybe as a result, it has to learn a run on slower speeds so that there can be a smaller voltage gap.
And so the brain runs at 200 Hertz and has to like run on 20 Watts.
On the other hand, you know, with like robotics, we've clearly experienced that fingers are way more nimble than we can make motors so far.
And so maybe there's something in the brain that is the equivalent of like cognitive dexterity.
Which is like maybe due to the fact that we can do unstructured sparsity.
We can co-locate the memory in the compute.
Yes.
Where does this all that are you like, fuck, we would be so much smarter if we didn't have to deal with these brains or you're like, oh, I mean, I think in the end we will get the best of both worlds somehow.
Right.
I think I think an obvious downside of the brain is it cannot be copied.
You don't have, you know, external read write access to every neuron and synapse.
Whereas you do.
I can just edit something in the weight matrix, you know, in Python or whatever, you know, and load that up.
And copy that in principle.
Right.
So the fact that it can't be copied and kind of random accessed is like very annoying.
But otherwise, maybe these are like has a lot of advantages.
So it also tells you that you want to like somehow do the co-design of the algorithm.
And it maybe even doesn't change it that much from all of what we discussed.
But you want to somehow do this co-design.
So, yeah.
How do you do it with really slow, low voltage switches?
That's going to be really important for the energy.
Consumption, the co-locating memory and compute.
So, like, I think that probably just like hardware companies will try to co-locate memory and compute.
They will try to use lower voltages, allow some stochastic stuff.
There are some people that think that this like all this probabilistic stuff that we were talking about, oh, oh, it's actually energy based models and so on is doing a lot.
It is doing lots of sampling.
It's not just amortizing everything that the neurons are also very natural for that because they're naturally stochastic.
And so you don't have to.
You don't have to do a random number generator and a bunch of Python code basically to generate a sample.
The neuron just generates samples and it can tune what the different probabilities are.
And so and like learn, learn those tunings.
And so it could be that it's very co-designed with like some kind of inference method or something.
Yeah, it'd be hilarious.
I mean, the method of this interview is like, you know, all these people that folks make fun of on Twitter, you know, Jan LeCoultre, Jan LeCoultre and Beth Jaysos and whatever.
They're like, no, like, yeah.
Maybe I don't know.
That is actually that is actually one read of me.
You know, I haven't really worked on AI at all since LLMs, you know, took off.
So I'm just like out of the loop.
But I'm surprised and I think it's amazing how the scaling is working and everything.
But, yeah, I think Jan LeCoultre and Beth Jaysos are kind of onto something about the about the probabilistic models or at least possibly.
And in fact, that's what, you know, all the neuroscientists and all the AI people thought, like until 2021 or something.
Right.
So there's a bunch of cellular stuff.
Happening in the brain that is not just about neuron to neuron synaptic connections.
How much of that is functionally doing more work than the synapses themselves are doing versus it's just a bunch of collage that you have to do in order to make the synaptic thing work.
So the way you need to, you know, with a digital mind, you can nudge the synapse, sorry, the parameter extremely easily.
But with a.
Cell to modulate a synapse, according to the gradient signal, it just takes all of this crazy machinery.
So, like, is it actually doing more than it takes extremely little code to do?
So I don't know, but I'm not a believer in the like radical like, oh, actually, memory is not synapses mostly or like learning is mostly genetic changes or something like that.
I think it would just make a lot of sense.
I think you put it really well for it to be more like the second thing you said, like, let's say you want to do weight normalization across all the weights.
It's coming out of your neuron, right, or into your neuron.
Well, you probably have to somehow tell the nucleus about this of the cell and then have that kind of send everything back out to the synapses or something, right?
And so there's going to be a lot of cellular changes, right?
Or let's say that, you know, you just had a lot of plasticity and like you're part of this memory and now that's got consolidated into the cortex or whatever.
And now we want to reuse you as like a new one that can learn again.
It's going to be a ton of cellular changes.
So there's going to be tons of stuff happening.
But algorithmically, it's not really adding something beyond these algorithms, right?
It's just implementing something that in a digital computer is very easy for us to go and just find the weights and change them.
And it is a cell.
It just literally has to do all this with molecular machines itself without any central controller, right?
It's kind of incredible.
There are some things that cells do, I think, that seem like more convincing.
So in the cerebellum, so one of the things the cerebellum has to do is like predict over time, like predict what is the time.
You know, let's say that, you know, I see a flash and then, you know, some number of milliseconds later, I'm going to get like a puff of air in my eyelid or something, right?
The cerebellum can be very good at predicting what's the timing between the flash and the air puff so that now your eye will just like close automatically.
Like the cerebellum is like involved in that type of reflex, like learned reflex.
And there are some cells in the cerebellum where it seems like the cell body is playing a role.
In storing that time constant, changing that time constant of delay versus that all being somehow done with like, I'm going to make a longer ring of synapses to make that delay longer.
It's like, no, the cell body will just like store that time delay for you.
So there are some examples, but I'm not a believer like out of the box and like essentially this theory that like what's happening is changes and connections between neurons.
Yeah.
And that's like the main algorithmic thing.
Like I think that's a very good reason to still believe that it's that rather than some like crazy cellular stuff.
Going back to this whole perspective of like our intelligence is not just this omnidirectional inference thing that builds a world model, but really this system that teaches us what to pay attention to, what are the important salient factors to learn from, etc.
I want to see if there's some intuition we can drive.
From this, but what different kinds of intelligence it might be like.
So it seems like AGI or superhuman intelligence should still have this like ability to learn a world model that's quite general.
But then it might be incentivized to pay attention to different things that are relevant for what, you know, the modern post-singularity environment.
How different should we expect different intelligence systems?
Yeah, I mean, I think one way of this question is like, is it actually possible to like make the paperclip maximizer or whatever, right?
If you make, if you try to make the paperclip maximizer, does that end up like just not being smart or something like that?
Because it was just the only reward function it had was like make paperclips.
Interesting. Yeah, yeah.
If I channel Steve Burns more, I mean, I think he's very concerned that the sort of minimum viable things in the steering subsystem that you need to get something smart is way less than the minimum viable set of things you need for it to have human like social instincts and ethics.
And stuff like that.
So a lot of what you want to know about the steering subsystem is actually the specifics of how you do alignment, essentially, or what human behavior and social instincts is versus just what you need for capabilities.
And we talked about it in a slightly different way because we were sort of saying, well, in order for humans to like learn socially, they need to make eye contact and learn from others.
But we already know from LLMs, right, that depending on your starting point, you can learn language without that stuff, right?
Yeah. And so I think that it probably is possible to make like super powerful, you know, model based RL, you know, optimizing systems and stuff like that, that don't have most of what we have in the human brain reward functions, and as a consequence, might want to maximize paperclips. And that's a concern.
Right. But you're pointing out that in order to make a competent paperclip maximizer, the kind of thing that can build the spaceships and learn the physics and whatever, it needs to have some drives, which allows it to do that.
algorithmic, conceptual. vocabulary to think about what the brain is doing and what i mean by this is you know
there was one big contribution to ai from neuroscience which was the side you have the
neuron which like william and you know 1950s just like this original contribution but then it seems
like a lot of what we've learned afterwards about what the high-level algorithm the brain is
implementing from the backprop to if there's something analogous backprop happening in the
brain to oh is v1 doing something like cnn's right to td learning and bellman equations
actor critic whatever yeah seems inspired by what is like we come up with some idea like maybe we
can make ai neural networks work this way yeah and then we notice that's something in the brain
also works that way yes so why not think there's more things like this where there may be yeah i
think the reason that i'm not i think that we might be onto something is that like the ais we're
making based on these ideas are working
support
there's also a bunch of like just empirical stuff like like convolutional neural nets and
variants of convolutional neural nets um i'm not for sure what the absolute latest latest
but compared to other like models in computational neuroscience of like what the visual system is
doing are just like more predictive right so you can just like score um even like pre-trained on
like cat pictures and stuff cnn's what is the representational similarity that they have on
some arbitrary other image versus you know compared to the
brain and then you can just like score um even like pre-trained on like cat pictures and stuff
brain activations um measured in different ways um jim de carlo's lab has the like brain score
and like the ai model is actually like there there seems to be some relevance there in terms of like
even like neurosciences don't necessarily have something better than that so yes i mean that's
just kind of recapitulating what you're saying is that like the best computational neuroscience
theories we have seem to have been like invented right largely as a result of ai models um and
like find things that work and so find back prop works and then say yeah i'm not sure what the
can we approximate back prop with cortical circuits or something and there's there's kind of been
things like that now some people totally disagree with this right um so like yuri buzaki is a
neuroscientist who has a book called the brain from inside out where he basically says like all
our psychology concepts like ai concepts all the stuff is just like made up stuff we actually have
to do is like figure out what is the actual set of primitives that like the brain actually uses
and our vocabulary is not going to be adequate to that we have to start with the brain and make new
vocabulary rather than saying you know we have to start with the brain and make new vocabulary
back prop and then try to apply that to the brain or something like that and you know he studies a
lot of like oscillations and stuff in the brain as opposed to individual neurons and what they do and
you know i don't know i i think that there's a case to be made for that and from a kind of
research program design perspective i think there's like one thing we should be trying to do
is just like simulate a tiny worm or a tiny zebrafish um like from almost like as biophysical
or like as as bottom up as possible like get connecto molecules
activity and like just study it as a physical dynamical system and like look what it does
um but i don't know i mean just when i like it just feels like the ai is really good fodder for
computational neuroscience like those might actually be pretty good models we should look
at that um so i i'm not a person who thinks that i i think i i both think that there should be a
part of the research portfolio that is like totally bottom up and not trying to apply our vocabulary
that we learn from the brain and we're not trying to apply our vocabulary that we learn from the
ai onto these systems and that there should be another big part of this that's kind of trying
to reverse engineer it using that vocabulary or variants of that vocabulary um and that we should
just be pursuing both and and my guess is that the reverse engineering one is actually gonna
like kind of work-ish or something like we do see things like td learning which you know
sutton also invented right separately right that must be a crazy feeling to just like
yeah it's great this is like equation i wrote down is like
in the brain it seems like the dopamine is like doing some of that yeah so let me ask you about
this uh you know you guys are finding different groups that are trying to yeah figure out what's
up in the brain if we had a perfect representation how are you defined out of the brain why think it
would actually let us figure out the answer to these questions we have neural networks which are
way more interpretable not just because we understand what's in the weight matrices but
because there are weight matrices there are these boxes with not just the weight matrices but the
numbers in them right and even then we can tell very basic things we can kind of see circuits for
yeah uh very basic pattern matching of following one token with another right i i feel like we
have we don't really have an explanation of why lms are intelligent just because they're
yeah well i would somewhat i would somewhat dispute i think we have some architectural we
have some description of what the llm is like fundamentally doing and what that's doing is that
i have an architecture and i have a learning rule and i have hyper parameters and i have initialization
and i have training data but those are things we learned from yeah because we built them not
because we interpreted them from seeing the way we built them which is the the not the thing to
connect home is like seeing the way what i think we should do is we should describe the brain more
in that language of things like architectures learning rules initializations rather than
trying to find the golden gate bridge circuit and saying exactly how does this neuron actually
you know that's going to be some incredibly complicated learned pattern um yeah cod
recording and tim lilly crap have this paper from a while ago maybe five years ago called
what does it mean to understand a neural network or what would it mean to understand a neural network
um and what they say is yeah basically that like you can imagine you train a neural network to like
compute the digits of pi or something well like some crazy you know it's like it's like this crazy
pattern and you also train that thing to like predict the most complicated thing you find to
predict stock prices basically predict the really complex systems right computation you know
computationally complete systems i could predict i could train a neural network to
do cellular automata or whatever crazy thing and it's like we're never going to be able to
fully capture that with interpretability i think it's just going to just be doing really complicated
computations internally but we can still say that the way it got that way is that it had an
architecture and we gave it this training data and it had this loss function and so i want to
describe the brain in the same way and i think that this framework that i've been kind of laying
out is like we need to understand the cortex and how it embodies a learning algorithm i don't need
to understand how it computes golden gate but if you if you can see all the neurons if you have
the connectome why does that teach you what the learning algorithm is well i guess the learning
algorithm is a little bit more complex than the neural network but i think it's a little bit more
complex than the neural network but i think it's a little bit more complex than the neural network
so on the totally bottom up we have to simulate everything portfolio it kind of just doesn't you
have to just like see what are the you have to make a simulation of the zebrafish brain or
something and then you like see what are the like emergent dynamics in this and you come up with new
names and new concepts and all that that's like that's like the most extreme bottom-up neuroscience
view um but even there the connectome is like really important for doing that bottom biophysical
or bottom-up simulation um but on the other hand you have to simulate the brain and you have to
and you can say well what if we can actually apply some ideas from ai we basically need to figure out
is it an energy-based model or is it you know an amortized you know vae type model you know is it
doing back prop or is it doing something else are the learning rules local global i mean if we have
some repertoire of possible ideas about this can we just think of the connectome as a huge number
of additional constraints that will help to refine to ultimately have a consistent picture of that
i think about this for the the steering subsystem stuff too just very basic things about it how many
different types of dopamine signal or of steering subsystem signal or thought assessor or so on
how many different types of what broad categories are there like even this very basic information
that there's more cell types in the hypothalamus than there are in the cortex like that's new
information right about how much structure is built there versus somewhere else yeah how many
different dopamine neurons are there is the wiring between prefrontal and auditory the same as the
wiring between prefrontal and visual you know it's like i don't know i don't know i don't know i don't
know the most basic things we don't know and the problem is learning even the most basic things by
a series of bespoke experiments takes an incredibly long time whereas just learning all that at once
by getting a connectome is just like way more efficient what is the timeline on this because
presumably the idea of this is to um well first inform the development of ai you want to be able
to figure out how we do the um how we get ais to want to care about what other people yeah think of
internal thought pattern but interp researchers are making progress on this question just by
inspecting you know normal neural networks there must be some future there may you can do interpret
on llms that exist yeah you can't do interp on a hypothetical model-based reinforcement algorithm
like the brain that we will eventually converge to when we do agi yeah but um yeah you know what
what timelines on ai do you need right for this research to be practical yeah relevant i think
it's fair to say it's not super important but i think it's fair to say it's not super important
but i think it's super practical and relevant if you're in like ai 2077 scenario yeah you know and
so like what science i'm doing now is not going to affect the science of like 10 years from now
because what's going to affect the science of 10 years from now is the outcome of this like ai 2027
scenario right it kind of doesn't matter that much probably if i have the connectome maybe
it slightly tweaks certain things but um but i think there there's a lot of
reasons to think maybe that we will get a lot out of this paradigm but then
the real thing the thing that is like the the trend the the like single event that is like
transformative for the entire future or something type event is still like you know more than five
years away or something sorry is that because uh like we haven't captured omnidirectional inference
we haven't figured out the right ways to get a mind to pay attention to things in a way that
i mean i would take the entirety of your like collective podcast with everyone as like showing
like a mind to pay attention to things in a way that makes it i would take the entirety of your
like the distribution of these things, right?
I don't know, right?
But I mean, what was Karpathy's timeline, right?
You know, what's Demis's timeline, right?
So not everybody has a three-year timeline.
And so I think if you-
But there's different reasons,
and I'm curious which one's yours.
What are mine?
I don't know.
I'm just watching your podcast.
I'm trying to understand the distribution.
I don't have a super strong claim that LLMs can't do it.
But is it across like the data efficiency?
Or is it the-
I think part of it is just,
it is weirdly different than all this brain stuff.
Yeah, yeah, yeah.
And so intuitively,
it's just weirdly different than all this brain stuff.
And I'm kind of waiting for like the thing
that starts to look more like brain.
Like I think if AlphaZero and model-based RL
and all of these other things
that were being worked on 10 years ago
had been giving us the GPT-5 type capabilities,
then I would be like, oh, wow,
we're both in the right paradigm
and seeing the results a priori.
So my model, my prior and my data are agreeing, right?
And now it's like, I don't know what exactly my data is.
It looks pretty good, but my prior is sort of weird.
So yeah, so I don't have a super strong opinion on it.
But I think there's a possibility
that essentially all other scientific research
that is being done is like not,
is somehow obviated,
but I don't put a huge amount of probability on that.
I think my timelines might be more in the like,
yeah, 10 year-ish range.
And if that's the case, I mean, I think there,
yeah, there is probably a different subpoena world
where we have connectomes on hard drives
and we have understanding
of steering subsystem architecture.
We've compared the, you know,
even the most basic properties
of what are the reward functions,
cost function architecture, et cetera,
of, you know, mouse,
versus a shrew versus a small primate, et cetera.
Is this practical in 10 years?
I think it has to be a really big push.
Like how much funding,
how does it compare to where we are now?
It's like billion, low billions dollar scale funding
in a very concerted way, I would say.
And how much is on it now?
Well, so if I just talk about
some of the specific things we have going,
so with connectomics,
so E11 bio is kind of like our main thing on connectomics.
It's basically trying to make the technology
of connectomic brain mapping
several orders of magnitude cheaper.
So the Wellcome Trust put out a report a year or two ago
that basically said to get one mouse brain,
the first mouse brain connectome
would be like several billion dollars,
you know, billions of dollars project.
Well, E11 technology
and sort of the suite of efforts in the field also
are trying to get like a single mouse connectome
down to like low tens of millions.
Okay, so that's a mammal brain, right?
Now a human brain is about a thousand times bigger.
So if a mouse brain,
you can get to 10 million or 20 million, 30 million
with technology, you know,
if you just naively scale that,
okay, human brain is now still billions of dollars
to just do one human brain.
Can you go beyond that?
So can you get a human brain for like less than a billion?
But I'm not sure you need every neuron in the human brain.
I think we want to, for example,
do an entire mouse brain and a human steering subsystem
and the entire brains of,
several different mammals with different social instincts.
And so I think that that with a bunch of technology push
and a bunch of concerted effort can be done in the,
real significant progress if it's focused effort
can be done in the kind of hundreds of millions
to low billions scale.
What is the definition of a connectome?
Is it, presumably it's not a bottom of biophysics model.
So is it just that if it can estimate
the input output of a brain,
but like what is the level of abstraction?
So you can give different definitions.
And one of the things that's cool about,
so the kind of standard approach to connectomics
uses the electron microscope
and very, very thin slices of brain tissue.
And it's basically labeling the cell membranes
are going to show up, scatter electrons a lot
and everything else is going to scatter electrons less.
But you don't see a lot of details of the molecules,
which types of synapses, different synapses
of different molecular combinations and properties.
E11 and some other research in the field
has switched to an optical microscope paradigm.
With optical, the photons don't damage the tissue.
So you can kind of wash it and look
at fragile, gentle molecules.
So with E11 approach,
you can get a quote unquote,
molecularly annotated connectome.
So that's not just who is connected to who
by some kind of synapse,
but what are the molecules that are present at the synapse?
What type of cell is that?
So molecularly annotated connectome,
that's not exactly the same as having synaptic weights.
That's not exactly the same
as being able to simulate the neurons
and say, what's the functional consequence
of having these molecules in connection?
But you can also do some amount of activity mapping
and try to correlate structure to function.
Yeah, so.
Interesting.
Train an ML model to basically predict the activity
from the connectome.
What are the lessons to be taken away
from the human genome project?
Because one way you could look at it
is that it was actually a mistake
and you shouldn't have spent whatever billions of dollars
getting one genome mapped.
Rather, you should have just invested in technologies
which have now allowed us to map genomes
for hundreds of dollars.
Yeah, well, yeah.
So George Church was my PhD advisor.
Exactly, yeah.
And basically, yeah, I mean,
what he's pointed out is that, yeah,
it was three billion or something,
roughly $1 per base pair for the first genome.
And then the National Human Genome Research Institute
basically structured the funding process right,
and they got a bunch of companies competing
to lower the cost.
And then the cost dropped like a million-fold in 10 years
because they changed the paradigm
from kind of macroscopic kind of chemical techniques
to these individual DNA molecules
to make a little cluster of DNA molecules on a microscope.
And you would see just a few DNA molecules at a time
on each pixel of the camera
would basically give you a different,
in parallel, looking at different fragments of DNA.
So you parallelize the thing by like millions-fold,
and that's what reduced the cost by millions-fold.
And yeah, so I mean, essentially,
with switching from electron microscopy
to optical chronotomics,
potentially even future types of chronotomics technology,
we think there should be similar patterns.
That's why E11,
the focus research organization,
started with technology development
rather than starting with saying
we're going to do a human brain or something.
Let's just brute force it.
We said, let's get the cost down with new technology.
But then you still, it's still a big thing.
Even with new next generation technology,
you still need to spend hundreds of millions
on data collection.
Is this going to be funded with philanthropy,
by governments, by investors?
This is very TBD and very much evolving
in some sense as we speak.
We're hearing some rumors going around
of chronotomics-related companies potentially forming.
But so far, E11 has been philanthropy.
The National Science Foundation just put out this call
for tech labs, which is basically,
somewhat of it is kind of FRO-inspired or related.
I think you could have a tech lab
for actually going and mapping the mouse brain with this.
And that would be sort of philanthropy plus government,
still in a nonprofit kind of open source framework.
But can companies accelerate that?
Can you credibly link connectomics to AI
in the context of a company and get investment for that?
It's like possible.
- I mean, the cost of training these AIs is increasing so much.
If you could like tell some story,
like not only are we going to figure out some safety thing,
but in fact, we will, once we do that,
we'll also be able to tell you how AI works.
- I mean, all these questions.
- You should like go to these AI labs
and just be like, give me one 100th
of your projected budget in 2030.
- I sort of tried a little bit, like thinking about it.
Like seven or eight years ago
and there was not a lot of interest
and maybe now there would be.
But yeah, I mean, I think all the things
that we've been talking about,
like I think it's really fun to talk about,
but it's ultimately speculation.
What is the actual reason for the energy efficiency
of the brain, for example, right?
Is it doing real inference or amortized inference
or something else?
Like this is all going to be,
it's all answerable by neuroscience.
It's going to be hard, but it's actually answerable.
And so if you can only do that for low billions of dollars,
there's something to really comprehensively solve that.
It seems to me in the grand scheme of trillions of dollars
of GPUs and stuff, it actually makes sense
to do that investment, but.
- And I think investors also just,
there's been many labs that have been launched
in the last year where they're raising
on the valuation of billions.
For things which are quite credible,
but are not like RER, next quarter is going to be whatever.
It's like, we're going to discover materials
and dot, dot, dot, right?
- Yes, yes.
Moonshot startups are billion dollar, billionaire backstop.
I see as a kind of on a continuum with Froze.
Froze are a way of channeling philanthropic support
and ensuring that it's open source, public benefit,
various other things that may be properties of a given fro.
But yes, billionaire back startups,
if they can target the right science,
the exact right science,
I think there's a lot of ways to do moonshot neuroscience
companies that would never get you the connectome.
He was like, oh, we're going to upload the brain
or something, but never actually get the mouse connectome
or something, these fundamental things that you need to get.
To ground truth to science,
there are lots of ways to have a moonshot company
kind of go wrong and not do the actual science.
But there also may be ways to have companies
or big corporate labs get involved
and actually do it correctly, yeah.
- This brings to mind an idea that you had
in a lecture you gave five years ago about,
yeah, do you want to explain behavior cloning on-
- Right.
Yeah, I mean, actually this is funny
'cause I think that the first time I saw this idea,
it was, I think it actually might've been
in a blog post by Guern.
- Oh.
- There's always, there's always a Guern blog post.
And there are now academic research efforts
and some amount of emerging company type efforts
to try to do this.
So yeah, so normally like, let's say I'm training
an image classifier or something like that.
I show it pictures of cats and dogs or whatever,
and they have the label cat or dog,
and I have a neural network that's supposed to predict
the label cat or dog or something like that.
that is a limited amount
of information per label that you're putting in? It's just cat or dog. What if I also had
predict what is my neural activity pattern when I see a cat or when I see a dog and all the other
things? If you add that as like an auxiliary loss function or an auxiliary prediction task,
does that sculpt the network to know the information that humans know about cats and dogs
and to represent it in a way that's consistent with how the brain represents it and the kind of
representational kind of dimensions or geometry of how the brain represents things as opposed to
just having these labels? Does that let it generalize better? Does that let it have just
richer labeling? And of course, that sounds really challenging. It's very easy to generate
lots and lots of labeled cat pictures with scale AI or whatever can do this. It is harder to
generate lots and lots of brain activity patterns.
Does it correspond to things that you want to train the AI to do? But again, this is just a
technological limitation of neuroscience. If every iPhone was also a brain scanner, you would not
have this problem and you would be training AI with the brain signals. And it's just the order
in which technology is developed is that we got GPUs before we got portable brain scanners or
whatever, right? And that kind of thing. What is the ML analog? What would you be doing here?
Because when you distill models, you're still looking at the final layer of like the log props
across.
If you do distillation of one model into another, that is a certain thing. You're just trying to
copy one model into another. I think that we don't really have a perfect proposal to distill
the brain. I think to distill the brain, you need a much more complex brain interface. Maybe you
could also do that. You could make surrogate models. Andreas Tolias and people like that are
doing some amount of. Neural network surrogate models of brain activity data. Instead of having your visual cortex do the
computation, just have the surrogate models. You're basically distilling your visual cortex
into a neural network to some degree. That's the kind of distillation. This is doing something a
little different. This is basically just saying I'm adding an auxiliary. I think of it as
regularization or I think of it as adding an auxiliary loss function that's sort of smoothing
out the prediction task to also always be consistent with how the brain represents it.
What exactly are you predicting?
It might help you with anything.
Like adversarial examples, for example, right?
You're predicting the internal state of the brain?
Yes. In addition to predicting the label, the vector of labels like yes, cat, not dog. Yes,
not boat. One-shot vector or whatever of one hot vector of yes, it's cat, instead of these
gazillion other categories, let's say in this simple example. You're also predicting a vector,
which is like all these brain signal measurements.
Right. Interesting.
And so Guern, anyway, had this long ago blog post of like, oh, this is like an intermediate thing.
There's like, we talk about whole brain emulation. We talk about AGI. We talk about brain computer
interface. We should also be talking about this like brain augmented, brain data augmented
thing that's trained on all your behavior, but is also trained on like predicting some
of your neural patterns.
Right. And you're saying the learning system is already doing this for the steering system.
Yeah. And our learning system also has predict the steering subsystem as an auxiliary
task. Yeah. And that helps the steering subsystem. Now the steering subsystem can access that
predictor and build a cool reward function using it. Yes.
Okay. Separately you're on the board for, of lean, which is this, um, uh, formal, uh, uh, formal
math language, uh, uh, that people, mathematicians use to prove theorems and so forth. And obviously
there's a bunch of conversation right now about math, AI automating math. What's your take?
Yeah. Well, I think that there are parts of math that it seems like it's pretty well on track. Yeah.
To, to automate. Um, and that has to do with like, so, so first of all, so, so lean,
so lean had been developed for a number of years at Microsoft and other places is become one of
the convergent focused research organizations to kind of drive more engineering and focus onto it.
So lean is like this language, programming language, where if you, instead of expressing
your math proof on pen and paper, um, you express it in this programming language lean. And then at
the end, if you do that that way, um, it is a verifiable language so that you can basically
click verify and lean will tell you whether the conclusions of your proof actually follow
perfectly from your assumptions of your proof. Um, so it checks whether the proof is correct
automatically. Um, and just like by itself, this is useful for mathematicians collaborating and
stuff like that. Like if I'm some amateur mathematician, I want to add to a proof,
you know, Terry Tao is not going to like believe my results. Um, but if lean says
it's correct, it's just correct. So it makes it easy for like collaboration to happen. Um,
but it also makes it easy for correctness of proofs to be an RL signal in very much the RL VR,
you know, it's like a perfect math proofing is now formalized. Math proofing is a formal means
it's like expressed in something like lean and verifiable, uh, mechanically verifiable. Um,
that becomes a perfect RL VR, you know, task. Um,
yeah. And I think that that is going to just,
just keep working. It seems like is the couple billion dollar, at least one like billion dollar
valuation company harmonic based on this alpha proof is based on this. Um, a couple of other
emerging, really interesting companies. Um, I think that this problem of like RL VR in the crap
out of math proving is basically going to work. Uh, and we will be able to have things that search
for proofs. Um, and then we'll be able to have things that search for proofs. Um, and
find them, um, in the same way that we have alpha go or what have you that can search for, you know,
ways of playing the game of go and with that verifiable signal, uh, works. So does this like
solve math? Um, there is still the part that has to do with conjecturing new, interesting ideas.
There's still the kind of conceptual organization of math of what is interesting. How do you come up
with new theorem statements in the first place? Uh, or even like the very high level breakdown of what
strategies you use to do proofs. Um, I mean, I think this will shift the burden of that so that
humans don't have to do a lot of the mechanical parts of math, uh, validating lemmas and proofs
and checking if the statement of this in this paper is exactly the same as that paper and stuff
like that. It will just, that will just work. Uh, you know, if you really think you're, we're going
to get all these things we've been talking about real AGI, it would also be able to make conjectures.
And, you know, Benjio has like a paper as more like theoretical paper. There are probably a bunch
of other papers emerging about this. Like, is there like a loss function for like good explanations or
good conjectures? That's like a pretty profound question, right? Um, a math, a really interesting
math proof or statement might be one that kind of compresses lots of information about other,
you know, has lots of implications for lots of other theorems. Otherwise you would have to prove
those theorems using long, complex passive inference. Here, if you have this theorem,
this theorem is correct. You have short passive inference to all the other ones,
and it's a short, compact statement. So it's like a powerful explanation.
That explains all the rest of math. And like part of what math is doing is like making these compact
things that explain the other things. So they call it the morale complexity
of this statement or something. Yeah. Generating all the other
statements, given that, you know, this one or stuff like that, or if you add this,
how does it affect the complexity of the rest of the kind of network of proofs?
So can you like make a loss function that adds, oh, I want this proof to be a really
highly powerful proof. Um, I think some people are trying to work on that. So,
so maybe you can automate the creativity part. Um,
if you had true AGI, it would do everything a human can do. So it would also do the things
that the creative mathematicians do. But, um, but way barring that, I think just RLVRing the crap
out of proofs. Um, well, I think that's going to be just a really useful tool for mathematicians.
It's going to accelerate math a lot and change it a lot, but not necessarily immediately
change everything about it. Will we get, you know, mechanical proof of the
Riemann hypothesis or something like that, or things like that? Maybe, I don't know.
I don't know enough details of how hard these things are to search for. And I'm not sure anyone
can fully predict that just as we couldn't exactly predict when go would be solved or something like
that. Um, and I think it's going to have lots of really cool applied applications. So, um, one of
the things you want to do is you want to have provably stable, secure, unhackable, et cetera,
software. So you can write stuff in RLVRing the crap out of proofs. You can write stuff in RLVRing
the crap out of proofs. You can write math proofs about software and say this code, not only does it
pass these unit tests, but I can mathematically prove that there's no way to hack it in these
ways or no way to mess with the memory or this type of things that hackers use. Um, or it has
these properties. It can use the same lean and same proof to do formally verified software. I
think that's going to be a really powerful piece of cybersecurity. Um, that's relevant for all sorts
of other AI hacking the world. And that, yeah, if you can prove a remote hypothesis, you're also going to be able to,
to prove insanely complex things about very complex software. And then you'll be able to
ask the LLM synthesize me a software that is, uh, I can prove is correct. Right.
Why hasn't provable, um, programming language taken off as a result of LLMs? You would think
that this would-
I think it's starting to, yeah, I think it's starting to, I think that one, one challenge,
and we are actually in the middle of, I think we're in the middle of, I think we're in the middle of,
uh, the incubating of potential focused research organization on this is the specification
problem. So mathematicians are kind of know what interesting theorems they want to formalize.
Um, if I have like some code, let's say I have some code that like is used,
involved in running the power grid or something, and it has
some security properties well what is the formal spec of those properties like the power grid
engineers just made this thing but they don't necessarily know how to lift the formal spec
from that and it's not necessarily easy to come up with the spec that is the spec that you want
for your code people aren't used to coming up with formal specs and there's not a lot of tools for it
so you also have like this kind of user interface plus ai problem of like
what security specs should i be specifying is this the spec that i wanted so there's a spec
problem um and it's just been really complex and hard but but it's only just in the last
very short time that that uh the llms are able to generate uh you know verifiable proofs of
you know things that are useful to mathematicians um starting to be able to do some amount of that
for for software verification hardware verification but i think if you project
the trends over the next couple years it's possible that it just flips the tide that formal
methods basically this whole field of formal methods or formal verification provable software
um which is kind of this weird almost like backwater of more like theoretical part of
programming languages and stuff um very academically flavored often although there
was like this darpa program that made like a provably secure like quadcopter helicopter
and stuff like that so secure against like what is the property that is exactly brewed
um not for that particular project but just in general yeah so what what
Because obviously, things malfunction for all kinds of reasons.
You could say that what's going on in this part of the memory over here, which is supposed to be the part the user can access, can't in any way affect what's going on in the memory over here or something like that.
Or, yeah, things like that.
Yeah.
Got it.
Yeah.
So there's two questions.
One is, how useful is this?
Yeah.
And two is, how satisfying, as a mathematician, would it be?
And the fact that there's this application towards proving that software has certain properties or hardware has certain properties, if that works, that would obviously be very useful.
But from a pure, are we going to figure out mathematics?
Right.
Yeah.
Is there a sense that there's something about finding that one construction?
Is there a sense that there's something about finding that one construction can cross maps to another construction in a different domain or finding that, oh, this lemma is, if you reconfigure it, if you redefine this term, it still kind of satisfies what I meant by this term.
But a counter example that previously knocked it down no longer applies.
That kind of dialectical thing that happens in mathematics.
Will the software replace that?
Yeah.
How much of the value of this sort of pure mathematics just comes from actually just coming up with entire.
Like, entirely new ways of thinking about a problem.
Yeah.
Like, mapping it to a totally different representation.
And, yeah, do we have examples of.
I don't know.
I think of it as, I think of it maybe a little bit like the, when everybody had to write assembly code or something like that.
Just, like, the amount of fun, like, cool startups that got created was, like, a lot less or something, right?
And so it was just, like, less people could do it.
Progress was more grinding and slow and lonely and so on.
You had more false failures because you didn't get something about the assembly code right.
So then the essential thing of, like, was your concept right.
Harder to collaborate and stuff like that.
And so I think it will, like, be really good.
There is some worry that by not learning to do the mechanical parts of the proof that you fail to generate the intuitions that inform the more conceptual part, creative part, right?
Yeah, same with assembly.
Right.
And so at what point is that applying?
Is vibe coding, are people not learning computer science, right?
Or actually, are they, like, vibe coding?
And they're also.
So simultaneously looking at the LLM, it's, like, explaining them these abstract computer science concepts.
And it's all just, like, all happening faster.
Their feedback loop is faster.
And they're learning way more abstract computer science and algorithm stuff because they're vibe coding.
You know, I don't know.
It's not obvious.
That might be something like the user interface and the human infrastructure around it.
But I guess there's some worry that people don't learn the mechanics and therefore don't build, like, the grounded intuitions or something.
But my hunch is it's, like, super positive.
But I don't know, like, net how useful that will be or how much overall math, like, breakthroughs or, like, math breakthroughs even that we care about will happen.
I don't know.
I mean, one other thing that I think is cool is actually the accessibility question.
It's, like, okay, that sounds a little bit corny.
Okay, yeah, and more people can do math.
But who cares?
But I think there's actually lots of people that, like, could have interesting ideas, like maybe the quantum theory of gravity or something.
Like, yeah, one of us will come up with a quantum theory of gravity instead of, like, a card-carrying physicist.
In the same way that Steve Burns is, like, reading the neuroscience literature and he's, like, hasn't been in a neuroscience lab that much.
But he's, like, able to synthesize across the neuroscience literature and be like, oh, learning subsystems, steering subsystem.
Does this all make sense?
He's, you know, it's kind of like he's an outsider neuroscientist in some ways.
Can you have outsider, you know, string theorists or something because the math is just done for them by the computer?
And does that lead to more innovation in the string theory?
Right?
Maybe yes.
Interesting.
Okay, so if this approach works,
you're right that LLMs are not the final paradigm.
And suppose it takes at least 10 years to get to the final paradigm.
Yeah.
In that world, there's this fun sci-fi premise where you have, it turns out, today I had a tweet where he's, like, these models are, like, automated cleverness but not automated intelligence.
And you can quibble with the definitions there.
But, yeah, if you have automated cleverness and you have some way of filtering, which if you can. If you can, like, formalize and prove things that the LLMs are saying you could do. Yes.
Then you could have this situation where quantity has a quality all of its own.
Yes.
And so what are the domains of the world which could be put in this provable symbolic representation?
Yeah.
And furthermore, okay, so in the world where AGI is super far away, maybe it makes sense to, like, literally turn everything the LLMs ever do or almost everything they do into, like, super provable statements.
And so LLMs can actually. They can actually build on top of each other because everything they do is, like, super provable.
Yeah.
Maybe this is, like, just necessary because you have billions of intelligences running around, even if they are super intelligent.
The only way the future AGI civilization can collaborate with each other is if they can prove each step.
Yeah, yeah.
And they're just, like, brute force churning out, this is what the Jupiter brains are doing.
It's a universal language.
It's provable.
And it's also provable from, like, are you trying to exploit me or are you sending me some message that's actually trying to, like, sort of hack into my brain effectively?
Are you trying to socially influence me or are you actually just, like, sending me just the information that I need and no more, right, for this?
And, yeah, so Davidad, who's, like, this program director at ARIA now in the UK, I mean, he has this whole design of a kind of ARPA-style program of sort of safeguarded AI that very heavily leverages, like, provable safety properties.
And can you apply proofs to, like, can you have a world model, but that world model is actually not specified just in neuron activations, but it's specified in, you know, equations.
Those might be very complex equations, but if you can just get insanely good at just auto-proving these things with cleverness, auto-cleverness, can you have, you know, explicitly interpretable world models, you know, as opposed to neural net world models and, like, move back basically to symbolic methods just because you can just have insane amount of ability to prove things?
Yeah, I mean, that's an interesting vision.
I don't know how, you know, in the next 10 years, like, whether that will be the vision that plays out, but I think it's really interesting.
To think about, yeah, and even for math, I mean, I think Terry Tao is, like, doing some amount of stuff where it's, like, it's not about whether you can prove the individual theorems.
It's, like, let's prove all the theorems en masse, and then let's, like, study the properties of, like, the aggregate set of proved theorems, right?
Which are the ones that got proved and which are the ones that didn't?
Okay, well, that's, like, the landscape of all the theorems instead of one theorem at a time, right?
Speaking of symbolic representations, one question I was meaning to ask you is, how does the brain represent the world model?
Like, obviously, that's how the neurons work.
But I don't mean, sort of, extremely functionally.
I mean, sort of, conceptually, is it in something that's analogous to the hidden state of a neural network, or is it something that's closer to a symbolic language?
We don't know.
I mean, I think there's some amount of study of this.
I mean, there's these things like, you know, face patch neurons that represent certain parts of the face that geometrically combine in interesting ways.
That's sort of with geometry and vision.
Is that true for, like, other more abstract things?
There's, like, this idea of cognitive maps, like, a lot of the stuff.
A lot of the stuff that a rodent hippocampus has to learn is, like, place cells, and, like, where is the rodent going to go next, and is it going to get a reward there?
It's, like, very geometric, and, like, do we organize concepts with, like, an abstract version of a spatial map?
There's some questions of, can we do, like, true symbolic operations?
Like, can I have, like, a register in my brain that copies a variable to another register, regardless of what the content of that variable is?
That's, like, this variable binding problem.
Yeah.
And basically, I just don't.
I don't know if we have that, like, machinery or if it's, like, more, like, cost functions and architectures that, like, make some of that approximately emerge, but maybe it would also emerge in a neural net.
There's a bunch of interesting neuroscience research trying to study this, what the representations look like.
But what's your hunch?
Yeah.
My hunch is it's going to be a huge mess, and we should look at the architectures, the loss functions, and the learning rules, and we shouldn't really—I don't expect it to be pretty in there.
Yeah.
Which is that it's not a symbolic language type thing.
Yeah, probably.
Probably.
It's not that symbolic.
Yeah.
But other people think very differently, you know?
Yeah.
other random questions speaking of binding yeah what is up with feeling like there's an experience
that it's like both all the parts of your brain which are modeling very different things have
different drives feel like at least presumably feel like there's an experience happening right
now and also yeah that i don't know across time you feel like what is uh yeah i'm pretty much
at a loss on this one um i don't know i mean max hodak has been giving talks about this recently
he's another really hardcore neuroscience person um neurotechnology person um and the thing i
mentioned with dorso um is maybe also it sounds like it might have some touching on this question
but uh yeah i think this i have i don't think anybody has any idea it might even involve new
physics it's like
yeah uh another question which might not have an answer yet what um so continual learning
is that the product of something extremely fundamental the level of even the learning
algorithm where you could say look at least the way we do backproduct in neural networks
is that you freeze the way there's a training period and you freeze the weights um and so you
just need this active inference or some other learning rule uh in order
to do continual learning or do you think it's more a matter of architecture and how is memory
exactly stored and is it like what kind of associated memory you have basically yeah so
continual learning um i don't know i think that there's probably things that there's probably
some at the architectural level there's probably something interesting stuff that hippocampus is
doing um and people have long thought this um what kinds of sequences it's storing how
is it organizing representing that how is it replaying it back what is it replaying back
um how is it exactly how that memory consolidation works in sort of training the cortex using
replays or or memories from the hippocampus or something like that um there's probably some of
that stuff there might be multiple time scales of plasticity or sort of clever learning rules
um that can kind of i don't know can sort of simultaneously
kind of be storing sort of short-term information and also doing back prop with
it i mean neurons might be doing a couple things you know some fast weight plasticity and some
slower plasticity at the same time or synapses that have many states i mean i don't know i mean
i think that from a neuroscience perspective i'm not sure that i've seen something that's
super clear on what continual learning what causes it except maybe to say that this
this systems consolidation idea of sort of hippocampus consolidating the cortex like
some people think is a big piece of this and we don't still fully understand the details
yeah speaking of fast weights is there something in the brain
which is the equivalent of this distinction between parameters and activations that we
see in neural networks and specifically like in transformers we have this uh idea like some of
the activations are the key and value um vectors of previous tokens uh that you build up over time
and there's like the so-called the fast weights that you whenever you have a new token you you
query them against these um you query them as these activations but you also obviously can't
query them against all the other parameters in the network which are part of the actual built-in
weights is there some such distinction that's analogous i don't know i mean we definitely
have weights and activations whether you can use the activations in these clever ways um
different forms of like actual attention like attention in the brain um is that based on i'm
trying to pay attention i think there's several probably several different kinds of like actual
attention in the brain i want to pay attention to this area of visual cortex i want to pay attention
to this the content in other areas that is triggered by the content in this area right
attention that's just based on kind of reflexes and stuff like that so i don't know i mean i think
that there's not just the cortex there's also the thalamus the thalamus is also involved in kind of
somehow relaying or gating information so there's cortical cortical connections there's also some
amount of connection between cortical areas that goes through the thalamus is it possible that this
is doing some sort of matching or kind of uh uh uh constraint satisfaction or matching or matching
across you know keys and you know keys over here and you know values over there is it possible that
it can do stuff like that maybe i don't know this is all part of what's the architecture of this
cortical thalamic yeah system um i don't know i don't know how transformer like it is or if there's
anything analogous to like that attention be interesting to find out we're gonna give you
a billion dollars so we can uh you can come on the podcast again and tell me uh how exactly
yeah mostly i just do data collection it's like really really unbiased data collection so
all the other people can figure out these questions yeah maybe the final question to go
off on um is what was the most interesting thing you learned from the gap map and maybe you want
to explain what the gap map is so the gap map so in the process of incubating and coming up with
these focused research organizations these sort of non-profit startup like uh moonshots um that
we've been getting philanthropists and now government agencies to fund um we talk to a lot of scientists
and some of the scientists were just like here's the next thing my graduate student will do here's
what i find interesting exploring these really interesting hypothesis spaces like all the types
of things we've been talking about and some of them are like here's this gap um i need this piece
of infrastructure which like there's no combination of the grad students in my lab or me loosely
collaborating with other labs with traditional grants that could ever get me that i need to
have like an organized engineering team that like builds you know the the mini
miniature equivalent of the hubble space telescope and if i can build that hubble space telescope
then like i will unblock all the other researchers in my field or some like path of technological
progress in the way that the hubble space telescope made lifted the boats improved the life of every
astronomer but wasn't really an astronomy discovery in itself it was just like you had to put this
giant mirror in space with a ccd camera and like organize all the people and engineering and stuff
to do that um so some of the things we talked to scientists about look like that and so the gap map
is basically just like a list of a lot of those things and it's like we call it a gap map um
it's i think it's actually more like a fundamental
capabilities map like what are all these things like mini hubble space telescopes
um and then we kind of organize that into gaps for like helping people understand that or like
search that and what was the most surprising thing you found so i mean i think i think i've
talked about this before but i think it one thing is just like kind of like the overall size or
shape of it or something like that it's like it's like a few hundred fundamental capabilities
so if each of these was like a deep tech startup size project that's like only a few billion dollars
or something like you know each one of those was a series a that's only like not you know it's not
like a trillion dollars to solve these gaps it's like lower than that and so that's that's like one
maybe we assumed that and we also came to that's what we got it's not really comprehensive it's
really just a way of summarizing a lot of conversations we've had with scientists um
i do think that in the aggregate process like things like lean are actually like surprising
because i did start from sort of neuroscience and biology it was like very obvious that there's sort
of like these omics we need genomics we also need connectomics and you know we can engineer
e coli but we also need to engineer the other cells and like there's like somewhat obvious
parts of biological infrastructure i did not realize that like math proving infrastructure
like was a thing and so um and that was kind of like emergent from trying to do this so i'm looking
forward to seeing other other things where it's like not actually this like hard intellectual
problem to solve it um it's maybe the kind of slightly the equivalent of ai researchers just
needed gpus or something like that and
focus and and and really good pie torch code to like start doing this like what is the full
diversity of fields in which that exists um we've even now found
and which are the fields that do or don't need that so fields that have had gazillions of dollars
of investment do they still need some of those do they still have some of those gaps or is it only
more like neglected fields um we're even finding some interesting ones in actual astronomy actual
telescopes that have not been explored because maybe because of the kind of um
if you're getting above a critical mass size project then you have to have like a really
big project and that's a more bureaucratic process with the federal agencies yeah i guess i guess you
just kind of need scale in every single domain of science these days yeah i think you need scale in
many of the domains of science and that does not mean that the low scale work is not important
uh does not mean the kind of creativity serendipity etc um each student pursuing a totally different
direction or thesis that you see in universities is not like also really key but yeah i think we
need some amount of scalable infrastructure is missing in essentially every area of science
even math which is crazy because math mathematicians i thought just needed whiteboards right yeah right
but they actually need lean they actually need verifiable programming languages and stuff like
i didn't know that yeah um cool i don't know this is super fun that's coming on thank you so much
pleasure uh the easiest way now my adam marbleson.org website is currently down i guess but
you can find uh convergentresearch.org can can link to a lot of the stuff we've been doing yeah
and then you have a great blog longitudinal science yes longitudinal science yes on wordpress
yeah cool thank you so much pleasure yeah hey everybody i hope you enjoyed that episode if you
did the most helpful thing you can do is just share it with other people who you think might
enjoy it it's also helpful if you leave a rating or a comment on whatever platform you're listening
on if you're interested in sponsoring the podcast you can reach out at dwarkash.com
Otherwise, I'll see you at the next one.
Podcast Summary
Key Points:
The brain’s superior capabilities compared to current AI models may stem from evolved, complex loss functions and reward mechanisms rather than just architecture or training algorithms.
Evolution may have encoded specific loss functions—like innate reflexes or social instincts—that enable robust, generalized learning without explicit supervision.
The cortex might function as an omnidirectional inference engine, predicting any subset of variables from any context, unlike AI models that only predict the next token.
Neural circuits in the brain, especially in steering subsystems like the amygdala or superior colliculus, may have innate heuristics that guide learning through bootstrapped reward functions.
The brain’s learning system likely combines primitive reflexes with learned models, allowing it to generalize from abstract concepts (like “spider”) to trigger innate responses.
Differences in cell types and wiring in the brain—particularly in subcortical regions—suggest that innate behaviors are genetically pre-wired, reducing the need for complex postnatal learning.
Human intelligence may have evolved not from radical architecture changes, but from the integration of social learning and reward functions that enhance sample efficiency.
Modern AI lacks the brain’s ability to perform probabilistic, multi-modal inference due to limited latent representations and absence of generalized, context-aware loss functions.
Summary:
The central mystery of how the brain outperforms AI models like large language models lies not in their architecture, but in the evolved complexity of their learning mechanisms. , next-token prediction), the brain likely uses a rich, dynamic set of loss and reward functions shaped by evolution. These functions encode innate reflexes—such as flinching at a moving insect or feeling shame at social missteps—and are learned through generalized prediction.
A key insight is that the cortex functions as an omnidirectional inference engine, capable of predicting any subset of variables from any context, enabling flexible, real-time reasoning. This capability stems from the brain’s separation of learning (cortex) and steering (subcortical) subsystems, where the latter provides innate heuristics that the cortex learns to predict. Evolution has likely built these systems using compact, biologically efficient coding—such as specialized cell types and pre-wired neural circuits—rather than relying on vast training data.
This suggests that human intelligence grew not from new architectures, but from enhanced social learning and reward functions that improve learning efficiency. Modern AI fails to replicate this because it lacks the integrated, multimodal, and generalizable inference systems that allow the brain to link abstract concepts with emotional and instinctive responses. Future progress in AI may depend on incorporating such biological principles—like energy-based models, multi-modal prediction, and bootstrapped reward functions—to bridge the gap between artificial and biological intelligence.
FAQs
The brain uses complex, generalized loss functions and reward signals that evolve over time, while LLMs rely on simple, mathematically optimized loss functions like cross-entropy for next-token prediction.
Loss functions in the brain are likely shaped by evolution and include innate, context-specific reward signals, such as a flinch reaction to a spider, enabling robust generalization beyond direct training data.
The cortex may function as a general prediction engine that can infer any subset of variables from any other subset, allowing it to predict visual, auditory, or motor outcomes based on abstract concepts and prior experience.
The steering subsystem (e.g., amygdala, hypothalamus) contains innate responses to threats or social cues, while the learning cortex predicts and learns to associate these responses with environmental variables.
Evolution wirelessly programs innate reward functions through specialized neural circuits and cell types, allowing the brain to develop robust social behaviors without explicit training on every possible scenario.
AI models are trained on narrow, token-by-token predictions, while the brain integrates multimodal, abstract concepts that allow generalization—like associating the word 'spider' with a flinch reflex—even without direct supervision.
Chat with AI
Loading...
Pro features
Go deeper with this episode
Unlock creator-grade tools that turn any transcript into show notes and subtitle files.