Go back

Bayesian Brain, Scientific Method, and Models [Dr. Jeff Beck]

76m 37s

Bayesian Brain, Scientific Method, and Models [Dr. Jeff Beck]

The speaker, with a background in mathematics and complex systems, advocates for Bayesian inference as the foundational approach to understanding the empirical world, equating it with the scientific method. This perspective is reinforced by behavioral experiments showing that humans optimally combine sensory cues, akin to Bayesian analysis, by dynamically weighting information based on reliability. The discussion extends to causal models, which are valued for simplifying predictions and guiding effective actions, though their use may be more instrumental than ontologically true. The speaker distinguishes between micro and macro causation, emphasizing that humans focus on causal relationships at actionable scales, with technology expanding these capabilities. Finally, the conversation touches on the value of a unified mathematical framework that bridges disciplines like physics, social sciences, and AI, fostering a common language despite occasional miscommunication. The rise of AI is attributed to factors like autograd, transformers, and scaling, with transformers' role debated in light of alternatives like Mamba.

Transcription

13692 Words, 76927 Characters

English
So my PhD is in mathematics from Northwestern University. I studied pattern formation in complex systems in particular combustion synthesis, which is all about burning things that don't ever enter the gaseous phase. Bayesian inference provides us with like a normative approach to empirical inquiry, and encapsulates the scientific method writ large. All right, I just believe it's the right way to think about the empirical world. I remember I was at a talk many years ago by Zubin Garamani, and he was explained the dursely process prior. This is like the Chinese restaurant process. All that stuff was like relatively new. And his explanation of it, it so resonated with me in terms of like, oh my gosh, this is the algorithm that summarizes how the scientific method actually works. You get some data, then you get some new data, and you sort of say, oh, how is it like the old data? And if it's similar enough, then you sort of lump them together, and then you build theories, and you properly test hypotheses in the fashion. That's the essence of the Bayesian approach, is it's about explicit hypothesis testing, and explicit models, in particular, generative models of the world, conditioned on those hypotheses. I believe it is the only right way to think about how the world works, and it encapsulates the structure of the scientific method. I mean, if I'm being perfectly honest, what actually convinced me the brain was Bayesian had a lot more to do with behavioral experiments done by other people. My principal focus was on, well, how does the brain actually do this? So I'm referring to experiments showing that humans and animals do optimal cue combination. We're surprisingly efficient in terms of the information that comes-- using the information that comes into our brains with regards to, again, these low-level sensory motor and tasks. Oh, interesting, so it's almost like we're so efficient that the only explanation that makes sense is that we must be doing Bayesian analysis. More or less. I mean, it's a bit more precise than that. It's not just efficiency. It's like the cue combination experiments, I think, are really compelling. And so the idea behind a cue combination experiment is that I give you two pieces of information about the same thing. And one piece of information is more reliable than the other. And the degree of reliability changes on a trial-by-trial basis. You never know a priori that, like, say, the visual cue as opposed to the auditory cue is going to be the more reliable thing. And yet, nonetheless, when people combine those two pieces of information, they take into account the relatively reliability on a trial-by-trial basis. And that means that they're optimal in a sense. Now, we have to be super careful with our words. They're relatively optimal because they're not actually using 100% of the information that the computer-- the visual information that you use, you don't use 100% of the information that the computer provided you. But there is some loss between the computer screen and your brain, mediated in principle by it. But the system behaves as if it has optimally combined those two cues. It has taken into account uncertainty. This also is because it's like how we really do think about the world. We take into account uncertainty all the time in our decisions. You know this, if you're driven in the fog, you're aware of this. 90% of what the brain does is decide what to ignore. Because if we didn't, we'd be screwed. We receive an insane amount of information, most of which does not even-- we don't even bother to process. So is that definitely the case though? Do you think that we could actually be processing more information than we know? We are definitely processing more information than comes out in behavior. A lot of that is because we are continually learning. And you close your eyes for five years and your visual system decays. You lose fidelity. It forgets. It requires constant input simply to maintain this understanding of the low-level statistics of the visual world without input like you're doing most. So the question is, is that using all the information or is it just using the low-level information? And it's information that we don't directly perceive, but it's still definitely being used in a sense. When it comes to-- but what is it being used for? It's being used to track these low-level statistics that we sometimes need but don't always need. And so this is why I say that when we say context matters, you can think of that in terms of we were able to flexibly switch between tasks, which means having a lot of resources and having a lot maintained and having them still being good working order, just in case we need them. And this is why the self-supervisor unsupervised learning approaches that are ubiquitous for getting your LLMs to give you your reasonable prior over language is the sort of stuff that your brain is definitely doing. So in the sense, it is using everything. But it's not really using all of the information that's present, right? And that's sort of, I think, the argument that I want to make. The idea of having to traffic and squishy people in order to make our systems go is not immediately appealing. Let's put it that way. This episode is sponsored by Prolific. Let's get few quality examples in. Let's get the right humans in to get the right quality of human feedback in. So we're trying to make human data or human feedback. We treat it as an infrastructure problem. We're trying to make it accessible. We're making it cheaper. We effectively democratize access to this data. What do you think about these broad sort of metaphorical idealizations? You know, the big one is that the brain is a computer. The probably the more popular one is that the brain is a prediction machine. It will always be the case that our explanation for how the brain works will be by analogy to the most sophisticated technology that we have. Is that how's that for a non-answer? So a couple of thousand years ago, how'd the brain work? It was like levers and pulleys, man. I mean, duh. Don't be ridiculous. Why that was-- at some point in the Middle Ages, it became humors, right? Because fluid dynamics was the kind of technology that was like the most advanced-- or technology that took advantage of water power was like the most advanced technology that we had. Now the most advanced technology is computer. So duh, that's exactly how the brain works. Philosophers used to think that the universe was a machine. And we interviewed Chomsky about this as well. He talks about the ghost in the machine. And the ghost is all of the bits in the machine that we don't understand. But do you think now that we can think of the universe as a machine? I think that that is a very convenient way to think of the universe. So when we model the universe as having causal structure, do we do so because it actually has causal structure or because that's a really convenient class of models with which to work? I think that it has causal structure, right? But also, it's a convenient class of models. So a good example is large language models, right? So most but not all are autoregressive in terms of their predictions. Well, why is it autoregressive? Because it's mathematically convenient. It's a compact way to take the past and make a prediction about the future. Does it mean that that's actually the way language works? No, I don't think it's actually the way language works. But it's a computationally convenient model. In physics, we have, there are, in fact, momentum is a good example. Why do we need momentum in order to describe it? We don't observe momentum directly. You're just looking at videos. You know the position of the ball. You want to infer the velocity, well, you just take the difference between two adjacent positions and then that gives you-- but you don't ever directly observe like the momentum. And this is in a mechanical setting. So why did we choose momentum? Well, we chose momentum because that's the variable that if we knew what momentum was, now everything is Markovian, right? Everything is-- now there's like a simple causal model that describes how the world works. We picked that model because we picked that particular hidden variable because it's what rendered the model causal. Does that mean that's how the universe works? Or was that just a computationally convenient choice? I'm going to stay agnostic on that one. But I do like that it's a computation that ended up working out, all right? So-- And just quickly riff on the benefits of having models that preference causal relationships. So the nice thing about-- so when you have a causal relationship, it reduces the number of variables you have to worry about in track. That's the beauty of having a causal-- it's like a Markov-- it's the same argument with momentum and Markov models. We chose to have that hidden variable because it's the thing that made the model simpler, right? It made the calculations easy. Now we can just go forward in time, just make predictions in a totally iterative fashion. That's what makes causal models great. The other thing that makes causal models great is if you do ever intend to serve act or behave, right, then you still need to be able to predict the consequences of your action. The more tightly linked your actions or your affordances are to the things that causally impact the world, the more effective those actions are with respect to your model, but hopefully also with respect to reality. And so we prefer causal models in part because they are relatively speaking simpler to execute, in a simulation form, but also because they point directly to, well, where should I intervene? Where should I go in? And how should I choose my series of actions that will lead me to the desired conclusion or goal? What's the difference between micro causation and macro causation? I think the difference between micro and macro is a single letter. So we could just model the light cone at the particle level. Oh, yeah. So that's how the system-- That would be a sensitive, yeah. I mean, that's the way physicists see the world. And we see the world in terms of populations and people and all these macroscopic things. And we still reasonably do experiments and we do interventions and we do randomization. To truly identify a causal relationship, you have to do an intervention, right? The classic example, this is also in lung cancer, right, is like, I forget how long ago this was. But at one point, there was this belief that alcoholism caused lung cancer. But it was actually because they were in poor health because they were alcoholics. And they smoked a lot more than the rest of the population, right? So you do need to do that kind of intervention to discover a causal relationship. However, the causal relationships that we care about are the ones that mesh with our affordances, right? If identifying a microscopic causal relationship is super, that's great, right? But unless you have really tiny tweezers, it's not very helpful, right? What you need to do is you need to identify the causal relationships that are present in the domain in which you are capable of acting. We care about the causal relationships at the macroscopic level because that is where we live. We live in the macroscopic level. Most of our actions are at the mic. Now, one of the best things about humans is our ability to extend the domain of our affordances with technology, right? We have, like, nuclear power. Because what we did was we acquired the ability to take tweezers, you know, at that scale and, like, you know, make these things happen, right? We figured out how to take advantage of causal relationships at that level, not because we have those abilities, but we were able to create the tools that gave us access to that space. It all depends on what the problem it is that you're trying to solve. And the causal relationships you always care about will be the ones that are related to the actions that you are capable of performing. Now, that said, there's clearly a great advantage in understanding the microscopic causal relationships, right? If for no other reason than that might lead to us discovering a way to expand our affordances into, you know, into another aspect of the microscopic domain. Is this just instrumental? You know, is this just something that it's a little bit like, we say that agents have intentions and representations and it's just a great way of understanding things, but for all intents and purposes, it's not, it's not actually how it works. - Well, I think that that sentence ended on a rather definitive statement, which I don't think we could, well, I would agree, but the rest of it, is it all, you're asking like the, you know, the scientific anti-realist, if it's all instrumental. So yeah, yeah, it's all instrumental, right? I mean, we, you know, we, the things that we care about are the things that, you know, again, back to affordances, right? So, you know, we need to understand causal relationships at the scale that we can manipulate, right? That's what matters most, right? Because that allows us to have effective actions in the world in which we actually live. To the extent that we care about other scales, right, it is because we simply wish to expand, you know, our domain of influence, right? - The mind is quite an interesting example. So let's say I want to move my hand and my mind to wield it, so it's top down causation. Now I can't act in the world of my mind, but it seems, it seems macroscopically intelligible, you know, we think about our minds, so maybe the mind is a special case. I don't know, well, the mind is a special case. I'll agree with that. I think of like downward causation from, well, I guess from an instrumentalist perspective, right? It's like, I'm not saying downward causation is the thing. I'm saying that downward causation is like how it all works. I would take it from more from the perspective that downward causation, if discovered, downward causation is what justified your macroscopic assumption. So what do I mean by that? I mean that like, suppose I'm in the following situation. I got a bunch of microscopic elements, and they're all doing stuff. And I'd like to draw a circle around them and call that a macroscopic object. Now, I am justified in doing so if that particular description of the macroscopic, at the macroscopic level, has the downward causation property, right? It is a way of sort of saying, oh, that was a good, that circle you drew, that was a good circle, right? Because it summarized the behavior of the system as a whole, right? In a way that rendered the microscopic behavior irrelevant for further consideration. Yes. I can think of some situations where we do this. I mean, we might identify an aspect of culture or a meme, and we might say that is responsible for violence or something like that. You still have to show that it has that property, right? And I think intentionality is a tough one, right? Because it's a variable that has a lot of explanatory power, but it's not one that evolves. So when I think of a good macroscopic variable, it's one that I understand how it evolves over time. That's what makes it a good macroscopic. I can just write down a simple equation and it says, you know, pressure volume temperature, right? They are going to do this over time and like taking any little microscopic measurement becomes like totally irrelevant, right? But what made it useful wasn't just that the microscopic measurements are irrelevant, right? It's that I had an equation that describes how it would have behaved, you know, that's also fairly accurate. So I have a nice, you know, relatively deterministic model that is at the macroscopic level, right? And so when you talk about like intentionality, I think it's, you know, yes, it can be used as an explanatory variable, but it's only good to the extent that we understand how that intentionality changes over time, right? It's a long term prediction. And this is why like, you know, the jurisprudence example made me really uncomfortable because it's sort of like saying, well, you know, what you're kind of doing is you're saying, this is a bad person, right? And I don't know how we would necessarily like identify like that intentionality except in a very indirect way, right? That is that then they're stuck with, but then, you know, because it's only good as a macroscopic variable, if we can make predictions about how that variable changes over time and we're not doing that. We're saying that you're stuck with it, right? And that's why it sort of makes me a little uncomfortable. I did actually notice that the act of inference community has quite a rank tag, it's quite very diverse. Yeah, so in a way, you see people rubbing up against each other that you normally wouldn't. And that can create arguments, especially. Yeah, well, I think, you know, this was, this was, this was Carl's influence. So what did Carl actually discover, right? He's got this link between information theory and, and, you know, and statistical physics that in some way gives you this sort of uniform mathematical framework that's widely applicable to a huge number of situations. It has a lot of sort of things that are baked into it. How we think about the world is kind of like baked into it and so it can be applied in a whole bunch of different areas. And Carl spent a lot of time basically evangelizing various different aspects of the scientific community. It's like, oh, look, you can apply this to epidemiology. You can apply this to the social sciences. You can apply this to physics, you can apply, you know, and just sort of, and, you know, wrote a series. This is one of the reasons I think it's so prolific is because he's basically, you know, written variations on the same paper, right? But just applied in different domains. And he did this, and this was intentional, right? Because he wanted to show that this is a uniform, is a non-uniformly applicable mathematical framework. And I think he's largely right about that. As a result, right, there's all these people from all these different communities that have been pulled into his sphere that think about the world very differently. And it makes for some very entertaining conversations at the pub. Yes. Even in our discord server, you know, we've got people thinking about it in terms of crypto, even in terms of Christianity, phenomenology, psychology. It's really interesting. But yeah, it's, it's, uh, but that's the beauty of constructing like a nearly uniformly applicable mathematical framework, right? Yes, exactly. You get to, you get to suddenly, this was one of the things I love, I mean, this is what I love about the community. In fact, is that we now have a relatively common language to discuss a huge variety of different things. Yeah. Now, of course, that means we often end up talking cross purposes, but that's half the fun, right? So I often ask people in the business, like what, what, what, what change? Like what's, you know, what, you know, why did we have this like massive explosion in, you know, in AI development over the last several years? Um, and I get three, there are three common responses and I agree with every single one of them. Autograd, right, the transformer, but why the transformer is something that I often disagree with the, with the old bell, the transformer architecture. And just the, the, the, the ability to scale things up in a manner that we haven't, haven't really seen before. I actually, the reason why I say transformer comes with an asterisk is because a lot of the things that transformers have, that, that people believe that the transformer enabled, I think really resulted more from scaling and my, the point, you know, the point of evidence that I like the site is like Mamba. Mamba, which is a state, which is a traditional state space model, it's basically a common filter, but like on steroids, they scaled it way up and yet, and now it's, you know, got, they've, you know, Mral has their very nice like coding agent and it works pretty darn well, right? They got a lot of the same functionality with a completely, with a, you know, a completely different architecture simply by virtue of scaling. So transformers get to get an asterisk. I think that the biggest thing was autograd, right? And autograd turned the development of artificial intelligence from being something that was done by like carefully constructing neural networks and writing on your learning rules and going through all that painful process that it was tick tick, and they turned it into an engineering problem. It made it possible to experiment with different architectures, different networks, different nonlinearities, different structures, different ways of like getting your memory in there and differently. And all this fun stuff that allowed people to just start trying things out in a way that we couldn't do it before. And then we, what did we did? We, we suddenly discovered, oh, it turns out, back prop does work. I mean, when I was a young man, like back prop was considered a non starter for two reasons, right? One is, this is not brain like, which is true, right? Brain does not use back prop. And the other one was a vanishing grade. So, oh, you'll never solve the vanishing gradients problem and say, oh, it'll always be unstable and yet nonetheless, once we turn into an engineering problem sort of playing around with tricks and hacks and certain kinds of nonlinearities and relues and this and that, we discovered that, oh, no, in fact, like, there are ways around this. You just, you know, we just, you know, won't gonna discover them by like playing with equations. We had to actually start it. So, we turned it into an engineering problem. As soon as it got turned into an engineering problem, you know, that's what enabled the hyper scaling, which is what led to all of this, all of this, you know, these great developments over the last several years. What got lost in the mix though, was the notion that there's more to artificial intelligence than just like function approximation. We got really good function approximators. But that's not the only thing you need to develop like proper AI, right? You need models that are structured like the brain is structured. You need models that, you need, you need models that are structured like how we conceive the world is structured. Certainly, if you wanna have models that think the way we think. And that got lost in the shuffle. And we're starting to see, you know, as we're starting to see the limitations and the faults and flaws of these approaches. And starting to see them not living up to the hype, which I think is like now it's standard that like, like AGI is no longer, I don't know if we read the other day, at least according to, you know, the experts in the field at the top of the best companies in the business, like AGI is no longer like a huge priority, right? And they're dialing back the rhetoric surrounding that. In part because I think that they've begun to realize that like just function approximation isn't going to deliver or that was just hype, right? We do need to do something different. We do need to start bringing in what we know about how the brain works, right? If we're ever going to get to something that is a human-like intelligence. And that was the starting point for us, you know, about a year or so ago is that we were sort of like, guess, let's do the same thing for cognitive models. Like let's talk about, let's take what we know about how the brain actually works. Let's take what we know about how people actually think about the world in which they live and start building an artificial intelligence that thinks like we do by incorporating these principles. And this means basically creating, you know, a modeling and coding framework for building brain-like models at scale. And that's like the critical element because obviously scaling was a big part of the solution. And right now, most of the work in the active inference space, as I'm sure you're aware, is not at scale. There's very little like active inference work that is active inference at scale. Most of the models are like relatively small toy, grid-world-y type models. And part of the reason for that is that, you know, it is in fact difficult to scale Bayesian methods. Now that also has now begun to change, right? We now have a lot of great mathematical tools and a lot of great frameworks for approximating Bayesian inference. You'll never do it exactly. Or approximating Bayesian inference, which I believe is how the brain works, right? Bayesian brain, and all that. That allows us to build these kind of structured models that are structured both after the brain-- how the brain is structured and how the world that we live in is actually structured. Hence the notion that what we need to get to the next layer of AGI, and I also don't like that term and don't intend to use it very often, what we need to get to the next level is this framework that allows us to build the kinds of models that we know people actually use, and just make them bigger and more sophisticated, and so on. And then take advantage, like, hyper-scaling Bayesian inference is part of it, but also it's constructing models of the world as it actually works. The way the world actually works provides us with the structure of our own thinking. The atomic elements of thought is how I like to phrase it. Our models of the physical world in which we live. And the physical world in which we live is a world of macroscopic objects that have specific relations and interact in certain ways that we understand, looking around the room for a good example. You sit on a chair, that's an example of a relationship. It holds you up and all that fun stuff. And those are the kinds of-- that understanding of the physical world was necessary for us to have in order to survive. Dogs have it, too. Its language isn't all that special, right? Well, it's actually quite special, but those are the models that form-- that understanding of the world in which we live is where we get the models that form the atomic elements of our thoughts, out of which we have composed more sophisticated models that have allowed us to do all these great systems engineering build this great technology that we've got. So that's what we want to do, right? Is we're focused on building cognitively inspired models that are based on our understanding on the way the world in which we live actually works, because we believe intelligence must be embodied, building a framework for putting those models together and experimenting with them at scale, all in an approximately Bayesian way, because we believe that's other brain works. It's not just about putting your AI into a robot. It's about giving the robot a model of the world that is like our model of the world, a model that is object-centered. It's dynamic. It's largely causal, right? It's-- you know, that's the big difference. And I think that the sort of sparse structured models is another sort of key differentiating component. Like, when you think about how like a transformer and LLM work, a transformer takes every word in the document and says, now, how does this word relate to every other word? And it does it many, many, many, many, many times, right? It's very much-- it's the same thing with like your generative vision language action models. They operate in pixel space. They are microscopic models. Now, yes, do they have an implicit notion of sort of macroscop-- yes, they must, because they work, right? But it's implicit. And it's not implemented with the kind of sparse structure that actually exists in the real world and in our conceptualization of it. And that's the thing that we're-- we're saying, no, no, look. If we want an AI that thinks like us, right, then we are going to build models that are structured-- both like the real world structure. They have this sparse causal macroscopic structure to it. And so should our models and so should-- and the only way to do that is not just to like put a robot in the real world, but to put a robot with a model that is structured in that fashion into the real world. No one's using the XLSTM. Not many people are using MAMBA, because why not? All you need to do is just scale the transformer as much as possible. So many people just really think you just magically get these things for free, right? So I think you could argue that with enough data, that's the right kind of data. One of these really big super scaled models will obtain an implicit representation of the world that is more or less correct. Now, having an implicit representation is great. If your only goal is to just represent the world, if your only goal is to just predict what's going to happen, but it turns out, people do something which is very different. People are creative. People can solve novel problems. It's not just about mining old problems and figuring out where I can move some words around and get an answer that looks more or less right. We actually are capable of creating or capable of inventing new things. The way that we invent, I think, is exemplified by systems engineering. How does systems engineering work? Well, I know how an airfoil works to create lift. I know how a jet engine works to create thrust. And I can take those two bits of information to invent something brand new, which isn't airplane. That kind of systems engineering was predicated upon having this sort of model of the world that was relational. Here's the wing. I can put a jet on, I don't know. You don't staple it on. I'm sure you use rivets or something. I know how to put things together. I know how to construct new relationships and new objects. An AI that is designed to do systems engineering will have a object-centered or system-centered understanding of the world. And we'll know how those all of the objects relate so that it can start experimenting with different ways to combine. But without that, the only thing you will ever be able to do is just retool old solutions for new purposes. And even that is a generous interpretation of what a purely predictive model is going to do. So this is how I like to think about the principal advantage of taking this object-centered approach is that it enables systems engineering. What is a grounded world model? So I feel like that's a trick question. I actually had this conversation with one of my friends, Maxi, and co-conspirators the other day. In some sense, every model is grounded. It's grounded in the data that it was given. Now, OK, so that's a true statement. It's like, OK, but that's not what we want. And when we often use the word a grounded world model, we say that it's grounded in something. And that something is not just the data that it saw. So example, vision language models. A vision language model is a way of grounding the visual model in the linguistic space. And this is the approach that we're taking. This is what Langchained does. It's all about taking models and everything becomes a blank language model. A vision, whatever. Everything becomes-- when you do that, what you're doing is you're saying that you're grounding all of your models in a common linguistic space so that they can communicate with one another via language. Now, why did we choose language? Well, we chose language because honestly, I think it's because we wanted models that we could talk to. We wanted a model that was really all about making the interface convenient for us, which is great. That's totally something you want. But it begs the question, what's the right domain in which to ground your models? Now, I like grounding models. So we also use the phrase like ground truth. And of course, ground truth is the thing you made up in Alpriori said was ground truth. So what's ground truth? What is the right domain in which to ground models in order to get them to think like we do? That's the relevant question. And so my view is that, again, if you want AI that thinks like we do, you need to have it grounded in the same domain in which we are grounded. And we are grounded in this domain. This is why the embodied bit is such an important thing. We want models that are grounded in the physical world in which we evolved. And the reason for this is because that is the world that provides us with these atomic elements of thought. A single cell lives in a soup, and whatever model it has of the world to the extent that it has one, or it behaves as if it has one, that model is the model of its environment. If it didn't understand the environment in which it lived to some extent, then it wouldn't be able to continue to exist and function in that environment. So you can sort of say that a cell has a model that's grounded in chemistry of the chemistry of the soup in which it lives. When we talk about-- that is a prerequisite for its survival. Now we talk about mammals and bigger animals and things that live in the macroscopic world that includes other animals. And all that stuff. So what's that model? Well, at the very least, we can say that whatever models we have, a significant subset of them are grounded in that world. And that world we know has properties that we can understand. It is object-centered, it's relational. It's all this stuff. And so the grounded bit is more about properly grounded. Grounded in the domain in which we are grounded as a route to creating AI models that in fact think like we think. That's the grounding that we're particularly focused on. If you had to choose the domain in which to ground your models, what would you choose? I don't think language is the right one. Language is an incredibly poor description of both our thought processes and reality. Tell the story all the time. So you ask any cognitive scientist or psychologist who's done some experimental work with humans. You put them in a chair. You make them do some tasks. You carefully monitor their behavior. You look at what they did. And then you have a nice way of-- and then that informs your theory of that behavior or how that works. And if you do the experiment well, you have a very good model of how they made whatever decisions they made throughout the course experience. And then you go back and you ask them, why did you do what you did? And they give you an explanation. It sounds totally reasonable. It also is completely inconsistent with the accurate model of their behavior. Cell report is the least reliable form of data. That one gets out of a cognitive or psychological experiment. And so we don't want to rely on that. We don't want to ground our models in what we know is an unreliable representation both of the world and of our thought processes. We want to ground it in something that's a good model of our world. And that's why we've chosen to focus on models that are grounded in the domain of macroscopic physics, as opposed to language. Can you speak a little bit more to the limitations with current active inference, a nearly uniformly applicable information theoretic for describing objects in agents, right? It really is inspired by statistical physics and its links to information theory. And when you take those two mathematical structures, throw in a little like Markov-Blankety thing so you can talk about macroscopic objects, you kind of have a very generic, widely applicable mathematical framework that you can throw up many problems. And a lot of what has gone on in the active inference community over much of the last 20 years has been demonstrating that it's like uniformly applicable. So there's been a lot of breadth and not a lot of depth, right? And part of-- And I think that, of course, that's appropriate, given-- if you really want to make the argument that everyone should be using this, you show C in this domain it works on your toy examples. But the people doing that, the active inference community has this habit of showing, like, see-- oh, basically, I can handle this psychological phenomenon. I can model this cognitive phenomenon. Oh, and look, it's a good post-talk description of this neural networks behavior and things like that, right? They've been showing that-- but they've never really sat down and tried the tackle in a really big, really hard problem. Because the emphasis has been on evangelism. You couple that with the fact that there is this strong bias within the active inference community towards being as Bayesian as possible. And so, of course, they also shunned the really hard problems, because Bayesian inference has been historically challenging to scale. There have been a lot of developments over the last few years that have come out of the machine learning community as well. But mostly I have the Bayesian machine learning community that have really made it possible to start scaling Bayesian inference in ways that we really weren't able to do it before. And you couple that with the desire to sort of stop the evangelizing and start solving really hard problems with these methods. And you've got a way to prove that active inference really can live up to its promises. Yeah, it was a similar thing with constraint satisfaction. In the 1970s, there was that light hill report and people said, symbolic AI will never work. And they wrote it off. Apparently, just that they're all of these empirical methods that have been discovered in the last 20 years that just make it massively more scalable and tractable. And is it the same thing here? Are there some specific techniques that have dramatically improved the tractability of active inference? I would lump it all into the Bayesian inference category. There have been a number of developments over the last, I would say, eight years or so that have made Bayesian inference significantly more tractable than it used to be. Some of it had to do with work in the Gaussian process space. My current favorite trick is normalizing flows, which is a great way of ensuring that you have access to sophisticated likelihoods, but nonetheless, result in tractable probability distributions. I've been using natural gradient methods for a very long time, which allow you to massively speed up gradient inference in some situations, completely eliminate the need to do gradient inference. And instead, do coordinate descent and allowing you to take massive jumps in parameter space and not actually lose the ability to do learning in a sophisticated modeling scenario. I also like the fact that the natural gradient stuff has been getting some great acronyms recently. Bayesian online natural gradient for Bung, for short, I just think these guys get me every time. I wish I was that clever, honestly. But there've been a lot of developments in that space as well. In addition, additionally, there's been a lot of developments in rapid sampling methods, conditional sampling methods, constrain methods, like that have really improved things. And I think that one of the problems, again, with the Active-Earners community, historically, that I think is now starting to change, has been a hesitance to use these certain approximate methods. It's been this focus on straight up old school message passing. And as soon as you sort of relax the desire to be as Bayesian as possible, it opens up a lot more possibilities for scaling this stuff up. When we're now talking about agents that are interacting with the world around them, and that still presumably needs a lot of data. So we've got a couple of tricks. One of the nice things about taking an explicitly object-centered approach is that you don't have to train all of your models. You don't have to train just one model at a time. This is my favorite trick. And I think that this is one of those things I think we're going to be seeing a lot more of in the near future. So if you want to train a vision model to understand like YouTube videos or something really complicated like that, you basically take one big model and you train on a sh-- done a data. You just keep training, keep training, and keep running. And eventually, it sort of gains this implicit. And it gets an implicit sort of object-centered understanding. Another way to go is to train objects in specific domains. So these are smaller data sets. I'm only going to worry about the zillow problem, the inside of people's houses. And that's going to have a much smaller set of objects that it has to learn an implicit distribution over. And you can do this with one big neural network. There's a really great Gaussian splatting paper where they trained a massive neural network that is able to make predictions about what's going on inside people's houses and some nice language model. But obviously, it has an understanding that's limited to a house and the objects that are inside a house. If you have an explicitly object-centered model, then you end up not just with one model that understands a house. You end up with one model that's actually thousands and thousands of little models, each of which explains a single object or object class within the house. So you've got a book model. So all books come in different shapes and colors. There's just one book model. And the beauty of doing this is that that book model-- you have to be a little clever about how you structure the interactions between these things. But if you're a little bit clever about how you describe the relationships between objects within this modeling framework, you gain the ability to train a model just on the inside of houses, a model just on parks and park benches, and take the objects that we're discovered in this space and the objects that we're discovered in this space and put them into a combined environment that has objects of both of those kinds. And it still works. That's the advantage of taking an object-centered approach or what I like to refer to is the lots of little models approach. Some of these things are a little bit weird. Some coaches have-- maybe one coach doesn't have the notion of time. And some coaches might see two objects as one. So is there a potential problem here that there's some ambiguity that we need to overcome? I'm not going to say that there's not the potential problem for ambiguity that we need to overcome. What I will say instead is that the additional constraint that we're imposing-- it's not just about objects. It's also about their relationships. Now, think about physics. This is why the physics discovery stuff is such a big part of it. In physics, in a particular like Newtonian mechanics, let's pretend we're living in a world of rigid bodies. So all I need to worry about is weight and shape of things. And that defines a particular object type. But I also need to know how they interact. And so in Newtonian mechanics, what we can do is we can take these objects and watch them bouncing off of each other and doing all these sorts of things. And we can quickly infer that, oh, their interactions are all governed by a single language, which is the language of forces and force vectors. That language of interaction is really what makes it work. Otherwise, we just have pictures of things. That's all we would have got. What you're empirically discovering is sort of a generalized notion of forces that describe the relationships between things. And the constraint that you place in order to avoid the problem of things being too brittle is that, well, they all have to use the same class of forces together in order to interact. We're stuck with that. But by being flexible about our definition of what a force is and having the ability to discover new kinds of forces, not just like literal force vectors gives us the ability to sort of generalize without becoming too brittle. You're talking to this interaction dynamics. So there's a graph of interactions which might possibly represent affordances in the macroscopic domain. And by doing analysis on the interaction graph, you and sort of simplifying the analysis as much as possible, you get a principled way to partition the world up. That's right. And so it's all about having interactions and interaction classes. So it's not just one adjacency matrix. There's an adjacency matrix that also specifies there's one for every type of interaction that's possible. That's what gives you the additional flexibility. The other thing that gives you the additional flexibility is being a little bit Bayesian about things. It may very well have been that all of your observations of this object when it was in a house were really simple. It's all just-- it sits on a shelf. And so what do you know? Well, what you know is that that object sits on a shelf. But you have to be-- which is one kind of interaction. That's just-- it has a force pushing down. There's a force pushing out. You don't know anything about the way it is. But if you keep air bars about that, if you keep air bars about the other kinds of interactions that you have seen, but are agnostic about this specific deals for this particular object, it gives you the flexibility to say, well, I'm going to put it in this environment. I can make some predictions about how it's going to behave. But if I throw a bowling ball at it, I'm going to be making some assumptions about how it might behave. But once the bowling ball hits it, I might have to revise those assumptions. This is the other critical elements of the approach we're taking, which is you have to have some kind of continual learning element. This is something that really doesn't exist in contemporary AI. And when you build your big model, you've spent millions of dollars training it, and then you're done. Yes, someone else can come along and fine tune it a bit for a particular task, which is great. But at the end of the day, when you're at the deployment phase, you turn learning off. Whereas in this approach, we're saying, I don't know, one of the things that's critical-- a critical aspect of the way we think about the world and the way we learn about the world is that it's continual and it's interactivist. And that needs to be true of the objects that we're discovering as well. We've learned classes of interactions, but just because we haven't seen a particular class of interactions previously, doesn't mean we say the others never happen. We still allow for that possibility, and then do continual learning quick with rapid updates when we see something happen, we see a new interaction. Now, the-- makes that work, right? Is the fact that you specify that there are certain set of kinds of interactions, some of which you previously observed, some of which you still all know about, and might have observed soon, and then you could update your posterior beliefs about whether or not that object interacts in that way. What would the architecture of such a system look like? I'm imagining it will be distributed, right? So you can have all of these different agents. And then we have the consistency problem, because maybe this agent has empirically learned that these two things are a book, but the agent over there just thinks this one thing is a book, and then there's how many objects are there? Would it become intractable? Like, realistic, I don't know which is-- So from a simulation perspective, the way that this gets simulated is remarkably like the way a video game engine simulates the world. The only difference being is this abstract notion of forces, so as I had as a video game represent the world. Well, you have all these assets, right? And each asset is basically a shape, maybe a texture color, something like a fork is an asset, right? Or a little like three-legged stool is an asset. And it has a bunch of properties, but it's basically that are associated with its shape, color, mass, all of this stuff. And then it has a set of interaction rules, which are like Newtonian forces, force vectors. Then you've got other things like water and sand that have like special rules for them, because if you just try it, because otherwise, you need a macroscopic rule to describe them, otherwise the compute would be insane and stuff like that. So it's very similar to that, right? When you take this lots of little models approach, what you end up with is the moral equivalent of a giant list of video game assets. And then when it goes to modeling a particular environment, when you find the agent that you're talking about that has this lots of little models model in its head, what it does is it sort of looks at the scene and says, oh, OK, I need to worry about these 10,000 little models right now, and that's it. I don't need the rest of it. And then it just sort of operates in that space, running something that looks a lot like a video game simulation. So that sparsity is what makes this lots of little models approach. You may have a million little models, but in a given time, you only need a tiny fraction of them, and you just instantiate those. The thought occurs, though, that in a game engine, all of these particles are-- they're in the engine, I can say, what are the forces between these two parts? Yeah, it's called cheating. Well, yeah, because when you deploy an agent in the real world, you can't just ask, well, what's the force factor between Jeff and the light? That's right. Yeah, you have to learn those. Does this model-- if you take a video game engine as ground truth, are we capable of discovering the video game, the assets, and their properties that were in that game engine? So what would your input be? Would it just be the pixels? Yeah, why not? Make it hard. It would be cheating to sort of start out with something that already segments the image for you. If you can't solve the hard problem from the bottom up, then it's not a hard problem. Why'd you do it? If I understand correctly, a successful implementation of the technology you're talking about would be, let's start with the game engine. And we almost treat the AI like a black box. So it has input, like I can move left, I can move right, pan up, down, I can interact with objects. And then maybe there's some kind of a score function, I'm not sure. But it can learn inside the game engine, and it will build up this internal model library that represents things in the world in the game engine. And if it's learned a sparse, robust model library, you could in principle take the same length model and apply it to a robot in the real world, and it would generalize. That's the idea. And that's the problem that we're trying to do. This is like one of the critical missing elements in the robotic space, is that if you, you know, turning models in simulated environments does not translate really very well to real world environment. This could have, this could be a result of a situation where the simulated environment is just too impoverished. But it could also be a result of a situation where the artificial environment just, is it actually a very accurate representation of the real world? Right, and I think it's largely the latter, right? Is that these, you know, these, I mean, also a couple with the fact that the robot, that the artificial agent's internal model looks nothing, is not structured like the world that it actually is being trained to function in. I think those are the two big, those are the two biggest problems. But it could also be the case, you know, what do you need in order to address those? The one is you need a good model for the robot's brain that has the structure of the world in which it lives. The other thing is you need a mapping from real world data to simulated data. And right now what we're typically using is video game engines. Now, video game engines are great. I know I certainly enjoy them on a 10 hour a week basis. The problem with them though is that they weren't trained to be realistic physics, right? Most of them were designed to be plausible. They were designed to look good to the user. Part of this has to do, you know, and there's a lot of like tricks and hacks and things that are thrown in to deal with the fact that the equations of Newtonian mechanics are very stiff, right? When collisions happen, if you're just a little bit wrong about that, you know, then things can, you know, then weird stuff can happen and non-physically realistic things can occur. So if you had the ability to construct an environment that had good enough physics that accurately represented the real world and trained your robots in that domain where they have these models in their heads so they're actually capable of learning, you know, the quote unquote ground truth that you've implemented in the simulated world, then I believe that they will generalize better to functioning in the real world. And this is absolutely critical, I think, for robotics going forward. If for no other reason than right now, I mean, like large language models, all these self-supervised models, the way that we're currently training robots to like put your groceries away and things like that, is all by turning them to mimic human behavior, right? It's expert trajectory learning. They're not really learning the physics of their environment. They're learning to mimic human behavior without like crushing the eggs, right? And so with, you know, if you want them to be able to generalize across domains, across tasks, you need to get rid of reliance on expert trajectory learning. And so that's the, and that only happens when you move to something that is explicitly model-based with a model that accurately represents the world in which they live. One she's got a core set of models that work in the world is that the value of the AI. Yeah, so once you have a course that, then you have the ability to like deploy your agent out there in the world and it can handle situations that it couldn't previously at hand. One of my co-conspirators likes to talk about the cat and a warehouse problem, right? So what do we have? So now we've got an AI agent that has been trained to like manage a warehouse, right? And so it understands things like forklifts and boxes and workers, hopefully, you know, and all they, and then one day, one day something comes along that's never seen before, it's cat. Cats don't belong anywhere, the cat comes along, right? And so the model has no, I has never seen a cat before, right? Because that's the environment in which it was trained. This is one of the beauties of this approach. So it's, the cat comes in the warehouse and it's, what the hell is this? And like, it's, you know, it's growing with my system. And because we're taking this sort of like, you know, free energy-based approach, right? One of the critical elements is tracking surprises. So when a cat comes along, does know what a cat is, the surprise signal goes crazy. And then it says, okay, stop, right? Don't run over the cat, right? Let's figure out what's going on. And what it can do is it can take a picture of the cat and it can fire it off to a server somewhere that has a huge bank of models and has been pre-trained on model selection to a small extent. And it says, what the hell is this? And then the big bank of model says, oh, I think it's, you know, here's like seven or eight things it could possibly be. And it's different kinds of cats. Maybe there's a dog throwing in whatever. And then it ports those little models over to the warehouse model. And then it sort of does some proper hypothesis testing, watches the cat behave for a little bit, ah, it's a cat, puts the other models, sends the other models back. So it doesn't need them anymore, right? It's figured out that this is what it is. And now it's incorporating and understanding the cat into the system. This is the beauty of taking an explicit, there's another beauty of taking an explicitly object centered approach. It gives the model the ability to be, to know what it doesn't know. That comes from the active inference component. Know what it doesn't know. When it doesn't know it, it can go phone a friend. That's another way to describe it. The friend will respond by saying, oh, it's a cat. And then it can take the model a cat, incorporate it into its warehouse model, right? And now it understands that. This is really great from a computer. There's a huge computer advantage to this, right? If we had started with one big model that already knew what all a cat was, think of how many parameters that would have, it'd be huge. This model is very frugal in a sense that it only needs to know two things, what it needs to know about the environment in which it exists, right? And when it sees something, it doesn't know. And then it can just go pull it. So that's the idea is that you have this massive bank of models, but when you instantiate a particular, if a particular use case, you don't need them all, right? You just need the ones that are relevant to that environment. But these models are continuously tracking surprise or uncertainty. And when it sees something that doesn't know before, it's smart enough to say, I don't know what that is. How and when should deep learning be combined with this? I mean, my naive perception of Bayesian inference is right now if you have a photograph from a camera, and it's like 300 pixels squared or something, that would be a challenge for Bayesian inference. Something, could you just use a vision, language, transform, or something, and use that as part of the Bayesian framework, or could you even use deep learning models as a way of bootstrapping the knowledge acquisition in the Bayesian frameworks? So the reason why I mentioned normalizing flows is because that's technically that's a deep learning tool. It just happens to be a deep learning tool for which the output that takes in an image and turns it into something that is easy to deal with from a probabilistic reasoning perspective. Are we going to use deep learning tools? Yes. The ones that are fit to purpose, for sure. And that's a great example of one where we're taking sort of like, oh, well, why wouldn't we use this if it's compatible with our framework? Many folks in the audience were in the normalizing service. Can you just give us a quick update on that? Well, so, OK, so we've got a pretty good handle on how diffusion models work these days, right? You take your image, you just add a bunch of noise to it, make it Gaussian, and then you learn an inverse transformation. It's the same thing, right? What you're doing is you're learning a mapping from a probability distribution that is easy to deal with like a Gaussian distribution. And you're learning a mapping from that distribution onto the thing you actually are observing, the thing you care about. So in this case, it could be an image. If I actually don't think we should call them diffusion models, it's a normalizing flow. The diffusion should be referred to as a diffusion training protocol for a normalizing flow. So to some extent, we will be using some of those tricks as well. You could say, yeah, we're going to use diffusion models. If you're going to make me roll my eyes and say that. Jeff, what is your approach to alignment? Well, I typically like to talk to people about their beliefs and values and figure out what it is that they came to form them and then try to convince them to adopt my values. The beliefs that these systems have, right? The belief that our artificial systems have are not the same as our beliefs. And their reward functions that we specify for these artificial agents are definitely not the same as our reward functions. Now, there's a few exceptions. It's like go chess, right? Any game where you either win or you lose, the reward function is obvious. But in general, in complicated situations, reward functions, it's not so obvious what the reward function should actually be. I know that there's this definite belief that reward is all you need. And there's some truth to that. But the question is, well, where do your reward function come from? Now, from a philosophical perspective, there is no normative solution to the problem of reward function selection. I always say barring divine intervention. And which is just another fancy way of saying that your values and my values might be different. And it's really difficult to say who's or better, right? From a practical perspective, a situation that I like to point out is like if you're talking about self-driving cars, obviously, you'd like to penalize your self-driving car if it drives over a squirrel. But if it had to choose between a squirrel or a cat, most people would want it to choose the squirrel. And the way you would do that in our L model, as you say, minus 10 points for a squirrel, minus 50 for a cat. Where do those numbers come from? It's completely ambiguous. It's relatively arbitrary. They're kind of sort of made up. And so relying on arbitrarily selected a reward function so it seems like a terrible idea. We also know that things can be horribly wrong. And everyone's sick of this example. But when you rely on reward, you're effectively making wishes from a malevolent genie. Or you run the risk of saying, hey, SkyNet and World Hunger. And it's like no problem kill all humans. If you don't specify your reward functions very carefully, you can get very degenerate behaviors. So the goal of alignment in an RL setting is to get-- it would be to somehow get my reward function, or perhaps humanity's collective reward function, right, into the AI agent. This is really, really, really hard. It's really, really, really hard because measuring reward functions is really, really, really challenging. The approach that we're taking is we're taking-- well, so how do people actually do this? How do we, as humans, construct alignment? Well, the first thing we do is we try to figure out what other people's reward functions are. The problem of reward function identification is conflated by the fact that people have different beliefs. Action, which is what we can observe other people doing, is a combination of their beliefs and their reward function or their values. And so just sort of like taking those-- so the problem, of course, is that you only observe people's actions. There's a difference of opinion about what to do. And so you want to figure out why. And it could be because your beliefs are different, or it could be because your values are different. But it's ambiguous. You can't tell. It's mathematically. It's not even possible to separate these two. Belief and value are fundamentally conflated when all you observe is action or decision. The way that we solve this problem is people is we talk about our beliefs. I ask you, well, why do you think this is the action? And you tell me, oh, well, it's because this fact, this fact, and this fact suggest that if I do this, then this will happen. And then I can go in and say, ah, I see. So maybe the reason for the disagreement in our beliefs or in our decision is because you're not aware of this fact. And I'd forgotten about this fact. And so what we do is we incorporate all of these things together and then sort of see-- and then you would still say, well, I still think we should do X and I'm like, no, it's still definitely Y. And we continue this conversation until each of us has a very reasonable model of the belief formation mechanism that the other person has. At which point, the only cause for disagreement is a disagreement about the reward function. AI systems are completely illegible. And that's almost a good thing, because if we actually understood how flawed they were, they would be banned, right? Well, they're amoral. It's we have no idea to put morality into them. The smart, safe thing to do is to remove decision-making from their capabilities and to simply use them as oracles or prediction engines, right? And then we can just say, hey, what would happen if I did X, Y, and Z? And then it just sort of tells you, well, this is the ultimate outcome. And then we're like, oh, OK, well, then maybe A, B, and C were better choices, right? And things like that. And that eliminates them from the considerate-- from participating in the actions-- sorry, that prevents them from using their reward function, right? And you can get that just by training them to just do good prediction. That's totally great. But that doesn't give us the kind of automation that we really want, right? We really want our artificial decisions that are decision-makers that can act on our behalf. And so it's either going to be human in the loop or it's going to be something like what I propose where we figure out how to solve the alignment problem in that fashion. But Jeff, you're an old school cognitive guy. So for someone like you, would you always think that in the absence or in the lieu of explicit cognitive models that we would never be able to say that these things actually had beliefs or intentions? I think that what allows us to currently say that they don't have beliefs or intentions actually stems a lot from our knowledge of how they actually work. I, for example, have no problem concluding that you have beliefs and intentions. Though it may very well be that that conclusion is drawn for the fact that I really don't know how you work. I have an intuitive feel for it. I assume you work the way I work. I have beliefs and intentions. That's my perspective of myself. And so I conclude the same about you. It's kind of like emergence. Emergence is such a funny concept, right? Is that there's this whole branch of the emergence literature that defines an emergent phenomenon as anything that I didn't predict, right? Which is a remarkably anthropocentric. And I would argue ignorance based definition of emergence. And I don't like it. That's for those reasons. The same sort of thing goes with, you know, I think the sort of converse of that is what's going on here. So we know that these algorithms do not have like the capabilities to do anything other than predict. And so we don't believe they have intentions. But something like strong emergence usually means like, you know, a causal irreducibility. Whatever definition of emergence you end up going with, it shouldn't be ignorance based. It shouldn't be based on like, oh, well, there's, you know. And so, you know, that includes explanations of emergence that involves things like, well, the only way I could have discovered this was by simulating it. Therefore, it is an emergent phenomenon. I don't even like that. I am more sympathetic to that. But I prefer definitions of emergence that are sort of more pragmatic, right? That are sort of like, oh, no, an emergent phenomenon. This is why I like downward causation as like a fundamental feature of emergent behavior. Mostly because downward causation, it's not only a nice explanation of when you can, you know, a nice, sort of fairly rigorous definition of when you can say a phenomenon is emergent. It also comes with a practical tool. It tells you you don't need to model the microscopic phenomenon. Last time we spoke about linear and game of life, didn't we? Yeah, that was, oh, that's, I'm still playing with that, by the way. Oh, yeah. One of my favorite linear simulations, this is not particle linear, this is the traditional linear. And so, what they do is they have a field and their obstruction and their squares and circles and things like that. And then they have these little creatures that are sort of like a little amoeba like swimmers, like they've got like fins in the back and everything. And they swim and they'll hit one of these obstructions, which will cause them to deform and kind of look like, oh, it's going to die, that's so sad. And then it reforms and becomes itself again. And so we thought of this as like a really nice abstract environment in which to test the, you know, some of the properties of the physics discovery algorithm. Because one of the nice things about the approach we've taken is that as the thing, as a little swimmer goes and hits, hits something, it's possible that it loses its identity when it like deforms into something new and then reforms into itself. And we wanted to see if the approach we've taken captures that. And it more or less does, right? It hits the obstruction, right? The, you know, it changes its identity into an object of a different type. And then it reforms and comes out the other side and then regains its identity back. - That's not it, yeah. - Quick as I done, you know we spoke last time about Alex Mordvinsef and he had this, you know, convolutional cellular automata with the gecko, you know, the self-healing gecko. And he has now written a new paper with his friends at Google and it's using logic gates. So it's like an emergentist, logic gate thing that draws a Google logo. And I haven't read it in detail, but it looks amazing. So definitely look at that. And now you're taking your system and you're applying it in something like a game of life basically. But you still expect it to work. - Yeah, well, so I, there are forces in Lennia, right? It's there, you know, there's the rule that causes the pixels to change, right? It has a few properties, right? Well, it's radially symmetric, right? And it can flip sign, but it's like any radial symmetry can work. And so it has like a polarity. It has like, you know, and you can think of that. I mean, it is a force, you know, in a sense, right? And it's even a force that's like kind of like real forces. It's like a weird kind of charged particle thing. And so I still think that you can, you know, it's, you know, the, the approach that we're taking is basically just discovering what are the effective forces between, it's, you know, we're not worried about the microscopic forces. We don't care, right? That's the whole point of a macroscopic physicist. You know that there are microscopic forces that govern the behavior of the system as a whole. But what you're interested in are the things that make predictions on the scale you care about. And so what you're doing is you're discovering the effective rules that describe the interactions between not just the particles that make, or the pixels that make up the little floater or whatever flyer. But the rules that govern its interactions with other floaters or physical objects, like obstructs. They put obstructions in the domain and things like that. And Keith really loves cellular automata because they are too incomplete. And they have this miraculous ability to arbitrarily expand their memory. So you can have a grid size that's this big and you can just add more memory and you can add more memory. And you don't have to train a thing from scratch. And using some of these approaches we've just been talking about, you can actually train the update rules, learn the update rules as to cast a gradient descent. So do you think in the future we might actually have an AI system which is running inside the cellular automata? That is a very good question. So the snarky response is to say, don't we all, don't we already? I mean, what's, you know, we got it running on a computer. And at the end of the day, a computer's just a whole bunch of logic gates. So isn't it already? Yes, we're talking about that. Well, it's in the same class of algorithms. Yeah. But there seems to be, you know, a cellular automata that has this emergentist thing. So what it does is not how it's programmed. And it feels that it feels like there's a trick that the way it's programmed is an order of magnitude less complicated than the thing it does. Right. It was like a magical bridge to do stuff which is more complicated than we could explicitly program or learn. I agree with that. It also sounds a lot like a computer, you know, it's like, well, what can you do with like a lot of, now I guess the duty of the cellular automata is that a computer, you know, you program it. You tell it exactly like you specify something where it's in a cellular automata the way that you train it, if you're training to do something in particular, like so, for example, find a bunch of discrete objects that go in certain direction and then you're allowed to like tweak the rules that govern the local interactions until you get something that more or less does that. That's just programming in a sort of backhanded way. But I think that's, I mean, those systems are very interesting because it is remarkable that really dumb simple rules can lead to like really interesting sophisticated behavior. But the thing that I find interesting, though, isn't the fact that like complicated stuff can result from like simple local rules. What I find interesting, what I'm more interested in rather, is like, well, what are the properties of the resulting large scale objects, right? Is that, how is that related to the small scale objects? What's the mathematical description of those big things, the things that are that have emerged? I'm less interested in how they precisely emerge. This probably is because of my bias for taking a human cognitive approach. Most of the people don't act, you know, when you look at the game of life, when most people think, oh, that's really cool. Like, look at these pretty pictures and all these little creatures and they're doing fun things. They don't really care about the low level rules, right? The thing that captures their imagination is the high level, the macroscopic level behavior of these things. Though it is cool that you can get them from simple rules. Yes, yes. Now, as you say, we can program computers, but there's the legibility ceiling. We can do program synthesis. It doesn't work very well. It will. I have confidence that that's not one of those things that I'm going to like outright poo poo. Yes. I do have confidence that there's a lot of that, you know, that is a rich, that is a new area. It's, you know, a relatively new and they haven't really, you know, there's a lot of, it has a lot of promise. That's what I'm going to say. And to some extent, the approach that we're taking is compatible with program synthesis, right? We're taking this object center description of the world and the reason we're doing that is because we want to automate systems engineering. Well, what's systems engineering? Oh, that's like taking this object and attaching to this one, attaching to this one. 'Til you get something that does something really cool, right? Program synthesis, right, is an abstract way of doing that, right? Is that you start with one program, you attach it to another program, attach it to another program, and so on and so forth. There is this problem of just understanding the program. I mean, I'm going back to Dreamcoder and I'm sure Kevin and Joshua are the ones out more recently. Some of the programs which I learned are just really complicated. They had examples of, I think, drawing towers and drawing graphs and stuff like that. And you just saw this huge confection of rules that are being composed together. And it's great. It has many good properties that it's a program, but it doesn't really make sense to us. Yeah. To a large extent, I suspect that there are ways around that that are related to how it is, that your AI coding agent actually works. So for example, right, when they're doing this program synthesis, what they don't currently have access to is the kind of data set that like GitHub has access to. They don't have access to a whole bunch of really well-written programs that do exactly what they were intended to do. There was a paper in nature. This was actually one of those situations where neuroscience is making interesting statements about machine learning from Tony Zator. And what he had done is they'd taken a whole bunch of neural networks that did a variety of different things. And then they came up with a way of genetically encoding them for the purposes of seeing if like, OK, so what's this-- so it's like, oh, I had to have a layer that did this, and then a layer that did this, and then what I'm going to do is I'm going to like, compactly represent the weights in each layer and come up with a representation of that. And then I'm just going to look at a whole bunch of different neural networks and solve the whole bunch of different problems and say, are there any patterns that are present in these neural networks such that when I have a new problem I'm interested in, I can sort of just take something that understands this genetic code, maybe mutated a little, as a way of sensibly traversing the space of possible neural networks until I find the best one. Programs synthesis could, in principle, exploit the same trick. They just need the data set to do it. Yeah. Yeah. What are humans in a world where everything can be done by a robot? [BLANK_AUDIO]

