← Lex Fridman

Jim Keller: Moore’s Law, Microprocessors, Abstractions, and First Principles

第2020-02-05期2020-02-05English

嘉宾:Jim Keller

收听本集00:00 / 1:35:11
阅读设置
按你的习惯阅读
正文字号
下载播客精读
把这一篇,带走慢慢读

精读待补充

下载功能还未开放

§01Transcript · 00:00–09:06

00:00The following is a conversation with Jim Keller,

00:03legendary microprocessor engineer

00:05who has worked at AMD, Apple, Tesla, and now Intel.

00:10He's known for his work on AMD K7, K8, K12,

00:13and Zen microarchitectures, Apple A4 and A5 processors,

00:18and co-author of the specification

00:20for the x86-64 instruction set

00:23and HyperTransport Interconnect.

00:26He's a brilliant first principles engineer

00:28and out of the box thinker,

00:30and just an interesting and fun human being to talk to.

00:33This is the Artificial Intelligence Podcast.

00:36If you enjoy it, subscribe on YouTube,

00:38give it five stars on Apple Podcast,

00:40follow on Spotify, support it on Patreon,

00:43or simply connect with me on Twitter,

00:45Alex Friedman, spelled F-R-I-D-M-A-N.

00:49I recently started doing ads

00:51at the end of the introduction.

00:52I'll do one or two minutes after introducing the episode

00:55and never any ads in the middle

00:57that can break the flow of the conversation.

00:59I hope that works for you

01:00and doesn't hurt the listening experience.

01:04This show is presented by Cash App,

01:06the number one finance app in the App Store.

01:08I personally use Cash App to send money to friends,

01:11but you can also use it to buy, sell,

01:13and deposit Bitcoin in just seconds.

01:15Cash App also has a new investing feature.

01:18You can buy fractions of a stock, say $1 worth,

01:21no matter what the stock price is.

01:23Brokers services are provided by Cash App Investing,

01:26a subsidiary of Square and member SIPC.

01:29I'm excited to be working with Cash App

01:32to support one of my favorite organizations called FIRST,

01:35best known for their FIRST Robotics and Lego competitions.

01:38They educate and inspire hundreds of thousands of students

01:42in over 110 countries

01:44and have a perfect rating at Charity Navigator,

01:46which means that donated money

01:48is used to maximum effectiveness.

01:50When you get Cash App from the App Store or Google Play

01:53and use code LEXPODCAST,

01:56you'll get $10 and Cash App will also donate $10 to FIRST,

02:00which again is an organization

02:02that I've personally seen inspire girls and boys

02:04to dream of engineering a better world.

02:08And now here's my conversation with Jim Keller.

02:11What are the differences and similarities

02:14between the human brain and a computer

02:17with the microprocessor at its core?

02:19Let's start with the philosophical question perhaps.

02:22- Well, since people don't actually understand

02:25how human brains work, I think that's true.

02:29- I think that's true.

02:30- So it's hard to compare them.

02:32Computers are, you know, there's really two things.

02:37There's memory and there's computation, right?

02:40And to date, almost all computer architectures

02:43are global memory, which is a thing, right?

02:47And then computation where you pull data

02:49and you do relatively simple operations on it

02:52and write data back.

02:53So it's decoupled in modern computers.

02:57And you think in the human brain,

02:59everything's a mesh, a mess that's combined together.

03:02- What people observe is there's, you know,

03:04some number of layers of neurons

03:06which have local and global connections.

03:09And information is stored in some distributed fashion.

03:13And people build things called neural networks in computers

03:18where the information is distributed

03:21in some kind of fashion.

03:22You know, there's a mathematics behind it.

03:25I don't know that the understanding of that is super deep.

03:29The computations we run on those

03:31are straightforward computations.

03:33I don't believe anybody has said

03:35a neuron does this computation.

03:37So to date, it's hard to compare them, I would say.

03:42- So let's get into the basics before we zoom back out.

03:48How do you build a computer from scratch?

03:51What is a microprocessor?

03:52What is a microarchitecture?

03:54What's an instruction set architecture?

03:56Maybe even as far back as what is a transistor?

03:59- So the special charm of computer engineering

04:05is there's a relatively good understanding

04:08of abstraction layers.

04:10So down at the bottom, you have atoms.

04:12And atoms get put together in materials

04:14like silicon or dope silicon or metal.

04:17And we build transistors on top of that.

04:21We build logic gates, right?

04:23And then functional units, like an adder, a subtractor,

04:27an instruction parsing unit.

04:28And then we assemble those into processing elements.

04:32Modern computers are built out of probably 10 to 20

04:37locally organic processing elements

04:40or coherent processing elements.

04:42And then that runs computer programs, right?

04:46So there's abstraction layers.

04:47And then software, there's an instruction set.

04:50You run, and then there's assembly language, C,

04:53C++, Java, JavaScript.

04:56There's abstraction layers,

04:58essentially from the atom to the data center, right?

05:02So when you build a computer,

05:05first there's a target, like what's it for?

05:08Like how fast does it have to be?

05:09Which today there's a whole bunch of metrics

05:12about what that is.

05:13And then in an organization of a thousand people

05:17who build a computer,

05:19there's lots of different disciplines

05:22that you have to operate on.

05:24Does that make sense?

05:25And so--

05:27- So there's a bunch of levels of abstraction.

05:29In an organization like Intel, and in your own vision,

05:35there's a lot of brilliance that comes in

05:37at every one of those layers.

05:39Some of it is science, some of it is engineering,

05:41some of it is art.

05:43What's the most, if you could pick favorites,

05:46what's the most important, your favorite layer

05:49on these layers of abstractions?

05:51Where does the magic enter this hierarchy?

05:53- I don't really care.

05:57That's the fun, you know, I'm somewhat agnostic to that.

06:00So I would say, for relatively long periods of time,

06:05instruction sets are stable.

06:08So the x86 instruction set, the ARM instruction set.

06:11- What's an instruction set?

06:13- So it says, how do you encode the basic operations?

06:16Load, store, multiply, add, subtract, conditional branch.

06:19There aren't that many interesting instructions.

06:23Like if you look at a program and it runs,

06:2690% of the execution is on 25 opcodes, 25 instructions.

06:31And those are stable, right?

06:33- What does it mean, stable?

06:35- Intel architecture has been around for 25 years.

06:38- It works.

06:38- It works.

06:39And that's because the basics are defined a long time ago.

06:45Now, the way an old computer ran,

06:48is you fetched instructions and you executed them in order.

06:52Do the load, do the add, do the compare.

06:56The way a modern computer works,

06:58is you fetch large numbers of instructions, say 500.

07:03And then you find the dependency graph

07:06between the instructions.

07:07And then you execute in independent units,

07:12those little micrographs.

07:15So a modern computer, like people like to say,

07:17computers should be simple and clean.

07:20But this turns out the market for simple,

07:22complete, clean, slow computers is zero, right?

07:26We don't sell any simple, clean computers.

07:29Now you can, there's how you build it can be clean,

07:33but the computer people want to buy,

07:36that's say in a phone or a data center,

07:40fetches a large number of instructions,

07:42computes the dependency graph,

07:45and then executes it in a way that gets the right answers.

07:49- And optimize that graph somehow.

07:50- Yeah, they run deeply out of order.

07:53And then there's semantics around how memory ordering works

07:57and other things work.

07:58So the computer sort of has a bunch of bookkeeping tables.

08:01It says, what order should these operations finish in

08:05or appear to finish in?

08:07But to go fast, you have to fetch a lot of instructions

08:10and find all the parallelism.

08:12Now there's a second kind of computer,

08:15which we call GPUs today.

08:17And I call it a difference.

08:19There's found parallelism,

08:20like you have a program

08:21with a lot of dependent instructions.

08:24You fetch a bunch and then you go figure out

08:26the dependency graph and you issue instructions out of order.

08:29That's because you have one serial narrative to execute,

08:32which in fact can be done out of order.

08:35- You call it a narrative?

08:37- Yeah.

08:37- Wow.

08:38- Yeah, so humans think in serial narrative.

08:40So read a book, right?

08:42There's a sentence after sentence after sentence

08:45and there's paragraphs.

08:46Now you could diagram that.

08:49Imagine you diagrammed it properly and you said,

08:51which sentences could be read in any order

08:56without changing the meaning, right?

08:59- That's a fascinating question to ask of a book, yeah.

09:02- Yeah, you could do that, right?

09:04So some paragraphs could be reordered,

09:06some sentences can be reordered.

§02Transcript · 09:08–17:16

09:08You could say, he is tall and smart and X, right?

09:13And it doesn't matter the order of tall and smart.

09:18But if you say the tall man is wearing a red shirt,

09:22what colors, you know, like you can create dependencies.

09:27And so GPUs on the other hand,

09:32run simple programs on pixels,

09:35but you're given a million of them.

09:36And the first order, the screen you're looking at

09:40doesn't care which order you do it in.

09:42So I call that given parallelism.

09:44Simple narratives around the large numbers of things

09:48where you can just say it's parallel

09:50because you told me it was.

09:52- So found parallelism where the narrative is sequential

09:57but you discover like little pockets of parallelism versus--

10:01- Turns out large pockets of parallelism.

10:03- Large, so how hard is it to discover?

10:05- Well, how hard is it?

10:06That's just transistor count, right?

10:08So once you crack the problem, you say,

10:11here's how you fetch 10 instructions at a time.

10:13Here's how you calculated the dependencies between them.

10:16Here's how you describe the dependencies.

10:18Here's, you know, these are pieces, right?

10:20- So once you describe the dependencies,

10:25then it's just a graph,

10:27sort of it's an algorithm that finds,

10:30well, what is that?

10:31I'm sure there's a graph theory,

10:33theoretical answer here that's solvable.

10:35In general, programs, modern programs

10:40that human beings write,

10:42how much found parallelism is there in them?

10:45- About 10x.

10:45- What does 10x mean?

10:47- So if you execute it in order--

10:49- Versus, yeah.

10:51- You would get what's called cycles per instruction

10:53and it would be about, you know, three instructions,

10:58three cycles per instruction

10:59because of the latency of the operations and stuff.

11:02And in a modern computer,

11:04excuse it, but like 0.2, 0.25 cycles per instruction.

11:08So it's about, we today find 10x.

11:11And there's two things.

11:12One is the found parallelism in the narrative, right?

11:17And the other is to predictability of the narrative, right?

11:21So certain operations, they do a bunch of calculations

11:25and if greater than one, do this, else do that.

11:29That decision is predicted in modern computers

11:33to high 90% accuracy.

11:36So branches happen a lot.

11:38So imagine you have a decision

11:40to make every six instructions,

11:41which is about the average, right?

11:43But you want to fetch 500 instructions,

11:45figure out the graph and execute them all in parallel.

11:48That means you have, let's say,

11:51if you fix 600 instructions and it's every six,

11:54you have to fetch,

