Insightcast AI
Home
© 2025 All rights reserved
Impressum
Jeremy Howard: fast.ai Deep Learning Courses and Research

Jeremy Howard: fast.ai Deep Learning Courses and Research

Lex Fridman Podcast XX

--:--
--:--

Full Transcription:

[0] The following is a conversation with Jeremy Howard.

[1] He's the founder of Fast AI, a research institute dedicated to making deep learning more accessible.

[2] He's also a distinguished research scientist at the University of San Francisco, a former president of Kegel, as well as the top -breaking competitor there.

[3] And in general, he's a successful entrepreneur, educator, researcher, and an inspiring personality in the AI community.

[4] When someone asks me, how do I get started with deep learning?

[5] Fast AI is one of the top places I point them to.

[6] It's free, it's easy to get started, it's insightful and accessible, and if I may say so, it has very little BS that can sometimes dilute the value of educational content on popular topics like deep learning.

[7] Fast AI has a focus on practical application of deep learning and hands -on exploration of the cutting edge that is incredibly both accessible to beginners and useful to experts.

[8] this is the artificial intelligence podcast if you enjoy it subscribe on youtube give it five stars on iTunes support it on patreon or simply connect with me on Twitter at Lex Friedman spelled F -R -I -D -M -A -N and now here's my conversation with Jeremy Howard what's the first program you ever written this program I wrote that I remember would be at high school I did an assignment where I decided to try to find out if there were some, like, better musical scales than the normal 12 -tone, 12 -interval scale.

[9] So I wrote a program on my Commodore 64 in Basic that searched through other scale sizes to see if you could find one where there were more accurate, you know, harmonies.

[10] Like mid -tone?

[11] Like, like you want an actual exactly three -to -two ratio, or else with a 12 interval scale, it's not exactly three to two, for example.

[12] So that's well -tempered, as they say, in the...

[13] And basic on the Commodore 64.

[14] Yeah.

[15] Where was the interest in music from?

[16] Or is it just technical?

[17] I did music all my life, so I played saxophone and clarinet and piano and guitar and drums and whatever, so...

[18] How does that thread go through your life?

[19] Where's music today?

[20] It's not where I wish it was.

[21] I, for various reasons, couldn't really keep it going, particularly because I had a lot of problems with RSI, with my fingers, and so I had to kind of, like, cut back anything that used hands and fingers.

[22] I hope one day I'll be able to get back to it health -wise.

[23] So there's a love for music underlying at all?

[24] Sure, yeah.

[25] What's your favorite instrument?

[26] Saxophone.

[27] Sax.

[28] Baritone saxophone.

[29] Well, probably bass saxophone, but they're awkward.

[30] Well, I always love it when music is coupled with programming.

[31] There's something about a brain that utilizes those that emerges with creative ideas.

[32] So you've used and studied quite a few programming languages.

[33] Can you give an overview of what you've used?

[34] What are the pros and cons of each?

[35] My favorite programming environment almost certainly was Microsoft Access back in the earliest days.

[36] So that was a visual basic for applications, which is not a good programming language, but the programming environment is fantastic.

[37] It's like the ability to create, you know, user interfaces and tie data and actions to them and create reports and all that as I've never seen anything as good.

[38] There's things nowadays like Airtable, which are like small subsets of that, which people love for good reason.

[39] But unfortunately, nobody's ever, achieved anything like that.

[40] What is that?

[41] If you could pause on that for a second.

[42] Oh, Access?

[43] Is it a fundamental database?

[44] It was a database program that Microsoft produced, part of office, and it kind of withered, you know, but basically it lets you in a totally graphical way, create tables and relationships and queries and tie them to forms and set up, you know, event handlers and calculations, and it was a very complete, powerful system designed for not massive scalable things, but for like useful little applications that I loved.

[45] So what's the connection between Excel and Access?

[46] So very close.

[47] So access kind of was the relational database equivalent, if you like.

[48] So people still do a lot of that stuff that should be an access in Excel as they know it.

[49] Excel's great as well.

[50] So, but it's just not as rich a programming model as VBA combined with a relational database.

[51] And so I've always loved relational databases, but today programming on top of relational database is just a lot more of a headache.

[52] You know, you generally either need to kind of, you know, you need something that connects, that, that runs some kind of database server unless you use SQLite, which has its own issues.

[53] Then you kind of often, if you want to get a nice programming model, you'll need to, like, create an ORM on top, and then, I don't know, there's all these pieces to tie together, and it's just a lot more awkward than it should be.

[54] There are people that are trying to make it easier, so in particular, I think, of F -sharp, you know, Don Seim, who, him and his team have done a great job of making something like a database appear in the type system.

[55] so you actually get like tab completion for fields and tables and stuff like that.

[56] Anyway, so that was kind of, anyway, so like that whole VBA office thing, I guess, was a starting point which I still miss. I got into standard visual basic, which...

[57] That's interesting, just to pause on that for a second.

[58] It's interesting that you're connecting programming languages to the ease of management of data.

[59] Yeah.

[60] So in your use of programming languages, you always...

[61] had a love and a connection with data.

[62] I've always been interested in doing useful things for myself and for others, which generally means getting some data and doing something with it and putting it out there again.

[63] So that's been my interest throughout.

[64] So I also did a lot of stuff with AppleScript back in the early days.

[65] So it's kind of nice being able to get the computer and computers to talk to each other and to do things for you.

[66] And then I think that one, the programming language I most loved then would have been Delphi, which was Object Pascal, created by Anders Halesburg, who previously did Turbo Pascal, and then went on to create .net, and then went on to create TypeScript.

[67] Delphi was amazing because it was like a compiled, fast language that was as easy to use as Visual Basic.

[68] Delphi, what is it similar to in more modern languages?

[69] Visual basic.

[70] Visual basic.

[71] Yeah, a compiled fast version.

[72] I'm not sure there's anything quite like it anymore if you took like C -Shap or Java and got rid of the virtual machine and replaced it with something you could compile a small type binary.

[73] I feel like it's where Swift could get to with the new Swift UI and the cross -platform development going on.

[74] Like that's one of my dreams is that we'll hopefully get back to where Delphi was.

[75] There is actually a free Pascal project nowadays called Lazarus, which is also attempting to kind of recreate Delphi.

[76] They're making good progress.

[77] So, okay, Delphi, that's one of your favorite programming languages.

[78] Or at least programming environments.

[79] Again, I'd say Pascal's not a nice language.

[80] If you wanted to know specifically about what languages I like, I would definitely pick Jay as being an amazingly wonderful language.

[81] What's Jay?

[82] Jay, are you aware of APL?

[83] I am not, except from doing a little research on the work you've done.

[84] Okay, so not at all surprising you're not familiar with it because it's not well -known, but it's actually one of the main families of programming languages going back to the late 50s, early 60s.

[85] So there was a couple of major directions.

[86] One was the kind of Lambda calculus Alonzo church direction, which I guess kind of Lisp and scheme and whatever, which has a history going back to the early days of computing.

[87] The second was the kind of imperative slash OO, you know, Algo, Simula, going on to C++, so forth.

[88] There was a third which are called array -oriented languages, which started with a paper by a guy called Ken Iverson, which was actually a math theory paper, not a programming paper.

[89] It was called Notation as a Tool for Thought.

[90] And it was the development of a new way, a new type of math notation.

[91] And the idea is that this math notation would be, was much more flexible, expressive, and also well -defined than traditional math notation, which is none of those things.

[92] Meth notation is awful.

[93] And so he actually turned that into a programming language.

[94] And because this was the early 50s, all the, sorry, late 50s, all the names were available.

[95] So he called his language a programming language or APL.

[96] So APL is a implementation of notation as a tool of a thought, by which he means math notation.

[97] And Ken and his son went on to do many things, but eventually they actually produced a, you know, a new language that was built on top of all the learnings of APL, and that was called J. And J is the most expressive, composable language of, you know, beautifully to.

[98] designed language I've ever seen.

[99] Does it have object -oriented components?

[100] Does it have that kind of thing?

[101] Not really.

[102] It's an array -oriented language.

[103] It's the third path.

[104] Are you saying array?

[105] Array -oriented.

[106] What does it mean to be array -oriented?

[107] So array -oriented means that you generally don't use any loops, but the whole thing is done with kind of an extreme version of broadcasting, if you're familiar with that Numpai -Sash -Python concept.

[108] So you do a lot with one line of code.

[109] It looks a lot like math notation.

[110] It's highly compact.

[111] And the idea is that you can kind of, because you can do so much with one line of code, a single screen of code is very unlikely to, you very rarely need more than that to express your program.

[112] And so you can kind of keep it all in your head and you can kind of clearly communicate it.

[113] It's interesting.

[114] The APO created two main branches.

[115] K and J. J is this kind of like open source niche community of crazy enthusiasts like me. And then the other path, K was fascinating.

[116] It's an astonishingly expensive programming language which many of the world's most ludicrously rich hedge funds use.

[117] So the entire K machine is so small, it sits inside level three cache on your CPU, and it easily wins every benchmark I've ever seen in terms of data processing speed.

[118] But you don't come across it very much because it's like $100 ,000 per CPU to run it.

[119] It's like this path of programming languages is just so much, I don't know, so much more powerful in every way than the ones that almost anybody uses every day.

[120] So it's all about computation.

[121] It's really focusing.

[122] It's pretty heavily focused on computation.

[123] I mean, so much of programming is data processing by definition, and so there's a lot of things you can do with it.

[124] But yeah, there's not much work being done on making, like, user interface toolkits or whatever.

[125] I mean, there's some, but they're not great.

[126] At the same time, you've done a lot of stuff with Pearl and Python.

[127] Yeah.

