podcasts / No Priors: Artificial Intelligence | Technology | Startups / episode
No Priors: Artificial Intelligence | Technology | Startups cover art
podcast
📅 ⏱ 42 min episode · summary ~2 min read 📝 Transcript · 8,340 words 🎙 Karan Singhal

Karan Singhal: No Priors: Artificial Intelligence transcript

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

A Google researcher who built Med-PaLM2 explains, without hype, what it takes to make a language model safe enough for medical answers and why human oversight is getting harder.

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 episodeMed-PaLM2PaLMFlan-PaLMJason WeiMinervaGalacticaBioGPTGPT-4EpicMayo ClinicHIPAA

▸Chapters

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

▸Key takeaways

01Google's Med-PaLM2 was built on the PaLM model and tuned for medical question answering, with Karan Singhal leading the research team on the project.
02Med-PaLM was aligned to medicine with instruction prompt tuning, using expert doctor demonstrations as training examples, a cheaper route than full fine-tuning.
03Singhal says three to five examples favour plain prompting, 10 to 50 favour prompt tuning or fine-tuning, and more than 100 favour full fine-tuning.
04Singhal notes roughly 10% of internet searches are for health information, so he argues medical AI must be tested in real workflows before deployment.
05Singhal argues that as models near physician-level answers, human experts struggle to judge them, so scalable oversight becomes the central medical AI problem.

▸Notable quotes

“it's hard to tell the difference anymore.” Karan Singhal · at 30:20 — ▶ hear it from here
“people are searching for health information online and indecision is a decision as well.” Karan Singhal · at 15:19 — ▶ hear it from here

▸What this episode covers

Karan Singhal, a Google researcher, explains how the company moved from its general PaLM language model to Med-PaLM and then Med-PaLM2, a version tuned for medical question answering. He traces the project to an internal Google incubator called Brain Moonshot, and to his earlier work on representation learning and federated learning. The team found that the base model already scored well on multiple-choice exams such as the USMLE-style MedQA set, but it struggled when asked to write long medical answers, which pushed them to align it with physician feedback.

The second thread is how to adapt a model to a specialised field. Singhal walks through the choices between training from scratch, full fine-tuning, prompt tuning and plain prompting, and says the amount of relevant labelled data largely decides which one makes sense. He also describes what changed for Med-PaLM2: better training objectives, a data-to-parameter balance that follows recent scaling research, and more multilingual and code data. On evaluation, he argues the field lacked consistent benchmarks and detailed human review, and says physicians and lay people should judge the answers.

The last stretch covers safety, privacy and where the technology will land first. Singhal argues that health answers must be accurate, yet people already search for health information constantly, so holding back is also a choice. He sees near-term use in clinical documentation and in assistants that help radiologists, and he thinks privacy rules such as HIPAA may need rethinking. He closes with a warning: as models approach physician-level answers, human graders struggle to tell them apart, which makes oversight the central research problem.

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.

▸Karan Singhal on No Priors: Artificial Intelligence: the answers

Who is Karan Singhal?

Karan Singhal is a Google researcher who leads medical AI work, including Med-PaLM2. Before that he worked on representation learning and federated learning, and one of his early AI projects was a fake news detector.

What did Karan Singhal say about Med-PaLM2?

Karan Singhal said the team is getting close to physician-level performance on medical question answering with Med-PaLM2. He said that at this point it is hard to tell the difference between the model and physicians, which makes it harder to judge whether the model's answers are aligned with human values.

“it's hard to tell the difference anymore.”Karan Singhal · 30:20

What did Karan Singhal say about HIPAA?

Karan Singhal said HIPAA was an incredibly well-intentioned law, but that it has backfired in ways that cut against patient good. He pointed out that the legislation is now almost 30 years old and was written for a world very different from today's flow of patient data.

“HIPAA is kind of interesting from the context of it was an incredibly well-intentioned piece of legislation.”Karan Singhal · 23:28

What did Karan Singhal say about Drug discovery?

Karan Singhal said drug discovery is a safer bet for new AI companies seeking short-term revenue. Existing AI-augmented pipelines already predict properties such as absorption or toxicity for small molecules, so newer models could slot in and perform better.

“there's a bit of a playbook here”Karan Singhal · 17:45

What did Karan Singhal say about Epic?

Karan Singhal said AI is already appearing in clinical documentation, and he expects electronic health record companies such as Epic to partner with existing models and deliver real value. He sees documentation as a setting general domain models will also handle well.

“players like Epic are going to be able to partner with existing models”Karan Singhal · 19:54

What did Karan Singhal say about Brain Moonshot?

Karan Singhal said Google's Brain Moonshot is an internal incubator for ambitious research projects, and that the team used it to pitch and fund its medical AI work. He said many well-known Google projects have come out of the program.

“we had the opportunity to pitch what's called a Brain Moonshot”Karan Singhal · 3:28

What is Karan Singhal's main argument on No Priors?

Karan Singhal argues that medical AI is a strong place to study safety and alignment, because the stakes are high and experts must evaluate answers. He says health information needs grounded, carefully evaluated models, while a risk-averse system and outdated privacy rules could slow beneficial applications.

Mentioned in this episode

  • ProductMed-PaLM2
  • ProductPaLM
  • ProductFlan-PaLM
  • ProductGPT-4
  • ProductGalactica
  • ProductBioGPT
  • CompanyEpic
  • CompanyMayo Clinic
  • PersonJason Wei
  • StudyChinchilla
  • StudyUL2
  • StudyMedQA
  • StudyMinerva
  • EventBrain Moonshot
  • OtherHIPAA