11:56you have to predict 99 out of 100 branches correctly

11:59for that window to be effective.

12:02- Okay, so parallelism,

12:04you can't parallelize branches, or you can?

12:07- No, you can predict--

12:09- What does predict a branch mean?

12:10Or what does predict a branch mean?

12:11- So imagine you do a computation over and over,

12:13you're in a loop.

12:14So while n is greater than one, do.

12:19And you go through that loop a million times.

12:21So every time you look at the branch,

12:22you say, it's probably still greater than one.

12:25- And you're saying you could do that accurately.

12:27- Very accurately.

12:28Modern computer--

12:29- My mind is blown.

12:30How the heck do you do that?

12:31Wait a minute.

12:32- Well, you want to know?

12:33This is really sad.

12:3520 years ago, you simply recorded

12:38which way the branch went last time

12:40and predicted the same thing.

12:42- Right.

12:43- Okay.

12:44- What's the accuracy of that?

12:46- 85%.

12:48So then somebody said, hey, let's keep a couple of bits

12:51and have a little counter.

12:53So when it predicts one way,

12:54we count up and then pins.

12:56So say you have a three bit counter.

12:58So you count up and then you count down.

13:00And if it's, you can use the top bit as the sign bit.

13:03So you have a sign two bit number.

13:05So if it's greater than one, you predict taken

13:07and less than one, you predict not taken, right?

13:11Or less than zero, whatever the thing is.

13:14And that got us to 92%.

13:16- Oh.

13:17- Okay, now it gets better.

13:19This branch depends on how you got there.

13:22So if you came down the code one way,

13:25you're talking about Bob and Jane, right?

13:28And then said, is just Bob like Jane?

13:30It went one way.

13:31But if you're talking about Bob and Jill,

13:32does Bob like Jane?

13:33You go a different way, right?

13:35So that's called history.

13:36So you take the history and a counter.

13:38That's cool.

13:41But that's not how anything works today.

13:43They use something that looks a little

13:45like a neural network.

13:46So modern, you take all the execution flows

13:52and then you do basically deep pattern recognition

13:56of how the program is executing.

13:58And you do that multiple different ways.

14:03And you have something that chooses what the best result is.

14:06There's a little supercomputer inside the computer.

14:10- That's trying to predict branching.

14:11- That calculates which way branches go.

14:14So the effective window that is worth finding grass

14:17and gets bigger.

14:18- Why was that gonna make me sad?

14:21'Cause that's amazing.

14:22- It's amazingly complicated.

14:24- Oh, well.

14:25- Well, here's the funny thing.

14:27So to get to 85% took a thousand bits.

14:31To get to 99% takes tens of megabits.

14:37So this is one of those, to get the result,

14:42to get from a window of say 50 instructions to 500,

14:47it took three orders of magnitude

14:49or four orders of magnitude more bits.

14:52- Now, if you get the prediction of a branch wrong,

14:55what happens then?

14:56- You flush the pipe.

14:57- You flush the pipe, so it's just the performance cost.

14:59- But it gets even better.

15:01So we're starting to look at stuff that says,

15:03so they executed down this path

15:05and then you had two ways to go,

15:09but far, far away there's something

15:11that doesn't matter which path you went.

15:14So you took the wrong path, you executed a bunch of stuff.

15:20Then you had the mispredicting, you backed it up,

15:22but you remembered all the results you already calculated.

15:25Some of those are just fine.

15:27Like if you read a book and you misunderstand a paragraph,

15:30you're understanding the next paragraph,

15:32sometimes it's invariant to their understanding.

15:35Sometimes it depends on it.

15:37- And you can kind of anticipate that invariance.

15:43- Yeah, well, you can keep track

15:45of whether the data changed.

15:47And so when you come back to a piece of code,

15:49should you calculate it again or do the same thing?

15:51- Okay, how much of this is art

15:53and how much of it is science?

15:55'Cause it sounds pretty complicated.

15:59- Well, how do you describe a situation?

16:00So imagine you come to a point in the road

16:02where you have to make a decision.

16:05And you have a bunch of knowledge about which way to go,

16:07maybe you have a map.

16:08So you wanna go the shortest way

16:11or do you wanna go the fastest way

16:13or you wanna take the nicest road.

16:14So there's some set of data.

16:17So imagine you're doing something complicated

16:19like building a computer

16:20and there's hundreds of decision points

16:24all with hundreds of possible ways to go.

16:27And the ways you pick interact in a complicated way.

16:30- Right.

16:33- And then you have to pick the right spot.

16:35- Right, so that's-- - Or that's art or science,

16:36I don't know.

16:37- You avoided the question,

16:38you just described the Robert Frost problem

16:41of "Road Less Taken."

16:42- Described the Robert Frost problem?

16:45(laughs)

16:47- That's what we do as computer designers,

16:49it's all poetry.

16:50- Okay. - Great.

16:51Yeah, I don't know how to describe that

16:54because some people are very good

16:56at making those intuitive leaps.

16:57It seems like there's combinations of things.

17:00Some people are less good at it

17:02but they're really good at evaluating the alternatives.

17:05Right, and everybody has a different way to do it.

17:09And some people can't make those leaps

17:11but they're really good at analyzing it.

17:14So when you see computers are designed by teams of people

17:16who have very different skill sets

§03Transcript · 17:19–26:27

17:19and a good team has lots of different kinds of people.

17:24I suspect you would describe some of them as artistic.

17:27- Right. - But not very many.

17:30- Unfortunately, or fortunately.

17:32- Unfortunately.

17:32(laughs)

17:33Well, you know, computer design's hard,

17:36it's 99% perspiration.

17:39- And-- - The 1% inspiration

17:42is really important.

17:44- But you still need the 99.

17:45- Yeah, you gotta do a lot of work.

17:47And then there are interesting things to do

17:50at every level of that stack.

17:52- At the end of the day,

17:55if you run the same program multiple times,

17:58does it always produce the same result?

18:00Is there some room for fuzziness there?

18:04- That's a math problem.

18:06So if you run a correct C program,

18:08the definition is every time you run it,

18:11you get the same answer.

18:12- Yeah, well, that's a math statement.

18:14- But that's a language definitional statement.

18:17So for years when people did,

18:19when we first did 3D acceleration of graphics,

18:22you could run the same scene multiple times

18:27and get different answers.

18:28- Right.

18:29- Right, and then some people thought that was okay,

18:32and some people thought it was a bad idea.

18:34And then when the HPC world used GPUs for calculations,

18:39they thought it was a really bad idea, okay?

18:42Now, in modern AI stuff,

18:44people are looking at networks

18:48where the precision of the data is low enough

18:51that the data is somewhat noisy.

18:53And the observation is the input data is unbelievably noisy.

18:57So why should the calculation be not noisy?

19:00And people have experimented with algorithms

19:02that say can get faster answers by being noisy.

19:05Like as a network starts to converge,

19:08if you look at the computation graph,

19:09it starts out really wide and then it gets narrower.

19:12And you can say, is that last little bit that important?

19:14Or should I start the graph on the next rev

19:17before we whittle it all the way down to the answer?

19:20Right, so you can create algorithms that are noisy.

19:24Now, if you're developing something

19:25and every time you run it, you get a different answer,

19:27it's really annoying.

19:29And so most people think even today,

19:33every time you run the program, you get the same answer.

19:36- No, I know, but the question is,

19:38that's the formal definition of a programming language.

19:42- There is a definition of languages

19:44that don't get the same answer, but people who use those.

19:47You always want something 'cause you get a bad answer

19:50and then you're wondering, is it because

19:53of something in the algorithm or because of this?

19:55And so everybody wants a little switch

19:56that says no matter what, do it deterministically.

20:00And it's really weird 'cause almost everything

20:02going into modern calculations is noisy.

20:05So why do the answers have to be so clear?

20:07- Right, so where do you stand?

20:09- I design computers for people who run programs.

20:12So if somebody says, I want a deterministic answer,

20:17most people want that.

20:18- Can you deliver a deterministic answer,

20:20I guess is the question.

20:21- Yeah, hopefully, sure.

20:24What people don't realize is you get a deterministic answer

20:27even though the execution flow is very undeterministic.

20:31So you run this program 100 times,

20:33it never runs the same way twice, ever.

20:36And the answer, it arrives at the same answer.

20:37- But it gets the same answer every time.

20:39- It's just amazing.

20:42Okay, you've achieved in the eyes of many people,

20:47a legend status as a chip architect.

20:53What design creation are you most proud of?

20:56Perhaps because it was challenging, because of its impact,

21:00or because of the set of brilliant ideas

21:03that were involved in bringing it to life.

21:06- I find that description odd.

21:10And I have two small children, and I promise you,

21:12they think it's hilarious.

21:15- This question, I do it for them.

21:18- I'm really interested in building computers.

21:22And I've worked with really, really smart people.

21:27I'm not unbelievably smart.

21:30I'm fascinated by how they go together,

21:32both as a thing to do, and as an endeavor that people do.

21:37- How people and computers go together?

21:40- Yeah, like how people think and build a computer.

21:43And I find sometimes that the best computer architects

21:47aren't that interested in people,

21:49or the best people managers aren't that good

21:51at designing computers.

21:53- So the whole stack of human beings is fascinating.

21:56So the managers, the individual engineers.

21:58- Yeah, yeah, so yeah, I said I realized

22:01after a lot of years of building computers,

22:03we sort of build them out of transistors,

22:05logic gates, functional units, computational elements,

22:08that you could think of people the same way.

22:10So people are functional units.

22:12And then you could think of organizational design

22:14as a computer architectural problem.

22:16And then it was like, oh, that's super cool,

22:19'cause the people are all different,

22:20just like the computational elements are all different.

22:23And they like to do different things.

22:25And so I had a lot of fun reframing

22:29how I think about organizations.

22:31- Just like with computers,

22:34we were saying execution paths,

22:35you can have a lot of different paths

22:37that end up at the same good destination.

22:41So what have you learned about the human abstractions,

22:45from individual functional human units

22:48to the broader organization?

22:51What does it take to create something special?

22:55- Well, most people don't think simple enough.

23:00- All right, so do you know the difference

23:01between a recipe and the understanding?

23:04There's probably a philosophical description of this.

23:09So imagine you're gonna make a loaf of bread.

23:11The recipe says, get some flour, add some water,

23:14add some yeast, mix it up, let it rise,

23:16put it in a pan, put it in the oven.

23:19It's a recipe.

23:20Understanding bread, you can understand biology,

23:24supply chains, grain grinders, yeast,

23:30physics, thermodynamics.

23:34There's so many levels of understanding there.

23:37And then when people build and design things,

23:40they frequently are executing some stack of recipes.

23:43And the problem with that is the recipes

23:46all have limited scope.

23:48Like if you have a really good recipe book

23:50for making bread, it won't tell you anything

23:52about how to make an omelet.

23:53But if you have a deep understanding of cooking,

23:59then bread, omelets, sandwich,

