Insightcast AI
Home
© 2025 All rights reserved
Impressum
Jim Keller: Moore’s Law, Microprocessors, Abstractions, and First Principles

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

Lex Fridman Podcast XX

--:--
--:--

Full Transcription:

[0] The following is a conversation with Jim Keller, legendary microprocessor engineer who has worked at AMD, Apple, Tesla, and now Intel.

[1] He's known for his work on AMD K -7, K -8, K -12, and Zen microarchitectures, Apple A4, and A5 processors, and co -author of the specification for the X8664 instruction set and Hypertransport Interconnect.

[2] He's a brilliant first principles engineer and out -of -the -box thinker and just an interesting and fun human being to talk to.

[3] This is the Artificial Intelligence Podcast.

[4] If you enjoy it, subscribe on YouTube, give it five stars on Apple Podcast, follow on Spotify, support it on Patreon, or simply connect with me on Twitter, Alex Friedman, spelled F -R -I -D -M -A -N.

[5] I recently started doing ads at the end of the introduction.

[6] I'll do one or two minutes after introducing the episode.

[7] and never any ads in the middle that can break the flow of the conversation.

[8] I hope that works for you and doesn't hurt the listening experience.

[9] This show is presented by Cash App, the number one finance app in the App Store.

[10] I personally use Cash App to send money to friends, but you can also use it to buy, sell, and deposit Bitcoin in just seconds.

[11] Cash App also has a new investing feature.

[12] You can buy fractions of a stock, say $1 worth, no matter what the stock price is.

[13] Brokered services are provided by cash.

[14] Cash App investing, a subsidiary of Square and member SIPC.

[15] I'm excited to be working with Cash App to support one of my favorite organizations called First, best known for their first robotics and Lego competitions.

[16] They educate and aspire hundreds of thousands of students in over 110 countries and have a perfect rating a charity navigator, which means that donated money is used to maximum effectiveness.

[17] When you get Cash App from the App Store, Google Play, and use code Lex Podcast, you'll get $10, and Cash App will also donate $10 to First, which again is an organization that I've personally seen inspire girls and boys the dream of engineering a better world.

[18] And now, here's my conversation with Jim Keller.

[19] What are the differences and similarities between the human brain and a computer with the microprocessor at its core?

[20] let's start with the philosophical question perhaps well since people don't actually understand how human brains work i think that's true i think that's true so it's hard to compare them computers are you know there's really two things there's memory and there's computation right and to date almost all computer architectures are global memory which is a thing right and then computation pull data and you do relatively simple operations on it and write data back.

[21] So it's decoupled in modern computers.

[22] And you think in the human brain everything's a mesh, a mess that's combined together?

[23] What people observe is there's some number of layers of neurons which have local and global connections.

[24] And information is stored in some distributed fashion.

[25] and people build things called neural networks in computers where the information is distributed in some kind of fashion.

[26] You know, there's a mathematics behind it.

[27] I don't know that the understanding of that is super deep.

[28] The computations we run on those are straightforward computations.

[29] I don't believe anybody has said a neuron does this computation.

[30] So to date it's hard to compare them.

[31] I would say.

[32] So let's get into the basics before we zoom back out.

[33] How do you build a computer from scratch?

[34] What is a microprocessor?

[35] What is the microarchitecture?

[36] What's an instruction set architecture?

[37] Maybe even as far back as what is a transistor?

[38] So the special charm of computer engineering is there's a relatively good understanding of abstraction layers.

[39] So down to the bottom, you have atoms.

[40] and atoms get put together in materials like silicon or dope silicon or metal, and we build transistors.

[41] On top of that, we build logic gates, right, and then functional units, like an adder, a subtractor, an instruction parsing unit, and then we assemble those into, you know, processing elements.

[42] Modern computers are built out of, you know, probably 10 to 20 locally, you know, organic processing elements, or coherent processing elements, and then that runs computer programs, right?

[43] So there's abstraction layers, and then software, you know, there's an instruction set you run, and then there's assembly language, C, C++, Java, JavaScript, you know, there's abstraction layers, you know, essentially from the atom to the data center, right?

[44] So when you build a computer, you know, first there's a target, like what's it for, like how fast does it have to be, which today there's a whole bunch of metrics about what that is.

[45] And then in an organization of 1 ,000 people who build a computer, there's lots of different disciplines that you have to operate on.

[46] Does that make sense?

[47] And so there's a bunch of levels of abstraction.

[48] In an organization like Intel and in your own vision, there's a lot of brilliance that comes in at every one of those layers, some of it is science some of it is engineering some of his art what's the most if you could pick favorites what's the most important your favorite layer on these layers of obstructions where does the magic enter this hierarchy uh i don't really care that's the fun you know i'm somewhat agnostic to that so i would say for relatively long periods of time instruction sets are stable.

[49] So the x86 instruction set, the RM instruction set.

[50] What's an instruction set?

[51] So it says, how do you encode the basic operations?

[52] Load, store, multiply, add, subtract, conditional branch, you know, there aren't that many interesting instructions.

[53] If you look at a program and it runs, you know, 90 % of the execution is on 25 opcodes, you know, 25 instructions.

[54] And those are stable, right?

[55] What does it mean stable?

[56] Intel architecture has been for 25 years.

[57] It works.

[58] It works.

[59] And that's because the basics, you know, are defined a long time ago.

[60] Right.

[61] Now, the way an old computer ran is you fetched instructions and you executed them in order.

[62] Do the load, do the ad, do the compare.

[63] The way a modern computer works is you fetch large numbers of instructions, say 500.

[64] And then you find the dependency graph between the instructions.

[65] And then you execute in independent units those little micrographs.

[66] So a modern computer, like people like to say, computers should be simple and clean.

[67] But it turns out the market for simple, clean, slow computers is zero, right?

[68] We don't sell any simple, clean computers.

[69] Now, you can, there's how you build it can be clean, but the computer people want to buy.

[70] that's, say, you know, phone or data center, fetches a large number of instructions, computes the dependency graph, and then executes it in a way that gets the right answers.

[71] And optimize that graph somehow.

[72] Yeah, they run deeply out of order, and then there's semantics around how memory ordering works and other things works.

[73] So the computer sort of has a bunch of bookkeeping tables that says, what orders do these operations, finish in or appear to finish in.

[74] But to go fast, you have to fetch a lot of instructions and find all the parallelism.

[75] Now, there's a second kind of computer, which we call GPUs today.

[76] And I call it a difference.

[77] There's found parallelism.

[78] Like you have a program with a lot of dependent instructions.

[79] You fetch a bunch, and then you go figure out the dependency graph, and you issue instructions out order.

[80] That's because you have one serial narrative to execute, which in fact is in can be done out of order did you call it a narrative yeah wow so yeah so humans think in serial narrative so read read a book right there's a you know there's a sentence after sentence after sentence and there's paragraphs now you could diagram that imagine you diagramed it properly and you said which sentences could be read in any order any order without changing the meaning right that's a fascinating question to ask of a book yeah yeah you could do that right so some paragraphs could be reordered some sentences can be reordered you could say he is tall and smart and x right and it doesn't matter the order of tall and smart but if you say the tall man is wearing a red shirt what colors you know you can create dependencies right right and so GPUs on the other hand run simple programs on pixels but you're given a million of them and the first order the screen you're looking at doesn't care which order you do it in so I call that given parallelism simple narratives around the large numbers of things where you can just say it's parallel because you told me it was So found parallelism where the narrative is sequential, but you discover, like, little pockets of parallelism versus...

[81] Turns out large pockets of parallelism.

[82] Large.

[83] So how hard is it to discover?

[84] Well, how hard is it?

[85] That's just transistor count, right?

[86] So once you crack the problem, you say, here's how you fetch 10 instructions at a time.

[87] Here's how you calculate the dependencies between them.

[88] Here's how you describe the dependencies.

[89] Here's, you know, these are pieces, right?

[90] So, once you describe the dependencies, then it's just a graph, sort of, it's an algorithm that finds, what is that?

[91] I'm sure there's a graph theory, the theoretical answer here that's solved.

[92] But in general, programs, modern programs that human beings write, how much found parallelism is there?

[93] About 10x.

[94] What does 10x mean?

[95] So if you execute it in order.

[96] versus you would get what's called cycles per instruction and it would be about you know three instructions three cycles per instruction because of the latency of the operations and stuff and in a modern computer executes it but like point two point point two five cycles per instruction so it's about we today find 10x and there's two things one is the found parallelism in the narrative right and the other is to predictability of the narrative, right?

[97] So certain operations, they do a bunch of calculations, and if greater than one, do this, else do that.

[98] That decision is predicted in modern computers to height 90 % accuracy.

[99] So branches happen a lot.

[100] So imagine you have a decision to make every six instructions, which is about the average, right?

[101] But you want to fetch 500 instructions, figure out the graph and execute them all in parallel.

[102] That means you have, let's say, if you fix 600 instructions and it's every six, you have to fetch, you have to predict 99 out of 100 branches correctly for that window to be effective.

[103] Okay, so parallelism, you can't parallelize branches, or you can.

[104] What does predict a branch mean?

[105] So imagine you do a computation over and over.

[106] You're in a loop.

[107] So while N is greater than one, do.

