podcasts / No Priors: Artificial Intelligence | Technology | Startups / episode
No Priors: Artificial Intelligence | Technology | Startups cover art
podcast
📅 ⏱ 46 min episode · summary ~2 min read 📝 Transcript · 7,419 words 🎙 Percy Liang

Percy Liang: No Priors: Artificial Intelligence transcript

No Priors: Artificial Intelligence | Technology | Startups · Transcript & summary by WhipScribe

A Stanford researcher who helped coin the term foundation models explains why universities still matter in AI and where the field may go next.

Read the transcript Episode page ↗
🔔 Get every new No Priors: Artificial Intelligence transcript by emailOne email per new episode. Unsubscribe in every message.
One email per new episode, unsubscribe in every message. Not shared with the publisher.
In this episodeCenter for Research on Foundation ModelsGPT-3ChatGPTHELMTogetherPubMedSQuADBERTPyTorchTensorFlow

▸Chapters

Tap a chapter to play it from that moment in the show's own player.

▸Key takeaways

01Percy Liang, a Stanford computer science professor, directs the Center for Research on Foundation Models, founded in 2021.
02GPT-3 showed in-context learning: a model picks up a new task from a few examples in the prompt, with no retraining.
03Liang's Center for Research on Foundation Models draws over 30 faculty from 10 Stanford departments, making it interdisciplinary.
04Liang warns that closed APIs and secret training recipes stop researchers from checking how models like GPT-3 actually work.
05Liang hopes the transformer will be replaced within 10 years, saying there is no scientific reason it is the final architecture.

▸Notable quotes

“Yeah, so I think there's pre-training, which is predicting the next word and developing a world model, so to speak.” Percy Liang · at 26:12 — ▶ hear it from here
“I think transparency is necessary, but not sufficient.” Percy Liang · at 40:46 — ▶ hear it from here

▸What this episode covers

Percy Liang, a Stanford computer science professor who directs the Center for Research on Foundation Models, traces his path from two decades of language research to a turning point. What changed his view was GPT-3, whose in-context learning let one general model take on new tasks from instructions in a prompt, rather than requiring a dedicated system for each task. He argues this weakens the old idea of a task as the basic unit of AI, and his center coined the term foundation models to describe a broader, multimodal shift.

On the academic side, Liang says universities should not try to win on raw scale, since companies with large data and compute can push through many barriers. Academia's comparative advantage is explaining why models work, which training data, architecture and objectives matter, and what social effects follow. He describes the Stanford center's interdisciplinary work on copyright, bias and disinformation, and his push for transparency as a norm, comparing it to nutrition labels, because closed APIs and secret training recipes limit what outsiders can check.

Looking ahead, Liang argues that human-level performance is the wrong yardstick and that the field should define objective measures such as reliability and grounding. He describes HELM, a benchmark that tests dozens of models and is refreshed every two weeks, and Together, a project that pools idle computers for training. He doubts the transformer will remain the standard for long, and says his own view of AGI has moved from dismissing it toward staying open-minded.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸Percy Liang on No Priors: Artificial Intelligence: the answers

Who is Percy Liang?

Percy Liang is a Stanford computer science professor and director of the Center for Research on Foundation Models. He has worked in machine learning and natural language processing for over 20 years, starting as an undergraduate at MIT.

What did Percy Liang say about GPT-3?

Percy Liang said GPT-3 was the moment he decided to focus on foundation models. What shocked him was not only fluent text but in-context learning: a model prompted with instructions and examples works out the task on the fly, which he called a paradigm shift away from bespoke systems for each task.

“it wasn't so much the capabilities of the model that shocked me”Percy Liang · 3:25

What did Percy Liang say about Together?

Percy Liang said Together was founded on the premise that compute is a central bottleneck for foundation models, while much computing capacity sits idle. The company aims to harness decentralized compute for research and commercial use, and he says the hard part is that foundation models need fast interconnects that home computers lack.

“Whereas if you just grab your average desktop or home interconnect, it's 100 times or more slower.”Percy Liang · 30:54

What did Percy Liang say about HELM?

Percy Liang described HELM, short for Holistic Evaluation of Language Models, as a project that evaluates models on accuracy, robustness, calibration, fairness, bias, toxicity and efficiency. The first run covered 30 models, 42 scenarios and seven metrics, and the project is refreshed every two weeks as new models appear.

“HELM stands for Holistic Evaluation of Language Models, which is this project that happened over the last year.”Percy Liang · 35:17

What did Percy Liang say about Transformer architecture?

Percy Liang said he really hopes that in 10 years the field will not be using the transformer, because it is a good architecture that people have not needed to improve, but there is no scientific reason to believe it is the final one. He argues academia is well suited to challenge that status quo.

“People have tried to improve it, but it's sort of like kind of good enough for people to press ahead.”Percy Liang · 27:28

What is Percy Liang's main argument on No Priors?

Percy Liang argues that academia should focus on understanding why large AI models work and what their social impact is, since companies with data and compute can scale past barriers. He also argues for transparency and open access to foundation models, and for objective measures of AI rather than human-level benchmarks.