[128] So where does that fit into the picture of J and K and APL and Well, you know, it's just much more pragmatic.

[129] Like, in the end, you kind of have to end up where the libraries are, you know, because to me, my focus is on productivity.

[130] I just want to get stuff done and solve problems.

[131] So Pell was great.

[132] I created an email company called FastMail, and Pell was great because back in the late 90s, early 2000s, it just had a lot of stuff it could do.

[133] I still had to write my own monitoring system and my own web framework, my own whatever, because none of that stuff existed.

[134] But it was a super flexible language to do that in.

[135] And you used Perl for FastMil, you used it as a backend?

[136] So everything was written in Pearl?

[137] Yeah, everything was Pearl.

[138] Why do you think Pearl hasn't succeeded or hasn't dominated the market where Python really takes over a lot of the fantastic.

[139] Yeah.

[140] Well, I mean, Pearl did dominate.

[141] It was for a time.

[142] Everything everywhere.

[143] But then the guy that ran Pearl, Larry Wool, kind of just didn't put the time in anymore.

[144] And no project can be successful if there isn't, you know, particularly one that's data with a strong leader that loses that strong leadership.

[145] So then Python has kind of replaced it.

[146] You know, Python is a lot less elegant language in nearly every way, but it has the data science libraries, and a lot of them are pretty great.

[147] So I kind of use it because it's the best we have, but it's definitely not good enough.

[148] What do you think the future of programming looks like?

[149] What do you hope the future programming looks like if we zoom in on the computational fields, on data science, on machine learning?

[150] I hope Swift is successful because the goal of Swift, the way Chris Latner describes it, is to be infinitely hackable, and that's what I want.

[151] I want something where me and the people I do research with and my students can look at and change everything from top to bottom.

[152] There's nothing mysterious and magical and inaccessible.

[153] Unfortunately, with Python, it's the opposite of that.

[154] Because Python's so slow, it's extremely unhackable.

[155] You get to a point where it's like, okay, from here on down at C. So your debugger doesn't work in the same way.

[156] Your profiler doesn't work in the same way.

[157] Your build system doesn't work in the same way.

[158] It's really not very hackable at all.

[159] What's the part you like to be hackable?

[160] Is it for the objective of optimizing training of neural networks, inference in your networks, is it performance of the system, or is there some non -performance -related just creative idea?

[161] It's everything.

[162] I mean, in the end, I want to be productive as a practitioner.

[163] So that means that, so like at the moment, our understanding of deep learning is incredibly primitive.

[164] There's very little we understand.

[165] Most things don't work very well, even though it works better than anything else out there.

[166] There's so many opportunities to make it better.

[167] So you look at any domain area like, I don't know, speech recognition with deep learning or natural language processing classification with deep learning or whatever.

[168] Every time I look at an area with deep learning, I always see like, oh, it's terrible.

[169] There's lots and lots of obviously stupid ways to do things that need to be fixed.

[170] So then I want to be able to jump in there and quickly experiment and make them better.

[171] You think the programming language has a role in that?

[172] Huge role, yeah.

[173] So currently, Python has a big gap in terms of our ability to innovate, particularly around recurrent neural networks and natural language processing, because it's so slow, the actual loop where we actually loop through words, we have to do that whole thing in Kuta, C. So we actually can't innovate with the kernel, the heart of that most important algorithm.

[174] and it's just a huge problem and this happens all over the place so we hit you know research limitations another example convolutional neural networks which are actually the most popular architecture for lots of things maybe most things in deep learning we almost certainly should be using sparse convolutional neural networks but only like two people are because to do it you have to rewrite all of that kudacy level stuff and yeah just researchers and practitioners don't so like there's just big gaps in like what people actually research on what people actually implement because of the programming language problem so you think uh you think it's it's just too difficult to write in kudacy uh that a programming like a higher level programming language like swift should enable the easier fooling around creative stuff with RNNs or was parsed convolution, you know, that was...

[175] Kind of.

[176] Who's at fault?

[177] Who's a charge of making it easy for a researcher to play around?

[178] I mean, no one's at fault.

[179] It's just nobody's got around to it yet, or it's just, it's hard, right?

[180] And I mean, part of the fault is that we ignored that whole APO kind of direction.

[181] Well, nearly everybody did for 60 years.

[182] 50 years.

[183] But recently, people have been starting to reinvent pieces of that and kind of create some interesting new directions in the compiler technology.

[184] So the place where that's particularly happening right now is something called MLIR, which is something that, again, Chris Latina, the Swift guy, is leading.

[185] And, yeah, because it's actually not going to be Swift on its own that solves this problem.

[186] Because the problem is that currently writing a acceptably fast, you know, GPU program is too complicated regardless of what language you use.

[187] And that's just because if you have to deal with the fact that I've got, you know, 10 ,000 threads and I have to synchronize between them all and I have to put my thing into grid blocks and think about warps and all this stuff, it's just, it's just so much boilerplate that to do that well, you have to be a specialist at that.

[188] and it's going to be a year's work to, you know, optimize that algorithm in that way.

[189] But with things like tensor comprehensions and TIEO and MLIR and TIVM, there's all these various projects which are all about saying, let's let people create like domain -specific languages for tensor computations.

[190] These are the kinds of things we do are generally on the GPU for deep learning and then have a compiler which can optimize that tensor computation.

[191] A lot of this work is actually sitting on top of a project called Hallide, which is a mind -blowing project where they came up with such a domain -specific language.

[192] In fact, two, one domain -specific language for expressing, this is what my tensor computation is.

[193] And another domain -specific language for expressing, this is the kind of the way I want you to structure the compel of that, like do it block by block and do these bits in parallel, and they were able to show how you can compress the amount of code by 10x compared to optimized GPU code and get the same performance.

[194] So that's like, so these other things are kind of sitting on top of that kind of research and MLIR is pulling a lot of those best practices together.

[195] And now we're starting to see work done on making all of that directly accessible through SWIFT.

[196] so that I could use SWIFT to kind of write those domain -specific languages, and hopefully we'll get then Swift -Kuda kernels written in a very expressive and concise way that looks a bit like J and APL, and then SWIFT layers on top of that, and then a SWIFT UI on top of that, and, you know, it'll be so nice if we can get to that point.

[197] Now, does it all eventually boil down to CUDA and NVDAGPUs?

[198] Unfortunately, at the moment it does, but one of the nice.

[199] things about MLIR, if AMD ever gets their act together, which they probably won't, is that they or others could write MLIR backends or other GPUs or rather tensor computation devices, of which today there are increasing number like Graphcore or vertex AI or whatever.

[200] So, yeah, being able to target lots of backends would be another benefit of this, and the market really needs competition, because at the moment, Nvidia is massively overcharging for their kind of enterprise class cards because there is no serious competition because nobody else is doing the software properly.

[201] In the cloud, there is some competition, right?

[202] Not really, other than TPUs, perhaps, but TPUs are almost unprogrammed.

[203] programmable at the moment.

[204] So you can't, the TPUs has the same problem that you can't.

[205] It's even worse.

[206] So TPUs, Google actually made an explicit decision to make them almost entirely unprogrammable because they felt that there was too much IP in there and if they gave people direct access to program them, people would learn their secrets.

[207] So you can't actually directly program the memory in a TPU.

[208] You can't even directly like create code that runs on and that you look at on the machine that has the GPU, it all goes through a virtual machine.

[209] So all you can really do is this kind of cookie cutter thing of like plug -in high -level stuff together, which is just super tedious and annoying and totally unnecessary.

[210] So what was the, tell me if you could, the origin story of fast AI.

[211] What is the motivation, its mission, its dream?

[212] So I guess the founding story is heavily tied to my previous startup, which is a company called Analytic, which was the first company to focus on deep learning for medicine.

[213] And I created that because I saw there was a huge opportunity to, there's about a 10x shortage of the number of doctors in the world, and the developing world that we need.

[214] I expected it would take about 300 years to train enough doctors to meet that gap.

[215] But I guess that maybe if we used deep learning for some of the analytics, we could maybe make it so you don't need as highly trained doctors.

[216] For diagnosis?

[217] For diagnosis and treatment planning.

[218] Where's the biggest benefit just before get to fast AI?

[219] Where's the biggest benefit of AI in medicine that you see today?

[220] Not much happening today in terms of like stuff that's actually out there.

[221] It's very early.

[222] but in terms of the opportunity, it's to take markets like India and China and Indonesia, which have big populations, Africa, small numbers of doctors, and provide diagnostic, particularly treatment planning and triage kind of on device so that if you do a test for malaria or tuberculosis or whatever, you immediately get something that even a healthcare worker that's had a month of training can get a very high quality assessment of whether the patient might be at risk until, you know, okay, we'll send them off to a hospital.

[223] So, for example, in Africa, outside of South Africa, there's only five pediatric radiologists for the entire continent.

[224] So most countries don't have any.

[225] So if your kid is sick and they need something diagnosed through medical imaging, The person, even if you're able to get medical imaging done, the person that looks at it will be, you know, a nurse at best.

[226] Yeah.

[227] But actually in India, for example, and China, almost no x -rays are read by anybody, by any trained professional because they don't have enough.

[228] So if instead we had a algorithm that could take the most likely high risk 5%, and say, triage, basically, say, someone needs to look at this, it would massively change the kind of way that what's possible with medicine in the developing world.

[229] And remember, they have, increasingly they have money.

[230] They're the developing world.

[231] They're not the poor world.

[232] They're developing world.

[233] So they have the money.

[234] So they're building the hospitals.

[235] They're getting the diagnostic equipment.

[236] But they just, there's no way for a very long time will they be able to have the expertise.