Episode facts

Released
May 18, 2023
Length
42 minutes

▸Questions this episode answers

Q1What did Karan Singhal say about Med-PaLM2 and medical question answering?

Karan Singhal said Med-PaLM2 was built on Google's PaLM 2 model and aligned for medical question answering. He said the team is getting close to physician-level performance on medical questions, but that it is hard to tell the answers apart from physicians' answers anymore, which makes judging them harder.

Q2What changed in training from Med-PaLM to Med-PaLM2 according to Karan Singhal?

Karan Singhal said Med-PaLM2 improved on the original in three main ways. The team used better training objectives, starting from the UL2 work, followed optimal scaling laws that pair more data with model size, similar in spirit to the Chinchilla paper, and used better data with more multilingual text and code in many programming languages.

Q3When should you use prompting versus fine-tuning, according to Karan Singhal?

Karan Singhal said the choice between prompting, prompt tuning and fine-tuning mainly depends on how much relevant data you have. With three to five examples he would prompt the model, with 10 or 50 examples prompt tuning or fine-tuning, and with more than 100 examples fine-tuning is probably the best bet. He prefers prompt tuning when compute or cost matters.

Q4Why do medical AI companies keep building drug discovery tools, per Karan Singhal?

Karan Singhal said drug discovery offers a safer short-term path for new companies. Existing AI-augmented pipelines already predict things like absorption or toxicity for small molecules, so newer models could slot in and perform better, which can bring revenue quickly. He said health information is a riskier area that big players avoid because of concerns about harm.

Q5What did Karan Singhal say about HIPAA and patient privacy in medical AI?

Karan Singhal said one low-hanging step is models that automatically redact sensitive information before it moves further down a pipeline, and that some organisations claim partial HIPAA compliance. He also argued HIPAA, a law nearly 30 years old, was well intentioned but can backfire for patients, citing a MIT researcher with brain cancer who could not get his own clinical trial data.

Q6How does Karan Singhal think AI can be checked when human experts cannot judge answers?

Karan Singhal said scalable oversight is the core problem when AI reaches expert level, because human feedback may be unreliable and RLHF starts to fail. He described ideas such as self-critique, where models critique their own answers, debate, where judging between two answers is easier than judging one, and using weaker AIs to supervise stronger ones. He said most researchers would agree this problem is unsolved.

Q7Where will AI show up in clinical work first, according to Karan Singhal?

Karan Singhal said AI is already appearing in clinical documentation, with companies applying GPT-4 and Epic partnerships likely to deliver value. For higher-stakes work, he sees a physician-assistant model in the shorter term, such as an agent helping a radiologist interpret a scan and write a more accurate report using the patient's record and earlier scans.

▸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:00Opening: a 19-year-old fake news detector

0:00Welcome to No Priors. Today, we're speaking with Karin Singel, a researcher at Google where he is a leader on medical AI, specifically on MedPalm2, where he and a team are working on a responsible path to generative AI in healthcare. Google just announced the launch of its next generation language model, Palm2, with improved multilingual reasoning and coding capabilities, which is behind MedPalm 2. So it's a great time to be speaking with Karin about everything he and his team are working on. Karin, welcome to NoPriors. Hey, guys. So you've been working in this field for a long time. Tell us about how you ended up working on medical AI at Google. I think I saw you started a fake news detector for using AI as a 19-year-old.

0:46Yeah, that was one of my first AI projects. I really got into AI thinking about how it could be used in socially responsible ways. And for me, I was thinking around the time of the 2016 election that maybe a little bit naively that we could, you know, AI-based solutions could be a bit of help for things like misinformation and detecting that. I think in the longer run, I mean, I've thought of that as kind of a more naive project. And I think in the longer run, I've been thinking more about how it can help shape the trajectory of AI to be more beneficial and more broadly. And I think for me, thinking about the medical setting has been motivated largely by thinking about the fact that, you know, it's a great place to think about concerns around safety, reducing hallucination

1:29and misinformation as well here. You know, thinking about how we can produce medical question answers that are less likely to be harmful and all these kinds of things. And, you know, that motivation, I think, has driven us to this point where really going for the jugular in terms of thinking about how to train these models, make them better in the setting. And so very excited about that kind of work. Have you been working on the medical domain your entire time with Google? No, I mean, for me, this is just something I've gotten to the last like year and a half. So I've been new to it. I've been learning from an excellent team and it's been an amazing journey so far. What else has been the most interesting in your

2:05Early work on representation and federated learning

2:05work at Google so far? Yeah, I started working out in representation learning and federated learning. So this is kind of the technology, representation learning in particular, is kind of the technology underlying a lot of the deep neural networks of today, including GPT-3, GPT-4, and so on. And so this is largely about learning representations of text, of images, of other modalities, such that you can efficiently encode them, you can learn from them in the future, you can generalize to new text and images and so on. And so the work for this really started, you know, back in the beginnings of the deep learning era, like in 2013 with convolutional neural networks and scaling those up and Word2Vec around 2015 and GloVe and all these things. And I think since then, we've been