Mentioned in this episode

  • OtherCenter for Research on Foundation Models
  • ProductGPT-3
  • ProductChatGPT
  • ProductHELM
  • CompanyTogether
  • OtherPubMed
  • OtherSQuAD
  • ProductBERT
  • ProductPyTorch
  • ProductTensorFlow

Episode facts

Released
March 9, 2023
Length
46 minutes

▸Questions this episode answers

Q1What did Percy Liang say about foundation models on No Priors?

Percy Liang said foundation models shifted AI from building a separate system for each task to a general model that can be prompted to do many things. He credits GPT-3 with showing this, because it learned new tasks from examples placed in the prompt. He says the idea of a task, which is central to AI, begins to dissolve under this approach, and his Stanford center coined the term foundation models in 2021 to describe a broader, multimodal shift.

Q2What did Percy Liang say about in-context learning in GPT-3?

Liang said in-context learning surprised many researchers, including himself. A model prompted with an instruction and a few input-output examples works out the task on the fly, without designers hand-coding that ability. He calls it emergent, though it is not fully reliable and improves with better models and data.

Q3Why does Percy Liang think academia should study AI models rather than scale them?

Liang argues that companies with large amounts of data and compute can scale past many barriers, so academia's job is understanding why these models work. That includes which training data, architecture and objectives matter, and what social effects they have. He says the Stanford center has over 30 faculty across 10 departments looking at economics, copyright, bias, disinformation and clinical use.

Q4What is Percy Liang's view on open versus closed AI models?

Liang says foundation models are becoming less open, with many now accessible only through APIs, because they cost a lot to train and give companies a competitive edge, and because of safety concerns. He argues transparency is necessary before any policy discussion can happen. He proposes norms modelled on nutrition labels so the public can see how deployed models are used and bounded.

Q5What does Percy Liang say about HELM, the language model benchmark?

Liang described HELM, short for Holistic Evaluation of Language Models, as a benchmark that measures accuracy, robustness, calibration, fairness, bias, toxicity and efficiency. The first run covered 30 models, 42 scenarios and seven metrics, including open models like OPT and Bloom and APIs from OpenAI, Anthropic, AI21 and Cohere. The team refreshes it every two weeks as new models and new uses appear.

Q6How does Percy Liang explain hallucinations and the role of scale in language models?

Liang explains that predicting the next word forces a model to compress syntax, speakers and context, so with enough scale it may build a working model of the world. He suggests scale can reduce hallucinations because accuracy improves with more context and data. He admits hallucination is a serious problem that may be hard to crack, and he is not sure scale alone will solve it.

Q7Why does Percy Liang want AI measured against objective standards instead of human level?

Liang says human level has been AI's North Star for decades, but in many areas AI is now superhuman or should be. He argues the field should define objective measures of what it actually wants, such as reliability and grounding. He points out that he often wants statistical evidence from doctors and rarely gets it, and says technology should not just mimic humans.

Q8What is Together, and how does Percy Liang describe its goal?

Liang describes Together as built on the premise that compute is a central bottleneck for foundation models, while much computing capacity sits idle. It aims to pool decentralized machines for academic research and commercial training, and it is developing an API for inference and fine-tuning. He says the hard part is that foundation models need fast connections that home computers lack, which the team addresses with scheduling and compression.

▸Transcript

Our own transcript of the public episode, with a timestamp about every 90 seconds. Tap a timestamp to play the episode from there in the show's own player; the link button on a paragraph copies a link that opens this page there.

0:00Human-level AI as the old target

0:00. For ages, human level has been the target for AI. That has really been a North Star that has fueled many dreams and efforts and so on over the decades. But I think we're getting to a point where along many axes, it's superhuman or should be superhuman. And I think we should maybe define more of an objective measure of what we actually want. This is more of a general statement about how we should think about technology, not just chasing after mimicking a human, because we have a lot of humans. This is the No Priors podcast. I'm Sarah Goua. I'm Elad Gel. We invest in, advise, and help start technology companies. In this podcast, we're talking with the leading founders and researchers in AI about the biggest questions. We're very pleased today to have Dr. Percy Liang, Professor of Computer Science here at Stanford

1:08and Director of the Center for Research on Foundation Models, a recently founded center here. Dr. Liang is the author of over 800 heavily cited research papers around helping machines understand natural language, helping humans reason about those models, and has contributed a number of novel technical approaches and creative uses of data to the machine learning field. And as a special treat, we're recording here in his office at Stanford today. Thanks, Percy. Great. Welcome. So I think just to start, can you tell us a little bit about how you got into the machine learning research field and your personal background? Yeah, so I've been in the field of machine learning and natural language processing for over 20 years.

1:51From undergrad theory to language models

1:51I started getting into it in undergrad. I was an undergrad at MIT. I liked theory. I had a fascination with languages. I was fascinated by how humans could just be exposed to just strings of text, I mean, speech, and somehow acquire very sophisticated understanding of the world and also syntax and learn that in a fairly unsupervised way. And I wanted to, my dream was to get computers to do the same. So then I went to grad school at Berkeley. And then after that started at Stanford. And ever since I I've been in pursuit of developing systems that can really truly understand natural language. And of course, in the last four years, this once upon a time kind of dream has really taken off in a sense,