24:03there's a different way of viewing everything.

24:07And most people, when you get to be an expert at something,

24:12you're hoping to achieve deeper understanding,

24:16not just a large set of recipes to go execute.

24:19And it's interesting to walk groups of people

24:22because executing recipes is unbelievably efficient

24:27if it's what you want to do.

24:29If it's not what you want to do, you're really stuck.

24:33And that difference is crucial.

24:36And everybody has a balance of, let's say,

24:39deeper understanding of recipes.

24:40And some people are really good at recognizing

24:43when the problem is to understand something deeply.

24:46Deeply.

24:47Does that make sense?

24:49- It totally makes sense.

24:50Does every stage of development,

24:52deep understanding on the team needed?

24:55- Well, this goes back to the art versus science question.

24:58- Sure.

24:59- If you constantly unpack everything

25:01for deeper understanding, you never get anything done.

25:04And if you don't unpack understanding when you need to,

25:06you'll do the wrong thing.

25:08And then at every juncture, like human beings

25:12are these really weird things because everything you tell

25:15them has a million possible outputs.

25:17And then they all interact in a hilarious way.

25:20And then having some intuition about what do you tell them,

25:24what do you do, when do you intervene, when do you not,

25:26it's complicated.

25:28- Right, so--

25:29- It's essentially computationally unsolvable.

25:33- Yeah, it's an intractable problem, sure.

25:35Humans are a mess.

25:37But with deep understanding, do you mean also

25:42sort of fundamental questions of things like

25:47what is a computer?

25:49Or why?

25:53Like the why question is why are we even building this?

25:57Like of purpose?

25:58Or do you mean more like going towards

26:02the fundamental limits of physics,

26:04sort of really getting into the core of the science?

26:07- Well, in terms of building a computer,

26:09think a little simpler.

26:11So common practice is you build a computer.

26:14And then when somebody says, I want to make it 10% faster,

26:17you'll go in and say, all right,

26:19I need to make this buffer bigger.

26:20And maybe I'll add an ad unit.

26:22Or I have this thing that's three instructions wide,

26:25I'm gonna make it four instructions wide.

26:27And what you see is each piece

§04Transcript · 26:30–34:46

26:30gets incrementally more complicated.

26:32And then at some point you hit this limit.

26:37Like adding another feature or buffer

26:39doesn't seem to make it any faster.

26:41And then people say, well, that's because

26:42it's a fundamental limit.

26:45And then somebody else will look at it and say,

26:46well, actually the way you divided the problem up

26:49and the way that different features are interacting

26:51is limiting you and it has to be rethought, rewritten.

26:54So then you refactor it and rewrite it.

26:58And what people commonly find is the rewrite

27:00is not only faster, but half as complicated.

27:03- From scratch?

27:04- Yes.

27:05- So how often in your career,

27:07but just have you seen as needed,

27:09maybe more generally to just throw the whole thing out?

27:14- This is where I'm on one end of it,

27:16every three to five years.

27:19- Which end are you on?

27:21- Rewrite more often.

27:22- Rewrite, and three to five years is?

27:25- If you want to really make a lot of progress

27:26on computer architecture, every five years

27:28you should do one from scratch.

27:30- So where does the x86-64 standard come in?

27:36How often do you?

27:38- I wrote the, I was the co-author of that spec in '98.

27:42That's 20 years ago.

27:43- Yeah, so that's still around.

27:45- The instruction set itself has been extended

27:48quite a few times.

27:49- Yes.

27:49- And instruction sets are less interesting

27:52than the implementation underneath.

27:54There's been, on x86 architecture,

27:57Intel's designed a few, AMD's designed a few,

27:59very different architectures.

28:02And I don't want to go into too much of the detail

28:06about how often, but there's a tendency

28:10to rewrite it every 10 years,

28:12and it really should be every five.

28:15- So you're saying you're an outlier in that sense?

28:17- Rewrite more often.

28:18Rewrite more often.

28:20- Well, and here's the problem.

28:20- Isn't that scary?

28:22- Yeah, of course.

28:23Well, scary to who?

28:25- To everybody involved, because like you said,

28:28repeating the recipe is efficient.

28:30Companies want to make money,

28:33well, no, individual engineers want to succeed,

28:36so you want to incrementally improve,

28:39increase the buffer from three to four.

28:41- Well, this is where you get into

28:43diminishing return curves.

28:45I think Steve Jobs said this, right?

28:46So every, you have a project,

28:48and you start here, and it goes up,

28:50and you have diminishing return.

28:52And to get to the next level, you have to do a new one,

28:54and the initial starting point will be lower

28:57than the old optimization point, but it'll get higher.

29:01So now you have two kinds of fear,

29:03short-term disaster and long-term disaster.

29:07- And you're-- - So grown-ups.

29:09- Grown-ups.

29:10- Right, like, you know, people with a quarter-by-quarter

29:13business objective are terrified about changing everything.

29:17And people who are trying to run a business

29:21or build a computer for a long-term objective

29:24know that the short-term limitations

29:26block them from the long-term success.

29:29So if you look at leaders of companies

29:32that had really good long-term success,

29:35every time they saw that they had to redo something,

29:37they did.

29:39- And so somebody has to speak up?

29:41- Or you do multiple projects in parallel.

29:43Like, you optimize the old one while you build a new one.

29:46But the marketing guys are always like,

29:48promise me that the new computer

29:49is faster on every single thing.

29:52And the computer architect says,

29:53well, the new computer will be faster on the average.

29:56But there's a distribution of results and performance,

29:59and you'll have some outliers that are slower.

30:01And that's very hard, 'cause they have one customer

30:03who cares about that one.

30:05- So speaking of the long-term, for over 50 years now,

30:09Moore's Law has served, for me and millions of others,

30:12as an inspiring beacon of what kind of amazing future

30:16brilliant engineers can build.

30:18I'm just making your kids laugh all of today.

30:21- Yeah, that's great.

30:23- So first, in your eyes, what is Moore's Law,

30:27if you could define for people who don't know?

30:29- Well, the simple statement was, from Gordon Moore,

30:34was double the number of transistors every two years.

30:37Something like that.

30:39And then my operational model is,

30:43we increase the performance of computers by 2x

30:46every two or three years.

30:48And it's wiggled around substantially over time.

30:51And also, in how we deliver performance has changed.

30:55- So, right, so the--

30:59- The foundational idea was 2x the transistors

31:01every two years.

31:02The current cadence is something like,

31:05they call it a shrink factor.

31:08Like .6 every two years, which is not .5.

31:11- But that's referring strictly, again,

31:13to the original definition of just--

31:14- Yeah, of transistor count.

31:16- A shrink factor, just getting 'em smaller,

31:18smaller, smaller.

31:19- Well, it's for a constant chip area.

31:21If you make the transistors smaller by .6,

31:24then you get one over .6 more transistors.

31:27- So can you linger on it a little longer?

31:29What's the broader, what do you think should be

31:31the broader definition of Moore's Law?

31:33When you mentioned how you think of performance,

31:37just broadly, what's a good way to think about Moore's Law?

31:41- Well, first of all, I've been aware of Moore's Law

31:46for 30 years.

31:47- In which sense?

31:49- Well, I've been designing computers for 40.

31:52- You're just watching it before your eyes, kind of thing.

31:55- Well, and somewhere where I became aware of it,

31:58I was also informed that Moore's Law was gonna die

32:00in 10 to 15 years.

32:02And I thought that was true at first,

32:03but then after 10 years, it was gonna die

32:05in 10 to 15 years.

32:07And then at one point, it was gonna die in five years,

32:09and then it went back up to 10 years,

32:11and at some point, I decided not to worry

32:13about that particular prognostication

32:16for the rest of my life, which is fun.

32:19And then I joined Intel, and everybody said,

32:21Moore's Law is dead.

32:22And I thought, that's sad, 'cause it's the Moore's Law

32:24company, and it's not dead, and it's always been gonna die.

32:29And humans, like these apocryphal kind of statements,

32:33like, we'll run out of food, or we'll run out of air,

32:36or run out of room, or run out of something.

32:39- Right, but it's still incredible that it's lived

32:42for as long as it has.

32:44And yes, there's many people who believe now

32:47that Moore's Law is dead.

32:50- You know, they can join the last 50 years

32:52of people who had the same idea.

32:53- Yeah, there's a long tradition.

32:55But why do you think, if you can try to understand it,

33:00why do you think it's not dead currently?

33:03- Well, first, let's just think,

33:05people think Moore's Law is one thing,

33:07transistors get smaller.

33:09But actually, under the sheets, there's literally

33:10thousands of innovations, and almost all those innovations

33:14have their own diminishing return curves.

33:17So if you graph it, it looks like a cascade

33:19of diminishing return curves.

33:21I don't know what to call that.

33:22But the result is an exponential curve.

33:26Well, at least it has been.

33:27So, and we keep inventing new things.

33:30So if you're an expert in one of the things

33:32on a diminishing return curve, right,

33:35and you can see its plateau,

33:38you will probably tell people, "Well, this is done."

33:42Meanwhile, some other pile of people

33:43are doing something different.

33:46So that's just normal.

33:48So then there's the observation of how small

33:51could a switching device be?

33:54So a modern transistor is something like

33:55a thousand by a thousand by a thousand atoms, right?

33:59And you get quantum effects down around two to 10 atoms.

34:04So you can imagine a transistor as small

34:06as 10 by 10 by 10.

34:08So that's a million times smaller.

34:12And then the quantum computational people

34:14are working away at how to use quantum effects.

34:17So--

34:18- A thousand by a thousand by a thousand.

34:21- Atoms.

34:22- That's a really clean way of putting it.

34:26- Well, a fan, like a modern transistor,

34:28if you look at the fan, it's like 120 atoms wide,

34:32but we can make that thinner.

34:33And then there's a gate wrapped around it,

34:35and then there's spacing.

34:36There's a whole bunch of geometry.

34:38And a competent transistor designer

34:42could count both atoms in every single direction.

34:46(laughing)

§05Transcript · 34:47–43:07

34:47Like there's techniques now to already put down atoms

34:50in a single atomic layer.

34:51And you can place atoms if you want to.

34:55It's just, you know, from a manufacturing process,

34:59if placing an atom takes 10 minutes

35:01and you need to put 10 to the 23rd atoms together

35:05to make a computer, it would take a long time.

35:08So the methods are both shrinking things

35:13and then coming up with effective ways

35:15to control what's happening.

35:17- Manufacture stably and cheaply.

35:20- Yeah.

35:21So the innovation stack's pretty broad.

35:23You know, there's equipment, there's optics,

35:26there's chemistry, there's physics,

35:27there's material science, there's metallurgy.

35:31There's lots of ideas about when you put

35:32different materials together, how do they interact?

35:34Are they stable?

35:35Is it stable over temperature?

35:37Like are they repeatable?

35:40You know, there's like literally thousands

35:43of technologies involved.