[108] And you go through that loop a million times.

[109] So every time you look at the branch, you say, it's probably still greater than one.

[110] And you're saying you could do that accurately.

[111] Very accurately.

[112] Modern computer.

[113] My mind is blown.

[114] How the heck do you do that?

[115] Wait a minute.

[116] Well, you want to know?

[117] This is really sad.

[118] 20 years ago, you simply recorded which way the branch went last time and predicted the same thing.

[119] Right.

[120] Okay.

[121] What's the accuracy of that?

[122] 85%.

[123] So then somebody said, hey, let's keep a couple of bits and have a little counter.

[124] So when it predicts one way, we count up and then pins.

[125] So say you have a three -bit counter, so you count up and then you count down.

[126] And if it's, you know, you can use the top bit as a signed bit.

[127] So you have a signed two -bit number.

[128] So if it's greater than one, you predict taken, and then less than one you predict not taken, right?

[129] Or less than zero, whatever the thing is.

[130] and that got us to 92%.

[131] Oh.

[132] No, it gets better.

[133] This branch depends on how you got there.

[134] So if you came down the code one way, you're talking about Bob and Jane, right, and then said, does Bob like Jane, it went one way?

[135] But if you're talking about Bob and Jill, just Bob like change, you go a different way, right?

[136] So that's called history.

[137] So you take the history and a counter.

[138] That's cool.

[139] But that's not how anything works today.

[140] They use something that looks a little like a neural network.

[141] So modern, you take all the execution flows, and then you do basically deep pattern recognition of how the program is executing.

[142] And you do that in multiple different ways, and you have something that chooses what the best result is.

[143] There's a little supercomputer inside the computer that's trying to predict branching.

[144] That calculates which way branching.

[145] just go.

[146] So the effective window that it's worth finding grass in gets bigger.

[147] Why was that going to make me sad?

[148] Because that's amazing.

[149] It's amazingly complicated.

[150] Oh, well.

[151] Well, here's the, here's the funny thing.

[152] So to get to 85 % took a thousand bits.

[153] To get the 99 % takes tens of megabits.

[154] So this is one of those.

[155] To get the result, you know, to get from a window of, say, 50 instructions to 500, it took three orders of magnitude or four orders of magnitude toward bits.

[156] Now, if you get the prediction of a branch wrong, what happens then?

[157] You flush the pipe.

[158] You flush the pipe.

[159] So it's just the performance cost.

[160] But it gets even better.

[161] Yeah.

[162] So we're starting to look at stuff that says, so they executed down this path.

[163] and then you had two ways to go but far away there's something that doesn't matter which path you went so you missed you took the wrong path you executed a bunch of stuff then you had the mispredicting you backed it up but you remember all the results you already calculated some of those are just fine like if you read a book and you misunderstand a paragraph your understanding of the next paragraph sometimes it's invariant to their understanding candy.

[164] Sometimes it depends on it.

[165] And you can kind of anticipate that in variance.

[166] Yeah, well, you can keep track of whether the data changed.

[167] And so when you come back through a piece of code, should you calculate it again or do the same thing?

[168] Okay, how much of this is art and how much of it is science?

[169] Because it sounds pretty complicated.

[170] So...

[171] Well, how do you describe a situation?

[172] So imagine you come to a point in the road where you have to make a decision.

[173] And you have a bunch of knowledge about which way to go.

[174] Maybe you have a map.

[175] So you want to go the shortest way, or do you want to go the fastest way, or do you want to take the nicest road?

[176] So there's some set of data.

[177] Right.

[178] So imagine you're doing something complicated like building a computer.

[179] And there's hundreds of decision points, all with hundreds of possible ways to go.

[180] And the ways you pick interact in a complicated way.

[181] Right.

[182] And then you have to pick the right spot.

[183] So that's...

[184] So that's...

[185] So that's...

[186] So that's...

[187] I don't know.

[188] You avoided the question.

[189] You just described the Robert Frost poem of Road Less Taken.

[190] I described the Robin Frost problem?

[191] That's what we do as computer designers.

[192] It's all poetry.

[193] Okay.

[194] Great.

[195] Yeah, I don't know how to describe that because some people are very good at making those intuitive leaps.

[196] It seems like the combinations of things.

[197] Some people are less good at it, but they're really good at it.

[198] evaluating the alternatives, right?

[199] And everybody has a different way to do it.

[200] And some people can't make those leaps, but they're really good at analyzing it.

[201] So when you see computers are designed by teams of people who have very different skill sets.

[202] And a good team has lots of different kinds of people.

[203] I suspect you would describe some of them as artistic.

[204] But not very many.

[205] Unfortunately, or fortunately.

[206] Fortunately.

[207] Well, you know, computer design's hard.

[208] It's 99 % perspiration.

[209] The 1 % inspiration is really important.

[210] But you still need the 99.

[211] Yeah, you've got to do a lot of work.

[212] And then there are interesting things to do at every level of that stack.

[213] At the end of the day, if you run the same program multiple times, does it always produce the same result?

[214] is there some room for fuzziness there?

[215] That's a math problem.

[216] So if you run a correct C program, the definition is every time you run it, you get the same answer.

[217] Yeah, well, that's a math statement.

[218] Well, that's a language definitional statement.

[219] So for years when people did, when we first did 3D acceleration of graphics, you could run the same scene multiple times and get different answers.

[220] Right.

[221] Right.

[222] And then some people thought that was okay and some people thought it was a bad idea.

[223] And then when the HPC world used GPUs for calculations, they thought it was a really bad idea.

[224] Okay.

[225] Now, in modern AI stuff, people are looking at networks where the precision of the data is low enough that the data is somewhat noisy.

[226] And the observation is the input data is unbelievably noisy.

[227] So why should the calculation be?

[228] not noisy.

[229] And people have experimented with algorithms that say can get faster answers by being noisy.

[230] Like as a network starts to converge, if you look at the computation graph, it starts out really wide and then it gets narrower.

[231] And you can say, is that last little bit that important?

[232] Or should I start the graph on the next wrap, rev, before we've whittled it all the way down to the answer, right?

[233] So you can create algorithms that are noisy.

[234] Now, if you're developing something and every time you run it, you get a different answer.

[235] It's really annoying.

[236] And so most people think, even today, every time you run the program, you get the same answer.

[237] No, I know, but the question is, that's the formal definition of a programming language.

[238] There is a definition of languages that don't get the same answer, but people who use those.

[239] You always want something because you get a bad answer, and then you're wondering, is it because of something in the algorithm because of this?

[240] And so everybody wants a little switch that says, no matter what, do it?

[241] it deterministically.

[242] And it's really weird because almost everything going into modern calculations is noisy.

[243] So why the answers have to be so clear?

[244] Right.

[245] So where do you stand?

[246] I design computers for people who run programs.

[247] So somebody says, I want a deterministic answer.

[248] Like most people want that.

[249] Can you deliver a deterministic answer?

[250] I guess is the question.

[251] Like when you Yeah, hopefully sure.

[252] What people don't realize is you get a deterministic answer even though the execution and flow is very undeterministic.

[253] So you run this program 100 times.

[254] It never runs the same way twice, ever.

[255] And the answer, it arises at the same answer.

[256] But it gets the same answer every time.

[257] It's just amazing.

[258] Okay.

[259] You've achieved in the eyes of many people, legend status as a chip art architect.

[260] What design creation are you most proud of, perhaps because it was challenging, because of its impact, or because of the set of brilliant ideas that were involved in bringing into life.

[261] I find that description odd, and I have two small children, and I promise you they think it's hilarious.

[262] This question.

[263] Yeah.

[264] So I do it for them.

[265] So I'm really interested in building computers.

[266] And I've worked with really, really smart people.

[267] I'm not unbelievably smart.

[268] I'm fascinated by how they go together both as a thing to do and as a endeavor that people do.

[269] How people and computers go together.

[270] Yeah.

[271] Like how people think and build a computer.

[272] And I find sometimes that the best computer architects aren't that interested in people or the best people managers aren't that good at designing computers.

[273] So the whole stack of human beings is fascinating.

[274] So the managers, the individual engineers.

[275] Yeah, so yeah, I said, I realized after a lot of years of building computers, where you sort of build them out of transistors, logic gates, functional units, computational elements, that you could think of people the same way.

[276] So people are functional units.

[277] And then you could think of organizational design as a computer architecture problem.

[278] And then it's like, oh, that's super cool, because the people are all different, just like the computational elements are all different.

[279] and they like to do different things and so I had a lot of fun reframing how I think about organizations just like with computers we were saying execution paths you can have a lot of different paths that end up at the same good destination so what have you learned about the human abstractions from individual functional human units to the broader organization what does it take to create something special.

[280] Well, most people don't think simple enough.

[281] All right.

[282] So do you know the difference between a recipe and the understanding?

[283] There's probably a philosophical description of this.

[284] So imagine you're going to make a loaf for bread.

[285] The recipe says, get some flour, add some water, add some yeast, mix it up, let it rise, put it in a pan, put it in the oven.

[286] It's a recipe.

[287] Right.

[288] Understanding bread.

[289] You can understand biology, supply chains, you know, grain grinders, yeast, physics, you know, thermodynamics.

[290] Like, there are so many levels of understanding there.