2:39maybe in a not a way that I would necessarily expect, but with it coming out of large language models such as GPT-3, it's truly kind of astonishing how much of the structure of language and the world that these models can capture. In some ways, it kind of harkens back when I actually first started in NLP, I was training language models, but of a very different type. It was based on hidden Markov models. And there the goal was to discover hidden structure in text. And I was very excited by the fact that it could learn about, tease apart what words were like city names versus days of the week and so on. But now it's kind of on a completely different level. You've worked on multiple generations of NLP at this

3:25GPT-3 and the shift to foundation models

3:25point, pushing the forefront of semantic parsing. Was there a moment at which you decided that, you know, you were going to focus on foundation models and large language models? Yeah, there was a very decisive moment. And that moment was when GPT-3 came out. That was in the middle of the pandemic. And it was just, it wasn't so much the capabilities of the model that shocked me, but it was a way that the model was trained, which was basically taking a massive amount of text and asking the model to predict the next word over and over again, billions of times. What rose from it was not only a model that could generate fluent text, but also a model that could do in-context learning, which means that you can prompt the language model with instructions.

4:07For example, summarize this document, give it some examples, and have the model on the fly, in context, figure out what the task was. And this was a paradigm shift, in my opinion, because it changed the way that we conceptualize machine learning and NLP systems from these bespoke systems where it's trained to do question answering, to train to do this, to just a general substrate where you can ask the model to do various things. And the idea of a task, which is so central to AI, I think begins to dissolve. And I find that extremely exciting. And that's the reason later in 2021, we founded the Center for Research on Foundation Models. We coined the term foundation models because we thought there was something that was happening in the world that somehow large language models didn't

4:58really capture the significance. And it was not just about language, it was about images and multimodality. It was a more general phenomenon. And we coined the term foundation models. And then the center started, and it's been sort of, you know, kind of a rollercoaster ride ever since. We're going to be talking, I think, about both your experiences in research and academia. And then we'll also separately be talking about Together, which is a company you're involved with now. Could you tell us a little bit more about what the center does and what you're focused on? Yeah, so the Center for Research on Foundation Models started two years ago, is under the Human-Centered AI Institute at Stanford.

5:35Why the center wants open foundation models

5:35And the main mission of the center is, I would say, to increase transparency and accessibility to foundation models. So foundation models are becoming more and more ubiquitous. But at the same time, one thing we have noticed is the lack of transparency and accessibility of these models. So if you think about the last decade of deep learning, it has profited a lot from having a culture of openness with tools like PyTorch or TensorFlow, data sets that are open, people publishing openly about their research. And this has led to a lot of community and progress, not just in academia, but also in industry with different startups and hobbyists and whoever just getting involved. And what we're seeing now is sort of a

6:26retreat of that open culture where models are now being only accessible via APIs. We don't really know all the secret sauce that's going behind them and there's sort of limited access. What's your diagnosis of why that's happening? I think that this is very natural because these models take a lot of capital to train. They're an enormous amount of, you know, can generate a lot of value and it's a competitive advantage. So, you know, incentives are to keep these under control. There's also another factor, which is, you know, safety reasons. I think these models are extremely powerful and maybe the models right now, I think are, well, if they were out and open, it would be maybe okay. But in the future, these models could be extremely good and having them completely, anything goes,

7:20Academia versus industry research roles

7:20we might have to think about that a little bit more carefully. How do you think all this evolves in terms of, if you look at the history of ML or NLP or AI, we've had these waves of innovation and academia, and then we've had waves of innovation and implementation and industry. And in some cases, we've had both happening simultaneously, but it feels a little bit like it's ping-ponged over time in different ways. Now that people are starting to be more closed in terms of some of these models on the industry side and publishing less and being less open, how do you view the role of academia and industry diverging, if at all? Like, do you think it'll be different types of research that each type of institution tackles?

7:55Do you think there'll be overlap? I'm sort of curious how you view all that evolving. I mean, I think industry and academia have very distinctive and important functions. And I always want to tell my students, well, we should be working on things that are lean on academia's competitive advantage. And historically, I think this has meant different things. So before ML was that big, I think a lot of academic research was really about developing the tools to make these models work at all. I remember working on systems and being ML models back in grad school, and basically it wasn't working. I mean, computer wasn't working, vision wasn't working, question answering wasn't working. And I think the goal of academia there was to make things work.

8:38And a lot of the advances that were born out of academia then influenced other ideas and influenced other ideas before it started clicking. And now we're seeing a lot of the fruits of both academia industries research fueling this kind of industry drive that you see today. And now today, I think the dynamic is quite different because it's no longer academia's job isn't just to get things to work because you can do that in other ways. There's a lot of resources going into tech companies where there's, if you have data and compute, you can just sort of scale and blast through a lot of barriers. And I think a lot of the role of academia is understanding because these models for all their impressive feats, we just don't