[237] shortage of expertise okay and that's where the deep learning systems can step in and magnify the expertise they do have essentially yeah so you do see just to linger it a little bit longer the interaction you do you still see the human experts still at the core of these systems yeah absolutely is there something in medicine that can be automated almost completely I don't see the point of even thinking about that because we have such a shortage of people why would we want to find a way not to use them?

[238] Like we have people.

[239] So the idea of like even from an economic point of view, if you can make them 10x more productive, getting rid of the person doesn't impact your unit economics at all.

[240] And it totally ignores the fact that there are things people do better than machines.

[241] So it's just to me that's not a useful way of framing the problem.

[242] I guess just to clarify, I guess I meant there may be some problems.

[243] where you can avoid even going to the expert ever, sort of maybe preventative care or some basic stuff, the low -hanging food, allowing the expert to focus on the things that are really that you know.

[244] Well, that's what the triage would do, right?

[245] So the triage would say, okay, 99 % sure there's nothing here.

[246] Right.

[247] So, you know, that can be done on device, and they can just say, okay, go home.

[248] So the experts are being used to, look at the stuff which has some chance it's worth looking at, which most things is, it's not, you know, it's fine.

[249] Why do you think we haven't quite made progress on that yet in terms of the scale of how much AI is applied in the medical field?

[250] Oh, there's a lot of reasons.

[251] I mean, one is it's pretty new.

[252] I only started in Liddick in late 2014, and before that, like, it's hard to express to what degree the medical world was not aware of the opportunities here.

[253] So I went to RSNA, which is the world's largest radiology conference.

[254] And I told everybody I could, you know, like, I'm doing this thing with deep learning.

[255] Please come and check it out.

[256] And no one had any idea what I was talking about, and no one had any interest in it.

[257] So like we've come from absolute zero, which is hard.

[258] And then the whole regulatory framework, education system, everything is just set up to think of doctoring in a very different way.

[259] So today there is a small number of people who are deep learning practitioners and doctors at the same time.

[260] And we're starting to see the first ones come out of their PhD programs.

[261] So Zach Cahain over in Boston, Cambridge has a number of students now who are data science experts, deep learning experts, and actual medical doctors.

[262] Quite a few doctors have completed our fast AI course now and are publishing papers and creating journal reading groups in the American Council of Radiology.

[263] And like, it's just starting to happen.

[264] But it's going to be a long process.

[265] The regulators have to learn how to regulate.

[266] this they have to build you know guidelines and then the lawyers at hospitals have to develop a new way of understanding that sometimes it makes sense for data to be you know looked at in raw form in large quantities in order to create world -changing results yeah so regulation around data all that it sounds with probably the hardest problem, but sounds reminiscent of autonomous vehicles as well, many of the same regulatory challenges, many of the same data challenges.

[267] Yeah, I mean, funnily enough, the problem is less the regulation and more the interpretation of that regulation by lawyers in hospitals.

[268] So HIPAA is actually, it's to P, and HIPA is not standing, does not stand for privacy.

[269] It stands for portability.

[270] It's actually meant to be a way that data can be used.

[271] And it was created with lots of gray areas because the idea is that would be more practical and it would help people to use this legislation to actually share data in a more thoughtful way.

[272] Unfortunately, it's done the opposite because when a lawyer sees a gray area, they see, oh, if we don't know we won't get sued, then we can't do it.

[273] So HIPAA is not exactly the problem.

[274] The problem is more that there's, hospital lawyers are not incented to make bold decisions about data portability.

[275] Or even to embrace technology that saves lives.

[276] They more want to not get in trouble for embracing that technology.

[277] It is also saves lives in a very abstract way, which is like, oh, we've been able to release these 100 ,000 anonymized records.

[278] I can't point at the specific person whose life that's saved.

[279] I can say, like, oh, we've ended up with this paper, which found this result.

[280] which, you know, diagnosed a thousand more people than we would have otherwise, but it's like which ones were helped.

[281] It's very abstract.

[282] And on the counter side of that, you may be able to point to a life that was taken because of something that was...

[283] Yeah.

[284] Or a person whose privacy was violated.

[285] It's like, oh, this specific person, you know, was de -identified.

[286] So...

[287] Identified.

[288] Just a fascinating topic.

[289] We're jumping around.

[290] we'll get back to fast AI, but on the question of privacy, data is the fuel for so much innovation in deep learning.

[291] What's your sense in privacy, whether we're talking about Twitter, Facebook, YouTube, just the technologies like in the medical field that rely on people's data in order to create impact?

[292] How do we get that right, respecting people's privacy, and yet creating technology that is learned from data.

[293] One of my areas of focus is on doing more with less data.

[294] So most vendors, unfortunately, are strongly incented to find ways to require more data and more computation.

[295] So Google and IBM being the most obvious.

[296] IBM?

[297] Yeah.

[298] So Watson.

[299] You know, so Google and IBM both strongly push the idea that you have to be, you know, that they have more data and more computation and more intelligent people than anybody else.

[300] And so you have to trust them to do things because nobody else can do it.

[301] And Google's very upfront about this, like Jeff Dane has gone out there and given talks and said our goal is to require a thousand times more computation, but less people.

[302] Our goal is to use the people that you have better, and the data you have better, and the computation you have better.

[303] So one of the things that we've discovered is, or at least highlighted, is that you very, very, very often don't need much data at all, and so the data you already have in your organization will be enough to get state -of -the -art results.

[304] So, like, my starting point would be to kind of say around privacy is, A lot of people are looking for ways to share data and aggregate data, but I think often that's unnecessary.

[305] They assume that they need more data than they do because they're not familiar with the basics of transfer learning, which is this critical technique for needing orders of magnitude less data.

[306] Is your sense one reason you might want to collect data from everyone is like in the recommender system context where your individual, Jeremy Howard's individual data, is the most useful for providing a product that's impactful for you.

[307] So for giving you advertisements, for recommending to you movies, for doing medical diagnosis, is your sense we can build with a small amount of data, general models that will have a huge impact for most people, that we don't need to have data from each individual?

[308] On the whole, I'd say yes.

[309] I mean, there are things like, you know, recommender systems have this cold start problem where, you know, Jeremy is a new customer.

[310] We haven't seen him before, so we can't recommend him things based on what else he's bought and liked with us.

[311] And there's various workarounds to that.

[312] Like, a lot of music programs will start out by saying, which of these artists do you like?

[313] Which are these albums do you like?

[314] Which are these songs do you like?

[315] Netflix used to do that.

[316] Nowadays, they tend not to.

[317] People kind of don't like that because they think, oh, we don't want to bother the user.

[318] So you could work around that by having some kind of data sharing where you get my marketing record from Axiom or whatever and try to question that.

[319] To me, the benefit to me and to society of saving me five minutes on answering some questions versus the negative externalities of the privacy issue doesn't add up.

[320] So I think, like, a lot of the time, the places where people are invading our privacy in order to provide convenience is really about just trying to make them more money and they move these negative externalities into places that they don't have to pay for them.

[321] So when you actually see regulations appear that actually cause the companies that create these negative externalities to have to pay for it themselves, they say, well, we can't do it anymore.

[322] So the cost is actually too high.

[323] Right.

[324] But for something like medicine, yeah, I mean, the hospital has my, you know, medical imaging, my pathology studies, my medical records.

[325] And also, I own my medical data.

[326] So you can, so I help a startup called Doc A .I. One of the things Doc A .I does is that there has an app.

[327] You can connect to, you know, Sata Health and LabCore and Walgreens and download your medical data to your phone and then upload it again at your discretion to share it as you wish.

[328] So with that kind of approach, we can share our medical information with, the people we want to.

[329] Yeah, so control.

[330] I mean, really being able to control who you share it with and so on.

[331] Yeah.

[332] So that has a beautiful, interesting tangent, but to return back to the origin story of Fast AI.

[333] Right.

[334] So before I started Fast AI, I spent a year researching where are the biggest opportunities for deep learning?

[335] Because I knew from time at Kaggle in particular that deep learning had kind of hit this threshold point where it was rapidly becoming the state of the art approach in every area that looked at it and I'd been working with neural nets for over 20 years I knew that from a theoretical point of view once it hit that point it would do that in kind of just about every domain and so I kind of spent a year researching what are the domains it's gonna have the biggest low -hanging fruit in the shortest time period I picked medicine but there were so many I could have picked.

[336] And so there was a kind of level of frustration for me of like, okay, I'm really glad we've opened up the medical deep learning world, and today it's huge, as you know.

[337] But we can't do, you know, I can't do everything.

[338] I don't even know, like in medicine, it took me a really long time.

[339] Do we even get a sense of like what kind of problems do medical practitioners solve?

[340] What kind of data do they have?

[341] Who has that data?

[342] So I kind of felt like I need to approach this differently if I want to maximize the positive impact of deep warning rather than me picking an area and trying to become good at it and building something I should let people who are already domain experts in those areas and who already have the data do it themselves.

[343] So that was the reason for Fast AI is to basically try and figure out how to get deep learning into the hands of people who could benefit from it and help them to do so in as quick and easy and effective a way as possible.

[344] Got it.

[345] So sort of empower the domain experts.

[346] And like partly it's because like, unlike most people in this field, my background is very applied and industrial.

[347] My first job was at McKinsey and Company.

[348] I spent 10 years in management consulting.

[349] I spend a lot of time with domain experts, you know, so I kind of respect them and appreciate them, and I know that's where the value generation in society is.

[350] And so I also know how most of them can't code, and most of them don't have the time to invest, you know, three years in a graduate degree or whatever.

[351] So it's like, how do I upskill those domain experts?

[352] I think that would be a super powerful thing, you know, bigger societal impact I could have.

[353] So, yeah, that was the thinking.

[354] So so much of fast AI students and researchers and the things you teach are pragmatically minded, practically minded, figuring out ways how to solve real problems and fast.