2:51working on technologies around self-supervised learning, around doing that in a privacy-preserving way. And so after a couple of years of working on that at Google, I had the opportunity to kind of quickly grow and start to lead a team. I kind of got to the point where I was thinking like, okay, I've upscaled in a lot of ways. I've gotten to the point where I can mentor many other researchers in a lot of ways. And now it's a great time to be thinking about my next thing and going for something ambitious in terms of shaping the trajectory of AI. And so about a year and a half ago, a few of us had the idea to think about this medical setting as kind of a setting in which, you know, these concerns are especially important. And there was a ripe

3:28opportunity to think about this paradigm of foundation models and medical AI. And so within Google, we had the opportunity to pitch what's called a Brain Moonshot, which is kind of like an internal incubator program for ambitious research projects. And this is, you know, a lot of cool research projects that you've heard of from Google have eventually come out of this program. As we pitched that, we got it accepted and funded. We got the ability to kind of get a bunch of compute to bring other folks on board with the sponsorship of a bunch of leaders. And our first thing together was really MedPalm. And so that was a really amazing thing for us to be able to work on together. Can you talk a little bit about Palm and how that's related to MedPalm

4:05PaLM's language model and its benchmark leaps

4:05and what Palm is to begin with and then how MedPalm is different? Yeah, absolutely. I mean, so the original MedPalm work built on this model called Palm, which stands for Pathways Language Model. And so this is really an infrastructure that Google has built to be able to scale up large language model training that is kind of Google-wide. And so the first Palm model was released in 2022, which was kind of this 540B decoder only transformer model at the time, the largest densely activated model. And, you know, it kind of realized these breakthrough achievements in code and multilingual capabilities in reasoning. And so I think a lot of the work with respect to kind of improving benchmarks uh specifically that we're seeing with like

4:51palm med palm gpd4 recently i think all comes down to a lot of the improvements that were made during palm that during the training of palm and so you know shortly after palm there was this minerva work where maybe like a few months after the palm work itself, people were able to show that on STEM benchmarks, there was this kind of zero to 100 or zero to 60, at least, effect where, you know, you went from random chance to solid performance across a bunch of benchmarks. And that laid the foundation for a lot of the work that Jason Wei and others have had on, you know, thinking about immersion abilities in large language models. And so for us, that was part of the motivation for looking at multiple choice benchmarks as well for MedPOM.

5:35Aligning a general model to the medical domain

5:35And so for MedPOM in particular, what we did was we took MedPOM, this kind of general large language model trained on web scale data, and then kind of further aligned it to the medical domain. We evaluated it at base, but also thought about like, given its limitations in long form medical question answering, thinking about things like safety, factuality, low likelihood of, you know, outputting an answer with bias, what do we need to do to kind of better align that model with this domain? And so really MedPalm was an attempt to do that. Yeah. So basically it sounds like you started off with Palm and Palm was tested against a bunch of different types of tests, right? And so you could take the MCAT or

6:14you could take other types of effectively tests for professional accreditation or for knowledge understanding. And then it sounds like you then said, Hey, this, this seems really interesting, right? We're starting to get really good performance here. And so can we do something that's in the medical domain specifically? And that was MedPalm. And so how did you do that alignment that you mentioned? Was it some form of RLHF? Was it some other form of fine tuning? Was it how you train the model to begin with? Like, what was the difference in terms of MedPalm versus Palm? Yeah, absolutely. I mean, when we tried evaluating PalmOM in the medical setting, we noticed that out-of-box on multiple choice questions performing pretty well. And when we took a

6:50variation of POM, the Flan POM model, which was, again, work from Jason Wei and team, this is an instruction-tuned model, a model that's been trained to follow instructions better. Again, it was able to perform quite well out of the box. And this was the first model that was able to perform above the pass mark on the MedQA set of USMLE style questions. But then what we noticed is that when we evaluated on long form medical question answering, like actually getting the model to generate response, there was a lot of limitations. And when we compared that to clinician performance, it actually didn't do super well. And so really that was the motivation for that MedPalm specific alignment. And so what we did

7:30there was really thinking about instruction prompt tuning, which was this technique, which we explored in that MedPalm paper, which is kind of a data efficient technique and a technique that doesn't require too much data to work because getting labels from doctors is expensive, which took a bunch of expert demonstrations of good behavior from doctors and then used that to tune the parameters of the model and do that in a way that's a little bit more learned than prompting, but also less expensive than full fine tuning. And so you did that. And then I guess if you start looking at this now shift from P to Palm 2 and from MedPalm to MedPalm 2, did you basically just reproduce that same approach for MedPalm 2 or did you do anything

8:09Training changes from Med-PaLM to Med-PaLM2

8:09different there? Yeah, this is the work of many folks other than myself. So just to preface it with that, I mean, I think a few things that have been important have been one is better objectives for true training and using something like a mixture of objectives, training objective. And so that's been something that's been crucial. And so this is work that started with UL2, a paper that was released also last year. And then two other things that ended up being super important. One is following the optimal scaling laws that were empirically evaluated again in this work. And I think there's been a few works that have, you know, tried to do this from open AI and deep mind. And again, this work tried to understand in this context,

8:50what are the optimal scaling laws with respect to data and compute? And how do you trade those things off? And so this paper, again, found something similar to the chinchilla paper, which was that the total amount of data being used for these models was relatively low compared to the number of parameters. And that if we wanted to add in more data, we could do so. being used for these models was relatively low compared to the number of parameters. And that if we wanted to add in more data, we could do so, we could train a better model in a more compute efficient way. So this model also did that. So that's an important improvement as well. And the third thing was kind of improvements in the data that were used to train the model.

