In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt
-
0:06 - 0:10Three prisoners were sentenced to death;
-
0:10 - 0:11one of them is French,
-
0:11 - 0:13one of them is German,
-
0:13 - 0:16and one of them is Belgian.
-
0:17 - 0:20"What is your last wish?"
they asked the French guy. -
0:20 - 0:27He says, "A bottle
of exquisite French wine." -
0:27 - 0:29"What is your last wish?",
they asked the German guy. -
0:29 - 0:35He says, "I want to give a speech."
-
0:40 - 0:43"What is your last wish?",
they asked the Belgian guy. -
0:43 - 0:48He says, "I want to get shot
before the German starts his speech." -
0:48 - 0:50(Laughter)
-
0:50 - 0:52(Applause)
-
0:57 - 1:00Unfortunately for you guys,
it is too late now. -
1:00 - 1:01(Laughter)
-
1:04 - 1:10My speech will be about the simplest way
of explaining the Universe. -
1:11 - 1:14The Universe is following strange rules:
-
1:14 - 1:20Einstein's general relativity,
Planck's quantum physics. -
1:21 - 1:23But it may be even stranger
than you think, -
1:23 - 1:27and the Universe may be
even simpler than you think. -
1:29 - 1:34Many scientists are now taking seriously
the possibility that all of reality -
1:34 - 1:38is being computed
by a short computer program, -
1:38 - 1:44as first suggested in 1967 by Konrad Zuse.
-
1:44 - 1:49The same Konrad Zuse who in 1935,
-
1:49 - 1:53or from 1935 until 1941,
-
1:53 - 1:57built the first working general-purpose
program-controlled computer. -
1:58 - 2:03The idea is that every electron
behaves the same way, -
2:04 - 2:11because all electrons are essentially
using and reusing the same piece of code, -
2:11 - 2:13the same sub-program again and again.
-
2:14 - 2:17To make this plausible,
consider a video game -
2:17 - 2:20with a realistic
three-dimensional simulation. -
2:23 - 2:26The program that defines
the rule of this game -
2:26 - 2:29is a series of zeroes and ones
in your computer. -
2:29 - 2:32If you look at this program,
you don't see what it does. -
2:32 - 2:34You have to run it to experience it.
-
2:36 - 2:43It is true that reality still has
much better resolution than video games. -
2:44 - 2:47But soon, you will see
no difference no more, -
2:48 - 2:51because simulations are getting better
-
2:51 - 2:57by a factor of 1,000
per decade and Swiss franc. -
2:57 - 3:01But in any case, in a few decades,
we will have a factor of a billion. -
3:03 - 3:05This means that soon we will be able
-
3:05 - 3:10to simulate very convincingly
heavens and hells. -
3:10 - 3:12And soon, it would seem
very plausible indeed -
3:12 - 3:16that all of reality
maybe also is just a simulation. -
3:18 - 3:21To a man with a hammer,
everything looks like a nail. -
3:21 - 3:26To a man with a computer,
everything looks like a computation. -
3:26 - 3:31Skeptics might say,
"What about quantum physics -
3:31 - 3:37and Heisenberg's uncertainty principle,
and Bell's inequality?" -
3:37 - 3:39Don't these things show
-
3:41 - 3:44that the Universe cannot be computed
-
3:44 - 3:47by a simple deterministic
computer program? -
3:47 - 3:49And the short answers, "Not at all."
-
3:49 - 3:56For example, Bell himself knew well
that a deterministically-computed universe -
3:56 - 4:01with deterministically computed
observers like ourselves -
4:02 - 4:07is totally compatible
with all existing physical observations. -
4:07 - 4:10There is no physical evidence
against this possibility. -
4:13 - 4:15Before I came here,
-
4:15 - 4:18I thought this is going to be
just another TEDx talk, -
4:18 - 4:20and there won't be much of an audience,
-
4:20 - 4:23but you are actually
a large audience by my standards. -
4:26 - 4:30The other day, I gave a talk, and there
was just a single person in the audience -
4:30 - 4:31(Laughter)
-
4:32 - 4:33- a young lady.
-
4:33 - 4:37I said, "Young lady,
it's very embarrassing, -
4:37 - 4:41but apparently today,
I am going to give this talk just to you." -
4:42 - 4:48And she said, "OK, but please hurry.
I got to clean up here." -
4:48 - 4:49(Laughter)
-
4:52 - 4:53(Applause)
-
4:56 - 5:01In the 1980s, when my brother
was a teenager in Munich, -
5:01 - 5:04he told me and everybody else whom he met
-
5:04 - 5:09that the Universe
or the quantum multiverse -
5:10 - 5:13is the sum of all mathematics.
-
5:15 - 5:20He was younger than me
- my brother is still younger than I am - -
5:22 - 5:23and he also was smarter than me
-
5:23 - 5:27and he went on to become
a theoretical physicist, -
5:27 - 5:31first in Munich, then at Caltech,
at Princeton, at CERN, -
5:31 - 5:36and he lived in Bern,
next door to where Einstein lived. -
5:37 - 5:39Not at the same time.
-
5:43 - 5:45The sum of all mathematics.
-
5:45 - 5:47For a while, I didn't fully understand
what that means, -
5:47 - 5:50but then, in 1996,
-
5:50 - 5:56I was able to formulate this idea
through a computation, -
5:57 - 6:03pointing out that one can generalize
Everett's multiverse theory, -
6:05 - 6:09pointing out that there is
a very short program, -
6:09 - 6:13a short and fast program
that not only computes this Universe... -
6:13 - 6:14If it is computable,
-
6:14 - 6:16but there's no evidence
against this possibility... -
6:16 - 6:21Not only this universe but also all
other logically possible universes, -
6:21 - 6:26including those
with different physical laws; -
6:26 - 6:30for example, universes
where there's anti-gravity. -
6:31 - 6:35In fact, there is
a fastest, most efficient, -
6:35 - 6:40mathematically optimal way
of computing all possible universes, -
6:40 - 6:44all logically possible
computable universes; -
6:44 - 6:48an optimal way
that is better than any other. -
6:49 - 6:50I wrote it down for you.
-
6:50 - 6:53It has only 10 lines of code.
-
6:53 - 6:55It fits on this little piece of paper.
-
6:55 - 6:57Ten lines of code:
-
6:57 - 7:02the optimal way of simulating or computing
every logically possible universe. -
7:05 - 7:07It works like this:
-
7:07 - 7:12You essentially, systematically enumerate
all possible programs through a program, -
7:12 - 7:18and then you allocate run-time
to all of these programs in an optimal way -
7:18 - 7:22that makes sure
that each possible universe's history -
7:22 - 7:26is being computed
as quickly as if it were computed -
7:26 - 7:31by this universe's fastest program,
which we usually do not know in advance. -
7:32 - 7:36Faster, say, for a constant factor
which does not depend -
7:36 - 7:40on the size
of the universe's history so far. -
7:40 - 7:43The universe itself may be infinite.
-
7:44 - 7:49Any self-respecting
God-like great programmer -
7:50 - 7:52should use this optimal method
-
7:52 - 7:58to create and become the master
of all logically possible universes. -
7:58 - 8:00You should not use the sub-optimal method.
-
8:00 - 8:02That's the one that you should use.
-
8:03 - 8:05Suppose he does that.
-
8:07 - 8:10Then, after some time,
-
8:10 - 8:15many of the universes that are being
computed by this optimal way -
8:16 - 8:19will contain a copy of you,
-
8:20 - 8:22and of you,
-
8:22 - 8:26as you are looking at me
with incredible eyes. -
8:32 - 8:36You yourself could even
become a great programmer -
8:36 - 8:38by just taking this piece of code,
-
8:38 - 8:44programming it on your own computer
and simulating all possible universes. -
8:46 - 8:49Given the properties
of the optimal method, -
8:51 - 8:54it is now easy to see
that, at a given point in time, -
8:54 - 8:57most of the copies of yourself,
-
8:57 - 9:00of the universes that contain
a copy of your life, -
9:02 - 9:06will be due to one of the fastest
and shortest programs -
9:06 - 9:09that is compatible with your existence.
-
9:09 - 9:13This simple insight allows us
to make predictions about the future. -
9:14 - 9:18There are many possible futures
of your life so far. -
9:18 - 9:20Which one is going to happen?
-
9:21 - 9:27Answer: most likely one of the few
regular, non-random futures -
9:27 - 9:31that can be computed
by a fast and short program. -
9:31 - 9:35Because randomness, random stuff,
where everything suddenly dissolves -
9:35 - 9:40into arbitrariness is fundamentally harder
to compute than regular stuff -
9:40 - 9:43even by the optimal method.
-
9:47 - 9:52This means that beta decay,
the decay of neutrons, -
9:54 - 9:58which is widely believed to be random,
cannot really be random. -
9:58 - 10:03It has to be pseudo-random,
just like the decimal expansion of pi, -
10:03 - 10:05which looks random, but isn't,
-
10:06 - 10:10because it can be computed
by a short program. -
10:13 - 10:15A consequence of the optimal method
of computing everything -
10:15 - 10:21is also that quantum computation
is not going to work well. -
10:26 - 10:30And the reason is because it's consuming
so much traditional computation power. -
10:30 - 10:34I made this prediction
12 years ago, and since then, -
10:34 - 10:39there has not been any progress
in practical quantum computing. -
10:42 - 10:46So quantum computers are sexy,
but essentially, they are dead. -
10:46 - 10:49What about free will?
-
10:49 - 10:52Free will is overrated.
-
10:53 - 10:58In my lab, at the Swiss Artificial
Intelligence Lab, IDSIA, -
10:58 - 11:04we often program simulated worlds
-
11:04 - 11:10inhabited by simulated agents,
driven by simulated artificial brains -
11:11 - 11:15containing simulated
artificial neural networks. -
11:15 - 11:18In the beginning,
these guys are very dumb, -
11:18 - 11:23and over time, they become smarter;
-
11:23 - 11:29through pseudo-random trial and error,
they figure out how to solve problems -
11:29 - 11:33that they were not able to solve
in advance, in the beginning. -
11:35 - 11:37They have no idea
-
11:37 - 11:41that every single thought
of their little artificial brains -
11:41 - 11:44and the little artificial neural networks
-
11:44 - 11:45in their brains
-
11:45 - 11:52is totally deterministically
computed by a program -
11:52 - 11:56that does not have any random aspects.
-
11:59 - 12:01Nevertheless, computer science,
-
12:01 - 12:07and the whole line of reasoning
I now try to outline within 15 minutes, -
12:08 - 12:11is now offering
formal mathematical answers -
12:11 - 12:16to all questions
of philosophy and theology. -
12:17 - 12:22For example, one of the consequences
of this computational theology -
12:22 - 12:25is that your own life
must be very important -
12:25 - 12:28in the grand scheme of things.
-
12:28 - 12:31You may think
that your life is insignificant -
12:31 - 12:34because you are so small,
and the Universe is so big. -
12:34 - 12:39However, given the optimal way
of computing everything -
12:39 - 12:43and given the probability distribution
induced by this optimal way, -
12:46 - 12:52probably, it's very hard
to edit your life out of this history, -
12:52 - 12:55of the current history of this Universe,
-
12:56 - 12:59because the program
that computes this Universe -
12:59 - 13:01or one that is very much like it,
-
13:01 - 13:05but without you and without your life,
with all its ups and downs, -
13:05 - 13:11it's probably much longer, and therefore,
much slower than the original program, -
13:12 - 13:16which does contain your life,
which is totally interconnected -
13:16 - 13:19with everything else that is happening
in this computable world, -
13:19 - 13:22if it is computable indeed.
-
13:23 - 13:27So your life, from this perspective,
is not insignificant. -
13:27 - 13:31It is an indispensable part
of the grand scheme of things. -
13:31 - 13:36This is compatible with religions
that claim all is one -
13:36 - 13:39and everything is connected to everything.
-
13:39 - 13:45May this thought lift you up
in times of frustration. -
13:48 - 13:53I wish to thank the organizers
for doing a great job, -
13:54 - 13:55and for the check,
-
13:55 - 13:59which I am going to spend
on the education of my kids. -
14:00 - 14:04I wish to thank my mom, and my dad,
and the great programmer, -
14:04 - 14:08without whom all of this
would not have been possible. -
14:08 - 14:14I wish to thank my kids, without whom
all of this would not have been necessary. -
14:14 - 14:16(Laughter)
-
14:17 - 14:20And I wish to thank you,
my lovely audience, for your patience. -
14:21 - 14:22(Applause)
- Title:
- In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt
- Description:
-
This talk was given at a TEDx event using the TED conference format but independently organized by a local community. Learn more at http://ted.com/tedx
The Universe seems incredibly complex. But could its rules be dead simple? Juergen Schmidhuber's fascinating story will convince you that this Universe and your own life are just by-products of a very simple and fast program computing all logically possible universes.
Juergen Schmidhuber is Director of the Swiss Artificial Intelligence Lab IDSIA (since 1995), Professor of Artificial Intelligence at the University of Lugano, Switzerland (since 2009), and Professor of SUPSI (since 2003).
He helped to transform IDSIA into one of the world's top ten AI labs (the smallest!), according to the ranking of Business Week Magazine. His group pioneered the field of mathematically optimal universal AI and universal problem solvers. The algorithms developed in his lab won seven first prizes in international pattern recognition competitions, as well as several best paper awards.
- Video Language:
- English
- Team:
closed TED
- Project:
- TEDxTalks
- Duration:
- 14:27
![]() |
Denise RQ approved English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt | |
![]() |
Denise RQ accepted English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt | |
![]() |
Denise RQ edited English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt | |
![]() |
Denise RQ edited English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt | |
![]() |
Denise RQ edited English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt | |
![]() |
Maria K. edited English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt | |
![]() |
Maria K. edited English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt | |
![]() |
Maria K. edited English subtitles for In the beginning was the code | Juergen Schmidhuber | TEDxUHasselt |