[291] And then when people build and design things, they frequently are executing some stack of recipes, right?

[292] And the problem with that is the recipes all have limited scope.

[293] Like, if you have a really good recipe book for making bread, it won't tell you anything about how to make.

[294] make an omelet.

[295] Right.

[296] But if you have a deep understanding of cooking, right, then bread, omelets, you know, sandwich, you know, there's a different, you know, way of viewing everything.

[297] And most people, when you get to be an expert at something, you know, you're hoping to achieve deeper understanding, not just a large set of recipes to go execute.

[298] And it's interesting to walk groups of people because executing recipes is unbelievably efficient if it's what you want to do if it's not what you want to do you're really stuck and and that difference is crucial and everybody has a balance of let's say deeper understanding the recipes and some people are really good at recognizing when the problem is to understand something deeply deeply does that make sense it totally makes sense does it every stage of development deep understanding on the team needed well this goes back to the art versus science question sure if you constantly unpacked everything for a deeper understanding you never get anything done right and if you don't unpack understanding when you need to you'll do the wrong thing and then at every juncture like human beings are these really weird things because everything you tell them has a million possible outputs right and then they all interact in a hilarious way.

[299] Yeah, it's very nice.

[300] And then having some intuition about what do you tell them, what do you do, when do you intervene, when do you not?

[301] It's complicated.

[302] Right, so.

[303] It's, you know, essentially computationally unsolvable.

[304] Yeah, it's an intractable problem.

[305] Sure.

[306] Humans are a mess.

[307] But with deep understanding, do you mean also sort of fundamental questions of things like what is a computer?

[308] Or why?

[309] Like the why questions, why are we even building this?

[310] Like of purpose?

[311] Or do you mean more like going towards the fundamental limits of physics, sort of really getting into the core of the science?

[312] Well, in terms of building a computer, think a little simpler.

[313] So common practice is you build a computer.

[314] And then when somebody says, I want to make a 10 % faster, you'll go in and say, all right I need to make this buffer bigger and maybe I'll add an ad unit or you know I have this thing that's three instructions wide I'm going to make it four instructions wide and what you see is each piece gets incrementally more complicated right and then at some point you hit this limit like adding another feature or buffer doesn't seem to make it any faster and then people say well that's because it's a fundamental limit and then somebody else will look at it and say well actually the way you divided the problem up and the way the different features are interacting is limiting you and it has to be rethought rewritten right so then you refactor it and rewrite it and what people commonly find is the rewrite is not only faster but half as complicated from scratch yes so how often in your career but just have you seen as needed maybe more generally to just throw the whole out the whole thing out this is where i'm on one end of it every three to five years.

[315] Which end are you on?

[316] Wait.

[317] Rewrite more often.

[318] Rewrite and three to five years is...

[319] If you want to really make a lot of progress on computer architecture, every five years you should do one from scratch.

[320] So where does the X86 -64 standard come in?

[321] How often do you...

[322] I wrote the...

[323] I was the co -author of that spec in 98.

[324] That's 20 years ago.

[325] Yeah, so that's still around.

[326] The instruction set of stuff has been extended quite a few times.

[327] And instruction sets are less interesting than the implementation underneath.

[328] There's been, on X86 architecture, Intel's designed a few, aimed, designed a few, very different architectures.

[329] And I don't want to go into too much of the detail about how often, but there's a tendency to rewrite it every, you know, 10 years, and it really should be every five.

[330] So you're saying you're an outlier in that sense, rewrite more often.

[331] Rewrite more often.

[332] Isn't that scary?

[333] Yeah, of course.

[334] Well, scary to who?

[335] To everybody involved?

[336] Because like you said, repeating the recipe is efficient.

[337] Companies want to make money.

[338] No, individual engineers want to succeed.

[339] So you want to incrementally improve, increase the buffer from three to four.

[340] This is where you get into diminishing return curves.

[341] I think Steve Jobs said this, right?

[342] So every, you have a project and you start here and it goes up and they have demission return.

[343] And to get to the next level, you have to do a new one and the initial starting point will be lower than the old optimization point, but it'll get higher.

[344] So now you have two kinds of fear, short -term disaster and long -term disaster.

[345] And you're, you're, grown -ups, right?

[346] Like, you know, people with a quarter -by -quarter business objective are terrified about changing everything.

[347] And people who are trying to run a business or build a computer for a long -term objective know that the short -term limitations block them from the long -term success.

[348] So if you look at leaders of companies that had really good long -term success, every time they saw that they had to redo something, they did.

[349] And so somebody has to speak up?

[350] Or you do multiple projects in parallel.

[351] Like you optimize the old one while you to build a new one, but the marketing guys are always like, promise me that the new computer is faster on every single thing.

[352] And the computer architect says, well, the new computer will be faster on the average.

[353] But there's a distribution of results in performance, and you'll have some outliers that are slower.

[354] And that's very hard because they have one customer who cares about that one.

[355] So speaking of the long term, for over 50 years now, Moore's Law has served for me and millions of others as an inspiring beacon of what kind of amazing future brilliant engineers can build.

[356] I'm just making your kids laugh all of today.

[357] That's great.

[358] So first, in your eyes, what is Moore's law if you could define for people who don't know?

[359] Well, the simple statement was, from Gordon Moore, was double the number of transistors every two years, something like that.

[360] And then my operational model is we increase the performance of computers by 2X every two or three years.

[361] And it's wiggled around substantially over time.

[362] And also in how we deliver performance has changed.

[363] But the foundational idea was 2X to transistors every two years.

[364] The current cadence is something like they call it a shrink factor, like point.

[365] six every two years, which is not 0 .5.

[366] But that's referring strictly, again, to the original definition.

[367] Yeah, of transistor count.

[368] And shrink factors just getting them smaller, small and small.

[369] Well, it's for a constant chip area.

[370] If you make the transistor smaller by 0 .6, then you get one over 0 .6 more transistors.

[371] So can you linger on it a little longer?

[372] What's a broader, what do you think should be the broader definition of Moore's Law?

[373] when you mention how you think of performance, just broadly, what's a good way to think about Moore's Law?

[374] Well, first of all, so I've been aware of Moore's Law for 30 years.

[375] In which sense?

[376] Well, I've been designing computers for 40.

[377] You're just watching it before your eyes kind of thing.

[378] Well, and somewhere where I became aware of it, I was also informed that Moore's Law was going to die in 10 to 15 years.

[379] And then I thought that was true at first, but then after 10 years, it was going to die in 10 to 15 years.

[380] And then at one point, it was going to die in 5 years.

[381] And then it went back up to 10 years.

[382] And at some point, I decided not to worry about that particular prognostication for the rest of my life, which is fun.

[383] And then I joined Intel, and everybody said Moore's Law is dead.

[384] And I thought that's sad because it's the Moore's Law Company.

[385] And it's not dead.

[386] And it's always been going to die.

[387] And, you know, humans like these apocry.

[388] kind of statements like we'll run out of food or run out of air or run out of room or run out of you know something right but it's still incredible that it's lived for as long as it has and yes there's many people who believe now that more's law is dead you know they can join the last 50 years of people who had the same yeah there's a long tradition but uh why do you think if you can and try to understand why do you think it's not dead currently?

[389] Let's just think people think Moore's Law is one thing.

[390] Transistors get smaller.

[391] But actually under the sheet there's literally thousands of innovations and almost all those innovations have their own diminishing return curves.

[392] So if you graph it it looks like a cascade of diminishing return curves.

[393] I don't know what to call that.

[394] But the result is an exponential curve.

[395] At least it has been.

[396] so and we keep inventing new things so if you're an expert in one of the things on a diminishing return curve right and you can see its plateau you will probably tell people well this is this is done meanwhile some other pile of people are are doing something different so that's that's just normal so then there's the observation of how small could a switching device be so a modern transistor or something like 1 ,000 by 1 ,000 by 1 ,000 atoms, right?

[397] And you get quantum effects down around 2 to 10 atoms.

[398] So you can imagine a transistor as small as 10 by 10 by 10.

[399] So that's a million times smaller.

[400] And then the quantum computational people are working away at how to use quantum effects.

[401] So...

[402] A thousand by 1 ,000 by 1 ,000.

[403] Atoms.

[404] That's a really...

[405] clean way of putting it?

[406] Well, a fin, like a modern transistor, if you look at the fin, it's like 120 atoms wide, but we can make that thinner, and then there's a gate wrapped around it, and then there's spacing.

[407] There's a whole bunch of geometry, and, you know, a competent transistor designer could count both atoms in every single direction.

[408] Like, there's techniques now to already put down atoms in a single atomic layer.

[409] And you can place atoms if you want to.

[410] It's just, you know, from a manufacturing process, if placing an atom takes 10 minutes and you need to put, you know, 10 to the 23rd atoms together to make a computer, it would take a long time.

[411] So the methods are, you know, both shrinking things and then coming up with effective ways to control what's happening.

[412] Manufacture stably and cheaply.

[413] Yeah.

[414] So the innovation stack is pretty broad.

[415] you know, there's equipment, there's optics, there's chemistry, there's physics, there's material science, there's metallurgy, there's lots of ideas about when you put different materials together, how they interact, are they stable?

[416] Is it?

[417] Are you stable over temperature?