9:21And so this especially focused on multilingual data, including more multilingual data and more code data in a bunch of different coding languages as well. Maybe just zooming out a little bit in terms of when you might apply some of these different techniques to align a model to a specific domain. Do you have a framework in your mind for why you might do full pre-training from scratch, why you might do fine-tuning, why you might do a more efficient form of fine-tuning, and when you can just get away with prompt tuning or prompting? How do you think about that? Yeah, this is a great question. I think it really comes down to the data that's available, both in quantity and relevance to a particular topic. I think if you have an infinite

10:05Prompting, prompt tuning or fine-tuning: how much data

10:05supply of data that's relevant for the specific problem that you're trying to solve, then probably the best thing to do is pre-train everything from scratch and do everything end-to-end. And if you don't mind, compute and money as well. If you are working on a task in which general pre-training data in the web confers general advantages to that task. And so that could be domain knowledge. It could be general abilities like reasoning, which is very applicable across many tasks, which I think is the case for medical reasoning as well. Then I think it makes a lot of sense to build on top of an existing model, especially if you're sensitive to things like cost or compute, which most people are these days. And so I think on that spectrum

10:47between things like prompting and prompt tuning all the way to full fine tuning, I think it largely comes down to, so given an existing pre-trained model, which is I think a big hurdle for most teams and most people to train a large scale pre-trained model. Then the question is, do you prompt it? Do you prompt tune it? Do you full fine tune it? I think that largely comes down to data. If you have three to five examples, let's say, then I would prompt it. If you have maybe 10 or 50 examples, it would either be prompt tuning or fine tuning. I think generally in that realm, prompt tuning and fine tuning perform similarly. And I would be prompt tuning or fine tuning. I think generally in that realm, prompt tuning and fine tuning perform similarly.

11:29And I would prefer prompt tuning if you're at all sensitive to things like compute or cost. If you care about the best performance and you have more than 100 examples, then probably fine tuning is your best bet. And it's not as expensive as full pre-training if you're doing it with a model that's been pre-trained, of course. When you thought about evaluation of this model, you must have been surveying the landscape for the other sort of medical, probably, you know, science specific and then medical specific models. Like, what's out there and how did you guys think about evaling and changing eval? Yeah, absolutely. And this is not the first work to explore the potential of a large language model in

12:08science or biomedicine. And so I think it's important to acknowledge all the work that's come before us. What we saw when we first came into this work and tried to understand what other models existed, what other evaluation has been done, was that, one, there was a few exciting works from other teams like Galactica or BioGPT and so on that we thought we could learn from and benefit from. And so that was a really exciting thing to be able to see. And the second thing we saw was that there was a bit of a shortage of kind of a systematic way of doing evaluation of these models. And so it didn't feel like there was a systematic way to think about automated evaluation of the clinical knowledge of these models. And so it didn't feel like there was a systematic way to

12:45think about automated evaluation of the clinical knowledge of these models. So for example, via multiple choice benchmarks, there were a few popular benchmarks like the MedQA benchmark, but it varied across paper what benchmarks they were studying. In some cases, we felt like these benchmarks were not high quality. And so that was one thing that we saw. I mean, another thing that we saw, which was more acute, I think, was kind of a lack of detailed human evaluation across many of these works. And so there was some steps in this direction that we were able to build on. But I think for the most part, a lot of these models that have already existed didn't have kind of detailed human evaluation, given a use case like medical

13:23question answering. And so I think that to us was a significant limitation as we think about the real world potential of these models, because when it comes down to it, we have to make sure that it actually serves humans and is beneficial to humans. And so for us, that was like a significant motivator for the MedPalm work being relatively evaluation forward and thinking carefully about human evaluation with both physicians and lay people. How do you think about where that bar is? Because I think it's one of those things that, you know, having started a medical-centric company before, on the one hand, you really want to be cautious in terms of providing people back information that's accurate, right? And so when I was working actively on the operating

14:05side of color, we spent a lot of time agonizing over the ensuring that the results that we provided back to patients were as accurate as possible, particularly in the context of anything that had to do with core genetic or other information. The flip side of it is, I remember I took my son to the emergency room when he was younger and the doctor said, I'm going to go research this case and I'll be right back. And I had to go ask him another follow-up question. And I go around the corner and he's in his cube, literally Googling the symptoms. Right. And so it wasn't like he had some deep, accurate source. He was just making things up, right. Effectively. Right. I mean, I've seen Google results and you're kind

14:43How accurate must health answers be?

14:43of clicking around and he was just clicking around. I was like, oh my gosh. And I could see the query, right? So I knew he was looking at my kid's symptoms. He had no idea, right? And so there's this bar from, hey, it needs to be incredibly accurate and correct on through to, well, the state of the art actually isn't that amazing in many circumstances. And so how do you think about the right quality bar for these sorts of things in terms of real use application or practice? That's an amazing, great question. I think, as you said, there's two competing forces here, right? Obviously, the stakes are high in the medical setting. And counterfactually, you want to make sure that the information you provide versus the information they would have otherwise gotten

15:19is actually high quality. And so that's very, very careful as you think about any informational use case for these models. At the same time, I think it's useful to recognize that people are searching for health information online and indecision is a decision as well. And so a large percentage, roughly 10% of searches on the internet are for health information. And some of these are coming from physicians themselves, as you mentioned a lot. And so, you know, I think there is a responsibility to think about how to shepherd this technology carefully and safely towards that real world impact for patient health information. And I think that, you know, is crucial as well. And I think one thing that has been missing