Podcast Summary

Key Points:

  1. Bayesian inference is presented as a normative framework for empirical inquiry, effectively encapsulating the scientific method through explicit hypothesis testing and generative models.
  2. Behavioral evidence, such as optimal cue combination in humans and animals, suggests the brain operates in a Bayesian manner, efficiently processing sensory information by weighting reliability.
  3. Causal models are favored for their simplicity and practical utility, linking actions to outcomes, though their adoption may reflect computational convenience rather than literal truth about the universe.
  4. The distinction between micro and macro causation highlights that humans prioritize causal relationships at scales where they can act, with technology extending these affordances.
  5. A unified mathematical framework (e.g., linking information theory and physics) enables diverse interdisciplinary dialogue, though it can lead to cross-purpose discussions.

Summary:

The speaker, with a background in mathematics and complex systems, advocates for Bayesian inference as the foundational approach to understanding the empirical world, equating it with the scientific method. This perspective is reinforced by behavioral experiments showing that humans optimally combine sensory cues, akin to Bayesian analysis, by dynamically weighting information based on reliability. The discussion extends to causal models, which are valued for simplifying predictions and guiding effective actions, though their use may be more instrumental than ontologically true.

The speaker distinguishes between micro and macro causation, emphasizing that humans focus on causal relationships at actionable scales, with technology expanding these capabilities. Finally, the conversation touches on the value of a unified mathematical framework that bridges disciplines like physics, social sciences, and AI, fostering a common language despite occasional miscommunication. The rise of AI is attributed to factors like autograd, transformers, and scaling, with transformers' role debated in light of alternatives like Mamba.

FAQs

Bayesian inference provides a normative approach to empirical inquiry, encapsulating the scientific method by using explicit hypothesis testing and generative models conditioned on those hypotheses.

Behavioral experiments show that humans and animals optimally combine cues by accounting for their relative reliability on a trial-by-trial basis, suggesting the brain operates in a Bayesian manner.

Causal models simplify predictions by reducing the number of variables to track and directly indicate where to intervene to achieve desired outcomes, aligning with our ability to act effectively.

Micro causation deals with relationships at a particle or fundamental level, while macro causation involves larger-scale phenomena that align with our everyday actions and affordances.

We care about causal relationships at scales where we can act or intervene, and technology expands our affordances to leverage causal insights at other levels, like microscopic domains.

A good macroscopic variable summarizes system behavior in a way that makes microscopic details irrelevant and can be described by simple, predictive equations over time.

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.