Occam's Razor (Marcus Hutter) | AI Podcast Clips

A short interview-style clip with Marcus Hutter discussing Occam's razor, Solomonoff induction, Kolmogorov complexity, and the role of compression in science. Hutter explains the idea of preferring simpler models (shorter programs) for prediction, describes Solomonoff's formal mixture of program-based hypotheses, and relates complexity emergence (cellular automata, fractals) to limits on finding shortest-generating programs in practice.
Chapters
What is Occam's razor?
So Occam's razor says that you should not multiply entities beyond necessity, which sort of, if you translate it to proper English means, and you know, in the scientific context means that if you have two theories or hypotheses or models which equally well describe the phenomenon you have studied or the data, you should choose the more simple one.
So that's just the principle. That's not like a provable law. Perhaps, perhaps we'll kind of discuss it and think about it. But what's the intuition of why the simpler answer is the one that is likelier to be more correct descriptor of whatever we're talking about?
I believe the dock comes razor is probably the most important principle in science. I mean, of course we lead logical deduction and we do experimental design. Yeah, but science is about finding, understanding the world, finding models of the world. And we can come up with crazy complex models which explain everything but predict nothing. But the simple model seemed to have predictive power. And it's a valid question why? And there are two answers to that. You can just accept it. That is the principle of science and why we use this principle and it seems to be successful. We don't know why, but it just happens to be. Or you can try find another principle which explains Occam's Razor. And if we start with the assumption that the world is governed by simple rules, then there's a bias towards simplicity. And applying Occam's razor is the mechanism to finding these rules. And actually in a more quantitative sense, and we come back to that later, in case of some normal reduction, you can rigorously prove that if you assume that the world is simple, then Occam's Razor is the best you can do in a certain sense.
So I apologize for the romanticized question, but why do you think outside of its effectiveness, why do we. Do you think we find simplicity so appealing as human beings? Why does it just. Why does E equals MC squared seem so beautiful to us humans?
I guess mostly in general. Many things can be explained by an evolutionary argument. And there's some artifacts in humans which are just artifacts and not evolutionary necessary. But with beauty and simplicity, I believe at least the core is about like science finding regularities in the world, understanding the world which is necessary for survival, Right? If I look at a bush, right? And I just see noise and there is a tiger, right, and eats me, then I'm dead. But if I try to find a pattern, and we know that humans are prone to find more patterns in data than they are, you know, like Mars face and all these things. But this bias towards finding patterns, even if they are none, but I mean, it's best of course if they are, helps us for survival.
Yeah, that's fascinating. I haven't thought really about the. I thought I just loved science. But indeed from in terms of just for survival purposes, there is an evolutionary argument for why, why we find the work of Einstein so beautiful. Maybe a quick small tangent. Could you describe what Solomon of induction is?
Yeah. So that's a theory which I claim and raise alumni sort of claimed a long time ago that this solves the big philosophical problem of induction. And I believe the claim is essentially true. And what it does is the following. So, okay, for the picky listener, induction can be interpreted narrowly and wildly. Narrow means inferring models from data and widely means also then using these models for doing predictions. So prediction is also part of the induction. So I'm a little sloppy sort of with the terminology. And maybe that comes from Ray Solomonoff being sloppy. Maybe I shouldn't say that. He can't complain anymore. So let me explain a little bit this theory in simple terms. So assume you have a data sequence, make it very simple, the simplest one, say 11111 and you see, if one 101s, what do you think comes next? The natural answer? I may speed up a little bit. The natural answer is of course one. And the question is why? Well, we see a pattern there, there's a one and we repeat it. And why should it suddenly after 101s be different? So what we're looking for is simple explanations or models for the data we have. And now the question is a model has to be presented in a certain language. In which language do we use? In science we want formal languages and we can use mathematics or we can use programs on a computer, so abstractly on a Turing machine for instance. Or it can be a general purpose computer. And there are of course lots of models of you can say maybe it's 101s and then 100 0s and 101s, that's a model. But there are simpler models. There's a model print one loop that also explains the data. And if you push that to the extreme, you are looking for the shortest program, which if you run this program reproduces the data you have, it will not stop, it will continue naturally. And this you take for your prediction. And on the sequence of 1s, it's very plausible, right, that print 1 loop is the shortest program. We can give Some more complex examples like 1, 2, 3, 4, 5. What comes next? The short program is again counter. And so that is roughly speaking how Solomon Induction works. The extra twist is that it can also deal with noisy data. So if you have for instance a coin flip, say a biased coin which comes up head with 60% probability, then it will predict, it will learn and figure this out. And after a while it predict, oh, the next coin flip will be had with probability 60%. So it's the stochastic version of that.
But the goal is the dream is always the search for the short program.
Yes. Yeah, well, in Solomon of induction, precisely what you do is. So you combine. So looking for the shortest program is like applying Opaque's razor, like looking for the simplest theory. There's also Epicorus principle, which says if you have multiple hypotheses which equally well describe your data, don't discard any of them, keep all of them around, you never know. And you can put that together and say, okay, have a bias towards simplicity. But I don't rule out the larger models. And technically what we do is we weigh the shorter models higher and the longer models lower. And you use a Bayesian technique, you have a prior which is precisely 2 to the minus the complexity of the program, and you weigh all this hypothesis and take this mixture and then you get also the stochasticity in.
Yeah, like many of your ideas, that's just a beautiful idea of weighing based on the simplicity of the program. I love that. That seems to me maybe a very human centric concept seems to be a very appealing way of discovering good programs in this world. You've used the term compression quite a bit. I think it's a beautiful idea. We just talked about simplicity and maybe science, or just all of our intellectual pursuits is basically the attempt to compress the complexity all around us into something simple. So what does this word mean to you? Compression.
I essentially have already explained it. So compression means for me finding short programs for the data or the phenomena at hand. You could interpret it more widely as finding simple theories which can be mathematical theories or maybe even informal, like just inverts. Compression means finding short descriptions, explanations, programs for the data.
Do you see science as a kind of our human attempt at compression? So we're speaking more generally because when you say programs kind of zooming in on a particular sort of almost like a computer science, artificial intelligence focus. But do you see all of human endeavor as a kind of compression?
Well, at least all of science I see as an endeavor of compression, not all of humanity. Maybe. And well, there are also some other aspects of science, like experimental design. Right. I mean, we create experiments specifically to get extra knowledge and that is then part of the decision making process. But once we have the data, to understand the data is essentially compression. So I don't see any difference between compression, understanding and prediction.
So we're jumping around topics a little bit. But returning back to simplicity, a fascinating concept of Kolmogorov complexity. So in your sense, do most objects in the, in our mathematical universe have high Kolmogorov complexity? And maybe what is, first of all, what is Kolmogorov complexity?
Okay. Kolmogorov complexity is a notion of simplicity or complexity. And it takes the compression view to the extreme. So I explained before that if you have some data sequence, just think about a file on a computer and best sort of just a string of bits. And we have data compressors, like we compress big files into say zip files with certain compressors. And you can also produce self extracting archives. That means as an executable, if you run it, it reproduces your original file without needing an extra decompressor. It's just a decompressor plus the archive together in one. And now there are better and worse compressors. And you can ask what is the ultimate compressor? So what is the shortest possible self extracting RKF you could produce for a certain data set which reproduces the data set? And the length of this is called the Kolmogorov complexity. And arguably that is the information content in the data set. I mean, if the data set is very redundant or very boring, you can compress it very well. So the information content should be low. And you know, it is low according to this definition.
So it's the length of the shortest program that summarizes the data.
Yes, yeah.
And what's your sense of our sort of universe? When we think about the different, the different objects in our universe that we concepts or whatever, at every level, do they have high or low Kolmogorov complexity? So what's the hope? Do we have a lot of hope and be able to summarize much of our world?
That's a tricky and difficult question. So as I said before, I believe that the whole universe, based on the evidence we have, is very simple. So has a very short description.
So to linger on that, the whole universe, what does that mean? Do you mean at the very basic fundamental level in order to create the universe?
Yes. Yeah. So you need a very short program and you run it to get the thing going. You get the thing going. And then it will reproduce our universe. There's a problem with noise. We can come back to that later, possibly.
Is noise a problem or is it a bug or a feature?
I would say it makes our life as a scientist really, really much harder. I mean, think about, without noise we wouldn't need all of the statistics, but.
Then maybe we wouldn't feel like there's a free will. Maybe we need that.
This is an illusion that noise can give you free will, at least in.
That way it's a feature.
But also if you don't have noise, you have chaotic phenomena which are effectively like noise. So we can't get away with statistics even then. I mean, think about rolling a dice and forget about quantum mechanics and you know exactly how you throw it. But I mean, it's still so hard to compute the trajectory that effectively it is best to model it as coming out with a number with probability 1 over 6. But from this set of philosophical Kolmogorov complexity perspective, if we didn't have noise, then arguably you could describe the whole universe as well as standard model plus. I mean, we don't have a theory of Everything yet, but sort of assuming we are close to it or have it plus the initial conditions, which may hopefully be simple, and then you just run it, and then you would reproduce the universe, but that's spoiled by noise or by chaotic systems or by initial conditions which, you know, may be complex. So now if we don't take the whole universe, but just a subset, you know, just take planet Earth. Planar cannot be compressed, you know, into a couple of equations. This is a hugely complex system.
So interesting. So when you look at the window, like the whole thing might be simple, but when you just take a small window, then it may become complex.
And that may be counterintuitive. But there's a very nice analogy. The library of all books. So imagine you have a normal library with interesting books and you go there, great, lots of information and huge, quite complex. So now I create a library which contains all possible books, say of 500 pages. So the first book just has aaaaa over all the pages. The next book aaa and ends with B and so on. I create this library of all books. I can write a super short program which creates this library. So this library which has all books, has zero information content. And you take a subset of this library and suddenly you have a lot of information in there.
So that's fascinating. I think one of the most beautiful object mathematical objects that at least today seems to be understudied or under talked about is cellular automata. What lessons do you draw from sort of the Game of Life or cellular automata, where you start with the simple rules, just like you're describing with the universe, and somehow complexity emerges. Do you feel like you have an intuitive grasp on the fascinating behavior of such systems where some, like you said, some chaotic behavior could happen, some complexity could emerge, it could die out in some very rigid structures? Do you have a sense about cellular automata that somehow transfers maybe to the bigger questions of our universe?
Yeah, the cellular automata and especially the Conway's Game of Life is really great because this rule is so simple you can explain it to every child. And even by hand you can simulate a little bit. And you see this beautiful patterns emerge. And people have proven, you know, that it's even Turing complete. You cannot just use a computer to simulate Game of Life, but you can also use Game of Life to simulate any computer. That is truly amazing. And it's the prime example probably to demonstrate that very simple rules can lead to very rich phenomena and people sometimes. How is chemistry and biology so rich? I mean, this can't be based on simple rules. But no, we know quantum electrodynamics describes all of chemistry. And we come later back to that. I claim intelligence can be explained or described in one single equation. This very rich phenomenon. You asked also about whether I understand this phenomenon, and it's probably not. And there's this saying you never understand really things, you just get used to them. And I think I got pretty used to Selle automata. So you believe that you understand now why this phenomenon happens. But I give you a different example. I didn't play too much this Convoy's Game of Life, but a little bit more with fractals and with the Mandelbron set, these beautiful patterns. Just look Mandelbrot set. And well, when the computers were really slow and I just had a black and white monitor and programmed my own programs in assembler to wow, wow, you're legit to get these rectals on the screen. And it was mesmerized. And much later. So I return to this, you know, every couple of years. And then I try to understand what is going on. And you can understand a little bit. So I tried to derive the locations. You know, there are these circles and the apple shape. And then you have smaller Mandelbrot sets recursively in this set. And there's a way to mathematically, by solving high order polynomials to figure out where these centers are and what size they are approximately. And by sort of Mathematically approaching this problem, you slowly get a feeling of why things are like they are. And that sort of isn't, you know, first step to understanding why this rich phenomena.
Do you think it's possible, what's your intuition? Do you think it's possible to reverse engineer and find the short program that generated these fractals sort of by looking at the fractals?
Well, in principle, yes. So I mean in principle what you can do is you take any data set, you take these fractals, or you take whatever your data set, whatever you have, say a picture of Conway's game of life and you run through all programs. You take a program size 1, 2, 3, 4, and all these programs, run them all in parallel in so called dovetailing fashion. Give them computational resources first one 50%, second one half resources and so on, and let them run, wait until they hold, give an output, compare it to your data. And if some of these programs produce the correct data, then you stop and then you have already some program, it may be a long program because it's faster. And then you continue and you get shorter and shorter programs until you eventually find the shortest program. The interesting thing, you can never know whether it's the shortest program because there could be an even shorter program which is just even slower. And you just have to wait here. But asymptotically and actually after finite time, you have the shortest program. So this is a theoretical but completely impractical way of finding the underlying structure in every data set. And that is what Solomon induction does and Kolmogorov complexity. In practice, of course, we have to approach the problem more intelligently. And then if you take resource limitations into account, there's for instance the field of pseudo random numbers, and these are random natmas, so these are deterministic sequences. But no algorithm, which is fast, fast means runs in polynomial time, can detect that it's actually deterministic. So we can produce interesting, I mean random numbers, maybe not that interesting, but just an example. We can produce complex looking data and we can then prove that no fast algorithm can detect the underlying pattern.
Which is unfortunately that's a big challenge for our search for simple programs. In the space of artificial intelligence, perhaps.
Yes, it definitely is for anti artificial intelligence. And it's quite surprising that it's, I can't say easy. I mean, physicists worked really hard to find these theories, but apparently it was possible for human minds to find these simple rules in the universe. It could have been different, right?
It could have been different. It's, it's it's awe inspiring.