16:01from our work so far is really grounded evaluations in a specific use case, in a workflow, to show that there is a benefit, both in terms of safety in the short term and in terms of kind of long-term patient outcomes as well. And so, you know, I think that could be a health informational use case. It could be other clinical workflows. But, you know, I think that's one thing that we have to really make sure we do and, you know, are careful about before any kind of real- world use case here. Yeah, that makes sense. Yeah, it definitely feels like in the medical world, the importance of safety is paramount. And at the same time, there's very little cost benefit being done anymore. And so there's interviews

16:38with Janssen and other sort of giants of the industry basically saying, we need to think about the benefit side, not just the cost side or the safety side. And what you're working on, I think, is so important in terms of, if you think of the really big areas of societal impact, it's what you folks are doing, right? If you could provide amazing health equity globally for everyone in terms of this information, how powerful is that? I mean, that's fundamental. And maybe education is the other one, right? And it feels like AI really has a promise in both of these areas. And so I always worry about, how do you make sure that this can get to market because it's so valuable, but there's going to be all these regulatory

17:10or safety obstacles that in some cases are merited, but in some cases may actually prevent the emergence of really important applications. So I think it's awesome that you folks are working on all this and are being so thoughtful about it. How do you think about what workflows this is going to be most useful for? So, you know, if you look at a lot of the bio or biomedical AI companies, for some reason, they keep doing drug development. A, why do you think that is? Like, because this seems like such an important part of healthcare and probably the bigger driver of healthcare efficacy. And so, A, why is everybody just going and building another protein folding model or, you know, molecular company? And so, A, why is everybody just going and building another

17:45Why startups chase drug discovery first

17:45protein folding model or, you know, molecular company? And B, where do you think are the best applications of what you've been working on? Yeah, these are great questions. I think on the drug discovery front, there's a bit of a playbook here, which any new company here looking for some revenue in the short term can follow. And that could be a safe option. Like there are, for example, existing AI augmented pipelines for doing things like given small molecule chemistry, predicting things like absorption or toxicity. And it's kind of relatively easy to see that some of the more modern models if placed into these pipelines could perform better. And so there's like a relatively safe bet there. And so I think that probably accounts for a lot of the popularity of that as a use case.

18:30I totally agree that like there is a kind of a chance to go for the jugular here in terms of health information, for example. And so, you know, I think this is something that is going to be crucial, but I think it is also something where a lot of the big players are more risk averse. And so, you know, the people who gate access to health information or provide access to health information are also thinking not maybe super counterfactually about the positive benefits of things and they're thinking more about the risks. And so, you know, I think that is also, you know, a concern that's been slowing folks down both in terms of big companies and smaller companies. And, you know, I think there is an opportunity to kind of think more about that and what that could look like. And I think the company that, you know, gets that right, or, you know,

19:14the set of companies that get that right, I think will also have a seat at the conversation when it comes to policy and regulation and things like that. And so they have the chance to shape, you know, what this looks like for the future. And so I think that's going to be potentially quite impactful. Yeah, it seems very exciting because if you look at healthcare, it's 20% of GDP. Pharmaceuticals are about 20% of that. And then drug development is a fraction of that, right? So really what you folks are focused on in terms of the types of models that you're building is at least 16% of GDP. Maybe it's more than that if some of the pharma stuff is more clinical decision-making around who gets a certain pharmaceutical. Do you view this as a technology that's initially

19:54a physician's assistant? Do you view it as something that helps with adjudication of medical claims and billing? There's so many places where this can sort of insert. I'm just sort of curious, where do you think you'll see this technology popping up first? Yeah, I think we're already starting to see it in some clinical workflows when it comes to documentation and building. I think there are a lot of companies and people thinking about taking models like GPT-4 and applying them in that setting. And I think that is definitely going to be something. I think that is also going to be something where players like Epic are going to be able to partner with existing models and I think potentially deliver real value there.

20:36And I think that's very exciting. I think that's something that also, you know, general domain models will be potentially quite good at as well. I think where there might be more of a need for specialized models is when it comes down to kind of higher stakes workflows. And I think that might look in the short term more like a physician's assistant. And so imagine, for example, an agent that can work with a radiologist, help them interpret a scan and leverage the benefits of AI to kind of help contextualize, you know, a patient's medical record or any previous scans or different angles of scans that a patient has had to help a radiologist write a more accurate report. I think that's something, that's the kind of thing which I think, you know, is in the sweet spot of

21:20both feasible today, you know, leverages the benefits of AI in terms of taking an additional context and, you know, potential multimodality and all these kinds of things. And it's also potentially in a sweet spot with respect to regulation as well. And so I think that's, you know, something that could happen in the shorter, medium to short term. How do you architect a model or workflow in this context to deal with things like HIPAA or patient privacy? So I feel like healthcare data is unique from the context of what you're allowed to do in terms of who you send it to, with what permissions from users. So is it just you have to get the right user opt-in and then it's fine? Or is there extra work that you need to do in terms of blinding data or doing other

21:57HIPAA, redaction and patient privacy

21:57things relative to the prompts or queries you're sending in? Yeah, it's a great question. I mean, I think this is something that people are just trying right now and just seeing what happens. And it's kind of interesting. People are just putting in patient information into GPT-4. Sometimes they're redacting information and all these kinds of things. I think a starting point is just models that are able to automatically redact very sensitive information from being sent further down a pipeline. I think that's something that's a very low hanging fruit that many people can do. There's also potential for HIPAA compliance within organizations. So I know some organizations working in the space are partially HIPAA compliant or are kind of trying to make that claim.