[418] You know, like, are they repeatable?

[419] You know, there's like literally thousands of technologies involved.

[420] But just for the shrinking, you don't think we're quite yet close to the fundamental limits of physics.

[421] I did a talk on Mars law and I asked for a road.

[422] map to a path of 100, and after two weeks, they said, we only got to 50.

[423] 100 what, sorry?

[424] 100x shrink.

[425] A hundred X shrink?

[426] We only got to 50.

[427] And I said, why don't you give it another two weeks?

[428] Well, here's the thing about Moore's Law, right?

[429] So I believe that the next 10 or 20 years of shrinking is going to happen.

[430] Right.

[431] Now, as a computer designer, you have two stances.

[432] You think it's going to shrink, in which case you're designed.

[433] designing and thinking about architecture in a way that you'll use more transistors.

[434] Or conversely, not be swamped by the complexity of all the transistors you get.

[435] Right.

[436] You have to have a strategy, you know.

[437] So you're open to the possibility and waiting for the possibility of a whole new army of transistors ready to work.

[438] I'm expecting more transistors every two or three years by a number large enough that how you think about design how you think about architecture has to change like imagine you you build buildings out of bricks and every year the bricks are half the size or every two years well if you kept building bricks the same way you know so many bricks per person per day the amount of time to build a building would would go up exponentially right right but if you said i know that's coming so now i'm going to design equipment that moves bricks faster uses them better you because maybe you're getting something out of the smaller bricks, more strength, thinner walls, you know, less material, efficiency out of that.

[439] So once you have a roadmap with what's going to happen, transistors, we're going to get more of them.

[440] Then you design all this collateral around it to take advantage of it and also to cope with it.

[441] Like, that's the thing people to understand.

[442] It's like, if I didn't believe in Moore's Law, and then Moore's Law transistors showed up, my design teams were all drowned.

[443] So what's the, So what's the hardest part of this influt of new transistors?

[444] I mean, even if you just look historically throughout your career, what's the thing, what fundamentally changes when you add more transistors in the task of designing an architecture?

[445] Well, there's two constants, right?

[446] One is people don't get smarter.

[447] By the way, there's some science showing that we do get smarter because of nutrition, whatever.

[448] Sorry, I'd bring that.

[449] Yes.

[450] Yeah, I'm familiar with it.

[451] Nobody understands it.

[452] Nobody knows if it's still going on.

[453] So that's a...

[454] Or whether it's real or not.

[455] But yeah.

[456] I sort of...

[457] Anyway, but not exponentially.

[458] I would believe for the most part people aren't getting much smarter.

[459] The evidence doesn't support it.

[460] That's right.

[461] And then teams can't grow that much.

[462] Right.

[463] Right.

[464] So human beings, you know, we're really good in teams of 10, you know, up to teams of 100.

[465] They can know each other.

[466] Beyond that, you have to have organizational boundaries.

[467] So you're kind of, you have, those are.

[468] pretty hard constraints.

[469] So then you have to divide and conquer.

[470] As the designs get bigger, you have to divide it into pieces.

[471] The power of abstraction layers is really high.

[472] We used to build computers out of transistors.

[473] Now we have a team that turns transistors in logic cells, and another team that turns them into functional units.

[474] It's another one that turns in computers.

[475] Right.

[476] So we have abstraction layers in there.

[477] And you have to think about when do you shift gears on that.

[478] We also use faster computers to build faster computers.

[479] So some algorithms run twice as fast on new computers, but a lot of algorithms are n -squared.

[480] So, you know, a computer with twice as many transistors and it might take four times as long to run.

[481] So you have to refactor the software.

[482] Like simply using faster computers to build bigger computers doesn't work.

[483] So you have to think about all these things.

[484] So in terms of computing performance and the exciting possibility that more powerful computers bring, is shrinking the thing we've just been talking about, one of the, for you, one of the biggest exciting possibilities of advancement in performance, or is there other directions that you're interested in, like in the direction of sort of enforcing given parallelism, or like doing massive parallelism in terms of many, many CPUs, you know, stacking CPUs on top of each other, that kind of, that kind of parallelism.

[485] any kind of...

[486] Well, think about it a different way.

[487] So old computers, you know, slow computers, you said A equal B plus C times D. Pretty simple, right?

[488] And then we made faster computers with vector units and you can do proper equations and matrices, right?

[489] And then modern like AI computations are like convolutional neural networks where you convolve one large data set against another.

[490] And so there's sort of this hierarchy.

[491] of mathematics, you know, from simple equation to linear equations to matrix equations to deeper kind of computation.

[492] And the data sets are good and so big that people are thinking of data as a topology problem.

[493] You know, data is organized in some immense shape.

[494] And then the computation, which sort of wants to be get data from immense shape and do some computation on it.

[495] So what computers have allowed people to do is how algorithms go.

[496] much, much further.

[497] So that paper, you reference the Sutton paper, they talked about, you know, like when AI started, it was apply rule sets to something.

[498] That's a very simple computational situation.

[499] And then when they did first chess thing, they solved deep searches.

[500] So have a huge database of moves and results, deep search, but it's still just a search.

[501] Right.

[502] Now we take large numbers of, images, and we use it to train these weight sets that we convolve across.

[503] It's a completely different kind of phenomena.

[504] We call that AI.

[505] Now they're doing the next generation, and if you look at it, they're going up this mathematical graph, right?

[506] And then computation, both computation and data sets support going up that graph.

[507] Yeah, the kind of computation, though, might, I mean, I would argue that all of it is still a search, right?

[508] Just like you said, a topology problem of data sets, you're searching the data sets for valuable data, and also the actual optimization of neural networks is a kind of search for the...

[509] I don't know.

[510] If you looked at the inner layers of finding a cat, it's not a search.

[511] It's a set of endless projections.

[512] So, you know, a projection, here's a shadow of this phone.

[513] Yeah.

[514] Right?

[515] And then you can have a shadow of that onto something, a shadow on that of something.

[516] And if you look in the layers, you'll see this layer actually describes pointy ears and round -eyedness and fuzziness.

[517] But the computation to tease out the attributes is not search.

[518] Right.

[519] Like the inference part might be searched, but the training is not search.

[520] And then in deep networks, they look at layers and they don't even know it's represented.

[521] And yet, if you take the layers out, it doesn't work.

[522] Okay.

[523] So I don't think it's search.

[524] All right, well.

[525] But you'd have to talk to a mathematician about what that actually is.

[526] Well, we could disagree, but it's just semantics, I think.

[527] It's not, but it's certainly not.

[528] I would say it's absolutely not semantics, but.

[529] Okay.

[530] All right, well, if you want to go there.

[531] So optimization to me is search, and we're trying to optimize the ability of a neural network to detect caddiers.

[532] and the difference between chess and the space, the incredibly multidimensional, 100 ,000 dimensional space that networks are trying to optimize over is nothing like the chess board database.

[533] So it's a totally different kind of thing.

[534] Okay, in that sense, you can say that it loses the meaning.

[535] I can see how you might say.

[536] The funny thing is, it's the difference between given search, space and found search space.

[537] Right, exactly.

[538] Yeah, maybe that's a different way to describe.

[539] That's a beautiful way to put it.

[540] Okay.

[541] But you're saying what's your sense in terms of the basic mathematical operations and the architectures computer hardware that enables those operations?

[542] Do you see the CPUs of today still being a really core part of executing those mathematical operations?

[543] Yes.

[544] Well, the operations, you know, continue to be adds, subtract, load, store, compare, and branch.

[545] It's remarkable.

[546] So it's interesting that the building blocks of, you know, computers or transistors, you know, under that atoms.

[547] So you've got atoms, transistors, logic gates, computers, right?

[548] You know, functional units and computers.

[549] The building blocks of mathematics at some level are things like ads and subtracts and multiplies.

[550] But the space mathematics can describe is, I think, essentially infinite.

[551] but the computers that run the algorithms are still doing the same things.

[552] Now, a given algorithm might say, I need sparse data, or I need 32 -bit data, or I need, you know, like a convolution operation that naturally takes 8 -bit data, multiplies it, and sums it up a certain way.

[553] So the data types and tensor flow imply an optimization set, But when you go right down and look at the computers, it's an inorganorgate's doing adds and multiplies.

[554] Like that hasn't changed much.

[555] Now, the quantum researchers think they're going to change that radically.

[556] And then there's people who think about analog computing because you look in the brain and it seems to be more analog -ish.

[557] You know, that maybe there's a way to do that more efficiently.

[558] But we have a million X on computation.

[559] And I don't know the relationship.

[560] the relationship between computational, let's say, intensity and ability to hit mathematical abstractions.

[561] I don't know anybody to describe that, but just like you saw an AI, you went from rule sets to simple search to complex search to say found search.

[562] Like those are, you know, orders of magnitude more computation to do.

[563] And as we get the next two orders of magnitude, like a friend Roger Good.

[564] Dori said, like every order of magnitude changes to computation.

[565] Fundamentally changes what the computation is doing.

[566] Oh, you know, the expression of the difference in quantity is a difference in kind.

[567] You know, the difference between ant and ant -hill, right?

[568] Or neuron and brain.

[569] You know, there's indefinable place where the quantity changed the quality.

[570] Right.