9:27understand what they work, how they work, what the principles are, how does this training data, how does moral architecture affect the different behaviors? What is the best way to weight data? How do you, what's the training objective? Many of these questions, I think, could benefit from a more rigorous analysis. The other piece, which is a different type of understanding, is understanding social impact. And this is going back to the question about what a CRFM's role is. CRFM is a center with over 30 different faculty across 10 different departments at Stanford. So it's quite interdisciplinary. So we're looking at foundation models, not just from a technical perspective of how do you get these models to work,

10:09Interdisciplinary work on social impact

10:09but also thinking about their economic impact, the challenges when it comes to copyright and legality. We're working on a paper that explores some of those questions. We're looking at different questions of social biases and thinking through carefully how the impact of these models have on issues of homogenization, where you have a central model that's making perhaps decisions for a single user across all the different aspects. So some of these are the types of questions. There are also people at the center looking at risks of disinformation, monitoring to what extent these tools are so persuasive, which they are getting increasingly so, and what are the actual risks when it comes to, let's say, foreign state actors leveraging this technology. And there's also

11:03people at the center who are in medicine, and we're exploring ways of leveraging foundation models and deployment in actual clinical practice. How near term do you think some of those deployments are? Because if you go back into the 70s, there was like the Mycene Project here at Stanford, which was an expert system that outperformed Stanford medical school staff at predicting what infectious disease somebody had, for example. And that was 50 years ago, almost 50 years ago, and it never really got implemented in the real world. And so one of my concerns sometimes in terms of the impact of some of these things is, are there industries that are resistant to adoption or resistance to change? And it's exciting to hear that at Stanford, they're actually starting to

11:41look at how do you actually integrate these things into real clinical care? Do you view those things as very far out on the healthcare side? Do you view them as sort of nearer? I know that isn't the main topic we're going to cover, but I'm still a bit curious given how close you are to all this. Yeah, I think it's a good question. I think there are a bunch of different issues that need to be resolved. For example, foundation models are trained on a lot of data. How do you deal with privacy? How do you deal with robustness? Because once you're talking about, you know, in the healthcare spaces, especially, there are cases where we know that these models can still hallucinate facts and sound very confident

12:15in doing so. And how do you... I know some doctors like that too. Yeah, there you go. So... But you've also taken a point of view that we should expect superhuman, if we see superhuman performance from these models, like holding them to the standard of a human doctor is actually insufficient as well, right? Yeah, I think that's a great point, is that for ages, human level has been the target for AI. And that has really been kind of a North Star that has fueled many dreams and efforts and so on over the decades. But I think we're getting to a point where along many axes, it's superhuman or should be superhuman. And I think we should maybe define more of an objective measure of like what we actually want.

13:03We want something that's very reliable, is grounded. You know, I often want more statistical evidence when I speak to doctors and sometimes fail to get that and have something that would be sort of a lot more principled and rational. This is more of a general statement about how we should think about technology, not just chasing after mimicking a human, because we already have a lot of humans. It's an interesting point. It's really fascinating to watch all this evolve right now. You've done extensive research on natural language processing and computational semantics. Can you explain what those terms mean and how they're relevant to the development of AI? So computational semantics is the process where

13:46you take language, text, and compute quote-unquote meaning from it. And that is something I'm not going to maybe try to attempt to define. There's a huge literature of linguistics and philosophy about what meaning is. I would say that a lot of my research in the past, maybe five to 10 years ago, was adopting this view that language is a programming language. It computes. You can give orders, you can instruct, you can do things with language. And therefore it was natural to model natural language as a formal language. So a lot of semantic parsing is about mapping natural language into a formal space so that machines could execute this. And so one concrete application of this that I worked on for a while is mapping natural language questions into essentially SQL queries, which obviously has many different applications as well. And what was nice about

14:47this framework is that to really do this, you had to understand how the words contributed to different parts of the SQL query. And then you could get something that was a program that you could execute and you deliver the results, as opposed to many question answering systems, which you ask a question, maybe retrieve some document, and you're retrieving the results, as opposed to many question answering systems, which you ask a question, maybe retrieve some document, and you're retrieving the answer or either that or making something up rather than computing it rigorously. So that was a paradigm I was working in maybe five to 10 years ago. But the main problem is that the world isn't a database.

15:22A small part of the world is a database, but most of the world is unstructured. And then I started thinking about question answering in general, and we developed the SQuAD question answering benchmark to fuel progress in open domain question answering. And that, in turn, and many other data sets that were developed both at Stanford and elsewhere, I think led to the development of these powerful language models that then, like BERT and Roberta and Elmo back in about 2018 to then... Many years ago. Many years ago. Ancient history now to more like 2020 generation of these large foundation models. So I think there's certainly a place for that type of thinking. There are cases where you want to just math natural language into, say, people call tool use.

16:19Like you ask some question that there's calculation, you should just use a calculator rather than try to sort of quote unquote do it in the transformer's head. But there's also a lot of aspects of reasoning which are not quite formal. We do this all the time. And a lot of that happens kind of natively in the language model. And I think it's still an interesting question how to kind of marry the two. I feel like the two are still in sort of, you know, jammed together in a way. And maybe it's natural because there's certain things you can do in your head. So certain things you can invoke a tool to use. But this has been also one of the classic debates in AI. There's neural versus symbolic. And for a while, symbolic AI was dominant. Now neural AI has come really taken