22:51And I think that's something that's useful. And I think that's something that we should work towards as well. You know, I think in the longer run, I think a lot of these concerns, I think, are actually unclear in terms of how things will work out. Like, I think there is kind of a bigger question about software of unknown provenance and how that will be used and regulated, you know, in the future. There could be some kind of situation in which, like, these things actually end up being very hard to scale up and apply in the real world for, you know, high-stakes settings. But I think we'll probably end up with a scenario where it'll become obvious that we need to and that we must, and that doing so will improve patient outcomes.

23:28And so then I think it'll be time to have a serious conversation about what regulating these models and making sure privacy concerns are mitigated looks like. And I think we have yet to have that discussion. Yeah, HIPAA is kind of interesting from the context of it was an incredibly well-intentioned piece of legislation. But the flip side of it is it's really backfired in all sorts of ways in terms of actual patient good. And you see that sometimes as well in terms of some of the things that as you sign up for a clinical trial or other that you can actually do with your own data, where sometimes you're constrained from accessing it. I know of one example where somebody had brain cancer. They had a glioblastoma and it

24:05was a researcher at MIT. And he participated in a small clinical trial and then they were unable because of compliance to give him his own data so that he could try and discover drugs against his own glioblastoma, his own brain cancer, right? And so sometimes you see these very well-intentioned approaches in terms of the protocols around a clinical trial or on HIPAA or other things that are very well-intentioned in terms of what they want to do, but then sometimes they may backfire as you start to enter the modern data world, since I think that legislature is now almost 30 years old, right? And so I just think it was set up for a world that's very different from what we have now in terms of, you know, the liquidity and fluency of your ability to interact with information and patients driving their own diagnoses and things like that.

24:48So my hope is that some of these things get rebalanced in the AI world, since it could be so valuable to things like what you're doing. I was just going to say that is the status quo. And you've also worked on the areas of privacy, preserving machine learning and federated learning. Those areas have broadly taken a backseat to, let's say, scaling and aligning these more centralized models. Do you see a place for that technology in this field? Yeah, that's a great question. So, I mean, as I mentioned before, the first couple of years of my career, we were really thinking more about privacy-preserving machine learning and federated learning and scaling that up and coming up with new algorithms that can learn new things without sending all the data to a centralized

25:29Federated learning versus the largest models

25:29place. And so in a lot of ways, that has a very, very natural fit with the setting. And part of my motivation when I first started working on the setting was bringing in a lot of that expertise and bringing it into that setting. My sense is that, I think one hesitation I have there is that I think a lot of the most impactful work that's going to happen in this setting is going to happen with the largest and most capable models, at least for the next few years, it seems like. And I think that one thing that we're seeing is that even without any patient health information put into these models, like for example, MedPalm and MedPOM2 are trained without any patient health information. They're just kind of taking all the knowledge of POM and POM2 and then just kind of aligning them and making them behave in a certain way.

26:17I think in the short term, there is this kind of thing that we see where models like GPT-4 and MedPOM, MedPOM2 are able to do surprisingly well without any patient health information. And so it seems like we can get fairly far with that. I mean, in the longer run, I do think that coming back to that question of data and how do you think about how to train a model depending on how much data you have and how relevant that data is, the ideal thing would be to have access to all of the data, but in a privacy-preserving way, in a way that people are in control of their data, are able to revoke access to that data, and are able to kind of benefit from that shared understanding of their data. And so that's kind of the ideal world.

26:56But I think there are real-world obstacles to doing federated learning on health data, which actually kind of increased activation energy to the point where in the next few years, I doubt that like the biggest advances are going to come from using federated learning approaches. But I think there are kind of intermediate solutions, which people often sometimes refer to as federated, but maybe are not technically federated, which are things like trusted execution environments or other environments in which models are running, but don't have, the folks at Google don't have access to the data or direct access to the models. And so there's this ability to kind of silo that from, you know, silo any patient health

27:36information in the future potentially, or, you know, any other data that's quite sensitive from engineers or other folks at, you know at big companies or small companies. Yeah. Going back to perhaps more promising near-term areas of research, you've had this idea of building a medical assistant as a sort of laboratory for safety and alignment research. Can you talk about that? Yeah, absolutely. I mean, this is a lot of what got me thinking about the setting, especially coming into the setting as somebody who, you know, didn't have much of a medical background in terms of expertise. I was really thinking about, you know, what are the big things that I could do to help shape the trajectory of AI or nudge it in a more beneficial direction?

28:20And thinking about AI safety seriously in terms of both short-term and longer-term risks, I think, was important to me. And so one thing I've become more convinced about over time is this idea that many organizations right now, Google, DeepMind, Anthropic, OpenAI, are right now looking at the idea of a general chat assistant. And kind of instead of like doing alignment research in a vacuum or looking at that setting as a way in which we can think about kind of better refining these models and better aligning them to human values. I think there's a good chance that this setting, this medical setting, for example, medical question answering, or maybe more broadly, I think ends up being a better scenario

29:00to study concerns about technical safety and to mitigate concerns like misalignment with human values or hallucinations or things like that. And so, I mean, I think this comes down to things like making sure the incentives are aligned with respect to releasing products. So for example, I think if any organization wants to release products in the space, it actually needs to work on these problems more so than I think chat GPT. I think it also comes down to kind of the stakes of the setting. I think everybody feels like the stakes of the setting are high enough that everybody feels like these issues are especially important and there's no debate about that. And I think there's also like more subtle technical points.