[571] And we've seen that happen in mathematics multiple times.

[572] and, you know, my guess is it's going to keep happening.

[573] So in your sense, is, yeah, if you focus, head down and shrinking the transistor.

[574] Well, it's not just head down, and we're aware of the software stacks that are running in the computational loads, and we're kind of pondering.

[575] What do you do with a petabyte of memory that wants to be accessed in a sparse way and have, you know, the kind of calculations AI programmers want?

[576] So there's a dialogue and interaction, but when you go in the computer chip, you know, you find adders and subtractors and multipliers.

[577] So if you zoom out then with, as you mentioned, Rich Sutton, the idea that most of the development in the last many decades in AI research came from just leveraging computation and just simple algorithms waiting for the computation to improve.

[578] Well, Suffer guys have a thing that they call it the problem of early optimization.

[579] Right.

[580] So you write a big software stack, and if you start optimizing, like, the first thing you write, the odds of that being the performance limiters low.

[581] But when you get the whole thing working, can you make it 2x faster by optimizing the right things?

[582] Sure.

[583] While you're optimizing that, could you've written a new software stack, which would have been a better choice?

[584] Maybe.

[585] Now you have creative tension.

[586] so but the whole time as you're doing the writing the that's the software we're talking about the hardware underneath gets fast and it goes back to the more's law if more's law is going to continue then your AI research should expect that to show up and then you make a slightly difference out of choices then we've hit the wall nothing's going to happen and from here it's just us rewriting algorithms like that seems like a failed strategy for the last 30 years of Moore's Law's death.

[587] So can you just linger on it?

[588] I think you've answered it, but I was just asked the same dumb question over and over.

[589] So why do you think Moore's Law is not going to die?

[590] Which is the most promising, exciting possibility of why it won't die in the next five, 10 years?

[591] So is it that continues shrinking the transistor, or is it another S curve that steps in?

[592] And it totally sort of...

[593] Well, shrinking the transistor is literally...

[594] thousands of innovations right so there's so there's all and there's a whole bunch of s curves just kind of running their course and and being reinvented and new things you know the the semiconductor fabricators and technologists have all announced what's called nanowires so they took a fin which had a gate around it and turned that into little wires so you have better control that and they're smaller and then from there there are some obvious steps about how to shrink that.

[595] The metallurgy around wire stacks and stuff has very obvious abilities to shrink.

[596] And, you know, there's a whole combination of things there to do.

[597] Your sense is that we're going to get a lot.

[598] Yeah, a lot.

[599] If this innovation form just that shrinking.

[600] Yeah, like a factor of a hundred, it's a lot.

[601] Yeah, I would say that's incredible.

[602] And it's totally unknown.

[603] It's only 10 or 15 years.

[604] Now, you're smarter, you might know, but to me it's totally unpredictable of what that 100x would bring in terms of the nature of the computation that people would be...

[605] Yeah, you're familiar with Bell's Law.

[606] So for a long time, it was mainframes, minis, workstation, PC, mobile.

[607] Moore's Law drove faster, smaller computers, right?

[608] And then when we were thinking about Moore's Law, Rajagadari said every 10x generates a new computation.

[609] So scalar, vector, matrix, topological computation, right?

[610] And if you go look at the industry trends, there was mainframes and minicomputers and then PCs and then the internet took off and then we got mobile devices and now we're building 5G wireless with one millisecond latency and people are starting to think about the smart world where everything knows you, recognizes you.

[611] Like the transformations are going to be unpredictable.

[612] How does it make you feel that you're one of the key architects of this kind of future?

[613] So we're not talking about the architects of the high level people who build the Angry Bird apps and Snapchat?

[614] Angry Bird apps.

[615] Who knows?

[616] I'm going to take a stand.

[617] whole point of the universe.

[618] I'll take a stand at that and the attention distracting nature of mobile phones.

[619] I'll take a stand.

[620] But anyway, in terms of...

[621] I think that matters much.

[622] The side effects of smartphones or the attention, distraction, which part?

[623] Well, who knows, you know, where this is all leading.

[624] It's changing so fast.

[625] My parents used to all my sisters for hiding in the closet with a wired phone with a dial on it.

[626] Stop talking your friends all day.

[627] Right.

[628] now my wife yells at my kids for talking to their friends all day on text it looks the same to me it's always it's echoes of the same thing okay but you are the one of the key people architecting the hardware of this future how does that make you feel do you feel responsible do you feel excited so we're we're in a social context so there's billions of people on this planet there are literally millions of people working on technology I feel lucky to be, you know, doing what I do and getting paid for it, and there's an interest in it.

[629] But there's so many things going on in parallel.

[630] It's like the actions are so unpredictable.

[631] If I wasn't here, somebody else would do it.

[632] The vectors of all these different things are happening all the time.

[633] You know, there's a, I'm sure some philosopher or meta philosophers, you know, wondering about how we transform our world.

[634] So you can't deny the fact that these tools, whether these tools are changing our world.

[635] That's right.

[636] Do you think it's changing for the better?

[637] I read this thing recently.

[638] It said the two disciplines with the highest GRE scores in college are physics and philosophy.

[639] And they're both sort of trying to answer you in the question, why is there anything?

[640] right and the philosophers you know are on the kind of theological side and the physicists are obviously on the you know the material side and there's a hundred billion galaxies with a hundred billion stars it seems well repetitive at best so i you know there's there's on our way to 10 billion people i mean it's hard to say what it's all for if that's what you're asking yeah i guess I guess I am.

[641] Things do tend to significantly increases in complexity.

[642] And I'm curious about how computation, like our world, our physical world inherently generates mathematics.

[643] It's kind of obvious, right?

[644] So we have XYZ coordinates.

[645] You take a sphere, you make it bigger.

[646] You get a surface that falls, you know, grows by R squared.

[647] Like it generally generates mathematics.

[648] And the mathematicians and the physicists have been having a lot of fun talking to each other for years.

[649] And computation has been, let's say, relatively pedestrian.

[650] Like computation in terms of mathematics has been doing binary algebra while those guys have been gallivanting through the other realms of possibility.

[651] Now, recently, the computation lets you do mathematical computations that are sophisticated enough that nobody understands how the answers came out.

[652] Right.

[653] Machine learning.

[654] Machine learning.

[655] It used to be you get data set, you guess at a function.

[656] The function is considered physics if it's predictive of new functions, new data sets.

[657] Modern, you can take a large data set with no intuition about what it is and use machine learning to find a pattern that has no function, right?

[658] And it can arrive at results that I don't know if they're completely mathematically describable.

[659] So computation is kind of done something interesting compared to A equal B plus C. There's something reminiscent of that step from the basic operations of addition to taking a step towards neural networks that's reminiscent of what life on earth at its origins was doing.

[660] Do you think we're creating sort of the next step in our evolution in creating artificial intelligence systems that will?

[661] I don't know.

[662] I mean, there's so much.

[663] much in the universe already, it's hard to say.

[664] Where we stand in this whole thing.

[665] Are human beings working on additional abstraction layers and possibilities?

[666] Yeah, it appears so.

[667] Does that mean that human beings don't need dogs?

[668] You know, no. Like, there's so many things that are all simultaneously interesting and useful.

[669] What you've seen, throughout your career, you've seen great and greater level abstractions built in artificial machines.

[670] Right?

[671] do you think when you look at humans you think the look of all life on earth is a single organism building this thing this machine with greater and greater levels of abstraction do you think humans are the peak the top of the food chain in this long arc of history on earth or do you think we're just somewhere in the middle are we the basic functional operations of a CPU are we the C++ program the Python program or within your network?

[672] Like somebody's, you know, people have calculated like how many operations does the brain do.

[673] Something, you know, I've seen the number 10 to the 18th about a bunch of times, arrived different ways.

[674] So could you make a computer that did 10 to the 20th operation?

[675] Yes.

[676] Sure.

[677] So you think?

[678] We're going to do that.

[679] Now, is there something magical about how brains compute things?

[680] I don't know.

[681] You know, my personal experience is interesting because, you know, you think you know how you think and then you have all these ideas and you can't figure out how they happened and if you meditate you know the like what what you can be aware of is interesting so I don't know if brains are magical or not you know the physical evidence says no lots of people's personal experience says yes so what would be funny as if brains are magical and yet we can make brains with more computation you know I don't know what to say about that but what do you think I think magic is an emergent phenomena?

[682] What could be, I have no explanation for it.

[683] Let me ask Jim Keller of what in your view is consciousness?

[684] With consciousness?

[685] Yeah, like what, you know, consciousness, love, things that are these deeply human things that seems to emerge from our brain, is that something that we'll be able to make encode in chips that get faster and faster and faster and fast It's like a 10 -hour conversation.

[686] Nobody really knows.

[687] Can you summarize it in a couple of sentences?

[688] Many people have observed that organisms run at lots of different levels, right?

[689] If you had two neurons, somebody said you'd have one sensory neuron and one motor neuron, right?

[690] So we move towards things and away from things, and we have physical integrity and safety or not, right?

[691] And then if you look at the animal kingdom, you can see brains that are a little more complicated, And at some point there's a planning system and then there's an emotional system that's, you know, happy about being safe or unhappy about being threatened, right?