35:45- But just for the shrinking, you don't think

35:46we're quite yet close to the fundamental limits of physics.

35:50- I did a talk on Moore's Law and I asked

35:52for a roadmap to a path of 100 and after two weeks,

35:56they said we only got to 50.

35:58- 100 what, sorry?

35:59- 100x shrink.

36:00- 100x shrink?

36:01We only got to 50?

36:02- To 50 and I said, why don't you give it

36:03another two weeks?

36:05Well, here's the thing about Moore's Law, right?

36:09So I believe that the next 10 or 20 years

36:14of shrinking is gonna happen, right?

36:16Now, as a computer designer, you have two stances.

36:20You think it's going to shrink, in which case

36:23you're designing and thinking about architecture

36:26in a way that you'll use more transistors.

36:29Or conversely, not be swamped by the complexity

36:32of all the transistors you get, right?

36:36You have to have a strategy, you know?

36:39- So you're open to the possibility and waiting

36:42for the possibility of a whole new army

36:44of transistors ready to work.

36:45- I'm expecting--

36:47- Expecting.

36:48- More transistors every two or three years

36:50by a number large enough that how you think

36:53about design, how you think about architecture

36:55has to change.

36:57Like imagine you build buildings out of bricks

37:01and every year the bricks are half the size

37:03or every two years.

37:05Well, if you kept building bricks the same way,

37:08you know, so many bricks per person per day,

37:11the amount of time to build a building

37:13would go up exponentially.

37:14- Right.

37:16- Right.

37:17But if you said, I know that's coming,

37:19so now I'm going to design equipment

37:21that moves bricks faster, uses them better,

37:23'cause maybe you're getting something out

37:24of the smaller bricks, more strength, thinner walls,

37:27you know, less material, efficiency out of that.

37:30So once you have a roadmap with what's going to happen,

37:33transistors, we're going to get more of them,

37:36then you design all this collateral around it

37:38to take advantage of it and also to cope with it.

37:42Like that's the thing people don't understand,

37:43it's like if I didn't believe in Moore's law

37:46and then Moore's law transistors showed up,

37:48my design teams were all drowned.

37:50- So what's the hardest part of this in flood

37:56of new transistors?

37:57I mean, even if you just look historically

37:59throughout your career, what's the thing,

38:03what fundamentally changes when you add more transistors

38:06in the task of designing an architecture?

38:09- Well, there's two constants, right?

38:12One is people don't get smarter.

38:14- By the way, there's some science showing

38:17that we do get smarter because of nutrition, whatever.

38:20Sorry to bring that up.

38:22- The Flint effect.

38:22- Yes.

38:23- Yeah, I'm familiar with it.

38:24Nobody understands it, nobody knows if it's still going on.

38:26So that's a--

38:27- Or whether it's real or not, but yeah.

38:29- I sort of--

38:31- Anyway, but not exponentially.

38:32- I would believe for the most part,

38:33people aren't getting much smarter.

38:35- The evidence doesn't support it.

38:36- That's right.

38:37- And then teams can't grow that much.

38:40- Right.

38:40- Right, so human beings, we're really good in teams of 10,

38:45up to teams of 100, they can know each other.

38:48Beyond that, you have to have organizational boundaries.

38:50So you're kind of, you have,

38:51those are pretty hard constraints, right?

38:54So then you have to divide and conquer.

38:56Like as the designs get bigger,

38:57you have to divide it into pieces.

38:59The power of abstraction layers is really high.

39:03We used to build computers out of transistors.

39:06Now we have a team that turns transistors into logic cells

39:08and another team that turns them into functional units

39:10and another one that turns them into computers, right?

39:13So we have abstraction layers in there.

39:16And you have to think about when do you shift gears on that?

39:21We also use faster computers to build faster computers.

39:24So some algorithms run twice as fast on new computers,

39:27but a lot of algorithms are N squared.

39:30So, you know, a computer with twice as many transistors

39:33in it might take four times as long to run.

39:36So you have to refactor the software.

39:39Like simply using faster computers

39:41to build bigger computers doesn't work.

39:43So you have to think about all these things.

39:46- So in terms of computing performance

39:47and the exciting possibility

39:49that more powerful computers bring,

39:51is shrinking the thing we've just been talking about,

39:55one of the, for you,

39:57one of the biggest exciting possibilities

39:59of advancement in performance,

40:01or is there other directions

40:02that you're interested in?

40:03Like in the direction of sort of enforcing given parallelism

40:08or like doing massive parallelism

40:12in terms of many, many CPUs,

40:15you know, stacking CPUs on top of each other,

40:17that kind of parallelism or any kind of parallelism?

40:20- Well, think about it in a different way.

40:22So old computers, you know, slow computers,

40:25you said A equal B plus C times D.

40:28Pretty simple, right?

40:30And then we made faster computers with vector units

40:33and you can do proper equations and matrices, right?

40:38And then modern like AI computations

40:41or like convolutional neural networks,

40:43where you convolve one large data set against another.

40:47And so there's sort of this hierarchy of mathematics,

40:51you know, from simple equation to linear equations

40:54to matrix equations to deeper kind of computation.

40:58And the data sets are getting so big

41:00that people are thinking of data as a topology problem.

41:04You know, data is organized in some immense shape.

41:07And then the computation,

41:09which sort of wants to be get data from immense shape

41:12and do some computation on it.

41:15So what computers have allowed people to do

41:18is have algorithms go much, much further.

41:21So that paper you referenced, the Sutton paper,

41:26they talked about, you know, like when AI started,

41:29it was apply rule sets to something.

41:31That's a very simple computational situation.

41:35And then when they did first chess thing,

41:37they solved deep searches.

41:39So have a huge database of moves and results, deep search,

41:44but it's still just a search, right?

41:48Now we take large numbers of images

41:51and we use it to train these weight sets

41:54that we convolve across.

41:56It's a completely different kind of phenomena.

41:58We call that AI.

41:59Now they're doing the next generation.

42:02And if you look at it,

42:03they're going up this mathematical graph, right?

42:07And then computations, both computation and data sets

42:11support going up that graph.

42:13- Yeah, the kind of computation that might,

42:15I mean, I would argue that all of it is still a search,

42:18right?

42:19Just like you said, a topology problem of data sets,

42:22you're searching the data sets for valuable data.

42:27And also the actual optimization of neural networks

42:29is a kind of search for the--

42:33- I don't know, if you had looked at the inner layers

42:34of finding a cat, it's not a search.

42:39It's a set of endless projections.

42:41So, you know, a projection,

42:42here's a shadow of this phone, right?

42:45And then you can have a shadow of that on the something

42:47and a shadow on that of something.

42:49If you look in the layers, you'll see,

42:51this layer actually describes pointy ears

42:53and round eyeness and fuzziness.

42:55And, but the computation to tease out the attributes

43:00is not search.

43:03- Right, I mean--

43:04- Like the inference part might be search,

43:05but the training's not search.

43:07- Okay, well--

§06Transcript · 43:08–51:42

43:08- And then in deep networks, they look at layers

43:10and they don't even know it's represented.

43:13And yet if you take the layers out, it doesn't work.

43:16- Okay, so--

43:17- So I don't think it's search.

43:18- All right, well--

43:19- But you'd have to talk to a mathematician

43:21about what that actually is.

43:22- Well, we could disagree, but the,

43:25it's just semantics, I think, it's not,

43:28but it's certainly not--

43:29- I would say it's absolutely not semantics, but--

43:31- Okay.

43:32All right, well, if you wanna go there.

43:35So optimization to me is search,

43:39and we're trying to optimize the ability

43:42of a neural network to detect cat ears.

43:45And the difference between chess

43:49and the space, the incredibly multi-dimensional,

43:54100,000 dimensional space that neural networks

43:57are trying to optimize over

43:58is nothing like the chessboard database.

44:02So it's a totally different kind of thing.

44:04Okay, in that sense, you can say--

44:06- Yeah, yeah.

44:07- It loses the meaning.

44:07- I can see how you might say, if you,

44:11the funny thing is, is the difference between

44:14given search space and found search space.

44:16- Right, exactly.

44:17- Yeah, maybe that's a different way to describe it.

44:18- That's a beautiful way to put it, okay.

44:19But you're saying, what's your sense

44:21in terms of the basic mathematical operations

44:24and the architectures, computer hardware

44:27that enables those operations?

44:29Do you see the CPUs of today still being

44:33a really core part of executing

44:36those mathematical operations?

44:37- Yes.

44:38Well, the operations continue to be add, subtract,

44:42load, store, compare, and branch.

44:44It's remarkable.

44:46So it's interesting that the building blocks

44:48of computers or transistors, under that, atoms.

44:52So you got atoms, transistors, logic gates, computers,

44:55right, functional units of computers.

44:58The building blocks of mathematics at some level

45:01are things like adds and subtracts and multiplies,

45:04but the space mathematics can describe

45:08is, I think, essentially infinite.

45:11But the computers that run the algorithms

45:14are still doing the same things.

45:16Now, a given algorithm might say,

45:19I need sparse data, or I need 32-bit data,

45:21or I need a convolution operation

45:26that naturally takes eight-bit data,

45:28multiplies it, and sums it up a certain way.

45:31So the data types in TensorFlow imply an optimization set,

45:36but when you go right down and look at the computers,

45:40it's and and or gates doing adds and multiplies.

45:44Like, that hasn't changed much.

45:46Now, the quantum researchers think

45:48they're gonna change that radically,

45:49and then there's people who think about analog computing,

45:52'cause you look in the brain,

45:53and it seems to be more analogish.

45:54You know, that maybe there's a way

45:57to do that more efficiently.

45:59But we have a million X on computation,

46:03and I don't know the relationship

46:07between computational, let's say, intensity

46:10and ability to hit mathematical abstractions.

46:14I don't know any ways to describe that,

46:17but just like you saw in AI,

46:19you went from rule sets to simple search

46:22to complex search to, say, found search.

46:26Like, those are orders of magnitude

46:29more computation to do.

46:30And as we get the next two orders of magnitude,

46:33like a friend, Roger Godori, said,

46:36every order of magnitude changes the computation.

46:40- Fundamentally changes what the computation is doing.

46:42- Yeah.

46:43Oh, you know the expression,

46:45the difference in quantity is the difference in kind.

46:48You know, the difference between ant and anthill, right?

46:53Or neuron and brain.

46:54You know, there's this indefinable place

46:58where the quantity changed the quality, right?

47:02And we've seen that happen in mathematics multiple times,

47:04and my guess is it's gonna keep happening.

47:08- So, in your sense, is it, yeah,

47:09if you focus head down and shrinking the transistor.

47:14- Well, it's not just head down,

47:15and we're aware of the software stacks

47:18that are running the computational loads,

47:20and we're kind of pondering,

47:22what do you do with a petabyte of memory

47:24that wants to be accessed in a sparse way

47:27and have, you know, the kind of calculations

47:29AI programmers want?