17:16off and become dominant. But some of those central problems of how do you do planning, how do you do reasoning, which was the focus and study of symbolic AI are now again, really relevant because now we've moved past just simple classification and just entity extraction, but now more to more ambitious tasks. What do you think are some of the more interesting research programs right now in that area? I think that it's interesting to remark on what's happening because there are, to a first-order approximation, larger models trained on the relevant data seem to do well on various benchmarks. I think that maybe there isn't enough emphasis on data efficiency and how quickly you can get and how robustly you can get to these points.

18:05Because we know it has been well-documented that benchmarks can be gameable. So even though you do well on a benchmark doesn't mean you've necessarily solved the problem. So I think one has to be a little bit cautious about that. So obviously, scale and more data is just one clear direction. But in terms of orthogonal directions, what are the methods? Several things have to happen. One is we have to have ability to handle greater context lengths. If you think about a long reasoning chain, you know, transformers are fixed and there's ways to extend it, but fundamentally it's sort of a fixed model. Let's say advanced problem solving. For example, if you want to solve a math problem, you'll improve something.

18:48The language model generates sort of this chain of thought and generates token by token, and then it generates something. But we know that humans, when they solve a problem, it's much more, you try different things, you backtrack. It's much more flexible, iterative, and it can last a lot longer. And then just you're going for a few iterations. And what is the architecture that can handle that level of complexity? I think it's still an outstanding question. Is there any aspects of foundation or large language models that are emergent that you didn't anticipate or that really surprised you? I think going back to GPT-3, I think in-context learning is something that surprised many people, including me. So here you're prompting a language model with an

19:36In-context learning and chain-of-thought

19:36instruction and input-output pairs. You know, here's a sentence, it's classified positive. Here's a sentence classified negative. And the model is somehow able to latch on to these examples and sort of figure out what you're trying to do and solve the task. And this is really intriguing because it's emergent. It wasn't hand-coded by the designers to, oh, I want to do in-context learning this way. Now, of course, you could have done that. But I think the real sort of magic is you didn't have to do that. And yet it still does something. It's not completely reliable, but it sort of can get better with better models and better data. Then there's chain of thought. Do you want to explain what that is?

20:22So the idea is if I have a question that's presented to a language model, the language model could just answer and it'll maybe get it right or wrong. But if you ask a language model to generate an explanation of how it would solve the problems, kind of thinking out loud, then it's much more likely to get the answer right. And this is very natural that it would be the case for humans as well. But the fact that, again, the chain of thought capability is something that emerges. The other thing I think is really wild is this, and I think it's maybe a general principle, which is the ability to mix and match. So you can ask the model to explain the quicksort algorithm in a style of Shakespeare, and it will actually construct something

21:10that is semantically pretty on point, but also stylistically much, much better than what many people could come up with, which means that it has learned different concepts of what Shakespeare and what Quicksort are and is able to fuse them. So if you think about creativity, I think this is sort of an example of creative use. People say that sometimes all language models just memorize because they're so big and train on clearly a lot of texts. But these examples, I think, really indicate that there's no way that these language models are just memorizing because this text just doesn't exist. And you have to have some creative juice and invent something new. And I think just to kind of go on, riff on that a little bit, I think the creative aspects of these language models with the

22:02potential for scientific discovery or doing research or pushing the boundaries beyond what humans can do, I think is really, really fascinating because up until now, again, remember the AI dream tops out at humans, but now we can actually go beyond in many, many ways. And I think that unlocks a lot of possibilities. Yeah, there are a lot of really interesting examples. I mean, you could actually argue that connecting new concepts in any novel way is creativity, but I love the one that is just discovering like new tactics and go that humans haven't discovered after thousands of years of play. Maybe we'll ask if you'll risk making a prediction that is impossible. Emergent behaviors of models at the next level of scale, anything you might predict.

22:49Emergent capabilities, if we wouldn't have thought, chain of thought or in-context learning would work. So I can give you an example of something I think is emerging. And I can give you an example of a hope, but I don't know if I would call it prediction. So what we're seeing today is the ability to instruct a model using natural language to do certain things. You see a lot of this online with ChatGPT and Bing Chat, and some of Anthropic's work as well. You can instruct a model to be succinct, generate three paragraphs in the style of, and so on. You can lay out these guidelines and have the model actually follow. So this instruction following ability is getting extremely good. Now, I will say that how much is emergent and how much is not, it's hard to tell because

23:44Hallucinations and what scale buys

23:44a lot of these models, it's not just a language model that's trained to predict the next word. There's a lot of secret sauce that goes under the hood. And if you define emergence of, you know, it was not intended by the designers, I don't know how much of that is emergent, but at least it's a capability that I think is very striking. The hope is that language models currently mix stuff up. They hallucinate. And this is clearly a big problem. And almost in some ways, a very difficult problem to crack. The hope is that as models get better, that some of this will actually go away. I don't know if that will happen. I guess the way I think about these models is that they're doing some sort of, if you think about