[355] Right.

[356] So from your experience, what's the difference between theory and practice of deep learning?

[357] Well, most of the research in the deep learning world is a total waste of time.

[358] Right, that's what I was getting after.

[359] Yeah, it's a problem in science in general.

[360] Scientists need to be published, which means they need to work on things that their peers are extremely familiar with and can recognize an advance in that area, so that means that they all need to work on the same thing.

[361] And so it really, and the thing they work on, there's nothing to encourage them to work on things that are practically useful.

[362] So you get just a whole lot of research, which is minor advances in stuff that's been very highly studied and has no significant practical impact.

[363] Whereas the things that really make a difference, like I mentioned transfer learning, like if we can do better at transfer learning, then it's this like world -changing thing.

[364] suddenly like lots more people can do world -class work with less resources and less data.

[365] But almost nobody works on that.

[366] Or another example, active learning, which is the study of like how do we get more out of the human beings in the loop.

[367] That's my favorite topic.

[368] Yeah.

[369] So active learning is great, but it's almost nobody working on it because it's just not a trendy thing right now.

[370] You know what somebody's, sorry to interrupt, he was saying that, nobody is publishing on active learning.

[371] But there's people inside companies, anybody who actually has to solve a problem, they're going to innovate on active learning.

[372] Yeah, everybody kind of reinvents active learning when they actually have to work in practice because they start labeling things and they think, gosh, this is taking a long time and it's very expensive.

[373] And then they start thinking, well, why am I labeling everything?

[374] I'm only, the machine's only making mistakes on those two classes.

[375] They're the hard ones.

[376] Maybe you'll just start labelling those two classes, and then you start thinking, well, why did I do that manually?

[377] Why can't I just get the system to tell me which things are going to be hardest?

[378] It's an obvious thing to do, but yeah, it's just like transfer learning.

[379] It's understudied, and the academic world just has no reason to care about practical results.

[380] The funny thing is, like, I've only really ever written one paper.

[381] I hate writing papers, and I didn't even write it.

[382] It was my colleague, Sebastian Ruda, who actually wrote it.

[383] I just did the research for it, but it was basically introducing transfer learning, successful transfer learning to NLP for the first time.

[384] The algorithm is called ULMFIT, and I actually wrote it for the course, for the fast AI course.

[385] I wanted to teach people NLP, and I thought I only want to teach people practical stuff, and I think the only practical stuff is transfer learning, and I couldn't find any examples of transfer learning in NLP, so I just did it.

[386] And I was shocked to find that as soon as I did, it was, you know, the basic prototype took a couple of days, it smashed the state of the art on one of the most important data sets in a field that I knew nothing about.

[387] And I just thought, well, this is ridiculous.

[388] And so I spoke to Sebastian about it, and he kindly offered to write it up the results.

[389] And so it ended up being published in ACL, which is the top linguistic, computational linguistics, So like people do actually care once you do it, but I guess it's difficult for maybe like junior researchers or like, like I don't care whether I get citations or papers or whatever.

[390] There's nothing in my life that makes that important, which is why I've never actually bothered to write a paper myself.

[391] But for people who do, I guess they have to pick the kind of safe option, which is like, yeah, make a slight improvement on something that everybody's already working on.

[392] yeah nobody does anything interesting or succeeds in life with the safe option although i mean the nice thing is nowadays everybody is now working on nlb transfer learning because since that time we've had gpt and gpt2 and bert and you know it's like it's so yeah once you show that something's possible everybody jumps in i guess so i hope hope to be a part of and i hope to see more innovation than active learning in the same way i think The transfer learning and active learning are fascinating.

[393] Public open work.

[394] I actually helped start a startup called Platform AI, which is really all about active learning.

[395] And yeah, it's been interesting trying to kind of see what research is out there and make the most of it.

[396] And there's basically none.

[397] So we've had to do all our own research.

[398] Once again, just as he described.

[399] Can you tell the story of the Stanford competition, Don Bench, and Fast AI's achievement on it?

[400] Sure.

[401] So something which I really enjoy is that I basically teach two courses a year, the practical deep learning for coders, which is kind of the introductory course, and then cutting edge deep learning for coders, which is the kind of research level course.

[402] And while I teach those courses, I have a, I basically have a big office at the University of San Francisco.

[403] would be enough for like 30 people, and I invite anybody, any student who wants to come and hang out with me while I build the course.

[404] And so generally it's full.

[405] And so we have 20 or 30 people in a big office with nothing to do but study deep learning.

[406] So during one of these times that somebody in the group said, oh, there's a thing called dawn bench that looks interesting.

[407] And I'll say, what the hell is that?

[408] I'm going to sit out some competition to see how quickly you can train a model, seems kind of not exactly relevant to what we're doing, but it sounds like the kind of thing which you might be interested in.

[409] I checked it out and I was like, oh, crap, there's only 10 days until it's over.

[410] It's pretty, that's too late.

[411] And we're kind of busy trying to teach this course.

[412] But we're like, uh, it would make an interesting case study for the course.

[413] Like it's all the stuff we're already doing.

[414] Why don't we just put together our current best practices and ideas.

[415] So me and I guess about four students just decided to give it a go.

[416] And we focused on this small one called Saifar 10, which is little 32 by 32 pixel images.

[417] Can you say what Don benches?

[418] Yeah.

[419] So it's a competition to train a model as fast as possible.

[420] It was run by Stanford.

[421] And it's cheap as possible too.

[422] That's also another one for as cheap as possible.

[423] And there's a couple of categories, ImageNet and Saifar 10.

[424] So image net is this big 1 .3 million.

[425] image thing that took a couple of days to train.

[426] I remember a friend of mine, Pete Warden, who's now at Google.

[427] I remember he told me how he trained ImageNet a few years ago, and he basically had this little granny flat out the back that he turned into his ImageNet training center, and after like a year of work, he figured out how to train it in like 10 days or something.

[428] That was a big job.

[429] Well, CyFar 10 at that time, you could train.

[430] in a few hours, you know, it's much smaller and easier.

[431] So we thought we'd try SIFAR 10.

[432] And, yeah, I've really never done that before.

[433] Like, I'd never really, like, things like using more than one GPU at a time was something I tried to avoid, because to me it's, like, very against the whole idea of accessibility is you better do things with one GPU?

[434] I mean, have you asked in the past before, after having accomplished something, how do I do this faster, much faster?

[435] Oh, always, but it's always, for me, it's always, how do I make it much faster on a single GPU that a normal person could afford in their day -to -day life?

[436] It's not, how could I do it faster by, you know, having a huge data center?

[437] Because to me, it's all about, like, as many people should better use something as possible without fussing around with infrastructure.

[438] So, anyways, so in this case, it's like, well, we can use eight GPUs just by renting an AWS machine.

[439] so we thought we'd try that and yeah basically using the stuff we were already doing we were able to get you know the speed you know within a few days we had the speed down to I don't know a very small number of minutes I can't remember exactly how many minutes it was but it might have been like 10 minutes or something and so yeah we found ourselves at the top of the leaderboard easily for both time and money which really shocked me because the other people competing in this were like Google and Intel and stuff where like know a lot more about this stuff than I think we do.

[440] So then we were emboldened.

[441] We thought, let's try the ImageNet one too.

[442] I mean, it seemed way out of our league.

[443] But our goal was to get under 12 hours.

[444] And we did, which was really exciting.

[445] But we didn't put anything up on the leaderboard, but we were down to like 10 hours.

[446] But then Google put in like five hours.

[447] or something, and we're just like, oh, we're so screwed.

[448] But we kind of thought, we'll keep trying, you know, if Google can do it in five.

[449] I mean, Google did it on five hours on like a TPU pod or something, like a lot of hardware.

[450] But we kind of like had a bunch of ideas to try, like a really simple thing was, why are we using these big images?

[451] They're like 224 or 256 by 26 pixels.

[452] You know, why don't we try smaller ones?

[453] And just to elaborate, there's a concept.

[454] restraint on the accuracy that your train model is supposed to achieve.

[455] Yeah, you've got to achieve 93%, I think it was, for ImageNet, exactly.

[456] Which is very tough, so you have to...

[457] Yeah, 93%.

[458] Like, they picked a good threshold.

[459] It was a little bit higher than what the most commonly used Resnet 50 model could achieve at that time.

[460] So, yeah, so it's quite a difficult problem to solve.

[461] But yeah, we realized if we actually just use 64 by 64 images, it trained a pretty good model, and then we could take that same model and just give it a couple of epochs to learn 224 by 224 images, and it was basically already trained.

[462] It makes a lot of sense, like if you teach somebody, like, here's what a dog looks like, and you show them low -res versions, and then you say here's a really clear picture of a dog, they already know what a dog looks like.

[463] So that like just, we jumped to the front and we ended up winning parts of that competition.

[464] We actually ended up doing a distributed version over multiple machines a couple of months later and ended up at the top of the leaderboard.

[465] We had 18 minutes.

[466] An image net.

[467] Yeah.

[468] And it was, and people have just kept on blasting through again and again since then.

[469] So what's your view on multi -GPU?

[470] or multiple machine training in general as a way to speed code up?

[471] I think it's largely a waste of time.

[472] Both multi -GPU on a single machine and...

[473] Yeah, particularly multi -machines, because it's just clunky.

[474] Multi -GPUs is less clunky than it used to be, but to me, anything that slows down your iteration speed is a waste of time.

[475] So you could maybe do your very last, perfecting of the model on multi -GPUs if you need to.

[476] So, for example, I think doing stuff on ImageNet is generally a waste of time.

[477] Why test things on 1 .3 million images?

[478] Most of us don't use 1 .3 million images.

[479] And we've also done research that shows that doing things on a smaller subset of images gives you the same relative answers anyway.