[692] And then our brains have massive numbers of structures, you know, like planning and movement and thinking and feeling and drives and emotions.

[693] And we seem to have multiple layers of thinking systems.

[694] And we have a brain, a dream system that nobody understands whatsoever, which I find completely hilarious.

[695] And you can think in a way that those systems are more independent, and you can observe, you know, the different parts of yourself can observe them.

[696] I don't know which one's magical.

[697] I don't know which one's not computational.

[698] So.

[699] Is it possible that it's all computation?

[700] Probably.

[701] Is there a limit to computation?

[702] I don't think so.

[703] Do you think the universe is a computer?

[704] It seems to be It's a weird kind of computer Because if it was a computer Right Like when they do calculations on what it How much calculation it takes To describe quantum effects is unbelievably high So if it was a computer When you built it out of something that was easier to compute Right That's a funny It's a funny system But then the simulation guys have pointed out That the rules are kind of interesting Like when you look really close it's uncertain And the speed of light says you can only look so far, and things can't be simultaneous except for the odd entanglement problem where they seem to be.

[705] Like the rules are all kind of weird.

[706] And somebody said physics is like having 50 equations with 50 variables to define 50 variables.

[707] Like, you know, it's, you know, like physics itself has been a shit show for thousands of years.

[708] It seems odd when you get to the corners of everything.

[709] You know, it's either on computable or on.

[710] definable or uncertain.

[711] It's almost like the designers of the simulation are trying to prevent us from understanding it perfectly.

[712] But also the things that require calculations require so much calculation that our idea of the universe of a computer is absurd because every single little bit of it takes all the computation in the universe to figure out.

[713] So that's a weird kind of computer.

[714] You know, you say simulation is running in a computer, which has by definition infinite computation.

[715] Not infinite.

[716] Oh, you mean if the universe is infinite?

[717] Yeah, well, every little piece of our universe seems to take infinite computation and hear out.

[718] Just a lot.

[719] Well, a lot's a pretty big number.

[720] Comput this little teeny spot takes all the mass in the local one year by one light year space.

[721] It's close enough to infinite.

[722] Oh, it's a heck of a computer if it is one.

[723] I know.

[724] It's a weird description because the simulation description seems to to break when you'll look closely at it.

[725] But the rules in the universe seem to imply something's up.

[726] That seems a little arbitrary.

[727] The universe, the whole thing, the laws of physics, it just seems like, how did it come out to be the way it is?

[728] But lots of people talk about that.

[729] It's, you know, it's, like I said, the two smartest groups of humans are working on the same problem.

[730] From different aspects.

[731] And they're both complete failures.

[732] So that's kind of cool.

[733] they might succeed eventually well after 2 ,000 years the trend isn't good oh 2 ,000 years is nothing in the span of the history of the universe so we have some time but the next thousand years doesn't look good either so that's what everybody says at every stage but with Moore's law as you've just described not being dead the exponential growth of technology the future seems pretty incredible well it'll be interesting that's for sure that's right so what are your thoughts on Ray Kurzweil's sense that exponential improvement and technology will continue indefinitely.

[734] Is that how you see Moore's Law?

[735] Do you see Moore's Law more broadly in sense that technology of all kinds has a way of stacking S -curves on top of each other where it'll be exponential and then we'll see all kinds of...

[736] What does an exponential of a million mean?

[737] That's a pretty amazing number.

[738] And that's just for a local little piece of silicon.

[739] Now let's imagine you say decided to get a thousand tons of silicon to collaborate in one computer at a million times of density.

[740] Like now you're talking, I don't know, 10 to the 20th more computation power than our current already unbelievably fast computers.

[741] Like nobody knows what that's going to mean.

[742] You know, the sci -fi guy is called, you know, computronium.

[743] Like when, like, a local civilization turns the nearby star into a computer.

[744] Right.

[745] Like, I don't know.

[746] That's true.

[747] So just even when you shrink a transistor, the...

[748] That's only one dimension.

[749] The ripple effects of that.

[750] Like, people tend to think about computers as a cost problem, right?

[751] So computers are made out of silicon and minor amounts of metals.

[752] And, you know, this and that.

[753] None of those things cost any money.

[754] Like, there's plenty of sand.

[755] Like, you could just turn the beach and a little bit ocean water into computers.

[756] So all the cost is in the equipment to do it.

[757] And the trend on equipment is, once you figure out how to build the equipment, the trend of cost is zero.

[758] Elon said, first you figure out what configuration you want the atoms in, and then how to put them there.

[759] Right?

[760] Yeah.

[761] Because, well, here's the, you know, his great insight is people are, how constraint.

[762] I have this thing.

[763] I know how it works.

[764] And then little tweaks to that will generate something as opposed to what do I actually want and then figure out how to build it.

[765] It's a very different mindset.

[766] And almost nobody has it, obviously.

[767] Well, let me ask on that topic, you were one of the key early people in the development of autopilot, at least in the hardware side.

[768] Elon Musk believes that autopilot and vehicle autonomy, if you just look at that problem, can follow this kind of exponential improvement in terms of the how question that we're talking about.

[769] There's no reason why you can't.

[770] What are your thoughts on this particular space of vehicle autonomy and you're a part of it and Elon Musk's and Tesla's vision for the computer you need to build was straightforward and you could argue well does it need to be two times faster or five times or ten times but that's just a matter of time or price in the short run so that's that's not a big deal you don't have to be especially smart to drive a car so it's not like a super hard problem i mean the big problem of safety is attention which computers are really good at not skills well let me push back on one you see everything you said is correct but we as humans tend to uh tend to take for granted how how incredible our vision system is so you can drive a car with 2050 vision and you can train a neural network to extract the distance of any object and the shape of any surface from a video and data yeah but that's really simple no it's not simple i that's a simple data problem it's not simple it's because you because it's not just detecting object it's understanding the scene and it's being able to do it in a way that doesn't make errors so the beautiful thing about the human vision system and our entire brain around the whole thing is we're able to fill in the gaps it's not just about perfectly detecting cars it's inferring the occluded cars it's to it's understanding the I think that's mostly a data problem you so you think what data would compute with improvement of computation with improvement and collection well there is a you know when you're driving a car and somebody cuts you off your brain has theories about why they did it you know they're a bad person they're distracted they're dumb you know you can listen to yourself right so you know if you think that narrative is important to be able to successfully drive a car then current autopilot systems can't do it.

[771] But if cars are ballistic things with tracks and probable ballistic changes of speed and direction, and roads are fixed and given, by the way, they don't change dynamically, right?

[772] You can map the world really thoroughly.

[773] You can place every object really thoroughly.

[774] Right?

[775] You can calculate trajectories of things really thoroughly.

[776] Right.

[777] But everything you said about, really thoroughly has a different degree of difficulty.

[778] And you could say at some point, computer autonomous systems will be way better at things that humans are lousy at.

[779] Like, they'll be better at attention.

[780] They'll always remember there was a pothole in the road that humans keep forgetting about.

[781] They'll remember that this set of roads has these weird old lines on it, that the computers figured out ones.

[782] And especially if they get updates so somebody changes a given.

[783] Right.

[784] Like, the key to robots and stuff, somebody said, is to maximize the gibbons.

[785] Right.

[786] So having a robot pick up this bottle cap is a way easier to put a red dot on the top.

[787] Because then you have to figure out, you know, and if you want to do a certain thing with it, you know, maximize the givens is the thing.

[788] And autonomous systems are happily maximizing the givens.

[789] Like humans, when you drive someplace new, you remember it because you're processing it the whole time.

[790] after the 50th time you drove to work, you get to work, you don't know how you got there, right?

[791] You're on autopilot, right?

[792] Autonomous cars are always on autopilot.

[793] But the cars have no theories about why they got cut off or why they're in traffic.

[794] So they also never stop paying attention.

[795] Right, so I tend to believe you do have to have theories, met the models of other people, especially with pedestrian cyclists, but also with other cars.

[796] So everything you said is, is actually essential to driving.

[797] Driving is a lot more complicated than people realize, I think, so to push back slightly, but to cut into traffic, right?

[798] You can't just wait for a gap.

[799] You have to be somewhat aggressive.

[800] You'll be surprised how simple a calculation for that is.

[801] I may be on that particular point, but there's, maybe I actually have to push back.

[802] I would be surprised.

[803] You know what?

[804] Yeah, I'll just say where I stand.

[805] I would be very surprised, But I think it's, you might be surprised how complicated it is.

[806] I tell people, like, progress disappoints in the short run, surprises in the long run.

[807] It's very possible.

[808] I suspect in 10 years it'll be just, like, taken for granted.

[809] Yeah, probably.

[810] But you're probably right, and not look like any.

[811] It's going to be a $50 solution that nobody cares about.

[812] It's like GPS is, like, wow, GPS is.

[813] We have satellites in space that tell you where your location is.

[814] It was a really big deal.

[815] Now everything has a GPS in it.

[816] Yeah, that's true.

[817] But I do think that systems that involve human behavior are more complicated than we give them credit for.

[818] So we can do incredible things with technology that don't involve humans.

[819] I think humans are less complicated than people, you know, frequently ascribe.

[820] Maybe I feel...

[821] We tend to operate out of large numbers of patterns and just keep doing it over and over.

[822] But I can't trust you because you're a human.