29:36Scalable oversight and the expert bottleneck

29:36Like I think one issue that, you know, alignment researchers are now working on is the idea of scalable oversight, which means how do you give human feedback to a model when human feedback might not be super well-informed or it might be unreliable because AI capabilities are starting to reach human level. And so when we start to get to that point, things like RLHF start to fail and it starts to become unclear what to do. And so I actually think the medical setting is a scenario in which this is already more obvious. So you're already in a setting in which you need experts to be able to evaluate answers. And one thing we're seeing with MedPOMP2 as we get closer to physician level performance on medical question answering is that

30:20it's hard to tell the difference anymore. It's hard to tell the difference between different models. It's hard to tell the difference between models and physicians. And when you're at that point where it's uninformed oversight, then it becomes very tricky to think about aligning to human values. And so that problem is super well motivated in the setting. And that's something I'm very excited about. What do you think is a solution to that? Because if you look at the gaming analog, which is probably a bad analog here, right? Once machines were better than humans at things like Go or chess or other things, people started learning off of the things that the machines were doing that were unique or

30:52creative or different, or the problem solving was very different. And if we really want this technology to be incredibly valuable for medical applications, in some cases, we may end up with these suggestions that will really work well, but that to your point, people may misinterpret or misunderstand. And so how do you think about evaluating things when the AI will be better than a person at medical adjudication or better than an expert? Yeah, this is, I mean, this is, you know, really, really interesting question. I don't think I have all the answers, but I think there are approaches that people at Google and other organizations have been looking at. I think a couple ideas here that I think are interesting and useful.

31:33Self-critique, debate and AI oversight methods

31:33One is the idea of self-refinement or self-critique of these models. And so this is the idea that these models can take their own responses, give critiques, often guided with human feedback. And so that's the place where human feedback comes in. But some of these techniques, there is no human feedback. And in that case, I'm not sure that's as valuable. Give critiques guided by human feedback and then use that to produce better answers. That's one line of approaches. I think a second line of approaches is around debate. And so the idea here is that it's easier for a human to judge a debate between two different answers than to judge the answer itself. And so the kind of standard for verification is a bit lower here. And so there's that ability for humans to be able

32:21to judge a response that potentially they wouldn't be able to judge otherwise via things like debate. And so that's another thing. I mean, another thing which is people are working on as well is thinking about how we can take AIs that are less capable and use them to kind of supervise other AIs that are more capable. And so this is kind of the motivation. I mean, this is partly the motivation of RLHF as well, even though it's about human feedback, it's about training a reward model that takes into account human feedback. And then at that point, it's AI feedback from then on. And then you use your RL algorithm, and then you get rewards from your reward model. RLAIF or constitutional AI, you know, kind of builds on that idea. But there's also limitations to that approach as well. I mean, I think if you ask researchers across all these organizations, have we solved this

33:07problem? Do we know what we're supposed to do? I think most of them would say no. It seems like a pretty consequential problem. So I'm excited for more folks to work on it. Yeah. One thing that I feel like would also sort of be generated as a side effect of all this is just you end up with these really interesting closed loop data sets over time that may be unique outside of an EMR or somewhere else or a really robust medical record system. Because if you have effectively a physician's assistant or something else, and then you have the endpoint of what happened based on treatment, you actually have a really interesting retrospective data mining training set. Yeah, I mean, I think that's like another opportunity for feedback for these models which

33:42could have a huge impact on the world. Yeah, it'll actually be data-driven medicine, which I think, you know, sometimes happens, but sometimes doesn't. So it's very exciting. I guess one more question is just, you know, there's amazing potential here. And if I look at the history of medical technology, you know, in the 1970s, there was something known as the Mycene Project at Stanford, where they built an expert system, which was an old computer program of its time or a computer program of its day that was sort of a precursor to some of the things that eventually happened in AI. They had an expert system that outperformed all of Stanford's medical staff on the prediction of the infectious disease that somebody had. So 40 years ago, almost, we had a machine

34:25that outperformed people in terms of diagnosis, but it never got adopted. And so often when I look at medical technologies, there's this almost like anti-adoption curve. In some cases for the things that may be most impactful. How has the medical field embraced or not embraced these AI models? Is it different this time? Are people excited about it? Are they not excited? Does it really depend on the type of physician? I'm just sort of curious, like what the reaction has been from the medical community today? Absolutely. That's a really great question. You know, I think when we started this brain moonshot, which we call it within Google, that was actually our motivation. It was really to think

35:05How doctors and the medical community reacted

35:05about the fact that these models kind of already exist, and there was this opportunity to catalyze the medical AI community to really think about them carefully, think about the promise there, and to catalyze the AI community to think about how we can resolve any remaining limitations that would prevent real-world uptake. And so this was really our goal. And I think when we started this, there was much less conversation about the potential for large language models and foundation models for healthcare. And I think, I mean, partly because of, I think largely also because of other work that's gone on, you know, with GPT-4 and excitement around that. I think there's much, much more conversation about, you know, how these models can be used in the setting in a productive way.