47:31So, there's a dialogue and interaction,

47:34but when you go in the computer chip,

47:38you know, you find adders and subtractors and multipliers.

47:41- So, if you zoom out then with,

47:44as you mentioned, Rich Sutton,

47:46the idea that most of the development

47:49in the last many decades in AI research

47:51came from just leveraging computation

47:54and just simple algorithms

47:57waiting for the computation to improve.

48:00- Well, software guys have a thing that they call it

48:02the problem of early optimization.

48:06- Right.

48:07- So, you write a big software stack,

48:09and if you start optimizing,

48:10like, the first thing you write,

48:12the odds of that being the performance limiter is low.

48:15But when you get the whole thing working,

48:16can you make it 2X faster by optimizing the right things?

48:19Sure.

48:21While you're optimizing that,

48:22could you have written a new software stack,

48:24which would have been a better choice?

48:25Maybe.

48:27Now you have creative tension.

48:28So--

48:30- But the whole time as you're doing the writing,

48:33that's the software we're talking about.

48:34The hardware underneath gets faster and faster.

48:36- This goes back to the Moore's Law.

48:38If Moore's Law is gonna continue,

48:39then your AI research should expect that to show up,

48:44and then you make a slightly different set of choices,

48:47then we've hit the wall, nothing's gonna happen,

48:51and from here, it's just us rewriting algorithms.

48:55Like, that seems like a failed strategy

48:56for the last 30 years of Moore's Law's death.

48:59- So, can you just linger on it?

49:02I think you've answered it,

49:04but I'll just ask the same dumb question

49:06over and over.

49:07So, why do you think Moore's Law is not going to die?

49:12Which is the most promising, exciting possibility

49:15of why it won't die in the next five, 10 years?

49:18So, is it the continued shrinking of the transistor,

49:20or is it another S-curve that steps in,

49:24and it totally sort of--

49:25- Well, shrinking the transistor

49:27is literally thousands of innovations.

49:30- Right, so there's stacks of S-curves in there.

49:33- There's a whole bunch of S-curves

49:34just kind of running their course

49:36and being reinvented and new things.

49:40You know, the semiconductor fabricators

49:44and technologists have all announced

49:46what's called nanowires,

49:47so they took a fin which had a gate around it

49:51and turned that into little wires

49:52so you have better control of that,

49:53and they're smaller,

49:55and then from there, there's some obvious steps

49:57about how to shrink that.

49:59So, the metallurgy around wire stacks and stuff

50:03has very obvious abilities to shrink,

50:07and there's a whole combination of things there to do.

50:10- Your sense is that we're gonna get a lot

50:13if this innovation from just that shrinking.

50:15- Yeah, like a factor of 100, it's a lot.

50:19- Yeah, I would say.

50:20That's incredible.

50:22And it's totally unknown.

50:23- It's only 10 or 15 years.

50:25- Now, you're smart, and you might know,

50:26but to me, it's totally unpredictable

50:28of what that 100x would bring

50:29in terms of the nature of the computation

50:33that people would be doing.

50:34- Yeah, you're familiar with Bell's Law.

50:37So, for a long time, it was mainframes,

50:39minis, workstation, PC, mobile.

50:42Moore's Law drove faster, smaller computers.

50:45And then, when we were thinking about Moore's Law,

50:49Rajagirdari said, "Every 10x generates a new computation."

50:53So, scalar, vector, matrix, topological computation.

51:01And if you go look at the industry trends,

51:03there was mainframes and minicomputers and PCs,

51:07and then the internet took off,

51:08and then we got mobile devices,

51:10and now we're building 5G wireless

51:12with one millisecond latency.

51:14And people are starting to think about the smart world

51:17where everything knows you, recognizes you.

51:21The transformations are gonna be unpredictable.

51:27- How does it make you feel that you're one

51:29of the key architects of this kind of future?

51:34So, we're not talking about the architects

51:37of the high-level people who build the Angry Bird apps.

51:42- What's wrong with Angry Bird apps?

§07Transcript · 51:44–1:00:20

51:44Who knows?

51:45Maybe that's the whole point of the universe.

51:47- I'm gonna take a stand at that,

51:48and the attention-distracting nature of mobile phones.

51:52I'll take a stand.

51:53But anyway, in terms of--

51:55- I don't think that matters much.

51:57- The side effects of smartphones

52:01or the attention-distraction, which part?

52:03- Well, who knows where this is all leading?

52:06It's changing so fast.

52:07- Wait, so back to the--

52:08- My parents used to yell at my sisters

52:09for hiding in the closet with a wired phone

52:11with a dial on it.

52:13Stop talking to your friends all day.

52:14- Right.

52:15- Now my wife yells at my kids

52:17for talking to their friends all day on text.

52:20I don't know, it looks the same to me.

52:21- It's always, it echoes of the same thing.

52:23Okay, but you are one of the key people

52:26architecting the hardware of this future.

52:29How does that make you feel?

52:30Do you feel responsible?

52:31Do you feel excited?

52:34- So we're in a social context,

52:38so there's billions of people on this planet.

52:40There are literally millions of people

52:42working on technology.

52:44I feel lucky to be doing what I do

52:49and getting paid for it, and there's an interest in it.

52:52But there's so many things going on in parallel.

52:56Like the actions are so unpredictable.

52:58If I wasn't here, somebody else would do it.

53:01The vectors of all these different things

53:03are happening all the time.

53:04You know, there's a, I'm sure some philosopher

53:10or meta-philosophers, you know,

53:11wondering about how we transform our world.

53:14- So you can't deny the fact that these tools,

53:19whether, that these tools are changing our world.

53:24- That's right.

53:25- So do you think it's changing for the better?

53:28- I read this thing recently, it said

53:31the two disciplines with the highest GRE scores

53:35in college are physics and philosophy.

53:38And they're both sort of trying to answer the question,

53:41why is there anything?

53:42And the philosophers are on the kind of theological side,

53:47and the physicists are obviously on the material side.

53:52And there's 100 billion galaxies with 100 billion stars.

53:56It seems, well, repetitive at best.

54:00So, you know, there's, on our way to 10 billion people.

54:06I mean, it's hard to say what it's all for,

54:08if that's what you're asking.

54:09- Yeah, I guess I am.

54:11- Things do tend to significantly increase in complexity.

54:15And I'm curious about how computation,

54:21like our world, our physical world,

54:23inherently generates mathematics.

54:25It's kind of obvious, right?

54:26So we have XYZ coordinates.

54:28You take a sphere, you make it bigger,

54:30you get a surface that falls, you know, grows by R squared.

54:34Like it generally generates mathematics,

54:36and the mathematicians and the physicists

54:38have been having a lot of fun talking

54:39to each other for years.

54:41And computation has been, let's say, relatively pedestrian.

54:46Like computation in terms of mathematics

54:48has been doing binary algebra,

54:52while those guys have been gallivanting

54:54through the other realms of possibility, right?

54:58Now, recently, the computation lets you do

55:01mathematical computations that are sophisticated enough

55:06that nobody understands how the answers came out, right?

55:10- Machine learning.

55:10- Machine learning.

55:11- Yeah, yeah.

55:12- It used to be, you get data set,

55:14you guess at a function.

55:16The function is considered physics

55:18if it's predictive of new functions, new data sets.

55:22Modern, you can take a large data set

55:28with no intuition about what it is

55:29and use machine learning to find a pattern

55:31that has no function, right?

55:34And it can arrive at results that I don't know

55:37if they're completely mathematically describable.

55:39So computation has kind of done something interesting

55:44compared to A equal B plus C.

55:47- There's something reminiscent of that step

55:49from the basic operations of addition

55:53to taking a step towards neural networks

55:56that's reminiscent of what life on Earth

55:59at its origins was doing.

56:01Do you think we're creating sort of the next step

56:03in our evolution in creating artificial intelligence systems

56:07that will--

56:08- I don't know.

56:09I mean, there's so much in the universe already,

56:11it's hard to say.

56:12- Where we stand in this whole thing.

56:14- Are human beings working on additional abstraction layers

56:17and possibilities?

56:18Yeah, it appears so.

56:20Does that mean that human beings don't need dogs?

56:23You know, no.

56:24Like there's so many things

56:25that are all simultaneously interesting and useful.

56:30- Well, you've seen, throughout your career,

56:32you've seen greater and greater level abstractions

56:35built in artificial machines, right?

56:39Do you think, when you look at humans,

56:41do you think that the look of all life on Earth

56:44as a single organism building this thing,

56:46this machine with greater and greater levels of abstraction,

56:49do you think humans are the peak,

56:52the top of the food chain

56:54in this long arc of history on Earth?

56:58Or do you think we're just somewhere in the middle?

57:00Are we the basic functional operations of a CPU?

57:05Are we the C++ program, the Python program?

57:09Are we the neural network?

57:10Like somebody's, you know, people have calculated

57:12like how many operations does the brain do?

57:14And something, you know, I've seen the number 10

57:17to the 18th a bunch of times, arrived different ways.

57:20So could you make a computer

57:21that did 10 to the 20th operations?

57:23- Yes. - Sure.

57:25- So you think-- - We're gonna do that.

57:27Now, is there something magical

57:29about how brains compute things?

57:31I don't know.

57:32You know, my personal experience is interesting

57:35'cause, you know, you think you know how you think

57:37and then you have all these ideas

57:39and you can't figure out how they happened.

57:41And if you meditate, you know,

57:44like what you can be aware of is interesting.

57:48So I don't know if brains are magical or not.

57:50You know, the physical evidence says no.

57:54Lots of people's personal experience says yes.

57:57So what would be funny is if brains are magical

58:01and yet we can make brains with more computation.

58:04You know, I don't know what to say about that, but.

58:07- Well, do you think magic is an emergent phenomena?

58:10What-- - It could be.

58:12I have no explanation for it.

58:13I'm an engineer. - Let me ask Jim Keller

58:15of what in your view is consciousness?

58:17- What's consciousness?

58:20- Yeah, like what, you know, consciousness, love,

58:25things that are these deeply human things

58:27that seems to emerge from our brain.

58:29Is that something that we'll be able to make,

58:33encode in chips that get faster and faster

58:37and faster and faster?

58:38- That's like a 10 hour conversation.

58:39Nobody really knows.

58:41- Can you summarize it in a couple of sentences?

58:44- Many people have observed that organisms run

58:48at lots of different levels, right?

58:51If you had two neurons, somebody said

58:52you'd have one sensory neuron and one motor neuron, right?

58:56So we move towards things and away from things

58:58and we have physical integrity and safety or not, right?

59:03And then if you look at the animal kingdom,

59:05you can see brains that are a little more complicated

59:08and at some point there's a planning system

59:10and then there's an emotional system

59:11that's happy about being safe

59:14or unhappy about being threatened, right?

59:17And then our brains have massive numbers of structures,

59:21you know, like planning and movement and thinking

59:24and feeling and drives and emotions.