[823] That's something a human would say.

[824] But my hope is on the point you've made is, Because even if, no matter who's right, I'm hoping that there's a lot of things that humans aren't good at, that machines are definitely good at, like you said, attention, and things like that.

[825] Well, they'll be so much better that the overall picture of safety and autonomy will be, obviously, cars will be safer, even if they're not as good at our chain.

[826] I'm a big believer in safety.

[827] I mean, there are already the current safety systems like cruise control that doesn't let you run into people and lanekeeping.

[828] There are so many features that you just look at the parado of accidents and knocking off like 80 % of them is super doable.

[829] Just to linger on the autopilot team and the efforts there, it seems to be that there is a very intense scrutiny by the media and the public in terms of safety, the pressure, the bar put before autonomous vehicles.

[830] What are your sort of as a person there working on the hardware and trying to build a system that builds a safe vehicle and so on, what was your sense about that pressure?

[831] Is it unfair?

[832] Is it expected of new technology?

[833] Yeah, it seems reasonable.

[834] I was interested.

[835] I talked to both American and European regulators, and I was worried that the regulations would write into the rules technology solutions, like modern brake systems.

[836] imply hydraulic brakes.

[837] So if you read the regulations, to meet the letter of the law for brakes, it sort of has to be hydraulic, right?

[838] And the regulator said they're interested in the use cases, like a head -on crash, an offset crash, don't hit pedestrians, don't run into people, don't leave the road, don't run a red light or a stoplight.

[839] They were very much into the scenarios.

[840] And, you know, And they had all the data about which scenarios injured or killed to most people.

[841] And for the most part, those conversations were, like, what's the right thing to do to take the next step?

[842] Now, Elon's very interested also in the benefits of autonomous driving are freeing people's time and attention as well as safety.

[843] And I think that's also an interesting thing.

[844] but the, you know, building an autonomous system so they're safe and safer than people seemed, since the goal is to be TANX safer than people, having the bar to be safer than people and scrutinizing accidents seems philosophically, you know, correct.

[845] So I think that's a good thing.

[846] What are, is different than the things you worked at, Intel, AMD, Apple, with autopsy, pilot, chip design, and hardware design.

[847] What are interesting or challenging aspects of building this specialized kind of computing system in the automotive space?

[848] I mean, there's two tricks to building like an automotive computer.

[849] One is the software team, the machine learning team, is developing algorithms that are changing fast.

[850] So as you're building the accelerator, you have this, you know, worry or intuition that the algorithms will change enough that the accelerator.

[851] will be the wrong one, right?

[852] And there's a generic thing, which is if you build a really good general purpose computer, say its performance is one, and then GPU guys will deliver about 5x to performance for the same amount of silicon, because instead of discovering parallelism, you're given parallelism.

[853] And then special accelerators get another 2 to 5x on top of a GPU because you say, I know the math is always 8 -bit integers into 32 -bit accumulation.

[854] and the operations are the subset of mathematical possibilities.

[855] So, you know, AI accelerators have a claimed performance benefit over GPUs because in the narrow math space, you're nailing the algorithm.

[856] Now, you still try to make it programmable, but the AI field is changing really fast.

[857] So there's a, you know, there's a little creative tension there of, I want the acceleration afforded by specialization without being over -specialized so that the new algorithm is so much more effective that you would have been better off on a GPU.

[858] So there is a tension there.

[859] To build a good computer for an application like automotive, there's all kinds of sensor inputs and safety processors and a bunch of stuff.

[860] So one of Elon's goals is to make it super affordable.

[861] So every car gets an autopilot computer.

[862] So some of the recent startups you look at, and they have a sort of.

[863] server in the trunk.

[864] Because they're saying, I'm going to build this autopilot computer or a place as a driver.

[865] So their cost budgets $10 ,000 or $20 ,000.

[866] And Elon's constraint was, I'm going to put one in every car, whether people buy auto autonomous driving or not.

[867] So the cost constraint he had in mind was great.

[868] Right.

[869] And to hit that, you had to think about the system design.

[870] That's complicated.

[871] And it's fun.

[872] You know, it's like, it's Crestman's work.

[873] Like, you know, a violin maker, right?

[874] You can say Stradivarius is this incredible thing.

[875] are incredible.

[876] But the guy making the violin, you know, picked wood and sanded it and then he cut it, you know, and he glued it, you know, and he waited for the right day so that when he put the finish on it, it didn't, you know, do something dumb.

[877] That's craftsman's work, right?

[878] You may be a genius craftsman because you have the best techniques and you discover a new one, but most engineering's craftsmen's work.

[879] And humans really like to do that.

[880] You know, expression?

[881] Smart humans.

[882] No, everybody.

[883] All humans.

[884] I don't know.

[885] I used to, I dug ditches when I was in college.

[886] I got really good at it.

[887] Satisfying.

[888] Yeah.

[889] Digging ditches is also craftsman aware.

[890] Yeah, of course.

[891] So there's an expression called complex mastery behavior.

[892] So when you're learning something, that's fun because you're learning something.

[893] When you do something, it's really simple.

[894] It's not that satisfying.

[895] But if the steps that you have to do are complicated and you're good at them, it's satisfying to do them.

[896] And then if you're intrigued by it all, as you're doing them, you sometimes learn new things that you can raise your game.

[897] But Cressman's work is good.

[898] And engineers, like engineering is complicated enough that you have to learn a lot of skills, and then a lot of what you do is then craftsman's work, which is fun.

[899] Autonomous driving, building a very resource -constrained computer, so a computer has to be cheap enough to put in every single car.

[900] That essentially boils down to craftsman's work.

[901] It's engineering.

[902] You know, there's thoughtful decisions and problems to solve and tradeoffs to make.

[903] Do you need 10 camera imports are 8?

[904] You know, you're building for the current car or the next one.

[905] You know, how do you do the safety stuff?

[906] You know, there's a whole bunch of details.

[907] But it's fun.

[908] But it's not like I'm building a new type of neural network, which has a new mathematics and a new computer to work.

[909] You know, that's like there's more invention than that.

[910] But the rejection to practice, once you pick the architecture, you look in.

[911] and what do you see adders and multipliers and memories and you know the basics so computers is always this this weird set of abstraction layers of ideas and thinking that reduction to practice is transistors and wires and you know pretty basic stuff and that's an interesting phenomenon by the way that like factory work like lots of people think factory work is road assembly stuff i've been on the assembly line like the people work there, really like it.

[912] It's a really great job.

[913] It's really complicated.

[914] Putting cars together is hard, right?

[915] And the car is moving, and the parts are moving, and sometimes the parts are damaged, and you have to coordinate putting all the stuff together, and people are good at it.

[916] They're good at it.

[917] And I remember one day I went to work, and the line was shut down for some reason, and some of the guys sitting around were really bummed because they had reorganized a bunch of stuff, and they were going to hit a new record for the number of cars built that day, and they were all gun -ho to do it.

[918] And these, these are big tough buggers.

[919] And, you know, but what they did was complicated and you couldn't do it.

[920] Yeah.

[921] And I mean, well, after a while you could, but you'd have to work your way up because, you know, like putting the bright, what's called the brights, the trim on a car, on a moving assembly line where it has to be attached 25 places in a minute and half is unbelievably complicated.

[922] And human beings can do it.

[923] It's really good.

[924] and driving a car, by the way.

[925] Putting together, working on a factory.

[926] Two smart people can disagree.

[927] Yay.

[928] I think driving a car.

[929] We'll get you in a factory someday and then we'll see how you do.

[930] No, not for us.

[931] Humans driving a car is easy.

[932] I'm saying building a machine that drives a car is not easy.

[933] No, okay.

[934] Driving a car is easy for humans because we've been evolving for billions of years.

[935] Drive cars.

[936] Yeah, I noticed.

[937] The pale of the cars are super cool.

[938] Now you join the rest of the internet and mocking me. Okay.

[939] I was it mocked, you know, intrigued by your, you know, your anthropology.

[940] Yeah, I'll have to go dig into that.

[941] There's some inaccuracies there, yes.

[942] Okay, but in general, what have you learned in terms of thinking about passion, craftsmanship, tension, chaos, you know, the whole mess of it.

[943] What had you learned, have taken away from your time working with Elon Musk working at Tesla, which is known to be a place of chaos, innovation, craftsmanship, and all those things.

[944] I really like the way he thought.

[945] Like, you think you have an understanding about what first principles of something is, and then you talk to Elon about it, and you didn't scratch.

[946] the surface.

[947] You know, he has a deep belief that no matter what you do is a local maximum.

[948] Right.

[949] And I had a friend, he invented a better electric motor.

[950] And it was like a lot better than what we were using.

[951] And one day he came by, he said, you know, I'm a little disappointed because, you know, this is really great.

[952] And you didn't seem that impressed.

[953] And I said, you know, when the super intelligent aliens come, are they going to be looking for you?

[954] Like, where is he?

[955] The guy, he built the motor.

[956] Yeah.

[957] Probably not.

[958] you know like like the like but doing interesting work that's both innovative and let's say craftsman's work on the current thing is really satisfying and it's good and that's cool and then Elon was good taking everything apart like what's the deep first principle oh no what's really no what's really you know you know that that you know ability to look at it without assumptions and and how constraints is super wild you know, he built rocket chip and, you know, electric car and, you know, everything.