[480] So from a research point of view, why waste that time?

[481] So actually, I released a couple of new data sets recently.

[482] One is called ImageNet, the French ImageNet, which is a small subset of ImageNet, which is designed to be easy to classify.

[483] How do you spell Imaget?

[484] It's got an extra T and E at the end, because it's very French.

[485] Amage, okay.

[486] And then another one called ImageWolf, which is a subset of ImageNet that only contains dog breeds.

[487] But that's a hard one, right?

[488] that's a hard one.

[489] And I've discovered that if you just look at these two subsets, you can train things on a single GPU in 10 minutes, and the results you get directly transferable to ImageNet nearly all the time.

[490] And so now I'm starting to see some researchers start to use these much smaller datasets.

[491] I so deeply love the way you think, because I think you might have written a blog post saying that sort of going to these big datasets is, encouraging people to not think creatively.

[492] Absolutely.

[493] So you're too, it sort of constrains you to train on large resources and because you have these resources, you think more resources will be better and then you start.

[494] So like somehow you kill the creativity.

[495] Yeah, and even worse than that, Lex, I keep hearing from people who say, I decided not to get into deep learning because I don't believe it's accessible to people outside of Google to do useful work.

[496] So like I see a lot of people make an explicit, a decision to not learn this incredibly valuable tool because they've drunk the Google Kool -Aid, which is that only Google's big enough and smart enough to do it.

[497] And I just find that's so disappointing and it's so wrong.

[498] And I think all the major breakthroughs in AI in the next 20 years will be doable on a single GPU.

[499] Like I would say, my sense is all the big sort of...

[500] Well, let's put it this way.

[501] None of the big breakthroughs of the last 20 years have required multiple GPUs.

[502] So like batch norm, value, dropout, components in general, every one of them.

[503] None of them has required multiple GPUs.

[504] GANS, the original GANS didn't require multiple GPs.

[505] Well, and we've actually recently shown that you don't even need GANS.

[506] So we've developed GAN level outcomes without needing GANS and we can now do it with, again, by using transfer learning, we can do it in a couple of hours on a single GPU.

[507] doing a generated model, like without the adversarial part?

[508] Yeah, so we've found lost functions that work super well without the adversarial part.

[509] And then one of our students, guy called Jason Antich, has created a system called Deolterify, which uses this technique to colorize old black and white movies.

[510] You can do it on a single GPU, colorize a whole movie in a couple of hours.

[511] And one of the things that Jason and I did together was we figured out how to add a little bit of GAN at the very end, which it turns out for colorization, makes it just a bit prider and nicer.

[512] And then Jason did masses of experiments to figure out exactly how much to do, but it's still all done on his home machine on a single GPU in his lounge room.

[513] And like, if you think about like colorizing Hollywood movies, that sounds like something a huge studio would have to do.

[514] But he has the world's best results on this.

[515] There's this problem of microphones.

[516] We're just talking of microphones now.

[517] Yeah.

[518] It's such a pain in the ass to have these microphones to get good quality audio.

[519] And I tried to see if it's possible to plop down a bunch of cheap sensors and reconstruct higher quality audio from multiple sources.

[520] Because right now, I haven't seen work from, okay, we can save inexpensive mics, automatically combining audio from multiple sources to improve the combined audio.

[521] Right.

[522] People haven't done that.

[523] And that feels like a learning problem.

[524] Right.

[525] So hopefully somebody can.

[526] Well, I mean, it's evidently doable, and it should have been done by now.

[527] I felt the same way about computational photography four years ago.

[528] That's right.

[529] Why are we investing in big lenses when three cheap lenses plus actually a little bit of intentional movement?

[530] So like, hold, you know, like take a few frames, gives you enough information to get excellent sub -pixel resolution, which, particularly with deep learning, you would know exactly what you meant to be looking at.

[531] we can totally do the same thing with audio.

[532] I think it's madness that it hasn't been done yet.

[533] Is there been progress on the photography company?

[534] Yeah, photography is basically standard now.

[535] So the Google Pixel Nightlight, I don't know if you've ever tried it, but it's astonishing.

[536] You take a picture and almost pitch black and you get back a very high -quality image, and it's not because of the lens.

[537] Same stuff with like adding the bocée to the, you know, the background blurring.

[538] It's done computationally.

[539] Just the pics over here.

[540] Yeah, basically the everybody now is doing most of the fanciest stuff on their phones with computational photography and also increasingly people are putting more than one lens on the back of the camera.

[541] So the same will happen for audio for sure.

[542] And there's applications in the audio side.

[543] If you look at an Alexa type device, most people I've seen, especially I worked at Google before, when you look at noise background removal, you don't think of multiple sources of audio.

[544] You don't play with that as much as I would hope people.

[545] But I mean, you can still do it even with one.

[546] Like, again, it's not much work's being done in this area.

[547] So we're actually going to be releasing an audio library soon, which hopefully will encourage development of this because it's so underused.

[548] The basic approach we used for our super resolution in which Jason uses for Deolify of generating high quality images, the exact same approach would work for audio.

[549] no one's done it yet but it would be a couple of months work okay uh also learning rate in terms of don bench um there's some magic on learning rate that you played around with it's interesting yeah so this is all work that came from a guy called leslie smith uh leslie's a researcher who like us cares a lot about just the practicalities of training neural networks quickly and accurately which you would think is what everybody should care about but almost nobody does.

[550] And he discovered something very interesting, which he calls superconvergence, which is there are certain networks that with certain settings of high parameters could suddenly be trained 10 times faster by using a 10 times higher learning rate.

[551] Now, no one published that paper because it's not an area of kind of active research in the academic world.

[552] No academics recognize that this is important.

[553] And also, deep learning in academia is not considered a experimental science.

[554] So unlike in physics, where you could say, like, I just saw a subatomic particle do something which the theory doesn't explain.

[555] You could publish that without an explanation.

[556] And then in the next 60 years, people can try to work out how to explain it.

[557] We don't allow this in the deep learning world.

[558] So it's literally impossible for Leslie to publish a paper that says, I've just seen something amazing happen.

[559] This thing trained 10 times faster than it should have.

[560] I don't know why.

[561] And so the reviewers were like, well, you can't publish that because you don't know why.

[562] So anyway.

[563] That's important to pause on because there's so many discoveries that would need to start like that.

[564] Every other scientific field I know of works of that way.

[565] I don't know why ours is uniquely disinterested in publishing unexplained experimental results.

[566] But there it is.

[567] So it wasn't published.

[568] Having said that, I read a lot more unpublished papers and published papers, because that's where you find the interesting insights.

[569] So I absolutely read this paper.

[570] And I was just like, this is astonishingly mind -blowing and weird and awesome.

[571] And like, why isn't everybody only talking about this?

[572] Because, like, if you can train these things 10 times faster, they also generalize better because you're doing less epochs.

[573] which means you look at the data less, so you get better accuracy.

[574] So I've been kind of studying that ever since.

[575] And eventually, Leslie kind of figured out a lot of how to get this done, and we added minor tweaks.

[576] And a big part of the trick is starting at a very low learning rate, very gradually increasing it.

[577] So as you're training your model, you would take very small steps at the start, and you gradually make them bigger and bigger.

[578] Until eventually you're taking much bigger steps than anybody thought was possible.

[579] There's a few other little tricks to make it work, but basically we can reliably get super convergence, and so for the dawn bench thing, we were using just much higher learning rates than people expected to work.

[580] What do you think the future of, I mean, it makes so much sense for that to be a critical hyperparameter learning rate that you vary.

[581] What do you think the future of learning rate magic looks like?

[582] Well, there's been a lot of great work in the last 12 months in this area.

[583] it's and people are increasingly realizing that optimize, like we just have no idea really how optimizes work and the combination of weight decay, which is how we regularize optimizers and the learning rate and then other things like the epsilon we use in the atom optimizer, they all work together in weird ways.

[584] And different parts of the model, this is another thing we've done a lot of work on, is research into how different parts of the model should be trained at different rates in different ways.

[585] So we do something we call discriminative learning rates, which is really important, particularly for transfer learning.

[586] So really, I think in the last 12 months, a lot of people have realized that all this stuff is important.

[587] There's been a lot of great work coming out.

[588] And we're starting to see algorithms appear, which have very, very few dials, if any, that you have to touch.

[589] So I think what's going to happen is the idea of a learning rate, well, it almost already has disappeared in the latest research.

[590] and instead it's just like, you know, we know enough about how to interpret the gradients and the change of gradients we see to know how to set every parameter.

[591] So you see the future of deep learning where really, where's the input of a human expert needed?

[592] Well, hopefully the input of the human expert will be almost entirely unneeded from the deep learning point of view.

[593] So again, like Google's approach to this is to, try and use thousands of times more compute to run lots and lots of models at the same time and hope that one of them is good.

[594] A lot of mail kind of stuff, which I think is insane.

[595] When you better understand the mechanics of how models learn, you don't have to try a thousand different models to find which one happens to work the best.

[596] You can just jump straight to the best one, which means that it's more accessible in terms of compute, cheaper, and also with less high.

[597] parameters to set, it means you don't need deep learning experts to train your deep learning model for you, which means that domain experts can do more of the work, which means that now you can focus the human time on the kind of interpretation, the data gathering, identifying model errors and stuff like that.

[598] Yeah, the data side.

[599] How often do you work with data these days in terms of the cleaning, looking at it, like Darwin looked at different species while traveling about, do you look at data, have you in your roots and Kaggle?

[600] Always, yeah.

[601] Yeah, I mean, it's a key part of our course.

[602] It's like before we train a model in the course, we see how to look at the data.

[603] And then the first thing we do after we train our first model, which we fine tune an ImageNet model for five minutes.