24:34predicting the next word, it seems very simple, but you have to really internalize a lot of what is going on in this context. What are the previous words? What's the syntax? What's who's saying them? And all of that information and context has to get compressed. And then that allows you to predict the next word. If you're able to do this extremely well, then you sort of have a model of what's happening in the world, at least the world that you've captured in text. And so while the notion of truth might be ambiguous in many cases, I think the model can get an idea of what certain parts of the internet are maybe reliable and what parts of the internet are not and what kind of, you know, the idea of having, you know, entities

25:26and dates and locations and what activities there are, I think that will maybe become more salient in the model. Like if you think of language model, that's just predicting the next word and it's only trained to do that. And you say, Elad, travel to blank, of course, it's going to mix something up without further context. But if it has a better understanding of what's happening, and of course, with more context, then maybe it can use that context to actually know that, well, okay, well, I don't know, maybe I should ask where he went. So scale is basically increasing the statistical accuracy of the prediction on the next word because you have more context and more data by which to infer what's coming.

26:12And therefore it will reduce hallucinations because you're increasing accuracy. Yeah, so I think there's pre-training, which is predicting the next word and developing a world model, so to speak. And with those capabilities, then you still have to say, don't hallucinate. But it will be much easier to control that model if it has a notion of what hallucination even is. I was talking to somebody who was close to the development of the transformer model. And his claim was that one of the reasons it's done so well is to your point around scale, right? Eventually you hit enough scale that you see that it's clearly has these really interesting emergent properties. So you keep scaling it up and you keep sort of growing it. And so therefore it's like a self-reinforcing loop to keep using

26:55Is the transformer the right architecture?

26:55these types of models. And his claim was that it's expensive to do that sort of scale. And so therefore there may be other architectures or approaches that we've just never scaled up sufficiently in order to actually see if they have the same emergent properties or certain characteristics that may be superior. How do you think about that from the perspective of just going down the path of the transformer side versus other architectures that may be really interesting and may be neglected because we just haven't thrown enough compute at them because it's expensive? Yeah, I really hope that in 10 years, we won't be using the transformer. Because I think the transformer is, I mean, it's a. Yeah, I really hope that in 10 years we won't be using the transformer because I think the transformer is,

27:28I mean, it's a very good architecture. People have tried to improve it, but it's sort of like kind of good enough for people to press ahead. But scientifically, there's no reason to believe that this is the one. And there have been some efforts. So one of my colleagues, Chris Ray, and his students have developed other architectures which are actually at smaller scales competitive with transformers and actually don't require the central operation of attention. exploring other alternatives to Transformers. This is something, again, that academia, I think, is very well-suited to do because it involves kind of challenging the status quo. You're not really trying to just get it to work and get it out there, but you're trying to reflect on what

28:15are the principles? What can we learn from Transformers? What is it trying to do? And how can we incorporate them in a much more principled way? At some level, it's still going to be about compute, right? So people have shown that LSTMs, scaling laws for LSTMs show that if you're able to scale up LSTMs, maybe they would work pretty well as well. But the amount of compute is many times more. And given a fixed compute budget, we're always in a compute-constrained environment. It's an efficient enough architecture to keep trying. Yeah, you would not use an LSTM. A transformer strictly dominates an LSTM from the perspective of giving a fixed compute budget. So this question of like, what if I could scale the LSTM,

29:00it becomes a little bit sort of irrelevant. So for the things where you see transformer-like performance, what sort of compute budget would you need in order to be able to test them out? Is it the scale of a million dollars, $10 million, $100 million of compute? I know it changes based on compute pricing. I'm just trying to get a rough sense of how expensive is it to try today? And then if we extrapolate down a compute curve three years from now, maybe it's tractable again or something. Yeah, it really depends on the gaps that you're seeing. Right now in academia, you can train 1 billion parameter models. I mean, it's not cheap by academia standards, but you can do it. And here at CRFM, we're training 6 or 7 billion parameter models.

29:43Together: pooling compute across desktops

29:43And I think it's enough to be able to try out some ideas. But ultimately, because of emergent properties and the importance of scale, you can only make a hypothesis. You can find something like, oh, this seems promising at smaller scales. You still have to go out and test whether it really pans out or the gap just closes. And maybe this is a good segue to talk about the compute together. So we found it together on the premise that compute is a central bottleneck in foundation models. On the other hand, there's a lot of compute that's decentralized, that's maybe underutilized or idle. And if we could harness that compute and bring it there for both research and also commercial purposes, then we could actually do a lot more. There are some pretty hefty technical challenges around doing that because foundation models are typically trained in very high-end data center environments where the interconnect between devices is extremely good.

30:54Whereas if you just grab your average desktop or home interconnect, it's 100 times or more slower. But Chris Ray and Sejan and others, really, they deserve most of the credit for this. We've developed some techniques that allow you to unlock a bit more of compute, both for academic research, but also for other startups and so on. That's really cool. So it sounds a little bit like earlier predecessors of this may be things like folding at home, where people did protein folding collectively on their computers, or SETI at home, where there was search through different astronomical data. And now you can actually do this for training an AI system on your desktop or, you know, excess compute that