[959] And that's super fun.

[960] And he's into it, too.

[961] Like, when they first landed two SpaceX rockets to Tesla, we had a video projector in the big room, and like 500 people came down.

[962] And when they landed, everybody cheered and some people cried.

[963] It was so cool.

[964] Yeah.

[965] All right.

[966] But how did you do that?

[967] Well, it was super hard.

[968] And then people say, well, it's chaotic.

[969] Really?

[970] to get out of all your assumptions, you think that's not going to be unbelievably painful.

[971] And is Elon tough?

[972] Yeah, probably.

[973] Do people look back on it and say, boy, I'm really happy I had that experience to go take apart that many layers of assumptions, sometimes super fun, sometimes painful?

[974] So it could be emotionally and intellectually painful, that whole process is just stripping away assumptions.

[975] Yeah, imagine 99 % of your thought process is protecting your self -conception.

[976] And 98 % of that's wrong.

[977] Now you've got the math right.

[978] How do you think you're feeling when you get back into that one bit that's useful?

[979] And now you're open and you have the ability to do something different.

[980] I don't know if I got the math right.

[981] It might be 99 .9 .9, but it ain't 50.

[982] Imagining it that 50 % is hard enough.

[983] Yeah.

[984] Now, for a long time, I've suspected you could get better.

[985] Like, you can think better.

[986] You can think more clearly.

[987] You can take things apart.

[988] And there's lots of examples of that.

[989] People who do that.

[990] So.

[991] And Elon is an example of that.

[992] Apparently.

[993] You are an example.

[994] I don't know if I am.

[995] I'm fun to talk to.

[996] Certainly.

[997] I've learned a lot of stuff.

[998] Right.

[999] Well, here's the other thing is, like, I joke, like I read books.

[1000] And people think, oh, you read.

[1001] books.

[1002] Well, no, I've read a couple of books a week for 55 years.

[1003] Well, maybe 50 because I didn't learn to read until I was age or something.

[1004] And it turns out when people write books, they often take 20 years at our life where they passionately did something, reduce it to 200 pages.

[1005] That's kind of fun.

[1006] And then you go online and you can find out who wrote the best books and who like, you know, that's kind of wild.

[1007] So there's this wild.

[1008] selection process and then you can read it and for the most part understand it and then you can go apply it like I went to one company I thought I haven't managed much before so I read 20 management books and I started talking to them basically compared to all the VPs running around I'd read 19 more management books than anybody else it wasn't even that hard and half the stuff worked like first time it wasn't even rocket science but at the core of that that is questioning the assumptions or sort of entering, the thinking first principles thinking, sort of looking at the reality of the situation and using that knowledge, applying that knowledge.

[1009] So I would say my brain has this idea that you can question first assumptions.

[1010] But I can go days at a time and forget that and you have to kind of like circle back that observation.

[1011] Because it is emotion.

[1012] because it's hard to just keep it front and center because you know you're you operate on so many levels all the time and you know getting this done takes priority or you know being happy takes priority or you know screwing around takes priority like like like how you go through life is complicated yeah and then you remember oh yeah i could really uh think first principles oh shit that's that's tiring you know but you do for a while and that's kind of cool so just the as a last question in your sense, from the big picture from the first principles, do you think, you kind of answered already, but do you think autonomous driving is something we can solve on a timeline of years?

[1013] So one, two, three, five, ten years as opposed to a century?

[1014] Yeah, definitely.

[1015] Just to linger on it a little longer, where's the confidence coming from?

[1016] Is it the fundamentals of the problem, the fundamentals of building the hardware and the software.

[1017] As a computational problem, understanding ballistics, roles, topography, it seems pretty solvable.

[1018] I mean, and you can see this, you know, like speech recognition for a long time, people are doing, you know, frequency and domain analysis and all kinds of stuff.

[1019] And that didn't work for at all, right?

[1020] And then they did deep learning about it and it worked great.

[1021] and it took multiple iterations and you know autonomous driving is way past the frequency analysis point you know use radar don't run into things and the data gathering is going up and the computation is going up and the algorithm understanding is going up and there's a whole bunch of problems getting solved like that the data side is really powerful but I disagree with both you and Elon I'll tell Elon once again as I did before that when you you add human beings into the picture, it's no longer a ballistics problem.

[1022] It's something more complicated, but I could be very well proven wrong.

[1023] Cars are highly damped in terms of rate of change.

[1024] Like the steering system is really slow compared to a computer.

[1025] The acceleration of the acceleration is really slow.

[1026] Yeah, on a certain time scale, on a ballistic time scale, but human behavior, I don't know.

[1027] I shouldn't say.

[1028] Human beings are really slow too.

[1029] We're weird.

[1030] hardly we operate, you know, half a second behind reality.

[1031] I'll be really understands that one either.

[1032] It's pretty funny.

[1033] Yeah.

[1034] Yeah.

[1035] So, we very well could be surprised.

[1036] And I think with the rate of improvement in all aspects on both the compute and the software and the hardware, there's going to be pleasant surprises all over the place.

[1037] Speaking of unpleasant surprises, many people have worries about a singularity in the development of AI.

[1038] Forgive me for such questions.

[1039] Yeah.

[1040] When AI improves the exponential and reaches the point of superhuman level general intelligence, you know, beyond the point, there's no looking back.

[1041] Do you share this worry of existential threats from artificial intelligence, from computers becoming superhuman level intelligent?

[1042] No, not really.

[1043] You know, like we already have a very stratified society, and then if you look at the whole animal kingdom of capabilities and abilities least in interests.

[1044] And, you know, smart people have their niche and, you know, normal people have their niche and craftsmen have their niche and, you know, animals have their niche.

[1045] I suspect that the domains of interest for things that, you know, astronomically different, like the whole something got ten times smarter than us and wanted to track us all down because what?

[1046] We like to have coffee at Starbucks?

[1047] Like, it doesn't seem plausible.

[1048] No, is there an existential problem that, how do you live in a world where there's something way smarter than you and you based your kind of self -esteem on being the smartest local person well there's what point one percent of the population who thinks that because the rest of the population's been dealing with it since they were born so the the breadth of possible experience that can be interesting is really big and you know super intelligence seems likely, although we still don't know if we're magical, but I suspect we're not.

[1049] And it seems likely that it'll create possibilities that are interesting for us.

[1050] And its interests will be interesting for that, for whatever it is.

[1051] It's not obvious why its interests would somehow want to fight over some square foot of dirt or, you know, whatever.

[1052] the usual fears are about.

[1053] So you don't think you'll inherit some of the darker aspects of human nature?

[1054] Depends on how you think reality is constructed.

[1055] So for whatever reason, human beings are in, let's say, creative tension and opposition with both our good and bad forces.

[1056] Like there's lots of philosophical understanding of that.

[1057] I don't know why that would be different.

[1058] so you think the evil is necessary for the good I mean the tension I don't know about evil but like we live in a competitive world where your good is somebody else's you know evil you know there's there's the malignant part of it but that seems to be self -limiting although occasionally it's super horrible but yes there's a debate over ideas and some people have different beliefs and that debate itself is a process so that arriving at something yeah and why wouldn't that continue yeah just you but you don't think that whole process will leave humans behind in a way that's painful emotionally painful yes for the one for the point one percent they'll be you know why isn't it already painful for a large percentage of the population and it is I mean society does have a lot of stress in it about the 1 % and about to this and about to that but, you know, everybody has a lot of stress in their life about what they find satisfying, and, you know, know yourself seems to be the proper dictum and pursue something that makes your life meaningful seems proper.

[1059] And there's so many avenues on that.

[1060] Like, there's so much unexplored space at every single level.

[1061] You know, I'm somewhat of, my nephew called me a jaded optimist.

[1062] and you know so it's there's a beautiful tension that in that label but if you were to look back at your life and could relive a moment a set of moments because there were the happiest times of your life outside of family what would that be I don't want to relive any moments I like that I like that situation where you have some amount of optimism and then the anxiety of the unknown.

[1063] So you love the unknown, the mystery of it.

[1064] I don't know about the mystery.

[1065] I sure get your blood pumping.

[1066] What do you think is the meaning of this whole thing, of life, on this pale blue dot?

[1067] It seems to be what it does.

[1068] like the universe for whatever reason makes atoms which makes us which we do stuff and we figure out things and we explore things and that's just what it is it's not just yeah it is yeah jim i don't think there's a better place to end it it's a huge honor and uh well that's super fun thank you so much for talking today.

[1069] All right.

[1070] Great.

[1071] Thanks for listening to this conversation and thank you to our presenting sponsor Cash app.

[1072] Download it.

[1073] Use code Lex Podcast.

[1074] You'll get $10 and $10 will go to first, a STEM education nonprofit that inspires hundreds of thousands of young minds to become future leaders and innovators.

[1075] If you enjoy this podcast, subscribe on YouTube, give it five stars on Apple podcast, follow on Spotify, support it on Patreon, or simply connect with me on Twitter.

[1076] And now, let me leave you with some words of wisdom from Gordon Moore.

[1077] If everything you try works, you aren't trying hard enough.

[1078] Thank you for listening and hope to see you next time.