59:27And we seem to have multiple layers of thinking systems.

59:31And we have a brain, a dream system

59:32that nobody understands whatsoever,

59:35which I find completely hilarious.

59:37And you can think in a way that those systems

59:42are more independent and you can observe,

59:46you know, the different parts of yourself can observe them.

59:49I don't know which one's magical.

59:51I don't know which one's not computational.

59:53So.

59:56- Is it possible that it's all computation?

59:58- Probably.

60:00Is there a limit to computation?

60:01I don't think so.

60:03- Do you think the universe is a computer?

60:05- I don't know, it seems to be.

60:07It's a weird kind of computer

60:09because if it was a computer, right?

60:12Like when they do calculations on what it,

60:15how much calculation it takes to describe quantum effects

60:18is unbelievably high.

60:20So if it was a computer,

§08Transcript · 1:00:22–1:08:52

60:22wouldn't you have built it out of something

60:23that was easier to compute?

60:25Right, that's a funny, it's a funny system.

60:29But then the simulation guys have pointed out

60:31that the rules are kind of interesting.

60:32Like when you look really close, it's uncertain.

60:35And the speed of light says you can only look so far

60:37and things can't be simultaneous

60:39except for the odd entanglement problem

60:41where they seem to be.

60:42Like the rules are all kind of weird.

60:45And somebody said physics is like having 50 equations

60:48with 50 variables to define 50 variables.

60:52Like, you know, it's, you know,

60:55like physics itself has been a shit show

60:56for thousands of years.

60:59It seems odd when you get to the corners of everything.

61:01You know, it's either uncomputable

61:03or undefinable or uncertain.

61:07- It's almost like the designers of the simulation

61:09are trying to prevent us from understanding it perfectly.

61:12- But also the things that require calculations

61:16require so much calculation

61:17that our idea of the universe of a computer is absurd

61:20because every single little bit of it

61:23takes all the computation in the universe to figure out.

61:26So that's a weird kind of computer.

61:28You know, you say the simulation is running in the computer

61:30which has by definition infinite computation.

61:34- Not infinite.

61:35Oh, you mean if the universe is infinite?

61:37- Yeah, well, every little piece of our universe

61:40seems to take infinite computation to figure out.

61:43- Just a lot.

61:44- Well, a lot's a pretty big number.

61:46Compute this little teeny spot takes all the mass

61:50in the local one light year by one light year space.

61:53It's close enough to infinite.

61:54- Oh, it's a heck of a computer if it is one.

61:56- I know, it's a weird description

62:00'cause the simulation description seems to break

62:03when you look closely at it.

62:04But the rules of the universe seem to imply something's up.

62:07That seems a little arbitrary.

62:10- The universe, the whole thing, the laws of physics,

62:14it just seems like how did it come out to be the way it is?

62:19- Well, lots of people talk about that.

62:22Like I said, the two smartest groups of humans

62:24are working on the same problem.

62:26- From different sides.

62:27- Different aspects and they're both complete failures.

62:30So that's kind of cool.

62:31- They might succeed eventually.

62:34- Well, after 2,000 years, the trend isn't good.

62:38- Oh, 2,000 years is nothing in the span

62:40of the history of the universe.

62:41So we have some time.

62:43- But the next 1,000 years doesn't look good either.

62:45- That's what everybody says at every stage.

62:48But with Moore's Law, as you've just described,

62:51not being dead, the exponential growth of technology,

62:55the future seems pretty incredible.

62:57- Well, it'll be interesting, that's for sure.

62:59- That's right.

63:00So what are your thoughts on Ray Kurzweil's sense

63:03that exponential improvement in technology

63:05will continue indefinitely?

63:07Is that how you see Moore's Law?

63:10Do you see Moore's Law more broadly

63:13in the sense that technology of all kinds

63:16has a way of stacking S-curves on top of each other

63:21where it'll be exponential

63:23and then we'll see all kinds of--

63:24- What does an exponential of a million mean?

63:27That's a pretty amazing number.

63:29And that's just for a local little piece of silicon.

63:32Now let's imagine you say decided to get

63:351,000 tons of silicon to collaborate in one computer

63:41at a million times the density.

63:43Like now you're talking, I don't know,

63:4610 to the 20th more computation power

63:49than our current already unbelievably fast computers.

63:53Like nobody knows what that's gonna mean.

63:55The sci-fi guys call it computronium.

63:58Like when a local civilization turns

64:01the nearby star into a computer.

64:03Like I don't know if that's true.

64:06- So just even when you shrink a transistor,

64:10- That's only one dimension.

64:12- The ripple effects of that.

64:14- Like people tend to think about computers

64:15as a cost problem, right?

64:17So computers are made out of silicon

64:19and minor amounts of metals.

64:21And you know, this and that.

64:24None of those things cost any money.

64:26Like there's plenty of sand.

64:28Like you could just turn the beach

64:31and a little bit of ocean water into computers.

64:33So all the cost is in the equipment to do it.

64:36And the trend on equipment is once you figure out

64:39how to build the equipment, the trend of cost is zero.

64:41Elon said first you figure out what configuration

64:45you want the atoms in and then how to put them there.

64:49Right?

64:50- Yeah.

64:51- But here's the, you know, his great insight is

64:54people are how constrained.

64:56I have this thing, I know how it works.

64:58And then little tweaks to that will generate something

65:02as opposed to what do I actually want

65:05and then figure out how to build it.

65:07It's a very different mindset.

65:09And almost nobody has it, obviously.

65:11- Well, let me ask on that topic.

65:15You were one of the key early people

65:18in the development of autopilot,

65:20at least in the hardware side.

65:21Elon Musk believes that autopilot and vehicle autonomy,

65:25if you just look at that problem,

65:26can follow this kind of exponential improvement.

65:29In terms of the how question that we're talking about,

65:32there's no reason why it can't.

65:34What are your thoughts on this particular space

65:37of vehicle autonomy and your part of it

65:42and Elon Musk's and Tesla's vision for--

65:45- Well, the computer you need to build is straightforward.

65:48And you could argue, well, does it need to be

65:51two times faster or five times or 10 times?

65:53But that's just a matter of time or price in the short run.

65:58So that's not a big deal.

66:00You don't have to be especially smart to drive a car.

66:03So it's not like a super hard problem.

66:05I mean, the big problem with safety is attention,

66:07which computers are really good at, not skills.

66:11- Well, let me push back on one.

66:15You say everything you said is correct,

66:17but we as humans tend to take for granted

66:22how incredible our vision system is.

66:26So--

66:27- You can drive a car with 20/50 vision

66:30and you can train a neural network to extract

66:33the distance of any object and the shape of any surface

66:36from a video and data.

66:38- Yeah, but-- - It's really simple.

66:40- No, it's not simple.

66:42- That's a simple data problem.

66:44- It's not simple.

66:46It's because it's not just detecting objects,

66:50it's understanding the scene and it's being able to do it

66:53in a way that doesn't make errors.

66:56So the beautiful thing about the human vision system

67:00and our entire brain around the whole thing

67:02is we're able to fill in the gaps.

67:05It's not just about perfectly detecting cars,

67:08it's inferring the occluded cars.

67:09It's trying to, it's understanding the physics--

67:12- I think that's mostly a data problem.

67:14So you think what data would compute

67:17with improvement of computation,

67:19with improvement in collection--

67:20- Well, there is a, you know, when you're driving a car

67:22and somebody cuts you off, your brain has theories

67:24about why they did it.

67:26You know, they're a bad person, they're distracted,

67:28they're dumb, you know, you can listen to yourself.

67:31- Right.

67:32- So, you know, if you think that narrative is important

67:37to be able to successfully drive a car,

67:38then current autopilot systems can't do it.

67:41But if cars are ballistic things with tracks

67:44and probabilistic changes of speed and direction,

67:47and roads are fixed and given by the way,

67:50they don't change dynamically, right?

67:53You can map the world really thoroughly.

67:56You can place every object really thoroughly, right?

68:01You can calculate trajectories of things really thoroughly.

68:04Right?

68:06- But everything you said about really thoroughly

68:09has a different degree of difficulty.

68:12So--

68:13- And you could say at some point,

68:15computer autonomous systems will be way better

68:17at things that humans are lousy at.

68:20Like, they'll be better at attention,

68:22they'll always remember there was a pothole in the road

68:25that humans keep forgetting about.

68:27They'll remember that this set of roads

68:29has these weirdo lines on it

68:31that the computers figured out once.

68:32And especially if they get updates

68:35so if somebody changes a given,

68:37like the key to robots and stuff,

68:40somebody said is to maximize the givens.

68:42Right?

68:44- Right.

68:45- So having a robot pick up this bottle cap

68:47is way easier to put a red dot on the top.

68:50'Cause then you have to figure out,

68:52if you wanna do a certain thing with it,

§09Transcript · 1:08:54–1:17:04

68:54maximize the givens is the thing.

68:57And autonomous systems are happily maximizing the givens.

69:00Like humans, when you drive someplace new,

69:04you remember it 'cause you're processing it the whole time.

69:06And after the 50th time you drove to work,

69:08you get to work, you don't know how you got there.

69:11Right?

69:12You're on autopilot.

69:13Right?

69:14Autonomous cars are always on autopilot.

69:17But the cars have no theories about why they got cut off

69:20or why they're in traffic.

69:22- So that's--

69:22- They also never stop paying attention.

69:24- Right.

69:25So I tend to believe you do have to have theories,

69:27meta models of other people,

69:29especially with pedestrian and cyclists,

69:31but also with other cars.

69:32So everything you said is actually essential to driving.

69:37Driving is a lot more complicated than people realize,

69:41I think.

69:42So sort of to push back slightly, but--

69:44- So to cut into traffic, right?

69:46- Yep.

69:47- You can't just wait for a gap.

69:48You have to be somewhat aggressive.

69:50You'd be surprised how simple a calculation for that is.

69:53- I may be on that particular point, but there's--

69:56Maybe I actually have to push back.

70:00I would be surprised.

70:01You know what?

70:02I'll say where I stand.

70:03I would be very surprised,

70:04but I think you might be surprised how complicated it is.

70:09- I tell people, it's like progress disappoints

70:11in the short run and surprises in the long run.

70:13- It's very possible.

70:14Yeah.

70:15- I suspect in 10 years, it'll be just taken for granted.

70:18- Yeah, probably.

70:19But you're probably right.

70:21Now it look like--

70:22- It's gonna be a $50 solution that nobody cares about.

70:25It's like GPS is like, wow, GPS is,

70:27we have satellites in space

70:29that tell you where your location is.

70:31It was a really big deal.

70:32Now everything has a GPS in it.

70:33- Yeah, that's true.

70:34But I do think that systems that involve human behavior

70:38are more complicated than we give them credit for.

70:40So we can do incredible things with technology

70:43that don't involve humans, but when you--

70:45- I think humans are less complicated than people

70:48frequently ascribed.