31:50exists at data centers or in other places. So folding at home is, I think, a great inspiration for a lot of this work. At some point during the middle of the pandemic, they actually had the world's largest supercomputer in terms of flop count because it was used to do molecular dynamic simulations for COVID. The main challenge with foundation models is that there's a lot of big models and big data that needs to be shuffled around. So the task decomposition is much, much harder. So that's why many of the technical things that we're doing about scheduling and compression enable us to overcome these hurdles. And then there's the question of incentives. So I think there's two aspects of what Together is building. One is sort of what I'll call a research computer, which is

32:39for academic research purposes where people can contribute compute. And in the process of contributing compute, they are able to use the decentralized cloud for doing training when they're not using it. And when they are using it, they can use much more of it. So the hope is that it provides a much more efficient use of the compute because you're spreading across a larger set of people. And then on the commercial side, the hope is that the open models that are developed in the open source ecosystem can, the Together platform, can allow people to fine tune and adapt these models to various different use cases. One thing I think is noteworthy is that we think of foundation models today as maybe

33:35there's a few foundation models that are very good and exist. But I think in the future, there's going to be many different ones for different kind of use cases as this space takes off. Many of them will be derived from maybe existing foundation models, but many of them will also be perhaps trained on from scratch as well. I think this is actually a pretty uncommon viewpoint right now. Can you talk a little bit about like where you or, you know, research efforts you're associated with choose to train models, like maybe BioPubMed or whatever else you think is relevant here? So there's foundation models is a pretty broad category of, and many of the, the sort of the core center is, you know, large language models that are trained on lots of internet data. We've trained

34:26a model here at CRFM in collaboration with Mosaic called Biomed LM. It's not a huge model, but it's trained on PubMed articles and it exhibits pretty good performance on various benchmarks. For a while, we were able to be state-of-the-art on the U.S. medical licensing exam. Google did come up with a model that was, I think, 200 times larger, and they beat that model. So, you know, scale doesn't matter. But I think there are many cases where you, for efficiency reasons, maybe you do want a smaller model since cost, I think, is a big concern. I want to talk about some of the, I think, most important or hopefully most important work that the center's done so far. Can you explain what HELM is and what the goal has been?

35:17HELM: evaluating language models holistically

35:17Yeah. So HELM stands for Holistic Evaluation of Language Models, which is this project that happened over the last year. And the goal is to evaluate language models. So the trouble is that language models is a very generic thing. It's like saying, evaluate the internet. What does that mean? The language model takes text in and text out. And one of the features of a language model is that it could be used, and also measure aspects of these uses, which include not just accuracy, which a lot of benchmarks focus on, but also issues of how robust it is, how well it's calibrated, meaning that whether does the model know what it doesn't know, whether the models are fair according to some definition

36:26of fairness, whether they're biased, whether they spew out toxic content, how efficient they are. And then we go and we basically grab every language model that's prominent that we could access, which includes open source models like OPT and Bloom, but also getting access to APIs from Cohair AI21, OpenAI, and also Anthropic and Microsoft. So overall, there were 30 different models, 42 scenarios, and seven metrics. And we ran the same evaluations on all of that. We've put all the results on the Helm website so that you could see the top level statistics and accuracies, but also you can drill down into on this particular benchmark, what are the instances? What are the predictions that these models are making?

37:19All the way down to what prompts are you using for the language models? So the idea here is that we're trying to provide transparency to this space, right? We know that these models are powerful. They have some deficiencies and we're trying to lay that all out in a kind of a scientific manner. So I'm pretty excited about this project. The challenging thing about this project is since we put out the paper maybe three months ago, a bunch of different models have come out, including ChatGPT, LAMA, you know, Coherent AI21 have updated their models. GPT-4 might come out at some point. So what this project has evolved into is this basically this dynamically updating where every two weeks we refresh it

38:11with new models that are coming out as well as new scenarios. Because one thing we also realized, which was made clear by ChatGPT, is that the types of things that we ask of a language model is changing. We don't ask it just to do question answering or just to do- As they increase in capability. Increasing capabilities. Now they can do a lot more. They can write an email or give you life advice on XYZ if you put in a scenario or write an essay about XYZ. And I think what we need to do with the benchmark is also add the scenarios that accordingly improve or capture these capabilities, as well as kind of new risks. So we are definitely interested in benchmarking how persuasive are these language models,

39:02which governs what are the risks and also how secure they are. One thing I'm actually also worried about is given all that jailbreaking that is extremely common with these models where you can basically bypass safety controls. If these models start interacting with the world and accepting external inputs, now you can not only just sort of jailbreak your own model, but you can jailbreak other people's model and get them to do various things. And then, so that could lead to sort of a cascade of errors. So some of these are the concerns that we hope to also capture with the model. I should also mention, we're also trying to look at multimodal models, which I think is going to be pretty pertinent. So lots to do. A bunch of the things that you've described as sort of the role

