Microsoft CTO Kevin Scott | The Impact of AI on Cognitive Work
18 Oct 2022 · 32 min
Kevin Scott, Microsoft's CTO, discusses how AI tools like GitHub Copilot are reshaping software development. Copilot generated over 40% of code for some users at launch. Scott argues startups should build infrastructure around AI models rather than race to train bigger ones.
Chapters
Hi everyone. Welcome to Grey Matter, the podcast from Greylock, where we share stories from company builders and business leaders. I'm Heather Mack, head of Editorial at Greylock. Today, Greylock General partner Reid Hoffman interviews Kevin Scott, who's the Chief Technology Officer at Microsoft. In addition to his deep understanding of how enterprise organizations conceive, develop and adopt new technology, Kevin is known for his dedication to figuring out how artificial intelligence can level the playing field for society. This interview took place during Greylock's Intelligent Future event, a day long summer featuring experts and entrepreneurs in artificial intelligence. You can watch the video of this interview on our YouTube channel and you can read the transcript on our website greylock.com welcome everyone.
Thank you for coming. Kevin. I'll say just this simply. Kevin is one of the very few people I've seen when he came and joined LinkedIn who improved both the immense quality of of the engineering at LinkedIn, the strategy of the engineering, and the scale of it on all three vectors joining years into it. And that is a very rare achievement. And then of course, when Satya and Bill met him for the first time, they called me immediately after and said, don't you think he should be the CTO of Microsoft? And he was like, yes, that's a good idea. Now let's actually start with the learnings around Copilot, because there may be awareness here about what's going on with Copilot, but the fact is it's a lens into the changing paradigm of how coding and engineering development is going to work overall. So why don't we start there, describe a little bit of what's going on with Copilot and then describe how this is going to change how development is done.
Yeah, I think there are a couple of things, at least to be learned from the Copilot experience that are relevant to folks who are building machine learning systems or companies around AI. So for those who don't know, GitHub, Copilot is a programming assistant tool that can take natural language prompts like you can express a program you would like to exist and it generates code for you. And shockingly, the performance of the system is improving at a pretty steady clip. But when we made it generally available a couple of months ago, it was producing more than 40% of the code that its users were producing overall. So it's qualitatively one of those tools, tools where someone gets access to it. Not everyone, right? There are people who don't like GitHub Copilot, which is fine, but many, many, many of its users are like this is so valuable to me. You will get it from my cold dead hands. So two interesting things about copilot. One is when we started development on it, we had evidence that large language models were actually going to be able to do this translation from natural language to code. And even when we showed people inside of Microsoft that this might be possible, we got a range of reactions from no, this isn't real, this is impossible, it's never going to work. To maybe it'll work, but I'm highly skeptical. And so a big part of what we had to do is to overcome that sort of negative bias to actually get going, because we had evidence not only that it was going to work, but we had a really concrete plan for how we were going to make it better and better and better over time. And so I think that is a thing that we're seeing across the board with these foundation models. Like people, people sort of look at them and there's certainly a degree of hype around them, but there's skepticism that they actually are going to be useful for the things that people want to build. And I think the second thing, maybe the more profound thing about GitHub Copilot is it is just one copilot of potential, very many. What we were able to do with copilot of automating, this particular type of, not even automating, just sort of assisting people with a particular type of cognitive work is going to be just directly applicable, replicable to a whole bunch of other domains. So like any sort of repetitive cognitive work is likely going to have a copilot in the future. And like the model that powers GitHub Copilot, OpenAI's Codex model really does let you think about software development in a different way. So like there is now a mode of software development that you can do which is having a conversation iteratively describing an application into existence. So it's not like one utterance or one prompt generates an entire program, but like you sort of say like here's what I would like. It generates something and you're like, okay, like that's good but like augment it in this way, change this way. And so like it's a multi turn dialogue that you're having with this system to get and like I've got dozens of these demos that we built inside of Microsoft using the API. And you know, increasingly as people get access to the Codex API itself, like lots and lots of people are seeing the power of this.
So first, one part of this, which is what is this going to mean for the quality of software development, error rates, security, ability to do new kinds of work, and so give a little bit of the lens of what you're seeing in copilot across these vectors and others.
Yeah, it's early days, so we will see. I mean, the thing to remember with GitHub Copilot and with codecs in general is generating code. It doesn't absolve you of the responsibility to make sure that your product is high quality and error free and safe. And so there's still a huge amount of responsibility that lies with the developer, the entrepreneur, on just making sure that they're building a thing that has integrity. Maybe the hardest part of building GitHub Copilot was not the AI bits that translate natural language into code. It was the sort of safety layer that sits on top of the foundation model that looks at the input prompts and the outputs of the model and tries to make sure that it's dealing with inappropriate biases in the model. That is dealing with security, that's dealing with safety issues, that's dealing with what happens if the model happens to, to parrot something that's copyrighted or under some kind of license that would make it illegal for it to emit what it's potentially emitting. And so there's just a ton of work that we had to do to build that layer and I think there would be more work that we have to do over time. The exciting thing about it is it does two things. One is it takes takes developers who are in high demand in a world that has a boundless appetite for software. And it's a really interesting tool to help with productivity. But the more interesting thing is I think it opens aperture up on who gets to be a developer, which can be both good and bad. I'm on the good side of the equation, but mindful of, you know, you're gonna have a whole bunch of human beings who are gonna be able to build complicated things with, you know, with this new capability. And like, we have to make sure that like you're dealing with all of the security and safety stuff in a pretty rigorous way.
Well, one of the things that's pretty central around all of these foundational large language models is the scale and how they're playing. And you know, obviously we build these large ones. There's a set of comments I'm going to ask you about that and then there's also going to be a whole bunch of other ones that are made as well. Just because, yes, you're building a x100 billion parameter model, but there's still people can go make and do pretty amazing things with a 6 billion parameter model or a 20 billion parameter model. So say a little bit about, let's start with what are the implications of the fact that there is this massive scale set of models that a few number of companies can build and what is the implications in the developer ecosystem and the possibilities in the world from that?
Yep. So the models are getting like the foundation models, like the language models, and increasing like what we'll see this year, like multimodal models. So things that are building representations of the world across multiple different domains. They're just going to get more and more expensive to build just because it's massive amounts of compute infrastructure required and there doesn't appear to be a point of diminishing marginal return that we're approaching on scale. So you make them bigger, and I'm making this sound way easier than it actually is, but you make them bigger, they become more powerful at the tasks to which they've already been put in their smaller incarnations, and they also become broader at the same time so they can be used for a broader set of things than the previous smaller incarnations of the model were able to do. So there's just plenty of incentive to go invest in bigger and bigger iterations of these models and to make sure that the foundation that you're building is more and more powerful over time. The way that we think about it and the way that OpenAI, who's our partner thinks about this is we want to make them accessible through APIs so that you actually have a pretty rich third party developer ecosystem that's building on top of the models. Like I don't think it's hard to imagine what individual company, even one that is worth a trillion, a trillion and a half, 2 trillion. Like whatever the big companies are that some of us work for are going to have enough imagination and resources to build all of the things that can be built that will serve the public good and humanity and like produce a whole lot of value ourselves. And so it's just sort of exciting. Like even I was browsing through the news yesterday and just the number of excited articles about what people are doing with GPT3, which is now a relatively ubiquitous thing, it's like two and a half years old at this point. But like there's just a huge amount of energy around people building things on top of this and like that's super exciting and like it just gets better and more interesting over time.
One of the questions Some entrepreneurs have asked is given that there will be a relatively small number of the super scale models provided through APIs, what are the kinds of ways they should think about distinguishing their businesses as Bill and what are some of the things that you would think are, you know, kind of ideas and lenses, things to keep in mind?
Yeah, look, so I think to me that is the most interesting thing here. So like there is a bunch of interest in computer science and systems challenges like building really big models, but I don't know that there need to be 15 or 20 platforms out there for things that are going to eventually do substantially the same thing. It'll be good to have a few of them because competition's good and you want to make sure that we're making things better and prices are not out of whack with reality. But the interesting thing is just the things that everybody knows about building businesses always you're going to have a point of view on a customer need. You'll understand the customer better than the big companies. Probably, probably you will be nimble in picking these things up and just very quickly iterating on things that are highly valuable for the customer. The opportunities are huge. So think about the large models as a technology enabler, not as the product that you're building.
And what are the. I mean it's very early days so we don't really know what this real roadmap will look like. But obviously there's a bunch of times when you say look, you should actually get the absolute best thing you can, which is the largest possible model that's trained well by a very high elite team and a huge amount of money has gone into constructing this. What are the cases in which going off and doing your own smaller model might make sense? What are some of the possible lenses or principles on that?
Well, I think.
So.
The tricky thing about the moment right now is our intuitions are being challenged and this is the thing that we face at Microsoft. We are re architecting ourselves internally to more and more use these foundation models and have fewer and fewer teams who are building end to end big things themselves. The default intuition is oh, I will be able to do better than this big general model if like I have my own data and like I get to choose my model architecture and like I train it and fine tune it in like this very bespoke way. And some of the times that's going to be wrong and some of the times that's going to be right. And so like the thing that I would look at is I'd Start with like, can I get access to this big model? And is there a way to do prompt engineering or fine tuning on top of the big model with micro data and for my use case, that will make it performant. And if you can do that, then you probably are architecting yourself in a way where when the foundation model gets bigger and more powerful, you can just swap that in and your application will get bigger and more powerful. You're just inheriting the improvements that are getting amortized across a whole bunch of different applications. But sometimes you're going to have to build something that's really custom. Like the big foundation models just don't have the thing in scope that you want to do. A good example, for instance, is we are building a whole bunch of models for science right now, where the model architectures and the data for things that are really good for language applications don't help you much in making a, a molecular dynamic simulation, like where you're trying to get to fast quantum accurate models of how atoms interact with one another.
Well, let's linger on science for a bit because it's actually among the accelerants that I think that probably most of the people in this room have some sense of. But it's super important, which is science is surprisingly amplified by tooling. And typically people think of the tooling as, oh, it's a new telescope or it's a new collider or new da, da, da. But actually part of what we're getting is we're getting the tuning through new tools, through software, through these models. So what we've seen, obviously AlphaFold, we've seen Bakerfold, we've seen some of this stuff. What are some of the things that are coming in terms of the science, tooling and accelerations?
So there are two categories. Apologies for getting dorky here. So for the computer scientists in the room, there are two categories of really hard problems in the sciences. You've got this collection of combinatorial optimization problems where you've got something discrete and you want to optimize something about this discrete system. And then you have numerical optimization problems, which are usually systems of highly nonlinear partial differential equations that describe something about the functioning of physics or the natural world. In both cases, you have a model of a system that's super complicated.
So.
Complicated, in fact, that all you're able to do is make a bunch of painful compromises about how you're trying to get to an optimal or near optimal solution to a problem. So with combinatorial optimizations, you typically use a bunch of heuristics. Like you sort of stare at the problem domain for a while and you're like, okay, well if I do this hacky thing or this other hacky thing, then I can make this thing that otherwise is MP complete or MP hard converge faster. In these numerical optimization systems you just sort of make sort of a whole bunch of different assumptions. It's like I'm going to like make approximations to like how I solve this, like the wave equation. Like I'm going to compromise on the resolution of the system. I'm going to compromise on like the number of time steps or like how big the time steps are that I'm making. And so what we are seeing in both of those styles of systems now and like you can sort of pick up a copy of Nature, Nature of Science any given week and see someone using these techniques is that you can put an AI self supervised system into these simulation loops where it's learning from the full granularity system. Like you just sort of run it grindingly slow at full resolution and you train a model that learns something about that domain and once you have the model you put it into the core of the optimization loop and then things just sort of go faster. There's a bunch of research papers, like a really good one from folks at Caltech. They won a best award papers neural differential operators. They basically came up with a method of solving Navier Stokes which, which is the computational fluid dynamics partial differential equations. And they applied it to airfoil design and they were getting like 100,000x speed ups over the previous best in breed system without losing anything in terms of quality. Extraordinary. And so I think there's just a lot of opportunity there to. And it means better medicines, it means maybe we find you know, carbon fixing catalyst that like we don't know about now. Like I'm just as excited, maybe more excited about that than like some of the things that we get when we finally have a working quantum computer with more than 50 qubits.
Well yeah, 50. More than 50 logical qubits.
Correct.
Yes. Classic thing for folks. What do you think is the, I mean there's been a lot of, there's been some reporting on, on the AI acceleration, AlphaFold, et cetera, on biological things. What do you think are some of the other science areas that people aren't paying as much attention to? You also get that acceleration?
I mean I think it's pretty broad. So I would not underestimate even in biology how interesting this is for materials design or like things where like in order to transition to a, like a carbon free economy. It's not just about like getting rid of internal combustion engines. Like you have a whole bunch of materials where either the production of the material consumes a bunch of energy that's carbon intensive, or where like the thing itself, like plastics for instance, like, like require hydrocarbons. And so I think there's a huge number of really interesting materials problems that these AI systems will accelerate.
One of the ones that I heard about relatively recently was actually in fact the simulation of certain kinds of fusion reactions relative to using hydrocarbons as the energy chain within them. And the simulation is one of the things that actually increases the probability that we could make that work.
Yeah, right, correct. Well, even in things like there are a couple of really promising fusion energy companies out there right now, like two that I'm tracking pretty closely that are making really, really fast progress. And it's one of the things that you would hope would come into existence. If either one of these companies are successful, you should be able to pretty rapidly, like small numbers of decades, get a large amount of very cheap energy that's sustainable, deployed. And a big part of what they're doing is they need to be able, in order for them to move fast, to move at software rate, they need to be able to simulate a bunch of stuff at super high fidelity. And so these AI systems there just changes the rate of iteration that they can do because otherwise you're sort of stuck doing things like Iter, where you have to spend $50 billion building one tokamak and you'll sort of see if it works or not.
So after this question, I'm going to ask the audience if they have a question or two that they may want to contribute. I have enough for us to be talking through tomorrow, so I will choose the last one is it's a little bit of a. You can draw a line because I know your point of view on this, but you can draw a line from some of the things we've already asked to. You've already answered to this, but I think it's worth calling out. How does the world of knowledge and professional work change what parts are replaced, what parts are amplified, what parts are modified? And obviously again, you could answer that for. So, you know, given of course the book Rebuilding the American Dream, a bunch of other things. What would be some of the lenses that you would say for what you see coming?
Yeah, and so this is just my opinion. So there are a bunch of different points of view on this. I think the thing, you know Nero and Aurora and like some of the stuff that you're gonna see very shortly notwithstanding, I think one of the things that we maybe have done over the past decade is sort of overestimated the amount of change that AI is going to produce for like industrial applications and manufacturing and sort of these interfaces of technology in the real world. And we've underestimated like how much impact it's going to make to cognitive work. And so I think in particular.
Any.
Repetitive cognitive work, no matter how sophisticated it is, like whether it's programming or it's sort of thinking about experiment design, if you're a physicist or just sort of pick your thing, marking up contracts like diagnosing illness, most of those things are entirely in scope for these AI systems. And I think people even are going to be shocked this year to see how big a step we're going to make again. I think every year we get surprised by what happens. You and I are both friends with Demis, and even though they're Google and not Microsoft, you have to just be awed by what DeepMind has done with AlphaFold and the contribution that they made to science. And so we've had copilot, we have AlphaFold's protein data bank last year. I think the things coming this year are going to be even bigger. Most of them will directly impact on cognitive work. And so that doesn't mean that they're going to be a bunch of, I don't think they're going to be a bunch of AI lawyers or AI programmers that are going to do 100% of those jobs. It's that we're going to have real productivity gains for knowledge work in ways that we really haven't had since the, maybe the onset of the Internet? Yeah, I completely and like maybe more than the Internet.
Yeah, I completely agree. All right, so question here. Yep.
Thank you. Reid and Kevin, I'm curious. You know, I fully agree when you said that not all applications and innovation is going to come from a bunch of few large companies. You also mentioned about some of the the initiatives through API exposure that, you know, you think this could be facilitated. What other ideas do you think could help proliferate the ecosystem around and from your long spanning career? You know, what are some of the things that you could see from, from past history as well? That's one. And second, I was curious for all the initiatives that you've described within your organization, are you looking at any optimization efficiencies at this point and if there are any thoughts to share on that.
Thank you.
I think both of those are super good questions. I mean, I will sort of say that this assertion that I have that I don't think big companies will be able to do it all themselves is like part of that's reality and part of it's hope. I really do hope for the sake of the world that you don't have like two or three ultra rich coastal urban innovation center companies making all of the decisions about where the material productivity gains in the world come with and what problems are important to solve and which problems aren't. That just sounds horrific to me. My personal bias. So look, I think one of the opportunities for maybe the folks in this room like entrepreneurs is even if you probably aren't going to see, just because it's so capital intensive, like a ton of folks building models that cost a billion dollars each to train and we'll be there at some point in the not too distant future, given how things are scaling. I think there's so much stuff like infrastructure that has to get built.
So.
So it's not just like, hey, you build the models, you wrap them with APIs and make them accessible to other folks. I think it is an entire machine learning development ecosystem that has to get built around taking dependencies on large models. So helping people with prompt engineering like fine tuning, how you manage data privacy and provenance, like versioning, fine tuning, data managing experiments. There's a whole set of things that we had to build for the previous generation of machine learning. I think you're going to have all of those things need to be rethought for foundation models and that application stack and you're going to have to have a whole bunch of new things. One of the things we're all probably off building right now that we haven't collectively expose to the public are safety and moderation layers. So like this thing that sits on top or in between the user and Codex and GitHub Copilot, like that's a component that somebody could turn into infrastructure that everybody's going to need. Like we need safety and security and responsibility management for all of these things, especially as the applications and the models get more powerful. So I think it's just a bunch of opportunity, it's interesting, it's exciting, it needs to get built. Even that stuff I don't think gets built entirely by Google and Microsoft and Alibaba or whoever else is Baidu, who's going to build this stuff? And on your second question, for sure, we're thinking about efficiency. Like you'd be an idiot not to be thinking about efficiency when you're burning as much compute as we are. And they're interesting efficiency problems in general. Like, I probably can't say too much specifically about what we're doing, but, like, one of the really interesting things, like there's been a bunch of stuff written about, like, the carbon footprint of training big models. The interesting thing is that the carbon footprint of training a big model relative to the rest of the cloud computing footprint of a big provider is de minimis. And the cloud computing carbon footprint, given how we are able to optimize that energy consumption relative to global carbon footprint, also de minimis. But like, the exciting thing is like when you can build a foundation model, like, opposed to the way that we used to, like build things end to end, where you've got 100 different, like vertical machine learning stacks inside of a company, like, you can take a whole bunch of that stuff and like put it into one component. Like, that's a really interesting optimization surface area. And so, like, we think we're actually already getting wins from this where we can amortize the cost of that training across so many different things. Like, we've got hundreds and hundreds of features that we're building on top of large models right now inside of the company. And each one of those is a thing that either wouldn't exist because it would have been too expensive to do before or impossible or something that would have had its own vertical stack consuming a ton more resources in aggregate than what we're doing right now.
And so the thing I would add to that is because I think the whole carbon footprint of doing these large models idiotic, is that the application of these models to being energy efficient. Like, for example, one of the things that DeepMind did, which is study the data centers and figure out how to be more inefficient, is actually NET super positive 100%. Yeah.
Like, we have these large models right now optimizing like the energy footprint of our data centers and the results are real. Yeah, I mean, like, we're even doing things like we are selling excess. We're selling excess stored energy in our uninterruptible power supply infrastructure back to the grid and like using AI systems to bid in the energy spot markets for.
Power, as an example. All right, as you can tell, I can easily and very happily talk to Kevin for hours. Thank you, Kevin.
Thank you, Kevin.
That concludes this episode of Gray Matter. If you like what you hear, please subscribe. Wherever you get your podcasts, you can also check out all Gray Matter content on our website, greylock.com blog and you can follow us on Twitter at greylockvc. I'm Heather Mack. Thanks for listening.
More from Jerry
"Ship Pricing as Fast as Product" - CEO Alvaro Morales on Orb's Mission to Revolutionize Billing Infrastructure