70:50- Maybe I--

70:51- We tend to operate out of large numbers of patterns

70:53and just keep doing it over and over.

70:55- But I can't trust you because you're a human.

70:58That's something a human would say.

71:00But my hope is on the point you've made is,

71:04even if, no matter who's right,

71:07I'm hoping that there's a lot of things

71:10that humans aren't good at

71:11that machines are definitely good at.

71:13Like you said, attention and things like that.

71:15Well, they'll be so much better

71:17that the overall picture of safety and autonomy

71:20will be obviously cars will be safer,

71:22even if they're not as good at it.

71:24- I'm a big believer in safety.

71:26I mean, there are already the current safety systems

71:29like cruise control that doesn't let you run into people

71:32and lane keeping.

71:33There are so many features that you just look at the Pareto

71:36of accidents and knocking off like 80% of them

71:39is super doable.

71:42- Just to linger on the autopilot team

71:44and the efforts there,

71:45it seems to be that there's a very intense scrutiny

71:51by the media and the public in terms of safety,

71:54the pressure, the bar put before autonomous vehicles.

71:57What are your sort of as a person there

72:01working on the hardware and trying to build a system

72:03that builds a safe vehicle and so on,

72:07what was your sense about that pressure?

72:08Is it unfair?

72:09Is it expected of new technology?

72:12- Yeah, it seems reasonable.

72:13I was interested, I talked to both American

72:15and European regulators,

72:17and I was worried that the regulations

72:21would write into the rules technology solutions

72:25like modern brake systems imply hydraulic brakes.

72:30So if you read the regulations

72:32to meet the letter of the law for brakes,

72:35it sort of has to be hydraulic, right?

72:37And the regulator said,

72:39they're interested in the use cases,

72:42like a head-on crash, an offset crash,

72:44don't hit pedestrians, don't run into people,

72:47don't leave the road, don't run a red light or a stoplight.

72:50They were very much into the scenarios.

72:53And they had all the data about which scenarios

72:56injured or killed the most people.

72:59And for the most part, those conversations were like,

73:04what's the right thing to do to take the next step?

73:08Now Elon's very interested also in the benefits

73:11of autonomous driving or freeing people's time

73:14and attention as well as safety.

73:16And I think that's also an interesting thing,

73:20but building autonomous systems so they're safe

73:25and safer than people seemed,

73:27since the goal is to be 10x safer than people,

73:30having the bar to be safer than people

73:32and scrutinizing accidents seems philosophically correct.

73:37So I think that's a good thing.

73:40- It's different than the things you worked at,

73:47the Intel, AMD, Apple, with autopilot chip design

73:51and hardware design.

73:53What are interesting or challenging aspects

73:55of building this specialized kind of computing system

73:57in the automotive space?

73:59- I mean, there's two tricks to building

74:01like an automotive computer.

74:02One is the software team, the machine learning team

74:07is developing algorithms that are changing fast.

74:10So as you're building the accelerator,

74:14you have this worry or intuition

74:16that the algorithms will change enough

74:18that the accelerator will be the wrong one.

74:21And there's a generic thing,

74:24which is if you build a really good general purpose computer

74:27say its performance is one,

74:29and then GPU guys will deliver about 5x to performance

74:34for the same amount of silicon,

74:35because instead of discovering parallelism,

74:37you're given parallelism.

74:39And then special accelerators get another two to 5x

74:43on top of a GPU, because you say,

74:46I know the math is always eight bit integers

74:49into 32 bit accumulators,

74:51and the operations are the subset

74:53of mathematical possibilities.

74:55So, AI accelerators have a claim performance benefit

75:00over GPUs because in the narrow mass space,

75:05you're nailing the algorithm.

75:07Now, you still try to make it programmable,

75:10but the AI field is changing really fast.

75:13So there's a little creative tension there of,

75:17I want the acceleration afforded by specialization

75:20without being over specialized

75:22so that the new algorithm is so much more effective

75:25that you'd have been better off on a GPU.

75:27So there's a tension there.

75:29To build a good computer for an application like automotive,

75:34there's all kinds of sensor inputs and safety processors

75:37and a bunch of stuff.

75:39So one of Elon's goals to make it super affordable.

75:42So every car gets an autopilot computer.

75:44So some of the recent startups you look at,

75:46and they have a server in the trunk,

75:48because they're saying,

75:49I'm gonna build this autopilot computer

75:50or replaces the driver.

75:52So their cost budget's 10 or $20,000.

75:55And Elon's constraint was, I'm gonna put one in every car,

75:58whether people buy autonomous driving or not.

76:01So the cost constraint he had in mind was great.

76:05And to hit that, you had to think about the system design.

76:08That's complicated, it's fun.

76:09You know, it's like, it's craftsman's work.

76:12Like a violin maker, right?

76:14You can say Stradivarius is this incredible thing,

76:16the musicians are incredible.

76:18But the guy making the violin, you know,

76:20picked wood and sanded it, and then he cut it,

76:23you know, and he glued it, you know,

76:25and he waited for the right day

76:27so that when he put the finish on it,

76:29it didn't, you know, do something dumb.

76:31That's craftsman's work, right?

76:33You may be a genius craftsman

76:35'cause you have the best techniques

76:36and you discover a new one,

76:38but most engineering is craftsman's work.

76:41And humans really like to do that.

76:44You know the expression-- - Smart humans.

76:45- No, everybody.

76:46- All humans. - I don't know.

76:47I used to, I dug ditches when I was in college.

76:50I got really good at it, satisfying.

76:52- Yeah.

76:53Digging ditches is also craftsman work.

76:55- Yeah, of course.

76:56So there's an expression called complex mastery behavior.

77:00So when you're learning something,

77:02that's fun 'cause you're learning something.

77:04When you do something and it's rote and simple,

§10Transcript · 1:17:05–1:25:07

77:05it's not that satisfying.

77:06But if the steps that you have to do are complicated

77:10and you're good at 'em, it's satisfying to do them.

77:13And then if you're intrigued by it all,

77:16as you're doing them, you sometimes learn new things

77:19that you can raise your game.

77:21But craftsman's work is good.

77:23And engineers, like engineering is complicated enough

77:27that you have to learn a lot of skills

77:28and then a lot of what you do is then craftsman's work,

77:32which is fun.

77:33Autonomous driving, building a very

77:35resource-constrained computer,

77:37so a computer has to be cheap enough

77:39to put in every single car,

77:41that essentially boils down to craftsman's work.

77:45It's engineering, it's--

77:45- Yeah, you know, there's thoughtful decisions

77:47and problems to solve and trade-offs to make.

77:50Do you need 10 camera in ports or eight?

77:52You know, you're building for the current car

77:54or the next one.

77:56You know, how do you do the safety stuff?

77:57You know, there's a whole bunch of details.

78:00But it's fun.

78:01It's not like I'm building a new type of neural network

78:04which has a new mathematics and a new computer to work.

78:08You know, that's, like there's more invention than that.

78:11But the rejection to practice,

78:14once you pick the architecture, you look inside

78:16and what do you see?

78:17Adders and multipliers and memories and, you know,

78:20the basics.

78:21So computers is always this weird set of abstraction layers

78:25of ideas and thinking that reduction to practice

78:29is transistors and wires and, you know, pretty basic stuff.

78:33And that's an interesting phenomenon.

78:37By the way, like factory work,

78:38like lots of people think factory work

78:40is road assembly stuff.

78:42I've been on the assembly line.

78:44Like the people who work there really like it.

78:46It's a really great job.

78:47It's really complicated.

78:48Putting cars together is hard, right?

78:50And the car is moving and the parts are moving

78:53and sometimes the parts are damaged

78:54and you have to coordinate putting all the stuff together

78:57and people are good at it.

78:59They're good at it.

79:00And I remember one day I went to work

79:01and the line was shut down for some reason

79:03and some of the guys sitting around were really bummed

79:06'cause they had reorganized a bunch of stuff

79:09and they were gonna hit a new record

79:10for the number of cars built that day

79:12and they were all gung-ho to do it.

79:14And these were big, tough buggers.

79:15(Luke laughs)

79:17But what they did was complicated and you couldn't do it.

79:20- Yeah, and I mean--

79:21- Well, after a while you could,

79:22but you'd have to work your way up

79:24'cause, you know, like putting the bright,

79:27what's called the brights,

79:28the trim on a car on a moving assembly line

79:32where it has to be attached 25 places

79:34in a minute and a half is unbelievably complicated.

79:38And human beings can do it, it's really good.

79:42I think that's harder than driving a car, by the way.

79:45- Putting together, working--

79:47- Working in a factory.

79:48- Too smart people can disagree.

79:51- Yay.

79:52- I think driving a car--

79:54- Well, we'll get you in the factory someday

79:56and then we'll see how you do.

79:56- No, not for us humans driving a car is easy.

79:59I'm saying building a machine

80:01that drives a car is not easy.

80:04Okay, driving a car is easy for humans

80:07because we've been evolving for billions of years.

80:10- To drive cars, yeah, I noticed that.

80:13The paleolithic cars are super cool.

80:15- Oh, now you join the rest of the internet in mocking me.

80:19- Okay.

80:20(Luke laughs)

80:21I wasn't mocking, I was just, you know,

80:23intrigued by your anthropology.

80:26- Yeah, it's--

80:27- I'll have to go dig into that.

80:28- There's some inaccuracies there, yes.

80:31Okay, but in general,

80:33(Luke laughs)

80:35what have you learned in terms of,

80:39thinking about passion, craftsmanship,

80:44tension, chaos, you know--

80:47- Jesus.

80:48- The whole mess of it,

80:50what have you learned, have taken away from your time

80:54working with Elon Musk, working at Tesla,

80:57which is known to be a place of chaos,

81:00innovation, craftsmanship, and all those things.

81:03- I really like the way he thought.

81:05Like, you think you have an understanding

81:07about what first principles of something is,

81:10and then you talk to Elon about it,

81:11and you didn't scratch the surface.

81:13You know, he has a deep belief

81:17that no matter what you do, it's a local maximum.

81:19Right, and I had a friend,

81:21he invented a better electric motor,

81:24and it was a lot better than what we were using.

81:26And one day he came by, he said,

81:28"You know, I'm a little disappointed,

81:30"'cause this is really great,

81:31"and you didn't seem that impressed."

81:33And I said, "You know, when the super intelligent aliens

81:36"come, are they gonna be looking for you?"

81:38Like, where is he?

81:39The guy who built the motor.

81:41Probably not.

81:43But doing interesting work that's both innovative,

81:49and let's say craftsman's work on the current thing,

81:51it's really satisfying, and it's good.

81:54And that's cool.

81:55And then Elon was good at taking everything apart.

81:59Like, what's the deep first principle?

82:01Oh, no, what's really, no, what's really?

82:03You know, that ability to look at it without assumptions,

82:08and how constraint is super wild.

82:13You know, he built a rocket ship,

82:15and electric car, and everything.