35:46I think that's really, really exciting. And I think there's a lot of optimism I see, but there's also a lot of justified concern about the potential limitations of these models and how we can get over them. Personally, I mean, from what I've seen from giving talks to different groups and chatting with different folks and different stakeholders. I think there's a widely held optimism about this technology and about the potential, but I think there's also a little bit of fear that I think people have seen in other domains. I think programmers often feel a little bit of fear when they see GPT-4, for example. And I think it's not necessarily a fear that jobs will be replaced in the short term or things like that,

36:24but it's more of a fear of, look how fast things are moving. This is nuts. Think about just the improvement from MedPom 1, GPT-4, MedPom 2 in three months. It's absolutely crazy. It's definitely an inflection point think about, you know, what are the most important problems we need to solve versus like getting caught up in the hype at some, you know, defined superhuman level, should we come to some sort of agreement as a democratic society about what eval looks like, is really important in that if you just think about what the status quo is for somebody who has a complex case in a median background in America, what do they know about the error matrix of their doctor and what, you know, in a field that's also advancing in parallel to AI,

37:34like the specific rare condition that they have, it's not super encouraging, right? And so in terms of leverage for a field where the status quo is not sufficient, not as a comment on, you know, the class of physicians and researchers, but just in terms of the quality of care that we want to be able to offer every person, it seems like we want to set a reasonable safety case, not a unlimited safety case, right? Which is, I think, is one of the things that has held back other sort of mission-critical AI applications in the past. Maybe on that note, like one last ask for you in terms of encouraging some optimism, you know, you're working on the state-of-the-art in this field and thinking about the barriers to

38:21the applied use, like five years from now, like how do you hope we are using large language models in the medical field? Yeah, I guess I think about this in two broad buckets. I think there are two broad types of things that we can do for large language models in the medical field. I think the first is increasing the standard of care very broadly. And so that looks a lot like, you know, increasing access to health information, providing assistance to physicians. So the radiology example I gave earlier, potentially clinical decision support, like double-checking a doctor's decision or quality assurance for a radiologist report. So if, you know, a radiologist is dictating a report, they say no pleural effusion seen, but then it's written down as pleural effusion seen, then maybe an AI double checks that and just makes sure. That's what was intended. I think augmenting telemedicine is kind of a short-term opportunity that I think in the next five years is very much achievable is augmenting scientific workflows. And I think this

39:25Augmenting scientific research with language models

39:25could be a longer term thing than five years, but I think there's also short term things that we can do as well. So thinking about looking at correlations across modalities and existing data to find novel biomarkers for existing diseases that we know about, or kind of using large language models as research assistants. So I think there's already a lot of work on the idea of literature search and augmenting literature search with large language models. I think there's a lot of opportunity there. And that goes a little bit beyond, you know, what MedPom is likely going to do. But I think that's something that I think, you know, it's going to be really promising with respect to the future of AI.

40:02Because I think in the long term, when things go really well with AI, it's going to be because we've solved a lot of the most pressing scientific problems of today. And I think that's going to be because, you know, it augmented scientists, it helped scientists, it helped us figure out what are the things that we're missing. And I think there's a lot of potential there. So I'm also really excited about that in the long term. Awesome. Wrapping up, is there anything else you think we should touch on? Yeah, absolutely. I mean, I think for, you know, real world uptake of these models, there are a few large language model capabilities in some cases that already exist, but we need to figure out the right way to do them. And I think a few of them are just, you know,

40:38multimodality, which is something that we were working on. We kind of previewed last week at IO and grounding and authoritative sources, I think is important as well. Thinking about how these models can use tool form or like approaches to, for example, query authoritative medical information like a human would, but potentially better. And I think that's also one way of getting around the risk averseness that you see in this area with respect to health information. If you're able to attribute, you know, information to an authoritative source, I think that has been something that has progressed this area in big companies before. And so where, for example, Google is doing that with health information is largely because

41:16it can attribute things to the Mayo Clinic and other organizations. And so I think that's going to be really important for moving this forward. You know, I think also, you know, solid research, thinking about better ways to improve the ways we are taking in human feedback. I think, you know, the jury's still out with respect to how to best, you know, collect human feedback, even. I think people are still debating things like whether or not, you know, pairwise comparison versus rewrites are the best things to do. And, you know, that's a valuable thing to think about. I think another thing to think about is how to actually use that human feedback in the most valuable way, especially given all the scalable oversight concerns that you guys

41:53mentioned. I think that's a significant limitation of MedPom as it is today. And I think there's a lot of exciting things to do. And I think a lot of these questions are foundational questions for AI more broadly, but become more acute and more relevant in this setting. It's been great to have you on NoPriors. Thanks for doing this. Yeah, thanks so much for joining. Thanks, guys.

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
Going Full Send on AI, and the (Positive) Impact of AI on Jobs, with Kevin Scott, CTO of Microsoft2023-05-24 · 55 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Will Everyone Have a Personal AI? With Mustafa Suleyman, Founder of DeepMind and Inflection2023-05-11 · 52 min
No Priors: Artificial Intelligence | Technology | Startups cover art
AI & Defense Technology with Anduril CEO Brian Schimpf2023-06-01 · 50 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Personalizing AI Models with Kelvin Guu, Senior Staff Research Scientist, Google Brain2023-05-04 · 40 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Listener Q&A: AI Misconceptions, The Reality of Regulation, Infinite Context, Incumbent AI Execution and Startup Ideas2023-06-08 · 35 min
No Priors: Artificial Intelligence | Technology | Startups cover art
Listener Q&A: AI Investment Hype, Foundation Models, Regulation, Opportunity Areas, and More2023-04-27 · 34 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.