Words into Action | Progress from Large Language Models to AGI
20 Sept 2022 · 31 min
David Luan from Adept and Percy Liang from Stanford discuss where large language models are now and what comes next. They cover why companies deploy models like Copilot, the limits of training data, and whether to build your own model or use an API. Hallucinations and bias remain open problems.
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 Sam Motomidi interviews David Luan who is the co founder of ML research and product lab Adept, and Percy Lang, who is the Associate professor of Computer Science and Statistics at Stanford. In this conversation they discuss the major developments working with large scale language models. This interview took place during Greylock's Intelligent Future event, a day long summit featuring some of the leading voices in artificial intelligence. You can watch the video of this interview on our YouTube channel and you can read a transcript of the conversation on our website greylock.com youm can also find all other interviews from the Intelligent Future event on our website or through the Gray Matter podcast which you can find on your favorite streaming service.
Okay, David, Percy, I'm excited about this. There's no doubt that large scale models are topical for all of us here and I'm really excited to have the two of you to discuss them with. For those of you in the audience who aren't familiar with these two gentlemen, Percy is the Associate professor of Computer Science and Statistics at Stanford where among other things, he's the director for the center for Research on Foundation Models. And David is one of the co founders and CEO of adept, an ML research and product lab building general intelligence by enabling humans and computers to work together. And before Adept, David was at Google leading a lot of the large models effort and before that at OpenAI. And we're fortunate to get to partner with David and the team at Adept here at Greylock. Percy, David, thank you guys for being here and for doing this. So I want to start high level and just start with the state of the play. There's a lot of talk about large models and it's easy to forget that a lot of the recent breakthroughs and models that we're all familiar with, like Dall E and GPT or GPT3 are actually fairly recent. And so we're still in the early innings of these models running in production and delivering real concrete customer and user value. Maybe just give us the state of play, David, starting with you, like where are we with large scale models and what's the state of deployment of these models today?
Yeah, I think this stuff is just incredibly powerful, but I think we're still underestimating how much there is left to run on the stuff. Like it's still so incredibly early. Like just take a look at a couple different axes, right? Like when we were training these models at Google. It became incredibly clear up front that you could basically take a lot of these hand engineered machine learning models that people had been spending a lot of their time building, rip it out with this giant model, give it some fine tuning data and turn it into a smaller model again and serve it. And that would just end up outperforming all of these things that people had done in the past. The fact that they're able to improve existing things that companies are already using machine learning for, but also just how great it has been as a way to be able to create brand new AI products that couldn't exist before. It's fascinating to me to watch things like GitHub, Copilot and Jasper and stuff like that just hit a nerve so fast and go from zero to hero in terms of adoption. I think we're just in the very early innings of seeing a lot more of that. So I think that's Access one. I think Axis two too is just that. Primarily what we're talking about so far has been language models. Right. But there's so many other modalities, sources of human knowledge, all of this stuff. What happens when it's not just predicting the next token of text, it becomes about predicting all of those other different things and we're going to end up in a world where a lot of humanity's knowledge is going to get encoded in various different foundation models for many different things. And that's going to be really powerful as well.
Yeah, I kind of want to highlight, I agree with everything that David said. I want to emphasize one distinction he made, which is, you know, already with all the applications out there, these foundation models can just lift all boats and just make all the numbers kind of go up. I think another thing which is even more, I think, exciting is that there's a huge sea of applications that we're not even, maybe even dreaming of because we're kind of stuck in this paradigm where what is ML? Well, you could gather some data, you train on it, but with prompting and all these other zero shot capabilities, I think you're going to see a lot more kind of new types. So I think we should be looking not just for how to make kind of faster horses or faster cars, but kind of new types of applications.
Percy, maybe to follow up on that. I totally agree. And I think it connects to David's point around something like Copilot. And the thing that's amazing to me about something like Copilot is both how new of an experience it is and how quickly it's taken off and gone into end user adoption. What are some of the other areas that you're looking forward to and are excited about in terms of. Net new applications that become possible because of these large models?
Yeah, so I mean, maybe one general category you can think about is creation. So this includes code, text, proteins, videos, PowerPoint slides, anything that you can imagine humans kind of doing right now, which could be a creative or sort of a more of a, you know, sort of a more task oriented activity. You could imagine these systems being very in the. Helping you in the loop, taking you kind of much farther and giving you many more ideas. So I think the space is quite broad and I think underscoring the kind of multimodal aspect of this, which David touched on, is really important. Right now we have language models and we have code models and we have image models. But think about things that you could do when you mix these together, kind of creating different illustrated books or films or things like that. I think one thing that you have to deal with is the context, long context dependence. Right now you're generating single images or text up to maybe 2000 or 8000 depending on model tokens. But imagine generating full films. That's going to require pushing the technology farther. But we have the data and if we can harness that and scale up, then I think there's a lot of possibilities out there.
David, what would you add? I mean, at Adept, you guys spend a lot of time thinking about how to use these models to unlock new ways of collaborating with computers and software. I'm curious what some of the use cases you think about are.
So I think the thing that I'm most excited about right now is that I think all the creativity use cases that Percy just highlighted are going to be extremely powerful. I think what's fascinating about these models is if you ask these generative models to go do something for you in the real world, they kind of just pretend like they're doing something because they don't have a first class sense of what actions are and what affordances are on your computer. So the thing that I'm really excited about in particular is how do we bridge this gap? How do we train a foundation model of all of the actions that people take on a computer. And I think once you have that, you have this incredibly powerful base for being able to turn natural language into any sort of arbitrary complexity thing that you would then do on your machine.
So maybe if we take something like actuation as a key net new capability, or we take longer contexts as an Important net new capability. I think the form of the question is where do we still need to see key research unlocks and where are the key areas of focus to actually make like these products a reality?
I mean, I think there are maybe two sides of things. One is pushing up capabilities and one is making sure things, things are pushed up in a way that's robust and reliable and safe. So the first one is kind of in terms of scaling. If you think about video and the ability to scale to hundreds of thousands of sequence lengths, I think you're going to have to do something different. The transformer architecture has gotten us surprisingly far, but you need to do something different there. Um, and then I, I think, you know, David mentioned this briefly, but I, I think these models are still, you know, in some ways chatterbots. They, they give you the illusion that there's something good going on. And I think if in certain applications this is, this is actually, you know, okay, um, if there's kind of another external validity check on things and with the human in the loop doing things. Um, but I think there's a deep fundamental research question on how to make these models actually reliable. And there's many strategies that people have tried, you know, using reinforcement learning or using kind of more explanation based or retrieval augmented methods. But I feel like there's still something kind of deeper missing. And I think this is one thing I hope the academic community and researchers will work on to ensure that these foundation models have, you know, good and stable foundations as a way as opposed to shaky ones.
Yeah, I agree with a lot of what Percy just said. I think I would just add that like, you know, I think the default path that we're on is increasing scale and increasing data. And I think that will continue to lead to a lot of gains. But the question becomes how do we pull forward the future faster? And I think that there's a lot of different things that we should be thinking about. I think one is like specifically on the data side, I don't think most people, I'm curious, like later on I'd be curious to like at dinner and stuff to understand from the audience, like how many people would agree that actually I think we're much more constrained on data than we think. I think within the next couple of years everyone's going to have just to take language as an example, plus or minus 20% quality, similar number of tokens, web crawl as anybody else. So then the question becomes where next? So I think that's a really important question. I think we have another important question. When it comes to what does true creativity mean, I feel like to me, true creativity means being able to discover new knowledge. And I think the new knowledge discovery process, at least for foundation models, as we're training it today, as we actually get better at training these models, it actually just better models the training distribution. Right. And so, like, I think giving these models the ability to go, like, gather new information, be able to try out things, I think is also going to be really key. And finally, I think on the safety side, like, we have a lot, lot more to invest, a lot more questions that we have to go answer.
So let's get to safety in a moment, continuing on data, because I think that is a really important topic here. David, at Adept, you all are thinking about how to build products that humans collaborate with. And I think one of the nice consequences of that becomes this data flywheel. Can you maybe add a little bit about how you're thinking about that and how you're approaching designing products that end users will work with?
Yeah, I think that, like, it starts out with sort of having a pretty crisp definition of what we want the end game to look like. And I think for us, what we want to be building is we want to be building like, we want to be building like teammates and collaborators for people. Right? Like, like a series of increasingly powerful software tools that sort of help humans increase the level of abstraction at which they can interact with their machine. Right. Like, kind of like it doesn't like to do a different analogy. It doesn't replace the musician, but it gives musicians, synthesizers kind of that kind of analogy. Except for doing things on your computer, I think, because that's where we want to go. I think what's really important to us is how do we solve these HCI problems where it really feels like you're working together with the machine at the same time, using that as an opportunity for us to be able to learn from basically how humans break down really complicated problems, how humans actually get things done that may be part of things that are much more complicated than trajectories you might just be able to see.
On the Internet just to add something to that. I think the interaction piece is really interesting here because these models are in some ways the most interactive ML models we have. You have a playground. You type in a prompt and you immediately get as like you get to play with a model, as opposed to this kind of previous cycle where someone gathers some data, trains a model, and then you experience it kind of from the user. So the line between developer and user is actually Kind of interestingly getting kind of blurred, which I think is actually a good thing, because if you can kind of connect these two up, then you get kind of better experiences.
Is there anything interesting from like the Stanford, both the HCI perspective and the foundation models perspective on the research side that you all are working on around interaction?
Yeah, so one thing that we've been doing at Samford is as a part of a kind of a larger benchmarking effort, trying to understand the ways in which these models, what it means for kind of models to. Or humans to interact with these models. Right. Because the classic way that people think about these models is you train these models and then there's 100 benchmarks and you evaluate. And this is sort of taking the kind of automation approach. But as we know, a lot of the potential here is in copilot or autocomplete kind of experiences where there is a human in loop and humans, I mean, and Adeptus, I think, is also a good example of this. And what does that mean? Should we be building our models differently if we know that humans are going to be in the picture as opposed to you're doing kind of full automation? And that's kind of an interesting thing because maybe in some cases the model, you want a model not to just be, you know, accurate, but you want it to be more interpretable or more reliable or kind of understandable. And for creative applications, you may want model to actually have a kind of a broader distribution of outputs. And we're seeing some of this where, you know, what human, what is good for actually kind of interaction is not necessarily what's good for, just for the kind of the standard benchmarks. So that's really interesting.
How's that going to get resolved? Like I'm thinking about in classical, in a lot of classical machine learning applications, there's some, again, even there, it's still hazy, but there's some point of view on benchmarks, standards. There are different products out there that can actually measure these things around bias and auditing. As we massively blow up the scope around creativity, all of that kind of shifts. So how do you think this is going to resolve?
Yeah, I mean, so first order, you know, scale definitely is helping, so we're safe on that. If you scale up the models, I think it lifts all boats and then given a particular scale, then you have a question of, you know, where you're investing your resources. I think what we want to do is develop kind of effective surrogate metrics which you can actually evaluate, which correlate well with sort of human interaction. We don't really have a good handle on this quite yet. But having humans in a loop for kind of a, in an inner loop is also potentially kind of problematic and hard and not reproducible. So you want something that's easy to evaluate, but at the same time that's actually tracking what you care about.
So I want to shift to building products and companies around large scale models. And David, maybe I'll start with you. Like, there are people in the audience who are in the early stages of building these companies and one fundamental question is, okay, do you go build on top of an OpenAI API? Do you go build on something in the open source? Do you go build your own large model? How do you think a founder should navigate making that decision?
I think this is probably the biggest question for people to ask right now. I think the root thing that I think is worth answering first is what is the loop you're going to run for your company to compound? Like, is it going to be oriented towards, like really deeply understanding a particular customer use case? Is it going to be oriented towards some sort of data flywheel that you're trying to build? I think the general thing here is that, like, thinking about how that interfaces with the differentiation that you want to have as a business is going to be really key. Because I think the world that I don't think we want to live in is one where effectively these companies become sort of like outsourced customer discovery engines and then new Amazon Basics versions of these things come out over time. Right? Like, that would not be a particularly good world to live in. So I think figuring out what that compounding looks like is the most important first step. I think the other thing to think about here is just like, how many nines do you need? If you need a lot of nines of reliability, I think one thing that's really, really difficult is you just like you lack all the affordances that you could possibly want if you are sort of consuming this through an intermediary to get you to where you want you to be with your customers. So I think that because of those different reasons, you could end up choosing a very different point in space for how you want to ultimately consume these services.
Maybe just to add one thing is that one nice thing about having these APIs, it's extremely easy to get started and try something. You can sit down in the afternoon, you punch in some data, you can kind of get a sense of the possibilities. In some cases it's sort of a lower bound on how well, you can do because you spend an afternoon and if you invest in more and if you fine tune and build sort of custom things, it can only get better in some sense. So that I think has opened up a lot of the challenge is to even formulate what is the right problem to go on. And typically you don't know and you have to collect data and then you have to train a model and then that loop becomes very expensive. But if you could just sit down an afternoon, try a few things and maybe few shot your way to something that's actually reasonable now that kind of gets you kind of into a different part of the space and you can iterate much faster.
Yeah, it makes a lot of sense in terms of prototyping quickly and trying to take out product market fit risk. One question becomes, and personally I'm curious for your take on this, if you start that way, how do you over time build durability into your product? Because I could make the argument, hey, maybe you're just a thin layer on top of someone else's API. You can quickly de risk product market fit, but is there real durability in your layer of the stack?
Right, yeah, I mean I think, yeah, the transition out of API is a very discreet one in some sense. I mean I think it's a kind of a, you know, people also do like human wizard of odd experiments. You put a human there and you have the human do it and then you see kind of work out all the interface issues and whether this makes sense at all and, and then you try to kind of put something else, take the human out and now you can put an API there and you could see get a sense of what things are like. And then in some cases maybe fuchsia learning is actually for some things actually not that strong. If you have for example data and maybe a fine tuned T5 model or something much smaller can actually be effective. And I think the last thing in mind should be like let's go Pre train a 500 billion parameter model when you don't know what application you're building.
Maybe continuing on the theme of building on top of these models. Despite the magical qualities of these things, there's still limitations. One of the limitations is falsehoods and there are others that I think developers need to navigate as they think about building these applications. David, maybe starting with you, what do you think some of the key limitations are and how do you guide people around navigating those?
That's a really good question. I think falsehoods are definitely a very interesting thing to go talk about. These models love to be massive hallucination engines, and so getting them to stick to script can be quite difficult. I mean, I think in the research community we're all aware of a bunch of different techniques for improving that, from things like learning from human feedback to potentially augmenting these models with retrieval and such. I do think that on the topic of falsehoods in particular, like this idea of packing all of world facts into the parameters of a model is pretty inefficient and somewhat wasteful, especially when some of those facts change over time who may be running a particular country in a particular moment. And so I think it's pretty unlikely that's going to be the terminal state for a lot of these things. So I'm really excited for a lot of the research that will happen to improve that. But I think the other part actually goes back to a question of practicality and hci, which is that you kind of have a sense of like every year, you know, like we're pushing fundamental advancements on these models, they get somewhat better on a wide variety of different tasks that already show receptivity to scale and receptivity to more training data examples. But how do you sort of like surf this wave where the particular capabilities you're looking for from the model are good enough to be deployed, where you can, you can learn how to get from there to the finish line? And how do you work around some of these limitations is in the actual interface to these models, such that it doesn't become a problem for your users to use that? I think that's actually a really fascinating problem.
Yeah, I mean, these models I think are exciting. And the kind of flip side is that they have a ton of weaknesses. And in terms of falsehoods, it's generating things that are not true. Biases, kind of stereotypes, and basically all the bad, good and bad and ugly of the Internet kind of gets put into it. And I think it's actually much more nuanced than just like, let's remove all the incorrect facts and debias these models because their efforts on filtering, you can filter out kind of offensive language, but then you might end up marginalizing certain populations. And what is truth? We like to think there's a truth, but there's actually a lot of text which is just opinions and there's different viewpoints and a lot of it's not even falsifiable. So you can't talk about truth without even falsifiability. And in a lot of cases there are Some applications, for example, creative cases where yeah, you do want maybe things which are a bit more edgy and how you create fiction, for example. And if you, if you can't, if everything has to be true so you can't really, there's no easy way to kind of, even if you could throw out all the kind of quote unquote bad stuff. So I think one thing that maybe is a good framework to think about is that there's no one way to kind of make these models obviously much better. I think that what you want is control and documentation. You want to be able to understand, given a model, what is it capable of, what should it be used for and what it should not be. And this is tricky because these models have huge capability surface, right? You just get a prompt, you can put any string and get any other string back. So what am I supposed to do with it? What are the guarantees? And I think as a community we need to develop a better language for thinking about what are the possible inputs and outputs, what are the contracts like, the things that you have in traditional APIs and good old fashioned software engineering. We kind of need to import some of that so that downstream application developers can look at it. It's like, oh yeah, okay, I'll use this model, not that one, for my particular use case.
There's another side to this which, for lack of a better word, I'll use the word risk, which is if I'm a product builder and I'm building these models and building different products, there's different levels of risk I might be willing to take in terms of what I'm willing to ship to end users and the level of guardrails I need in place before I'm willing to ship. How do you guys think about that and frameworks around that?
So I think there's some interesting perspectives here, specifically around just like how do you sequence out the different applications that you want to go after? Right. I feel like if you can really one really nice property of these models is this really just so easy to go from zero to a hand wavy. 80% quality on a wide variety of tasks. For some of those tasks, that's all you need. And sometimes the iteration loop of having that 80% thing with humans is all you need to do to go run it over the finish line. I feel like right now the biggest opportunity we all have is starting out by first addressing things like that. But I think that over time, actually one of the things that Kevin said that I really liked is that there will be more of a Standardized toolkit for how to erase some of the lower hanging fruit. Risks related to generations that are inappropriate or models going off the rails in various different ways. I think there's another set of risks that are slightly longer term that I think are also really important to go think about. And I think those are definitely much harder.
Yeah. To build. On top of that, I think there's two, maybe different, also different categories or maybe one category of risk is also adversaries in the world. Whenever you have a product that's kind of getting enough traction, there's probably people who want to mess with you. And one example is data poisoning. And this I think hasn't really been borne out. There's some papers on it. But if you think about it, these models are trained on the entire whatever web crawl. So anyone can go put up a webpage or put something on GitHub and that can enter the training data. And these things are actually pretty hard to detect. So if you think from a security point of view, this is like a huge gaping hole in your system and a determined attacker could probably figure out a way to screw over your system. And the other thing to think about is misuse these systems. All systems. Powerful models like these are dual use technologies. There's a lot of immense good that you can do with them, but they can also be used for fraud, disinformation, spam, and all the things that we already know exists but now amplified. And that's kind of also a scary thought.
Yeah, definitely a lot of asymmetric capabilities here. Right. Because just like hooking up one of these giant code models to some RL agent to just get into systems, there's so many things out there that becomes way easier for malicious actors to do as a result.
Yeah, ATTCK is so much easier than defense.
I have a few more questions I want to get through, but just watching the time, I want to first open it up and see if there are questions in the audience.
This is a question for Percy.
From an academic standpoint, what is ideal wish list that you might have in ways that corporations and big companies that are building a lot of the ecosystem could help?
Yeah, I mean, I think one big thing is kind of openness and transparency. Transparency, which is something I think is really sorely missing today. I think if you look at the deep learning revolution, what's been great about it is that it's benefited from having an open ecosystem with toolkits like TensorFlow, PyTorch, data sets that are online tutorials and people can just download things Tinker and play with it, and it's much more accessible. And now we have models which are behind APIs and with charging a certain fees and things have. You can't really tinker as much with it. And also at the same time, a lot of organizations are addressing the same issues around. We talked about safety and misuse, but sort of there's not a really the agreement on what is the best practices. So I think what would be useful is to develop community norms around what is safe or what are best practices for mitigating some of these risks. And in order to do that, there has to be some level of openness as well. So that when a model is deployed, you got to get a sense of what these models are capable of and kind of benchmark them and document them in a way that the community knows how to respond, as opposed to, here is a thing you can play with. It might shoot yourself in the foot or it might not. Good luck.
We have time for one more question, so maybe I'll ask a final question which goes back to creativity. I think one of the important things to inspire in all of us is like, what's going to be possible, like, the magic of these models. And I think Dall E was an important moment for people to see, like, the type of creative generation that's possible, I guess for each of you. What are some of the things that you think are going to be possible in the way we interact with these models in a few years that you're most excited about? Maybe starting with you, David?
I think language, as we were talking about earlier, language is just the tip of the iceberg. Like, we're already seeing amazing things just with language. But I think when we start seeing foundation models or even bundle together foundation models that are multimodal for every domain of human knowledge, every type of input to a system or to ourselves that we care about. I just think we're going to end up with some truly, truly incredible, truly, truly incredible outcomes with that. I think if I were to choose a personal thing that I'm not working on, that I think would be really cool, actually, I think Percy and I talked about this once, is what happens when you start having foundation models for robots and when you sort of can take all of these demonstrations, all of the different trajectories of robots interfacing with the real world, and sort of like put them all into one particular system and then have them have the same type of generality that we've seen with language. I think that'd be incredible.
Yeah, yeah. I agree with that. And definitely thoughts. But maybe I'll end with a sort of a different perspective. I mean, well, not a different perspective, but another example, which is if you think about, we get excited about generating an image. It's just an image. And it's also something that you imagine artists being able to do. And if you think about, humans aren't changing that much. Computers are. And before a year ago or two years ago, we weren't able to do that. Now we can. And so if you kind of extrapolate now, image is only just. It's so small. Right. And you think about videos or now you think about kind of 3D scenes or immersive experiences, maybe like with Personas, you could imagine kind of generating kind of worlds in a sense. And that's kind of scary, but also sort of exciting. And I don't know, there could probably many possibilities there. But I think the bigness of things that you can create, I mean, if you think about these models as excellent creators of large objects now and you think about what are big objects? Well, there are kind of environments in some sense. And what if we could kind of do that? What would that look like? And what would you order? Kind of some applications that could unlock. That would be interesting to think about.
Yeah, there's a commonality there which again connects back to multiple modalities and just continuing to push scope. So it's a really exciting glimpse of the future. Percy, David, thank you guys so much for doing this.
Thank you.
Thank you.
That concludes this episode of Gray Matter. Like what you hear, we encourage you to rate and review Gray Matter on your favorite podcast platform. We sincerely appreciate your feedback. You can also find all content on our website@greylock.com or on our YouTube channel. You can also follow us on Twitter reylockvc. 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