[604] And then the thing we immediately do after that is we learn how to analyze the results of the model by looking at examples of misclassified images and looking at a classification matrix, and then doing like, research on Google to learn about the kinds of things that it's misclassifying.

[605] So to me, one of the really cool things about machine learning models in general is that when you interpret them, they tell you about things like what are the most important features, which groups you misclassifying, and they help you become a domain expert more quickly because you can focus your time on the bits that the model is telling you is important.

[606] So it lets you deal with things like data leakage.

[607] For example, if it says, oh, the main feature I'm looking at is customer ID, you know, and you're like, oh, customer ID should be predictive.

[608] And then you can talk to the people that manage customer IDs, and they'll tell you like, oh, yes, as soon as a customer's application is accepted, we add a one on the end of their customer ID or something, you know.

[609] So, yeah, model, looking at data, particularly from the lens of which parts of the data the model says it's important is super important.

[610] Yeah, and using kind of using the model to almost debug the data.

[611] Yeah, to learn more about the day.

[612] Exactly.

[613] What are the different cloud options for training your networks?

[614] Last question related to Donbench.

[615] Well, it's part of a lot of the work you do, but from a perspective of performance, I think you've written this in a blog post.

[616] There's AWS, there's TPU from Google.

[617] What's your sense?

[618] What the future holds?

[619] What would you recommend now in terms of training in the power?

[620] So from a hardware point of view, Google's TPUs and the best Nvidia GPUs are.

[621] similar.

[622] I mean, maybe the TPUs are like 30 % faster, but they're also much harder to program.

[623] There isn't a clear leader in terms of hardware right now, although much more importantly, the Nvidia's GPUs are much more programmable, they've got much more written for all them, so like that's the clear leader for me and where I would spend my time as a researcher and practitioner.

[624] But then in terms of the platform, I mean, we're super lucky now with stuff like Google, GCP, Google Cloud, and AWS that you can access a GPU pretty quickly and easily.

[625] But I mean, for AWS, it's still too hard.

[626] Like you have to find an AMI and get the instance running and then install the software you want and blah, blah, blah.

[627] GCP is currently the best way to get started on a full server environment because they have a fantastic fast AI in PiTorch, ready -to -go instance, which has all the courses pre -installed.

[628] It has Jupyter Notebook pre -running.

[629] Jupiter Notebook is this wonderful interactive computing system, which everybody basically should be using for any kind of data -driven research.

[630] But then even better than that, there are platforms like Salamander, which we own, and paper space, where literally you click a single button.

[631] And it pops up a Jupyter notebook straight away without any kind of installation or anything.

[632] And all the course notebooks are all pre -installed.

[633] So, like, for me, we, this is one of the things we spent a lot of time kind of curating and working on.

[634] Because when we first started our courses, the biggest problem was people dropped out of lesson one because they couldn't get an AWS instance running.

[635] So things are so much better now.

[636] And like we actually have, if you go to course .comfast.

[637] AI, the first thing it says is here's how to get started with your GPU.

[638] And there's like, you just click on the link and you click start and you're going.

[639] You will go GCP.

[640] I have to confess, I've never used the Google GCP.

[641] Yeah, GCP gives you $300 of compute for free, which is really nice.

[642] But as I say, salamander and paper space are even easier still.

[643] Okay.

[644] So from the perspective of deep learning frameworks, you work with Fast AI, you think it goes to this framework, and PiTorch and TensorFlow.

[645] What are the strengths of each platform, your perspective?

[646] So in terms of what we've done our research on and taught in our course, we started with Theano and Keras, and then we switched to TensorFlow and Keras, and then we switched to pie torch and then we switch to pie torch and fast AI.

[647] And that that kind of reflects a growth and development of the ecosystem of deep learning libraries.

[648] Theano and TensorFlow were great, but we're much harder to teach and to do research and development on because they define what's called a computational graph up front, a static graph, where you basically have to say, here are all the things that I'm going eventually do in my model and then later on you say okay do those things with this data and you can't like debug them you can't do them step by step you can't program them interactively in a jupiter notebook and so forth pie torch was not the first but pi torch was certainly the strongest entrant to come along and say let's not do it that way let's just use normal python and everything you know about in python is just going to work and we'll figure out how to make that run on the GPU as and when necessary.

[649] That turned out to be a huge, a huge leap in terms of what we could do with our research and what we could do with our teaching.

[650] Because it wasn't limiting.

[651] Yeah, I mean, it was critical for us for something like Dawn Bench to be able to rapidly try things.

[652] It's just so much harder to be a researcher and practitioner when you have to do everything up front and you can't inspect it.

[653] Problem with PytTorch is it's not at all accessible to newcomers because you have to like write your own training loop and manage the gradients and all this stuff.

[654] And it's also like not great for researchers because you're spending your time dealing with all this boilerplate and overhead rather than thinking about your algorithm.

[655] So we ended up writing this very multi -layered API that at the top level you can train a state of the art neural network and three lines of code.

[656] And which kind of talks to an API, which talks from API, which talks from an API, which, like, you can dive into at any level and get progressively closer to the machine kind of levels of control.

[657] And this is the fast AI library.

[658] That's been critical for us and for our students, and for lots of people that have won big learning competitions with it and written academic papers with it.

[659] It's made a big difference.

[660] We're still limited though by Python.

[661] And particularly this problem with things like recurrent neural nets say where you just can't change things unless you accept it going so slowly that it's impractical.

[662] So in the latest incarnation of the course and with some of the research we're now starting to do, we're starting to do some stuff in Swift.

[663] I think we're three years away from that being super practical, but I'm in no hurry.

[664] I'm very happy to invest the time to get there.

[665] But with that, we actually already have a nascent version of the Fast AI library for vision running on Switch for TensorFlow.

[666] Because Python for TensorFlow is not going to cut it.

[667] It's just a disaster.

[668] What they did was they tried to replicate the bits that people were saying they like about PyTorch, this kind of interactive computer.

[669] but they didn't actually change their foundational runtime components.

[670] So they kind of added this like syntax sugar they call Tf Eager, TensorFlow Eager, which makes it look a lot like PiTorch, but it's 10 times slower than PiTorch to actually do a step.

[671] So because they didn't invest the time in like retooling the foundations because their code base is so horribly complex.

[672] Yeah, I think it's probably very difficult to do that kind of retooling.

[673] Yeah, well, particularly the way TensorFlow was.

[674] written.

[675] It was written by a lot of people very quickly in a very disorganized way.

[676] So like when you actually look in the code as I do often, I'm always just like, oh God, what were they thinking?

[677] It's just, it's pretty awful.

[678] So I'm really extremely negative about the potential future for Python.

[679] Python for TensorFlow.

[680] But Swift for TensorFlow can be a different beast altogether.

[681] It can be like, it can basically be a layer on top of MLIR that, that, that, takes advantage of, you know, all the great compiler stuff that Swift builds on with LLVM and, yeah, it could be absolutely, I think it will be absolutely fantastic.

[682] Well, you're inspiring me to try.

[683] Evan truly felt the pain of TensorFlow 2 .0 Python.

[684] It's fine by me, but, uh, of...

[685] Yeah, I mean, it does the job if you're using, like, predefined things that somebody's already written.

[686] But if you actually compare, you know, like I've had to do, because I've been having to do a lot of stuff with TensorFlow recently, you actually compare like, okay, I want to write something from scratch.

[687] And you're like, I just keep finding it.

[688] Like, oh, it's running 10 times slower than pie torch.

[689] So is the biggest cost, let's throw running time out the window, how long it takes you to program?

[690] That's not too different now.

[691] Thanks to TensorFlow eager, that's not too different.

[692] But because so many things take so long to run, you wouldn't run it at 10 times slower.

[693] Like, you just go like, oh, this is taking too long.

[694] And also there's a lot of things which are just less programmable, like tf.

[695] Data, which is the way data processing works in TensorFlow is just this big mess.

[696] It's incredibly inefficient.

[697] And they kind of had to write it that way because of the TPU problems I described earlier.

[698] So I just, you know, I just feel like they've, got this huge technical debt, which they're not going to solve without starting from scratch.

[699] So here's an interesting question then.

[700] If there's a new student starting today, what would you recommend they use?

[701] Well, I mean, we obviously recommend Fast AI and Pye Torch because we teach new students, and that's what we teach with.

[702] So we would very strongly recommend that because it will let you get on top of the concepts much more quickly.

[703] So then you'll become an actually, and you'll also learn the actual state of the art techniques, you know, so you actually get world -class results.

[704] Honestly, it doesn't much matter what library you learn, because switching from China to MXNet to TensorFlow to pie torch is going to be a couple of days work as long as you understand the foundation as well.

[705] But you think we'll swift creep in there as a thing that people start using?

[706] Not for a few years, particularly because Swift has no data science community, libraries, fooling, and the Swift community has a total lack of appreciation and understanding of numeric computing.

[707] So, like, they keep on making stupid decisions.

[708] You know, for years, they've just done dumb things around performance and prioritization.

[709] Um, that's clearly changing now, um, because the developer of Chris, Chris, Chris, a developer of Swift, Chris Latner is working at Google on Swift for TensorFlow.

[710] So like, that's, that's a priority.

[711] It'll be interesting to see what happens with Apple because like, Apple hasn't shown any sign of caring about numeric programming in Swift.

[712] Um, so I mean, hopefully they'll get off their ass and start appreciating this.

[713] because currently all of their low -level libraries are not written in Swift.

[714] They're not particularly Swifty at all, stuff like CoreML.

[715] They're really pretty rubbish.

[716] So, yeah, so there's a long way to go.