39:51you see for the center or even like academia in the age of like foundation models broadly, like they have more of an intersection with policy than traditionally like machine learning research. Like, how do you think about that? Yeah, actually, I'm glad you asked that because we've been thinking a lot about the social implications of these models and sort of the, not the models themselves, which we focus a lot on talking about, but the environment in which these models are built. So there are a few players in the space with different opinions about how models should be built. Some are more closed, some are more open. And there's also, again, this sort of lack of transparency where we have a model that's produced and it's aligned, apparently apparently to human values. But then once you start kind of questioning,

40:46Norms, transparency and nutrition labels

40:46you can ask the question, okay, well, which value, which humans are we talking about? Who determines these values? What legitimacy does that have? And what's the sort of accountability? Then you start noticing that, well, a lot of this is just kind of completely of a black box. So one thing that we've been working at the center on is developing norms, starting with transparency. I think transparency is necessary, but not sufficient. You need some level of transparency to even have a conversation about any of the policy issues. So making sure that the public can understand how these models really get deployed at scale and start impacting our lives. A kind of analogy I like to think about is nutrition labels or any sort of specification sheets on electronic devices. There's some sort

42:01of obligation, I think, that producers of some products should have to make sure that their product is used properly and has some bounds on it. I guess I'll ask two questions. One is, if people wanted to participate in Together, is there a client they can download and install or use? Or how can people help support the Together efforts? Yeah. so we are developing a client that will be made available. We both form the perspective joining the Together cloud so that you can contribute your compute, but also where we have an API that we're developing so that people can use Together infrastructure to do inference and fine tuning models. We are also training some open models. So we have this something called Open Chat Kit that we're releasing soon.

42:52And this is built on top of Eleuther AI's NeoX model, but improved to include various different types of capabilities. It's still, you should think about it as really a work in progress. What we've tried to do is open it up so that people can play with it, give feedback and have the community improve this together rather than us trying to produce some finished product and putting it out there. This goes back to the point about involving the spirit of open source and involving the community to build these foundation models together as opposed to someone unilaterally building them. While we're talking timelines and predictions that you don't quite feel comfortable making, how do you think as a rigorous scientist about AGI?

43:41Liang on AGI and staying open-minded

43:41I must say that my opinions about AGI have changed over time. I think that for a while, it was perceived by most of the community as laughable. I will say that in the last 10 years, I have been aware of, you know, there's a kind of a certain community who think about AGI and also existential risk and things like that. So I've been in touch with people who think about these. I think I see the world maybe differently. I think of perhaps certainly these are powerful technologies and could have extreme social consequences. But there's a lot of more near-term issues. I focus a lot on kind of robustness of ML systems in the last, you know, five years. But, you know, one thing I've learned about foundation models, because of their emerging qualities, I've learned to be very kind of no

44:37open-minded, I would say. I was asking earlier about what no priors, where that comes from. And I think it's a fitting way to think about the world because I think everyone, including scientists, often get sort of drawn into a particular worldview and paradigm. And I think that the world is changing, both on the technical side, but also how we conceive of AI and maybe even humans at some level. And I think we have to be open-minded to how that's going to evolve over the next few years. Awesome. Thanks for doing this conversation with us, Percy. It's great. Yeah, thanks for joining us. Yeah, thank you very much. Thank you for listening to this week's episode of No Priors. Follow No Priors for new guests each week and let us know online what you think and who in AI you want to hear from.

45:30You can keep in touch with me and Conviction by following at Sarah Normis. You can follow me on Twitter at Alad Gil. Thanks for listening. No Priors is produced in partnership with Pod People. Special thanks to our team, Cynthia Galdea and Pranav Reddy, and the production team at Pod People. Alex McManus, Matt Saab, Amy Machado, Ashton Carter, Danielle Roth, Carter Wogan, and Billy Libby. Also, our parents, our children, the Academy, and tyranny.ml, just your average friendly AGI world government.

Have a recording of your own? Paste a link or upload it.

WhipScribe sends back a timestamped transcript, like the one on this page.

Every recording starts with a free preview. Full transcripts come in packs from $4 for 300 minutes. Uploads up to 10 hours or 5 GB.

▸More from No Priors: Artificial Intelligence | Technology | Startups

No Priors: Artificial Intelligence | Technology | Startups cover art
What is the future of search? With Neeva’s Sridhar Ramaswamy2023-03-16 · 36 min
No Priors: Artificial Intelligence | Technology | Startups cover art
How AI can make drug discovery fail less, with Daphne Koller from Insitro2023-03-02 · 46 min
No Priors: Artificial Intelligence | Technology | Startups cover art
How do we go from search engines to answer engines? With Perplexity AI’s Aravind Srinivas and Denis Yarats2023-03-23 · 38 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Why the Future of Machine Learning is Open Source with Huggingface’s Clem Delangue2023-02-23 · 31 min
No Priors: Artificial Intelligence | Technology | Startups cover art
What’s Beyond GitHub Copilot? With Copilot's Chief Architect and founder of Minion.AI Alex Graveley2023-03-30 · 36 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Founder Stories: What’s behind the largest commercial autonomous system on earth? With Zipline’s Keller Rinaudo Cliffton2023-02-20 · 46 min
New No Priors: Artificial Intelligence | Technology | Startups transcripts by email
One email per new episode, unsubscribe in every message. Not shared with the publisher.