82:19And that's super fun, and he's into it, too.

82:21Like, when they first landed two SpaceX rockets to Tesla,

82:26we had a video projector in the big room,

82:28and like 500 people came down,

82:29and when they landed, everybody cheered,

82:31and some people cried.

82:32It was so cool.

82:33All right, but how did you do that?

82:36Well, it was super hard.

82:39And then people say, "Well, it's chaotic."

82:42Really?

82:43To get out of all your assumptions?

82:44You think that's not gonna be unbelievably painful?

82:48And is Elon tough?

82:50Yeah, probably.

82:51Do people look back on it and say,

82:53"Boy, I'm really happy I had that experience

82:57"to go take apart that many layers of assumptions?"

83:01Sometimes super fun, sometimes painful.

83:05So it could be emotionally and intellectually painful,

83:07that whole process of just stripping away assumptions?

83:10Yeah, imagine 99% of your thought process

83:13is protecting your self-conception.

83:16And 98% of that's wrong.

83:18Now you got the math right.

83:21How do you think you're feeling

83:23when you get back into that one bit that's useful,

83:26and now you're open and you have the ability

83:28to do something different?

83:30I don't know if I got the math right.

83:33It might be 99.9, but it ain't 50.

83:37Imagining that 50% is hard enough.

83:44Now for a long time I've suspected you could get better.

83:47Like you can think better, you can think more clearly,

83:50you can take things apart.

83:52And there's lots of examples of that, people who do that.

83:56And Elon is an example of that.

84:01Apparently. You are an example.

84:02So-- I don't know if I am.

84:04I'm fun to talk to.

84:05Certainly. I've learned a lot of stuff.

84:08Right. Well, here's the other thing

84:09is like, I joke, like I read books,

84:13and people think, oh, you read books.

84:14Well, no, I've read a couple of books a week for 55 years.

84:19Well, maybe 50, 'cause I didn't learn to read

84:22until I was eight or something.

84:24And it turns out when people write books,

84:28they often take 20 years of their life

84:31where they passionately did something,

84:33reduced it to 200 pages.

84:36That's kind of fun.

84:37And then you go online and you can find out

84:39who wrote the best books and who like, you know,

84:42that's kind of wild.

84:43So there's this wild selection process,

84:45and then you can read it,

84:46and for the most part, understand it.

84:48And then you can go apply it.

84:51Like I went to one company, I thought,

84:53I haven't managed much before.

84:55So I read 20 management books,

84:57and I started talking to them,

84:58and basically compared to all the VPs running around,

85:01I'd read 19 more management books than anybody else.

85:05(laughing)

85:07Wasn't even that hard.

§11Transcript · 1:25:08–1:34:12

85:08And half the stuff worked, like first time.

85:11It wasn't even rocket science.

85:12- But at the core of that is questioning the assumptions,

85:16or sort of entering, thinking first principles thinking,

85:21sort of looking at the reality of the situation,

85:24and using that knowledge, applying that knowledge.

85:28- Yeah, so I would say my brain has this idea

85:31that you can question first assumptions.

85:34But I can go days at a time and forget that,

85:38and you have to kind of circle back that observation.

85:41- Because it is emotionally challenging.

85:45- Well, it's hard to just keep it front and center,

85:47'cause you operate on so many levels all the time,

85:50and getting this done takes priority,

85:53or being happy takes priority,

85:56or screwing around takes priority.

85:59Like how you go through life is complicated.

86:03And then you remember, oh yeah,

86:04I could really think first principles.

86:06Oh shit, that's tiring.

86:08But you do for a while, and that's kind of cool.

86:12- So just as a last question in your sense,

86:16from the big picture, from the first principles,

86:19do you think, you kind of answered it already,

86:21but do you think autonomous driving

86:24is something we can solve on a timeline of years?

86:28So one, two, three, five, 10 years,

86:32as opposed to a century?

86:33- Yeah, definitely.

86:35- Just to linger on it a little longer,

86:37where's the confidence coming from?

86:40Is it the fundamentals of the problem,

86:42the fundamentals of building the hardware and the software?

86:46- As a computational problem,

86:48understanding ballistics, roles, topography,

86:53it seems pretty solvable.

86:56I mean, and you can see this,

86:57like speech recognition for a long time,

87:00people are doing frequency and domain analysis,

87:02and all kinds of stuff,

87:04and that didn't work for at all, right?

87:07And then they did deep learning about it,

87:09and it worked great.

87:10And it took multiple iterations.

87:14And, you know, autonomous driving

87:17is way past the frequency analysis point.

87:19You know, use radar, don't run into things.

87:23And the data gathering is going up,

87:25and the computation is going up,

87:26and the algorithm understanding is going up,

87:28and there's a whole bunch of problems

87:30getting solved like that.

87:31- The data side is really powerful,

87:33but I disagree with both you and Elon.

87:35I'll tell Elon once again, as I did before,

87:38that when you add human beings into the picture,

87:42it's no longer a ballistics problem.

87:45It's something more complicated,

87:47but I could be very well proven wrong.

87:50- Cars are highly damped in terms of rate of change.

87:53Like the steering system's really slow

87:56compared to a computer.

87:57The acceleration, the acceleration's really slow.

88:01- Yeah, on a certain time scale.

88:02On a ballistics time scale, but human behavior,

88:05I don't know.

88:05I shouldn't say--

88:08- Human beings are really slow too.

88:09Weirdly, we operate, you know,

88:11half a second behind reality.

88:13Nobody really understands that one either.

88:15It's pretty funny.

88:16- Yeah, yeah.

88:18We very well could be surprised.

88:23And I think with the rate of improvement

88:25in all aspects on both the compute

88:26and the software and the hardware,

88:29there's gonna be pleasant surprises all over the place.

88:32- Mm-hmm.

88:33- Speaking of unpleasant surprises,

88:36many people have worries about a singularity

88:39in the development of AI.

88:41Forgive me for such questions.

88:43- Yeah.

88:44- When AI improves exponentially

88:46and reaches a point of superhuman level

88:48general intelligence,

88:49you know, beyond the point, there's no looking back.

88:53Do you share this worry of existential threats

88:56from artificial intelligence,

88:57from computers becoming superhuman level intelligent?

89:01- No, not really.

89:03You know, like we already have a very stratified society.

89:07And then if you look at the whole animal kingdom

89:09of capabilities and abilities and interests,

89:12and, you know, smart people have their niche,

89:15and, you know, normal people have their niche,

89:17and craftsmen have their niche,

89:19and, you know, animals have their niche.

89:22I suspect that the domains of interest

89:26for things that, you know, astronomically different,

89:29like the whole something got 10 times smarter than us

89:32and wanted to track us all down because what?

89:34We like to have coffee at Starbucks?

89:36Like, it doesn't seem plausible.

89:38No, is there an existential problem

89:40that how do you live in a world

89:42where there's something way smarter than you,

89:44and you base your kind of self-esteem

89:46on being the smartest local person?

89:48Well, there's what, 0.1% of the population who thinks that?

89:52'Cause the rest of the population's been dealing with it

89:54since they were born.

89:56So the breadth of possible experience

90:00that can be interesting is really big.

90:03And, you know, superintelligence seems likely,

90:09although we still don't know if we're magical,

90:14but I suspect we're not,

90:16and it seems likely that it'll create possibilities

90:18that are interesting for us,

90:20and its interests will be interesting for whatever it is.

90:26It's not obvious why its interests

90:28would somehow wanna fight over some square foot of dirt

90:32or, you know, whatever the usual fears are about.

90:37- So you don't think you'll inherit

90:39some of the darker aspects of human nature?

90:41- Depends on how you think reality's constructed.

90:45So for whatever reason, human beings are in, let's say,

90:50creative tension and opposition

90:52with both our good and bad forces.

90:55Like, there's lots of philosophical understanding of that.

90:58Right?

91:00I don't know why that would be different.

91:03- So you think the evil is necessary for the good?

91:06I mean, the tension.

91:08- I don't know about evil,

91:09but like we live in a competitive world

91:11where your good is somebody else's, you know, evil.

91:16You know, there's the malignant part of it,

91:19but that seems to be self-limiting,

91:22although occasionally it's super horrible.

91:26- But yes, there's a debate over ideas

91:30and some people have different beliefs

91:32and that debate itself is a process

91:34so that arriving at something--

91:37- Yeah, and why wouldn't that continue?

91:39- Yeah.

91:40But you don't think that whole process

91:43will leave humans behind in a way that's painful?

91:46Emotionally painful, yes, for the 0.1%.

91:50There'll be--

91:51- Isn't it already painful for a large percentage

91:53of the population?

91:54And it is.

91:54I mean, society does have a lot of stress in it,

91:57about the 1% and about to this and about to that,

92:00but you know, everybody has a lot of stress in their life

92:03about what they find satisfying

92:05and you know, know yourself seems to be the proper dictum

92:09and pursue something that makes your life meaningful

92:14seems proper.

92:15And there's so many avenues on that.

92:18Like, there's so much unexplored space

92:21at every single level.

92:22You know, I'm somewhat of,

92:27my nephew called me a jaded optimist.

92:29(laughing)

92:31- There's a beautiful tension in that label.

92:37But if you were to look back at your life

92:40and could relive a moment, a set of moments

92:45because there were the happiest times of your life

92:49outside of family, what would that be?

92:52- I don't wanna relive any moments.

92:56I like that.

92:58I like that situation where you have some amount of optimism

93:01and then the anxiety of the unknown.

93:04- So you love the unknown, the mystery of it.

93:10- I don't know about the mystery.

93:11It sure gets your blood pumping.

93:12- What do you think is the meaning of this whole thing?

93:17Of life on this pale blue dot?

93:20- It seems to be what it does.

93:23Like the universe, for whatever reason,

93:29makes atoms which makes us which we do stuff.

93:32And we figure out things and we explore things.

93:37- That's just what it is.

93:39- It's not just.

93:41- Yeah, it is.

93:43Jim, I don't think there's a better place to end it

93:46it's a huge honor.

93:48- Well, that was super fun.

93:51- Thank you so much for talking today.

93:52- All right, great.

93:54- Thanks for listening to this conversation

93:56and thank you to our presenting sponsor, Cash App.

93:59Download it, use code LexPodcast, you'll get $10

94:03and $10 will go to FIRST, a STEM education nonprofit

94:06that inspires hundreds of thousands of young minds

94:09to become future leaders and innovators.

94:12If you enjoy this podcast, subscribe on YouTube,

§12Transcript · 1:34:15–1:34:37

94:15get five stars on Apple Podcast, follow on Spotify,

94:18support on Patreon or simply connect with me on Twitter.

94:22And now let me leave you with some words of wisdom

94:24from Gordon Moore.

94:26If everything you try works, you aren't trying hard enough.

94:30Thank you for listening and hope to see you next time.

94:34(upbeat music)

94:37(upbeat music)

— 读到这里,多懂一点。 —