[717] But at least one nice thing is that Swift for TensorFlow can actually directly use Python code and Python libraries in literally the entire Lesson One notebook of Fast AI runs in Swift right now in Python mode.

[718] that's a nice intermediate thing.

[719] How long does it take, if you look at the two fast AI courses, how long does it take to get from 0 to completing both courses?

[720] It varies a lot, somewhere between two months and two years, generally.

[721] So for two months, how many hours a day?

[722] So like somebody who is a very, competent coder can can do 70 hours per course and 70 seven zero yeah that's it okay yeah but a lot of people I know take a year off to study fast AI full time yeah and say at the end of the year they feel pretty competent because generally there's a lot of other things you do like they're generally they'll be entering Kaggle competitions they They might be reading Ian Goodfellow's book.

[723] They might, you know, they'll be doing a bunch of stuff.

[724] And often, you know, particularly if they are a domain expert, their coding skills might be a little on the pedestrian side.

[725] So part of it's just like doing a lot more writing.

[726] What do you find is the bottleneck for people usually, except getting started and setting stuff up?

[727] I would say coding.

[728] Yeah, I would say the best, the people who are strong coders pick it up the best.

[729] Yeah.

[730] Although another bottleneck is people who have a lot of experience of classic statistics can really struggle because the intuition is so the opposite of what they're used to.

[731] They're very used to like trying to reduce the number of parameters in their model and looking at individual coefficients and stuff like that.

[732] So I find people who have a lot of coding background and know nothing about statistics are generally going to be the best off.

[733] So you taught several courses on deep learning, and as Feynman said, the best way to understand something is to teach it.

[734] What have you learned about deep learning from teaching it?

[735] A lot.

[736] It's a key reason for me to teach the courses.

[737] I mean, obviously it's going to be necessary to achieve our goal of getting domain experts to be familiar with deep learning, but it was also necessary for me to achieve my goal of being really familiar with deep learning.

[738] I mean, to see so many domain experts from so many different backgrounds, it's definitely, I wouldn't say, taught me, but convinced me something that I like to believe which is true, which was anyone can do it.

[739] So there's a lot of kind of snobbishness out there about only certain people can learn a code, only certain people are going to be smart enough to, like, do AI.

[740] That's definitely bullshit.

[741] you know, I've seen so many people from so many different backgrounds get state of the art results in their domain areas now.

[742] It's definitely taught me that the key differentiator between people that succeed and people that fail is tenacity.

[743] That seems to be basically the only thing that matters.

[744] The people, a lot of people give up.

[745] But if the ones who don't give up, pretty much everybody succeeds, you know, even if at first I'm just kind of like thinking like wow they really aren't quite getting it yet are they but eventually people get it and they succeed so I think that's been I think they're both things I've liked to believe was true but I don't feel like I really had strong evidence for them to be true but now I can say I've seen it again and again so what advice do you have for someone who wants to get started in deep learning train lots of models that's That's how you learn it.

[746] So like, so I would, you know, I think, it's not just me. I think our course is very good, but also lots of people independently.

[747] I said it's very good.

[748] It recently won the COGX award for AI courses as being the best in the world.

[749] I'd say come to our course, course .comfastered AI.

[750] And the thing I keep on harping on in my lessons is train models, print out the inputs to the models, print out to the outputs to the models, like study, you know, change the inputs a bit.

[751] bit, look at how the outputs vary, just run lots of experiments to get an intuitive understanding of what's going on.

[752] To get hooked, do you think, you mentioned training, do you think just running the models inference, if we talk about getting started?

[753] No, you've got to find you in the models.

[754] So that's the critical thing, because at that point, you now have a model that's in your domain any area.

[755] So there's, there's, there's no point running somebody else's model because it's not your model.

[756] Like, so it only takes five minutes to fine -tune a model for the data you care about.

[757] And in lesson two of the course, we teach you how to create your own data set from scratch by scripting Google image search.

[758] So, and we show you how to actually create a web application running online.

[759] So I create one in the course that differentiates between a teddy bear, a grizzly bear and a brown bear.

[760] And it does it with basically 100 % accuracy.

[761] It took me about four minutes to scrape the images from Google search from the script.

[762] There's a little graphical widgets we have in the notebook that help you clean up the dataset.

[763] There's other widgets that help you study the results to see where the errors are happening.

[764] And so now we've got over a thousand replies in our Share Your Work Here thread of students saying, here's the thing I built.

[765] And so there's people who, like, and a lot of them are state of the art. Like somebody said, oh, I tried looking at Devon Gari characters and I couldn't believe it, the thing that came out was more accurate than the best academic paper after lesson one.

[766] And then there's others which are just more kind of fun like somebody who's doing Trinidad and Tobago hummingbirds.

[767] She said that's kind of their national bird.

[768] And she's got something that can now classify Trinidad and Tobago hummingbirds.

[769] So yeah, train models, fine -tuned models with your data set and then study their inputs and outputs.

[770] How much is fast AI courses?

[771] Free.

[772] Everything we do is three.

[773] We have no. revenue sources of any kind.

[774] It's just a service to the community.

[775] You're a saint.

[776] Okay, once a person understands the basics, trains a bunch of models.

[777] If we look at the scale of years, what advice do you have for someone wanting to eventually become an expert?

[778] Train lots of models.

[779] Specifically, train lots of models in your domain area.

[780] So an expert what, We don't need more expert, like, create slightly evolutionary research in areas that everybody's studying.

[781] We need experts at using deep learning to diagnose malaria, or we need experts at using deep learning to analyze language to study media bias, or we need experts in analyzing fisheries to identify problem areas in, you know, the ocean.

[782] You know, that's what we need.

[783] So, like, become the expert in your passion area.

[784] And this is a tool which you can use for just about anything.

[785] And you'll be able to do that thing better than other people, particularly by combining it with your passion and domain expertise.

[786] So that's really interesting.

[787] Even if you do want to innovate on transfer learning or apps, active learning.

[788] Your thought is, I mean, it's one I certainly share, is you also need to find a domain or a data set that you actually really care for.

[789] If you're not working on a real problem that you understand, how do you know if you're doing it any good?

[790] You know, how do you know if your results are good?

[791] How do you know if you're getting bad results?

[792] Why are you getting bad results?

[793] Is it a problem with the data?

[794] Like, how do you know you're doing anything useful.

[795] Yeah, to me, the only really interesting research is, not the only, but the vast majority of interesting research is like try and solve an actual problem and solve it really well.

[796] So both understanding sufficient tools on the deep learning side and becoming a domain expert in a particular domain are really things within reach for anybody.

[797] Yeah, I mean, to me I would compare it to like studying self -driving cars, having never looked at a car, or been in a car or turned a car on.

[798] Right.

[799] You know, which is like the way it is for a lot of people, they'll study some academic data set where they literally have no idea about that.

[800] By the way, I'm not sure how familiar you are with autonomous vehicles, but that is literally, you describe a large percentage of robotics folks working in a cell driving cars is they actually haven't considered driving.

[801] They haven't actually looked at what driving looks like.

[802] They haven't driven.

[803] And it's a problem because, you know, when you've actually driven, you know, like these are the things that have, happened to me when I was driving.

[804] There's nothing that beats the real world examples of just experiencing them.

[805] You've created many successful startups.

[806] What does it take to create a successful startup?

[807] Same thing as becoming a successful deep learning practitioner, which is not giving up.

[808] So you can run out of money or run out of time or run out of something, you know, but if you keep costs super low and try and save up some money beforehand so you can afford to have some time, then just sticking with it is one important thing.

[809] Doing something you understand and care about is important.

[810] By something I don't mean.

[811] The biggest problem I see with deep learning people is they do a PhD in deep learning and then they try and commercialize their PhD, which is a waste of time because that doesn't solve an action.

[812] problem.

[813] You picked your PhD topic because it was an interesting kind of engineering or math or research exercise.

[814] But yeah, if you've actually spent time as a recruiter and you know that most of your time was spent sifting through resumes and you know that most of the time you're just looking for certain kinds of things and you can try doing that with a model for a few minutes and see whether that's something which a model seems to be able to do as well as you could, then you're on the right track to creating a startup.

[815] And then I think just, yeah, just be pragmatic and try and stay away from venture capital money as long as possible, preferably forever.

[816] So yeah, on that point, do you venture capital, so did you, were you able to successfully run startups was self -funded?

[817] Yeah, so my first two were self -funded, and that was the right way to do it.

[818] Is that scary?

[819] No. The species startups are much more scary because you have these people on your back who do this all the time and who have done it for years telling you grow, grow, grow, grow.

[820] And they don't care if you fail.

[821] They only care if you don't grow fast enough.

[822] So that's scary.

[823] Whereas doing the ones myself, well, with partners who were friends.

[824] It's nice because we just went along at a pace that made sense and we were able to build it to something which was big enough that we never had to work again, but it was not big enough that any VC would think it was impressive.

[825] And that was enough for us to be excited, you know.

[826] So I thought that's a much better way to do things than most people.

[827] In generally speaking, not for yourself, but how do you make money during that process?

[828] Do you cut into savings?

[829] So, yeah.

[830] So I started fast mail and optimal decisions at the same time in 1999 with two different friends.

[831] And for FastMail, I guess I spent $70 a month on the server.

[832] And when the server ran out of space, I put a payments button on the front page and said, if you want more than 10 megaspase, you have to pay $10 a year.

[833] So run low, like, keep your cost down.

[834] Yeah, so I kept my cost down.

[835] and once I needed to spend more money, I asked people to spend the money for me, and that was that, basically, from then on.

[836] We were making money, and I was profitable from then.

[837] For optimal decisions, it was a bit harder because we were trying to sell something that was more like a $1 million sale, but what we did was we would sell scoping projects, So kind of like prototypey projects, but rather than doing it for free, we would sell them $50 ,000 to $100 ,000.

