Y Combinator Startup Podcast - #14 - Ex Machina's Scientific Advisor - Murray Shanahan
Episode Date: June 28, 2017Murray Shanahan was one of the scientific advisors on Ex Machina. He's also a Research Scientist at DeepMind and professor of Cognitive Robotics at Imperial College London.His book Embodiment and... the Inner Life served as inspiration for Alex Garland while he was writing the screenplay for Ex Machina.
Transcript
Discussion (0)
Hey, this is Craig Cannon, and you're listening to Y Combinators podcast.
Today's episode is with Murray Shannon, who is one of the scientific advisors on Ex Machina.
Murray's a research scientist at Deep Mind and professor of cognitive robotics at Imperial College London.
He's also the author of several books, one of which is called embodiment in the inner life,
and it served as inspiration for Alex Garland while he was writing the screenplay for Exmachina.
All right, here we go.
So I think the first question I wanted to ask you is that given the popularity of AI,
or at least the interest in AI right now,
What was it like when you're doing your PhD thesis in the 80s around AI?
Yeah.
Well, very different.
I mean, it's quite a surprise for me to find myself in this current position where everyone
and everyone is interested in what I'm doing.
The media are interested, you know, corporations are interested.
So certainly when I was a PhD student and when I was a young postdoc, it was a fairly niche area.
So you could just kind of like beaver away in your little kind of corner.
doing things that you thought were intellectually interesting and being reasonably secure
that you weren't going to be bothered by anybody.
But it's not like that anymore.
No.
And so what exactly was the subject matter at the time?
What were you working on?
At the time when I did my thesis.
Yeah.
Well, I worked on how you could use.
Oh, this is a, this is a, this is a, you're asking me to go back.
Let me think, what is it, like 30 something years?
Yeah, 30 something years.
Yeah, 30 years I finished.
30 years ago I finished my thesis.
Okay, so what did it look at?
So I was interested in logic programming and prolog-type languages,
and I was interested in how you could speed up answering queries in prolog-like languages
by keeping a kind of record of the thread of relationships between facts and
theorems that you'd already established. So instead of having to redo all the computations
from scratch, it kind of kept a little collection of the relationships between properties that
you'd already worked out so that you didn't have to redo the same computations over again.
So that was the main contribution of the thesis. I'm amazed. I can remember anything about it.
That's very impressive. I did my thesis like five years ago and I barely remember. And so did you pursue
that further at Imperial? No, I didn't. I kind of, well, one other thing that I did.
discussed in my thesis, I had a whole chapter on the frame problem. So the frame problem is,
there are different ways of characterising it, but the frame problem in its largest guise is all
about how a thinking mechanism or thinking creature or a thinking machine, if you like,
can work out what's relevant and what's not relevant to its ongoing cognitive processes. And, and
and how it isn't overwhelmed by having to rule out just trivial things that aren't irrelevant.
And so that comes up in a particular guise when you're using logic
and when you're using logic to think about actions and their effects.
And there you want to make sure that you don't have to spend a lot of time
thinking about the non-effects of action.
So, for example, if I move around a bit of the equipment like your microphone here,
then the color of the walls doesn't change.
And you don't want to explicitly kind of think about all those kinds of trivial things.
So that's one aspect of the frame problem.
But then more generally, it's all about sort of circumscribing what is relevant to your current situation
and what you need to think about and what isn't.
And so how did that translate to what folks are working on today?
Well, so it's actually, so this thing, the frame problem has recurred throughout my career.
So although there's been a lot of variation in what I've done.
So I worked for a long time in classical artificial intelligence,
which is there it's all about it was and still is all about using logic-like or sentence-like representations of the world.
And you have mechanisms for reasoning about those sentences and rule-based approach.
And so that approach of classical AI has fallen out of favor a little bit.
And I sort of got a bit disillusioned with it back in, well, a long time ago.
So by kind of the turn of the millennium, I'd more or less abandoned classical AI
because I didn't think it was moving towards what we now call AGI, artificial general intelligence,
the big vision of human level AI.
And so I thought, well, I'm going to study the brain instead, because that's the example
that we have of an intelligent thinking thing.
It's the perfect example.
So I want to try and understand the brain a bit more.
So I started working on building computational neuroscience-style models of the brain
and thinking about the brain from a larger kind of perspective
and thinking about consciousness and the architecture of the brain
and big questions.
And now, I'm getting around to answer your question, by the way, eventually,
but now I'm interested in machine learning.
There's been this resurgence of interest in machine learning.
I've kind of moved back to some of my interest in artificial intelligence,
and I'm not thinking so much about the brain or neuroscience or that kind of empirical work right now,
and I've gone back to some of the old themes that I was interested in in good old-fashioned AI,
classical AI.
So that's sort of an interesting trajectory.
Actually, the frame problem, interestingly, has been a recurring theme throughout all of that stuff,
because it keeps on coming up in one guise or another.
So in classical AI, there was the question of how can you,
write out a set of sentences that represent the world where you don't have to write out a load of
sentences that encompass a lot of trivial things that are irrelevant. And somehow the brain seems to
solve that as well. The brain seems to manage to focus and attend to only what's relevant to
the current situation and ignore all of the rest. And in contemporary machine learning,
there's also this kind of issue as well. There's also a challenge of being able to build
systems, especially if you start to
rehabilitate some of these
ideas from symbolic AI,
you want to think about how
you can build systems that
focus on what's relevant
in the current situation and
ignore things that are not. For example,
if a lot
of work here at DeepMind
has been done with these Atari
retro computer games.
So if you think of a retro computer
game like Space Invaders,
then if you think about the little invader going across the screen,
it doesn't really matter what colour it is.
In fact, it doesn't really matter actually what shape it is either.
What really matters is that it's kind of dropping bombs.
And you need to get out of the way of these things.
So in a sense, a really smart system would learn that it's not the color that matters.
It's not the shape that matters.
It's these little shapes that fall out of the thing that matter.
And so that's all about kind of working out what's relevant and what's not relevant to solving, to getting a good score in the game.
Sorry for the interruption, everyone.
We just got to see Gary Kasparov talk, which is pretty amazing.
Yeah, that was fantastic, wasn't it?
Yeah.
So Gary Kasparov, in conversation with Demis Hasabis, yeah, he gave a great talk about the history of his computer chess and, you know, his famous match with DeMis.
blue so yeah we just had to pop upstairs to watch that right so now it was part two yeah kind of one of
those once in a lifetime things it also seems like he got out at the exact right time yeah maybe yes
he did yeah yeah so so demis at the beginning of the interview said that said that so that he thought
that he was perhaps the greatest chess player of all time and so he was there just at the right time to
be knocked out by a computer in a way yeah not knocked off the top spot very cool yeah yeah
And he also said that maybe accurately that any iPhone chess player now is probably better.
Than deep blue was in 1997, yeah, which is interesting.
I also thought it was interesting.
He was saying that just anybody in their living room now can sit and watch two Grandmasters playing a match
and can use their computer to see as soon as they make a mistake and can analyze the match
and can follow exactly what's going on.
Whereas in the past, it took expert commentators sometimes days to,
figure out what was going on when two great players were playing.
So that was interesting.
What struck me was how he was kind of analyzing the current players and how they relied so
heavily on the computer, or at least he thinks they rely so heavily on the computer,
that they're kind of like reshaping their mind.
Right.
Yeah.
And that certainly I think is going to be true with Go and with AlphaGo.
So it's been interesting watching the reactions of the top Go players like Lisa Dole.
and KGA, who are very positive in a way about the impact of computers on the game of Go.
And they talk about how AlphaGo and programs like it can help them to explore parts of this universe of Go that they would never otherwise have been able to visit.
And so it's really interesting to hear them speak that way.
Yeah, it seems like they're going to open up just kind of new territories for new kinds of games.
to actually be created.
Yeah, indeed, yeah.
Well, so we've already seen that with AlphaGo in the match with Lisa Dole.
So, as you probably know, there was a famous move in the second match against
Lisa Dolm, move 37, where all the commentators, all these sort of nine Dan masters were saying,
saying, oh, this is a mistake.
What's AlphaGo doing?
And this is very strange.
And then they sort of gradually came to realize that this was a sort of revolutionary kind of
tactic to put the stone in that particular rank and that particular time in the game.
And since then, the top go players have been exploring this kind of play about moving into
that sort of territory when the conventional wisdom was that you shouldn't.
Yeah, I mean, the augmentation in general, I find fascinating across the board.
And I think he was hinting that as well.
Yeah, he was.
Yeah.
So he was very positive about the prospects of human machine,
partnerships and where humans provide maybe a creative element and machines can be more analytical
and so on.
What was that law that he mentioned?
I forgot the name of it.
I wrote it down.
Moravech's more.
Moravich's law.
Yeah.
Named after Hans Moravage, the roboticist who wrote some amazing books, including
mind children.
So he wrote this book called Mind Children.
And this phrase, mind children alludes to the possibility that we might create.
these artifacts that are like children of our mind and that they have sort of lives of their own
and they are the children of our minds.
You know, it's a challenging idea.
This is an old book.
I mean, from the late 80s.
Okay.
Do you buy it?
Maybe in the distant future.
Okay.
Well, then maybe we ought to segue back into what we were talking about, which is kind of related
to your book, your two books ago.
Embodiment in the inner life.
Yeah.
Yeah, which came out in 2010.
Okay.
Because that was kind of an integral question to the movie, X Machina, right?
Because you didn't necessarily have to have a person like AI.
And more importantly, you didn't have to have an AI that sort of looked like a person, that sort of looked like an attractive female, that also looked like a robot, right?
They tee it up in the beginning.
Nathan tease it up in the beginning.
Yeah, yeah.
No, I mean, obviously, to a certain extent, those are things.
that make for good film.
And so they're artistic choices and cinematographic choices.
And I mean, in the film, Her, we actually have, of course, a disembodied AI.
And so it's possible to make a film out of disembodied artificial intelligence as well.
But obviously, a lot of the plot and what drives the plot forward in XMachin, is to do with Ava's embodiment
and the fact that Caleb is attracted to her and sympathizes.
and empathises with her.
But there's also kind of a philosophical side to it too,
which is certainly, I think that it, well, no doubt when it comes to human intelligence
and human consciousness, our physical embodiment is a huge part of that.
It's where our intelligence originates from,
because what our brains are really here to do is to help us to navigate and manipulate
this complex world of objects in 3D space
and that is so our bodiment is an essential fact here
we've got we've got these hands that we use to manipulate objects
and when we've got legs that enable us to move around in
the complicated spaces so that's in a sense is what our brains are
originally for the biological brain is to is there to make for
smarter movement. And all of the rest of intelligence is a flowering out of that in a way.
And so did you buy the gel that he showed Caleb in the beginning?
Oh, yeah. So it's interesting because the way the film is constructed is that, so Alex Garland,
you know, the writer and director, so he sometimes says that the film is set 10 minutes into
the future. It's just, you know, it's like a really meant to be like really a lot like our world.
just very slightly into the future.
And so when you see the, you know, Nathan's lair, his sort of retreat in the wilderness,
there's nothing particularly science fictiony about that.
It's designerish.
And of course, it is, in fact, a real hotel in a real, you can actually go and stay in this place.
Where is it?
In Norway.
And so it doesn't have a particularly futuristic feel.
And almost everything you see is not very full.
futuristic. It's not like Star Wars, but then there are a few things, a few carefully chosen
things that look very futuristic and they're Ava's bodies, so the way you can see, you know,
the sort of the insides of her torso and her head. And then when he shows the brain, which is
made of this gel. And so I think that was a good choice because we don't at the moment know
how to make things that are like Ava that have that kind of level of
artificial intelligence. So that's the point at which you have to go sci-fi, really.
Well, I mean, those like lifelike melding elements, have you watched the new show at the HBO show?
Is it Westworld?
Do you know, I haven't? No, I mean, yeah, I really, it really is on my to-watch list because,
but I've heard a lot about it, yeah.
Because they definitely...
I remember the original with Yul Brinner, but I haven't watched the series. I can't see it yet.
Yeah, yeah.
They definitely take cues.
I mean, I guess it's probably like in the sci-fi canon that you have this basement layer where you create the robots and then they become lifelike through this whole process.
Even if you just watch kind of the opening title credits, it's exactly that.
It's like the very, the 3D printed sinews of the muscles.
It looks exactly like Nathan's layer.
And so what I was wondering is as you were consulting on the show, how much of that were they asking you about and were they saying like, is this like remotely 10 minutes in the future?
or is this 50 years in the future?
Well, it wasn't really like that, actually.
I mean, I'll tell you the sort of whole story of how the kind of collaboration came about.
So I got this email from Alex Garland, you know, unsolicited email out of the blue.
It's the kind of unsolicited email you really want to get from, you know, famous writer, director,
who wants you to work on a science fiction film.
And he basically said, oh, I read your book, embodiment in the...
in the inner life and it helped me to kind of crystallize some of the ideas about this
around this script that I'm writing for a film about AI and consciousness and you know do you want
to get together and have a chat about it so I didn't have to think very hard yeah about that and
so so we got together and had lunch and and he sent me the script and so I'd read through the
script by the time I got to see him and and he really he'd certainly wanted to know whether
It sort of felt right from the standpoint of somebody working in the field.
And I have to say it really did.
There was nothing, I mean, as a script, it was a great page turner, actually.
It's interesting being in that position because now ex-Machinaire and the image of Ava has become kind of iconic.
And, you know, you see it everywhere.
But, of course, when I read the script, all of that imagery didn't exist.
So I was reading it.
I had to kind of conjure it up in my own.
head.
So he didn't give you any kind of preview of what he was thinking, aside from text.
So no, because nothing had been, nobody had been cast then at that point.
And I think actually when we met up, if my memory serves me right, he did have a few,
he did have some images of some mock-ups from artists of what Ava might look like.
But I hadn't seen it when I'd read the script.
So for me, it was just kind of the script.
and the characters really leapt off the page.
The character of Nathan in particular was really very vivid
and you really didn't like this guy, just reading the script.
Anyway, so then Alex really wanted to...
So I sort of grabbed the title of Scientific Advisor.
I'm not sure if I ever really was officially a scientific advice,
but Alex really wanted to meet up and talk about these ideas.
He wanted to talk about consciousness and about AI.
And so we met up several times during the course of the filming.
And I think there's very little that I contributed to the film at that point.
And in a sense, perhaps I'd already done my main bit by writing the book.
I mean, there were a few little phrases that I corrected tiny, tiny things.
But otherwise, I just thought, you know, great.
Gosh, really, really, very good.
And there are some lines in the film that I just thought were so spot on.
Anything you remember in particular?
Like what line in particular?
Yeah, well, I mean, so a favorite one is where Caleb...
So initially Caleb is told that he's there to be the human component in a cheering test.
And of course it isn't the cheering test.
And Caleb says that pretty quickly.
He says, well, look, in the real cheering test, the judge doesn't see whether it's a human or a machine.
and so on, but of course I can see that
Ava's a robot. And Nathan
says, oh yeah, we're way past that.
The whole point here is to
show you that she's a robot and see if you
still feel she has consciousness.
And I thought that that was so spot on.
I thought that was an excellent, really an
excellent point, making a very important
philosophical point in this
one little line in the middle of
a psychological thriller, which is pretty cool.
So I call that the Garland Test.
I found it very like yeah that was really astute
I was wondering like which which text influenced him most
when he was writing it and in particular like where you found
that your work had seeds like planted throughout the movie
yeah where do you think it was the most influential
well it's a good question you know you need to ask him
so so certainly that so my book is very heavily influenced by Vic
And in a sense,
Wittgenstein is all about
when it comes to these deep philosophical questions.
It's very, in a sense, it's very down to earth.
It's always saying, well, what do we mean by consciousness and intentionality
and all these kind of big difficult words?
And Wittgenstein is always taking a step back and saying,
well, what are the role of these words in ordinary life?
And the role of these words in ordinary life with something like consciousness
is all to do with the actual behaviour of the people we see in.
front of us. And so, you know, in a sense, I judge others. Well, I don't actually go around
judging others as conscious. That's a point that he would make as well. It's just, I just
naturally treat them as conscious. And so why do I naturally treat them as conscious? Because
their behavior is such that that's, that they're just like fellow creatures. And I just do,
and that's just what you do when you encounter a fellow creature. You don't think carefully about
it. And so this is an important Viconstinian point that I bring out in the, in the book,
very much. And in a sense, that's very much what happens to Caleb. So Caleb doesn't, you know,
isn't sort of sitting, making notes saying, therefore she's conscious. But rather, through interacting
with her, he just gradually comes to feel that she is conscious just to, and to start treating her
as conscious. And so, so that's a very, there's something very vic and stinian about that. And then I think
probably that comes from, I'd like to think, that comes from my book to an extent. Well, I'd never,
I guess it seems very cinematic that it would be like over the course of a week the Turing test,
but I had never seen a Turing test frame that way. Yeah. I mean, I guess it's not, you know,
it's a Garland test. But did you, did you coach him in any way of like the, the natural steps
that someone would take as it, as the test elevates? No, not at all. No, this is all Alex Garland's
stuff. I had, I had no input on that side at all. So the script was already, and the plot was already,
the whole script was already, you know, 95%
you know, done, you know, when I first saw it.
Okay.
So there are a few differences in the final film from what you see in the script that I saw,
and indeed in the publish.
So that was actually, that was a question from Twitter.
This is kind of a seemingly pseudonym on Twitter.
Someone trench shovel.
They asked, were there any parts of the script that were changed or left out
because they weren't technically feasible or realistic.
Ah, well, so there was a bit that was in the script that was left out in the final filming,
which I think is very significant.
Okay.
And so right, so spoilers ahead for the few people.
I assume if you're listening to this, you've seen the film.
So right at the end of the film where Ava is climbing into the helicopter,
having escaped from the compound and she's about to kind of fly off.
and she and we see her have a few words with a helicopter pilot and you know I wonder what she says
actually you know that's interesting that just fly me away from here anyway and then off the off the
helicopter goes now in the written script there's a there's an instruction there which says something
along the lines oh we see you know we see waveforms and we see the facial recognition vector
fluttering across the screen and we see this, that and the other.
And it's utterly alien.
This is how AFA sees the world.
It's utterly alien.
Now, in the end, so the very first version of the film that I saw was long before all the VFX had been properly done and everything.
So it was a first crude cut.
And they had, they put sort of this scene and they started, they put a little bit.
of this kind of visual effects in.
And then I think they decided this didn't really work terribly well to do that at that point.
So they kind of cut it out.
So in the version that we see, you don't actually see that.
You just see her speaking to the helicopter pilot and she climbs into the helicopter.
But it's a very significant direction because, you know, we're left, I mean,
I think one of the great strengths of the film is that it leaves so many unanswered questions.
You know, you're left thinking, is she really conscious?
is, you know, does she really, is she really capable of suffering?
Is she just a kind of machine that's gone horribly wrong?
Or is she a person who's, who's understandably had to commit this act of violence in order to save herself, you know?
Which of these is it?
And you never really quite know.
And although I think people are leaning more towards the kind of, oh, she's conscious in a straightforward kind of way, then that's the.
but that that
version of the ending
just points to the fact
that there's a real ambiguity there because if that had been
shown you might be leaning more the other way you might be
thinking gosh you know this
this is a very alien creature indeed
and and
she still might be really genuinely conscious and
generally capable of suffering but it would
really throw open the kind of question
you know how alien is she in
to me that that would also
so just so I understand it was it was a VFX over
the actual image, right?
Well, I mean, in the script, it doesn't specify exactly how it to be, how it would be done.
So it just says something like, we see, you know, facial recognition vectors fluttering and we's,
and I can't remember the exact words.
But it was, you know, obviously the idea was to give an impression of what things
look like and sounded like for Ava in some sense, which of course is very, in a sense is
impossible to convey, but you just have to, we would have.
I think maybe that's why they thought, how do we, how would we do this?
Well, I didn't know if they were also trying to avoid some kind of, I guess it's not really like a fourth wall, but it's also trying to, trying to avoid the situation where they, the author or theuteur of the Alex, right, of the movie is saying, like, we're in a simulation.
Like, this is what you're seeing as you are the mind of some, an artificial intelligence.
Yes, well, I think it was meant to be shown from her point of view.
So, so, so that wouldn't have been an interoperable.
of it if they've got it right, I would imagine.
So maybe, but I don't know why exactly they decided not to put it in, but, but it's just
the fact that that that direction is there in this script.
And by the way, that's in the published script.
So I'm not giving any, I'm not giving anything away here.
But there is, the published version of the script has this little direction in it.
Yeah, I rewatched it.
Yeah, I rewatched it last night.
And I remembered the ending.
I was like, it's so vague.
Yeah.
It's so vague what happens.
And, yeah.
I do remember, because I, I, I, quite like that ambitial.
You know, where you just, you don't really know, really.
You know, is she conscious at all?
Is she conscious just like we are?
Is she conscious in some kind of weird alien way?
You never really know.
And this is a deep philosophical question.
And there's also a moment where, right at the end,
where she's coming down the stairs, having escaped, basically,
she's coming down the stairs at the top floor of Nathan's compound.
And she smiles.
She does that.
She goes up the stairs, kind of looks back in surveys.
Yes.
And she smiled. And I remember saying to Alex, I said, I don't think you should have that, after I'd seen the first version, I said, I don't think you should have that smile there because it's too human.
And he was, you know, and he was, you know, really thought it was important to have the smile there because I think he would say.
Yeah.
So I think he, I think Alex would, I don't want to put words in his mouth. So I apologize to Alex if he's listening to this.
I think he would say that people, of course, can have their own interpretations.
And that's, of course, that's, you know, but he would probably lean towards the interpretation that she is conscious in the way that we are.
And the evidence for that is, well, why would anybody smile to themselves privately if they weren't conscious just like we are?
And what else in those conversations, you know, you're watching edits of the movie.
What else did you guys work through?
well so there's the Easter egg
yeah that's a good one
so I'll tell you the story of the Easter egg
yeah so so the first
time I saw any
you know any kind of clip of X Machina
as Alex sent me in email
and said well do you want to come in and see a
see a bit of X Machinae's you know it's in the can
as they as these film people say
there are no cans anymore for the
for the film to go in.
But, um, uh, so come and see a kind of like, you know, come to the cutting room.
So, um, so I went along and, uh, and he showed me some, uh, some scenes.
And at one point he kind of stopped the, uh, stopped the machine.
And, um, and he said, and this is the moment where, uh, Caleb is
reprogramming the security system in order to release or the locks to try and get out.
And, uh, and so Alex froze the frame there and said, uh, right.
Now, you see these computer screens.
where Caleb is typing into these computer screens
and he said, you see this window here.
Now this window, it's all full of kind of some junk code at the moment.
And it says, but you can be sure there are going to be,
there are going to be some geeky types out there
who the moment this thing comes out on a DVD,
they're going to freeze that frame and they're going to say,
what does this do?
So let's give them an Easter egg.
And you said, let's give them a little surprise.
So he said, basically, you said that window is yours.
Put something in there.
and some kind of hidden message
and he said maybe make it an allusion to your book.
So I thought,
this is very cool.
This is the best product placement ever, ever.
I've probably sold one other copy, thanks.
So I went home that evening.
And I made the mistake that evening of buying a bottle of sake.
And I was drinking this sarca.
I said, what am I going to do for this?
And I got down coding something up in Python.
then and I was having a good laugh at what I was going to do.
So I thought, okay, it's got to be vaguely kind of to do with security.
So an encryption.
So let's have something that kind of has some primes in it.
So I wrote this little piece of the Sivavirotostony,
is a classic way of computing primes.
I wrote this.
So instead of kind of getting off Wikipedia or something,
I sat there and coded it myself after four glasses of Sarka.
And I was cleaning this thing up.
and then basically it computes some big array of prime numbers
and then there's this thing that indexes into the prime numbers
and then adds some random looking other numbers to the numbers that it's
and then those are ASCII characters and then it prints out
what those ASCy characters actually look like.
So when you look at this code on the screen,
it's just gobbledy good,
but something to do with prime numbers.
If you run it, it prints out ISBN equals
and the ISBN of my book in Bodomers and The Inner Life.
Anyway, so that was very pleased with this
going on, I handed it over to them and they put it in the thing.
But I have to say, Alex was wrong.
It wasn't when the DVD came out that, oh no, it only had to be on BitTorrent for 24 hours,
long before the DVD came out, before there was pages about this thing on the internet.
There was a whole Reddit thread.
There's a GitHub repository with my piece of code.
And the Reddit thread includes a whole lot of criticism about my coding style.
It's not Pepe-A compliant.
It's really funny.
And it's true.
It's really true.
But what I really regret was that the loop, I put the wrong terminating condition on the loop.
You know, you can terminate the syve of eratosthenes after n squared.
You don't have to go all the way to n over 2.
But for some reason, I wasn't paying attention.
Four glasses of sake.
And I put, you know, it terminates after n over 2.
It's inefficient.
I'm ashamed.
Yeah.
Maybe that's the bug in her code, and it will always be a bug.
Well, it's not a bug.
It's just, give me some, give me some credit.
I mean, it's not actually a buck.
I mean, it does meet the specification, but it's not efficient.
Fair enough.
We should ask some of these questions from Twitter.
I know people are very excited to ask you a question.
So we already asked one.
So Patrick Atwater, let's get to his question.
This is, okay, so this is, we should, so Craig, ask how much closer we are to the sort
of general Hollywood-style AI now.
than we were in the 50s.
In the 50s?
So I think what he's alluding to is the flying car, you know, pastel version.
Like it's kind of the crazy futuristic version of the AI in the 50s.
And then the AI that they're portraying in the movie.
Well, I can tell you that we're precisely 60 years closer than we are in the 50s.
But I don't think that's the kind of answer that.
No, we can tweet them though.
So, well, of course, you have to remember that in X Machina, as in all,
films, the way that AI is portrayed, you know, really a lot of it is to do with making a good
film and making a good story. And I mean, in particular, people love stories where, you know,
where the AI is some kind of enemy nemesis and so on. Actually, Gary Kasparov, who we just
heard speak, made a very interesting point, didn't he about this? He said that there's,
that there's been a kind of, he pointed out, and I think he's right, that there's been a kind of
change from very positive views in science fiction of utopian, we're going to views where we're
going to kind of get to the stars and to more dystopian views of things where it's, you know,
like the Terminator and so on. But anyway, it certainly makes for a good story if your, if your
AI is, you know, is bad. And it also makes for a good story if your AI is embodied and if your
AI is very human-like. Whereas in reality, AI, insofar as it's going to get more and more sophisticated
and closer and closer to human-level intelligence, it's not necessarily going to be human-like.
So it's not necessarily going to be embodied in robotic form. Or if it is embodied in robotic form,
it might not be in humanoid form. So in a sense, a self-driving car is a kind of robot.
Yep.
So I think that things, you know, will be a bit different from the way they seem, the way
that Hollywood has portrayed them.
Of course, if you go back to the 50s and if we, I mean, it's very interesting to look at
retro science fiction.
I love retro science fiction.
You look at something like the forbidden planet, then Robbie, of course, in the forbidden
planet, is this metal hunk thing, you know, which is completely impractical.
And you're thinking, how would it get around at all?
and how would it do anything with these kind of claw arms and hands that it's got.
So clearly we've changed a lot in our view of what we think we can, the kinds of bodies we think
that we might be able to make in the future.
And I think it's also quite difficult because there's not really a clear benchmarking
happening right now.
Because it's not obvious.
If it was just like, you know, energy and compute going into this, then the race would be,
I mean, it wouldn't be over, but it would be very obvious as who's winning and what's going on.
Yeah.
where there are, it seems to be that there are clear breakthroughs that have to happen.
Yeah, that's certainly my view.
So if we're thinking about now the question of when might we get to human level AI,
or artificial general intelligence, then I think we really don't know.
And certainly some people can, you know, you can draw graphs that extrapolate computing power
and the sort of how fast the world's fastest supercomputers are.
and we're pretty close to,
well, depending on how you calculate it,
we're pretty close to human brain scale computing
already in the world's fastest supercomputers
and we will get there within the next couple of years.
But that doesn't mean to say we know how to build human level intelligence.
That's an altogether different thing.
And also there's controversy about how you make that calculation as well.
I mean, do you, you know, how do you count a neuron,
how do you count the computational power of one neuron or one synapse
and some people, you know, it may be that some of the immense complexity in the synapse
is functionally irrelevant.
It's just, you know, it's chemically important and so on,
but it might be functionally irrelevant to cognition.
So we really, there's a lot of open questions there.
But even if we allow kind of conservative estimate,
and we assume that we're going to have enough computing power that's equivalent,
the computing power that's equivalent to that of the human brain by, say, 2022 or something,
or 2020.
Yeah, we still would need to understand exactly how to use all of that computing power to realize intelligence.
And I think there are probably an unknown number of conceptual breakthroughs between here and there.
Yeah, I mean, specific AI absolutely happening, but this general AI that he's talking about.
Yeah.
Yeah, exactly.
So, yeah, so clearly there's lots of specialist artificial intelligence where we're getting really good at things like,
image recognition and image understanding is and speech so speech recognition is more or less
been cracked the act they're just the process of turning the way raw waveform into text um into
so that that's been cracked but then again under real understanding of the words that's a whole
other story and um and while today's personal assistance you know it can be are quite cool and
they're going to get better and better there's still a way off displaying any genuine understanding
of the words that are being being used.
I think that will happen, you know, in due course, but we're not quite there yet.
Yeah, I mean, fortunately or unfortunately, because that also, that underlies one of the other questions that I did want to ask.
So this is from, I think, Mecca and Mecca Floss on Twitter.
So their question is, excellent movie, but why is Asimov's Law forgotten?
That would be the absolute first thing they asked.
So just for people who don't know what that is,
There are three laws of robotics, right?
So I wrote these down.
So a robot may not injure a human being or through inaction allow a human being to come to harm.
That's the first one.
Two, a robot must obey orders given to it by human beings except where such orders would conflict with the first law.
And then the third law is a robot must protect its own existence as long as such protection does not conflict with the first or second law.
And so their point is basically like, you know, why is the first law broken?
Ex-Marketer.
Yeah.
Well, of course, Asimov's laws are themselves the product of science fiction.
They're not real laws.
We should make that clear.
So Asimov wrote those laws down in order to make for great science fiction stories.
And all of the science fiction stories, Asimov stories, are, you know, center on the ambiguities and the difficulties of interpreting those laws or realizing them in actual machines.
and often the sort of moral dilemmas, as it were, that the robot is faced with in trying to uphold those laws.
So even if we did suppose that we wanted to somehow put something like those laws into a, I mean, it's not relevant to robotics today, but if we do want to put them into a robot, it would be immensely difficult.
So I should take a step back and say, why is it irrelevant to robotics today?
So, of course, let me qualify that.
Of course, there are people who want to build autonomous weapons and all kinds of things like that.
And you might say to yourself, well, I would very much like it if somebody was trying to pay attention to things a bit like Asimov's laws and say, well, you know, you shouldn't build a robot that is capable of killing people.
But that's a law that the designers, or that would be a principle if we were to have it, that the design.
miners and engineers would be exercising, not one that the robot itself was exercising.
So that's the sense in which it's not relevant today, because we don't know how to
today make an AI that is capable of even comprehending those laws.
So that's kind of the first point.
So why doesn't...
Okay, but when we're thinking about the future, of course, this is in X-Machina.
So why not...
Well, it would obviously, again, make a very different story if...
if Asimov's laws were put into Ava.
But let's suppose that it was a world where we were minded to put Asimov's laws into Ava.
Well, maybe Ava might reason that she is human.
You know, what is the difference between herself and a human?
And maybe she would reason that she shouldn't allow herself to come to harm.
And therefore, she was justified in what she was doing.
Who knows? I mean, it's just a story, right?
I think we have to remember that it's just a story, and it's actually very important.
I think science fiction is really, really good at making us think about the issues.
But at the same time, we always have to remember that it's just stories, that there's a difference between fantasy and reality.
And I think it's also, it is also kind of covered in the movie when Nathan Caleb are debating.
I think Nathan's criticizing Caleb.
over going with his like gut reaction and his ego and not in like if he were to think through every
logical possibility for every action he would never do anything right which is kind of like
directly against all these laws.
You know like Ava would never do anything if she could harm someone possibly down the road
by you know burning fossil fuel by being in the helicopter well indeed yeah yeah yeah I mean I
guess we're all um we're all have to confront those sorts of dilemmas all the time and I mean
And indeed, you know, moral philosophers have got plenty of examples of these kinds of dilemmas
that make it obvious that there's no simple, single rule really, you know, is enough by itself.
Trolley problems, if you know, where, you know, the trolley is heading down the track,
and there are points, and for some unknown reason, somebody is tied across the tracks
on one fore. It's very cinematic.
It's very somatic.
and on the other fork, three people are tied across the tracks.
And the points are currently such that the three people, the trolley is going to go over the three people and kill them.
And you are faced with the possibility of changing the points so that the trolley goes down the first track and kills only one person.
So what do you do?
And philosophers can spend entire conferences debating what the answer to this is and thinking of variations and so on.
and that little problem, that little thought experiment of Philip of Foote's thought
experiment there is a distillation of, you know, much more complex moral dilemmas that exist
in the real world.
Absolutely.
So before we go, I do want to talk about your thoughts on broader things.
You know, obviously you work here at deep mind.
We haven't been broad enough.
Yeah, no.
We'll like broader things than X Magna.
Right.
So obviously you're here at deep mind.
you're at Imperial as well, 20% of the time.
Can you talk a little bit about things you're excited about for the future as far as it relates to what you're working on?
Yeah.
Well, so I've recently got very interested in deep reinforcement learning.
So deep reinforcement learning is one of those things that deep mind has made famous really.
So when they published this paper back in 2014 and then the nature version in 2015, about
So they publish this paper about a system that could learn to play these retro Atari games completely from scratch.
So all the system sees is just the screen, just the pixels on the screen.
It's got no idea what objects are present in the game or anything.
It just sees raw pixels and it sees the score.
And it has to learn by trial and error how to get a good score.
And they managed to produce this system, which is capable of learning a huge number
of these Atari games completely from scratch
and getting in some cases
superhuman level performance
and other cases human level performance
and in some cases it wasn't too good
at the games.
And so I think that opened up a whole new field
and to my mind that
so that system was called DQN
to my mind DQN is in a sense
of one of the very first general intelligences
because it learns completely from scratch
you can throw a whole variety of problems
at it and it, you know, it doesn't always do that well.
But in many cases, it does pretty well.
Yeah. So, so to answer your question, so I've got very interested in this field of deep
reinforcement learning. But when I sort of first, you know, long before I joined DeepMind,
I first started playing with their DQN system when they made the source code public.
And I pretty quickly realized that it's got quite a lot of shortcomings as well.
as today's deep reinforcement learning systems all have,
which is it's very, very slow at learning for a start.
When you watch it learning, you think, actually, this thing is really stupid
because it might get to superhuman performance eventually,
but my goodness, it takes a long time to do it.
Even just playing space invaders.
Yeah, or even Pong or something even something, simply than that.
So it takes an awful long time to do it,
whereas a human very quickly is able to work out some general principles,
what are the objects, what are the sort of rules?
And you work it out very quickly.
And so it made me think about my ancient past in classical artificial intelligence, symbolic AI.
And it made me realize that there were various ideas from symbolic AI that could be rehabilitated
and put into deep reinforcement learning systems in a more modern guise.
And so that's the kind of thing that I'm most interested in right now.
Very cool.
Yeah, that was actually one of a,
one of my favorite questions from the Kasparov talk today.
Someone who was working on Go asked exactly that.
Yeah.
Like, how can humans compute so quickly?
All, like, they compute what is not relevant to the game.
And they can just, they execute the game, I guess it was chess, right, in 50 moves rather than 100 moves.
Yeah, yeah.
And it's very much that framing.
Yeah, yeah, that was Toray, Tori, who's one of the people on the AlphaGo team.
And, yeah, that's a very deep question, I think.
that he was asking there. Yeah.
Yeah, it's fascinating.
Cool. So if someone wants to learn more about you or more about the field in general,
what would you recommend?
If I want to learn more about me, I can't think why they would want to.
But if they did, they can Google my name and find my website.
They want to learn more about the field in general.
Well, we're in a very fortunate position of having an awful lot of material out there
on the internet these days that people can find in all kinds of lectures and TED Talks and
TEDx talks and so on.
And people want to know a bit more technical detail.
There are some excellent tutorial tutorials and about deep learning and so on out there that people can find.
There are lots of massive MOOCs, you know, massive online open courses.
So there's a huge amount of material on the internet out there.
Do you have a budding career in technical advising or is there Ex Machina 2?
So people often ask me about X Machina 2, which of course is.
none of my business.
But whenever I've heard Alex Garland asked about that,
he always says he's got no intention of producing an ex-Machina,
that it was a one-off.
As for scientific advising, yeah,
so I have been involved in a few other kind of projects.
There was a theatre project I was involved in that I enjoyed with Nick Payne
at the Donmore Warehouse here.
What's that called?
So this playboy.
by Nick Payne was called Elegie, and it's about an elderly couple where one of them has got a dementia-like
disease, and it's set also sort of 10 minutes into the future. One of them has got a dementia-like
disease, but techniques have been developed whereby these diseases can be cured, but the cost
that you have to pay is that you lose a lot of your memories. And so the
play really centres on the difficulties for the partner,
knowing that her partner's memories of their first meetings and so on,
and their love is going to actually sort of vanish.
So it was about that, about that,
and it was more of a neuroscience kind of stuff.
But I've also been involved with an artistic collective called Random International.
And Random International do some amazingly cool stuff.
So I highly recommend Google in them.
And so they were famous for this thing called Rain Room.
Okay, sure.
And...
At MoMA in New York.
Yes, that's right.
Yeah, exactly, yeah.
So it's toured, but it was in New York indeed.
Yeah.
So the idea there is that as you...
So all of their art is using technology in various kind of interesting ways.
And often about how we interact with technology,
you know, to make kind of art.
So in rain room, the idea is it's a room with sprinklers on the ceiling.
You walk around in this room and it's raining everywhere.
But there's some clever technology that senses where you are.
And you worked on that?
No.
No, I didn't.
I should finish.
Yeah.
So there's some clever technology that senses where you are and turns off the sprinklers
immediately above your head.
So you walk around in this room miraculously never getting wet.
So that's one of the things.
They also worked on this amazing sculpture called 15 points.
And this is based on point-light displays.
So a point-light display is one of these little displays where on the screen you've just got, say, 15 dots.
And these 15 dots move around, and you suddenly see that it's a person, because the 15 dots are like the elbow joints and the neck and the head and the torso and the knees and so on.
And you see these things moving around and you instantly interpret it as motion.
In fact, you can even tell whether the person is running or walking or digging or often whether it's even whether it's a man or a woman just by these 15 points moving.
So they constructed this beautiful sculpture which has these sort of rods that have little lights on the end, rods.
And so it's very much a piece of mechanics, mechanical, robotic like mechanical thing.
and when you just see it stationary,
it's just like this weird kind of contraption.
But then it starts moving and all the lights on the end.
And then you suddenly, you see there's this person appears walking towards you.
And I thought that was a wonderful example of how we see,
you know, we see someone there when there isn't.
And of course, for me, that was very interesting because it made me think about
when we do that with machines.
Well, we often, we do maybe, you know,
we think that there's someone at home when there isn't.
And so that, yeah, so, so,
so all of their art is all about those kinds of questions.
That's so cool.
I think that's a perfect place to end it.
And we'll link up to all their work as well.
Okay, cool.
All right. Thanks, Mark.
Yeah, sure. Thank you.
All right.
Thanks for listening.
So if you want to watch the video or read the transcript from this episode,
you can check out blog.org.commodator.com.
And as always, please remember to subscribe and rate the show.
Okay.
See you next time.