[838] So again, we were covering our costs and also making the client feel like we were doing something valuable.

[839] So in both cases, we were profitable from six months in.

[840] Nevertheless, it's scary.

[841] I mean, yeah, sure.

[842] I mean, it's scary before you jump in.

[843] and I just, I guess I was comparing it to the scaredness of VC.

[844] I felt like with VC stuff, it was more scary, kind of much more in somebody else's hands, you know, will they fund you or not, and what do they think of what you're doing?

[845] I also found it very difficult with VC's back startups to actually do the thing which I thought was important for the company rather than doing the thing which I thought would make the VC happy.

[846] Now, VC's always tell you not to do the thing that makes them happy, but then if you don't do the thing that makes them happy, they get sad.

[847] And do you think optimizing for the whatever they call it, the exit is a good thing to optimize for?

[848] I mean, it can be, but not at the VC level, because the VC exit needs to be, you know, a thousand X. So where else the lifestyle exit, if you can sell something for $10 million, then you've made it, right?

[849] So I don't, it depends.

[850] If you want to build something that's going to, you're kind of happy to do forever, then fine.

[851] If you want to build something, you want to sell in three years' time, that's fine, too.

[852] I mean, they're both perfectly good outcomes.

[853] So you're learning swift now, in a way.

[854] I mean, you already.

[855] And I read that you use, at least in some cases, space repetition as a mechanism for learning new things.

[856] I use Enki quite a lot myself.

[857] Me too.

[858] I actually never talk to anybody about it.

[859] Don't know how many people do it, but it works incredibly well for me. Can you talk to your experience?

[860] Like how did you, what do you, first of all, okay, let's back it up.

[861] What is space repetition?

[862] So space repetition is an idea created by a psychologist named Ebbinghaus, I don't know, it must be a couple hundred years ago or something, 50 years ago.

[863] He did something which sounds pretty damn tedious.

[864] He wrote down random sequences of letters on cards and tested how well he would remember those random sequences a day later or a week later, whatever.

[865] He discovered that there was this kind of a curve where his probability of remembering one of them would be dramatically smaller the next day and then a little bit small of the next day and a little bit smaller the next day.

[866] What he discovered is that if he revised those cards after a day, the probabilities would decrease at a smaller rate.

[867] And then if you revise them again a week later, they would decrease at a smaller rate again.

[868] And so he basically figured out a roughly optimal equation for when you should revise something you want to remember.

[869] So best repetition learning is using this simple algorithm, just something like, revise something after a day and then three days and then a week and then three weeks and so forth.

[870] And so if you use a program like Anki, as you know, it will just do that for you.

[871] And it will say, did you remember this?

[872] And if you say no, it will reschedule it back to be appear again like 10 times faster than it otherwise would have.

[873] It's a kind of a way of being guaranteed to learn something because by definition, if you're not learning it, it will be rescheduled to be revised more quickly.

[874] Unfortunately, though, it's also like it doesn't let you fool yourself.

[875] If you're not learning something, you know, like your revisions will just get more and more.

[876] So you have to find ways to learn things productively and effectively, like, treat your brain well.

[877] So using like mnemonics and stories and context and stuff like that.

[878] So, yeah, it's a super great technique.

[879] It's like learning how to learn is something which, everybody should learn before they actually learn anything but almost nobody does.

[880] So what have you so certainly works well for learning new languages for I mean for learning like small projects almost but do you you know I started using it for I forget who wrote a blog post about this inspired me it might have been you I'm not sure is I started when I read papers I'll concepts and ideas I'll put them Was it Michael Nielsen?

[881] It was Michael Nielsen.

[882] So Michael started doing this recently and has been writing about it.

[883] So the kind of today's Ebbinghouse is a guy called Peter Wozniak, who developed a system called Super Memo.

[884] And he's been basically trying to become like the world's greatest Renaissance man over the last few decades.

[885] He's basically lived his life with space repetition learning for everything.

[886] everything.

[887] I, and sort of like, Michael's only very recently got into this, but he started really getting excited about doing it for a lot of different things.

[888] For me personally, I actually don't use it for anything except Chinese.

[889] And the reason for that is that Chinese is specifically a thing.

[890] I made a conscious decision that I want to continue to remember, even if I don't get much of a chance to exercise it because, like, I'm not often in China, so I don't.

[891] Or else something like programming languages or papers, I have a very different approach, which is I try not to learn anything from them, but instead I try to identify the important concepts and, like, actually ingest them.

[892] So, like, really understand that concept deeply and study it carefully, well, decide if it really is important.

[893] If it is like incorporated into our library, you know, incorporated into how I do things, or decide it's not worth it.

[894] So I find I find I then remember the things that I care about because I'm using it all the time.

[895] So I've, for the last 25 years, I've committed to spending at least half of every day learning or practicing something new.

[896] which is all my colleagues have always hated because it always looks like I'm not working on what I'm meant to be working on, but it always means I do everything faster because I've been practicing a lot of stuff.

[897] So I kind of give myself a lot of opportunity to practice new things.

[898] And so I find now I don't, yeah, I don't often kind of find myself wishing I could remember something because if it's something that's useful, then I've been using it a lot.

[899] It's easy enough to look it up on Google.

[900] But speaking Chinese, you can't look it up on Google.

[901] Do you have advice for people learning new things?

[902] So what have you learned as a process?

[903] I mean, it all starts as just making the hours and the day available.

[904] Yeah, you've got to stick with it, which is, again, the number one thing that 99 % of people don't do.

[905] So the people I started learning Chinese with none of them were still doing it 12 months later.

[906] I'm still doing it 10 years later.

[907] I tried to stay in touch with them, but no one did it.

[908] For something like Chinese, like study how human learning, learning works.

[909] So every one of my Chinese flashcards is associated with a story and that story is specifically designed to be memorable and we find things memorable which are like funny or disgusting or sexy or related to people that we know will care about.

[910] So I try to make sure all those stories that are in my head have those characteristics.

[911] Yeah, so you won't remember things well if they don't have some context.

[912] And yeah, you won't remember them well if you you don't regularly practice them, whether it be just part of your day -to -day life or the Chinese semi -flash cards.

[913] I mean, the other thing is I'll let yourself fail sometimes.

[914] So, like, I've had various medical problems over the last few years, and basically my flashcards just stopped for about three years.

[915] And there have been other times I've stopped for a few months, and it's so hard because you get back to it, and it's like you have 18 ,000 cards due.

[916] It's like, and so you just have to go, all right, well, I can either stop and give up everything or just decide to do this every day for the next two years until I get back to it.

[917] The amazing thing has been that even after three years, I, you know, the Chinese was still in there.

[918] Like, it was so much faster to relearn than it was to learn the first time.

[919] Yeah, absolutely.

[920] It's in there.

[921] I have the same with guitar, with music and so on.

[922] It's sad.

[923] because the work sometimes takes away and then you won't play for a year.

[924] But really, if you then just get back to it every day, you're right there again.

[925] What do you think is the next big breakthrough in artificial intelligence?

[926] What are your hopes in deep learning or beyond that people should be working on or you hope there will be breakthroughs?

[927] I don't think it's possible to predict.

[928] I think what we already have is an incredibly powerful platform to solve lots of societally important problems that are currently unsolved.

[929] So I just hope that people will, lots of people will learn this toolkit and try to use it.

[930] I don't think we need a lot of new technological breakthroughs to do a lot of great work right now.

[931] And when do you think we're going to create a human level intelligence system?

[932] Do you think, how hard is it?

[933] How far away are we?

[934] Don't know.

[935] Don't know.

[936] I have no way to know.

[937] I don't know.

[938] Like, I don't know why people make predictions about this because there's no data and nothing to go on.

[939] And it's just like there's so many societally important problems to solve right now.

[940] I just don't find it a really interesting question to even answer.

[941] So in terms of societally important problems, what's the problem that is within reach?

[942] Well, I mean, for example, there are problems that AI creates, right?

[943] So most specifically, labor force displacement is going to be huge, and people keep making this frivolous econometric argument of being like, oh, there's been other things that aren't AI that have come along before and haven't created massive labor force displacement, therefore AI won't.

[944] So that's a serious concern for you?

[945] Oh, yeah.

[946] Andrew Yang is running on it.

[947] Yeah, it's, I'm desperately concerned.

[948] And you see already that the changing workplace has lived to a hollowing out of the middle class.

[949] you're seeing that students coming out of school today have a less rosy financial future ahead of them than the parents did, which has never happened in recent, in the last few hundred years.

[950] You know, we've always had progress before.

[951] And you see this turning into anxiety and despair and even violence.

[952] So I very much worry about that.

[953] You've written quite a bit about ethics, too.

[954] I do think that every data scientist working with deep learning needs to recognize they have an incredibly high leverage tool that they're using that can influence society in lots of ways.

[955] And if they're doing research, that that research is going to be used by people doing this kind of work.

[956] And they have a responsibility to consider the consequences and to think about things like how will humans be in the loop here?

[957] How do we avoid runaway feedback loops?

[958] How do we ensure an appeals process for humans that are impacted by my algorithm?

[959] How do I ensure that the constraints of my algorithm are adequately explained to the people that end up using them?

[960] There's all kinds of human issues which only data scientists are actually in the right place to educate people are about, but data scientists tend to think of themselves as just engineers and that they don't need to be part of, of that process, which is wrong.

[961] Well, you're in a perfect position to educate them better, to read literature, to read history, to learn from history.

[962] Well, Jeremy, thank you so much for everything you do for inspiring, huge amount of people, getting them into deep learning and having the ripple effects, the flap of a butterfly's wings, they'll probably change the world.

[963] So thank you very much.

[964] Cheers.