avatarSalvatore Raieli

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

6224

Abstract

caption></figure><p id="7718">Google recently published a new study in which it presents the multimodal version of <a href="https://sites.research.google/med-palm/">Med-PaLM</a>:</p><div id="a7a2" class="link-block"> <a href="https://arxiv.org/abs/2307.14334"> <div> <div> <h2>Towards Generalist Biomedical AI</h2> <div><h3>Medicine is inherently multimodal, with rich data modalities spanning text, imaging, genomics, and more. Generalist…</h3></div> <div><p>arxiv.org</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*TCZsVhw6PWFXJ8qo)"></div> </div> </div> </a> </div><p id="91f4">The contributions of this work can be summarized:</p><ul><li>a new multimodal biomedical benchmark.</li><li>Med-PaLM M, the first demonstration of a generalist biomedical artificial intelligence system.</li><li>Evidence of new emerging capabilities in Med-PaLM M (such as zero-shot medical reasoning, generalization to new medical concepts and tasks, and positive transfer between tasks.</li><li>In a blinded ranking of chest radiographs, physicians expressed a pairwise preference for Med-PaLM M reports over those produced by radiologists up to 40.50% of the time.</li></ul><figure id="5223"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*lN8YotKtAfiLppa9LzJ6Hg.png"><figcaption>image source: <a href="https://arxiv.org/abs/2307.14334">here</a></figcaption></figure><h2 id="caf8">The dataset</h2><p id="65ce"><a href="https://arxiv.org/abs/2307.14334">The authors</a> curated a dataset for biomedical AI; the dataset includes 12 open-source datasets and 14 tasks. This dataset is used to measure a model’s ability to perform a variety of clinically-relevant tasks. The dataset includes data from genomics, pathology, radiology, medical question, and others.</p><ul><li>Task type: question answering, report generation and summarization, visual question answering, medical image classification, and genomic variant calling.</li><li>Modality: text, radiology (CT, MRI, and X-ray), pathology, dermatology, mammography, and genomics.</li><li>Output format: open-ended generation for all tasks including classification.</li></ul><figure id="14c2"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*nCWqzpHgfJX50GhKS6JQbA.png"><figcaption>image source: <a href="https://arxiv.org/abs/2307.14334">here</a></figcaption></figure><h2 id="7407">The model</h2><p id="d4e6"><a href="https://arxiv.org/abs/2307.14334">The authors</a> used the Pathways Language Model (PaLM). It is a wide decoder-only Transformer (there are three versions: 8, 62, and 540 billion parameters). The authors then used Vision Transformer (ViT) as an encoder.</p><p id="5feb"><a href="https://arxiv.org/abs/2307.14334">The authors</a> used <a href="https://ai.googleblog.com/2023/03/palm-e-embodied-multimodal-language.html">PaLM-E</a> (a multimodal language model which uses pre-trained <a href="https://ai.googleblog.com/2022/04/pathways-language-model-palm-scaling-to.html">PaLM</a> and ViT) as the basis for Med-PaLM M. In other words, the authors reused models that had already been pre-trained and then conducted fine-tuning on MultiMedBench.</p><p id="54ed"><a href="https://arxiv.org/abs/2307.14334">The authors</a> trained the model with a mixture of distinct tasks simultaneously via instruction tuning, this was to create a model that performs multiple tasks on multimodal inputs (while still using only one model). The authors show an example of this training, in which they provide a medical image, context on the image, and instruction:</p><figure id="8de1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*RBoOVpdQqVMSTmVmqhlzTw.png"><figcaption>image source: <a href="https://arxiv.org/abs/2307.14334">here</a></figcaption></figure><h2 id="cd80">Evaluation</h2><p id="8749"><a href="https://arxiv.org/abs/2307.14334">The authors</a> evaluated the following cases:</p><ul><li><b>Evaluate generalist capabilities.</b> evaluate the model on different biomedical tasks. Compared with the previous SOTA for each task.</li><li><b>Explore novel emergent capabilities.</b> Test whether using a single flexible model led to the emergence of new abilities in the biomedical field.</li><li><b>Measure radiology report generation quality. </b>They performed expert radiologist evaluations of AI-generated reports.</li></ul><h2 id="db79">Results</h2><p id="4b8a">Med-PaLM M reaches and exceeds previous SOTAs in 5 of the 12 tasks, although it is still competitive in the other tasks as well. <a href="https://arxiv.org/abs/2307.14334">The authors point</a> out that these results are obtained using only one model with the same set of weights</p><figure id="7fc4"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*I-FvK-g7G7S9etuWgAdueg.png"><figcaption>image source: <a href="https://arxiv.org/abs/2307.14334">here</a></figcaption></figure><p id="f297"><a href="https://arxiv.org/abs/2307.14334">The authors</a> point out other interesting points:</p><ul><li>Med-PaLM M outperformed the previous best PaLM results and the results themselves of Med-PaLM 2 (non-multimodal model). This demonstrates the importance of multimodality.</li><li>The model is superior to PaLM-E, multimodal but not fine-tuned on medical topics. This result shows the importance of domain adaptation.</li><li>For tasks that require language understanding and reasoning (such as question answering), the authors note that there is a proportional improvement with scaling. Also, for tasks such as mammography or dermatology image classification where the importance of language is less than visual understanding, the vision encoder dimensions are the bottleneck.</li></ul><p id="afd9"><a href="https://arxiv.org/abs/2307.14334">The authors</a> show that the model is capable of zero-shot generalization, because even when trained on datasets that also contain X-rays the model is not specifically trained to recognize tuberculosis in the image</p><figure id="b675"><img src="https://cdn-images-1.readmediu

Options

m.com/v2/resize:fit:800/1*RAfgcMRpFX2xAxHVpByCmA.png"><figcaption>image source: <a href="https://arxiv.org/abs/2307.14334">here</a></figcaption></figure><p id="f058">The model is also able to write a report and explain the reasoning (zero-shot chain-of-thought (CoT)), although there is room for improvement in this aspect:</p><blockquote id="536a"><p>However, according to expert radiologist review, there are still some omissions of findings and errors in the model generated report, suggesting room for improvement. (<a href="https://arxiv.org/abs/2307.14334">source</a>)</p></blockquote><figure id="e04e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*dJTSIPBxwdp22kv1WRh34A.png"><figcaption>image source: <a href="https://arxiv.org/abs/2307.14334">here</a></figcaption></figure><p id="89c5">The authors then conducted a side-by-side evaluation with clinicians. In the study, four clinicians compared reports from radiologists and the model. The clinicians’ reports are preferred in most cases, but the larger model reports show better performance.</p><figure id="3131"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*dIBTozZpV7iG7jHd7RJkQw.png"><figcaption>image source: <a href="https://arxiv.org/abs/2307.14334">here</a></figcaption></figure><h1 id="efb6">Conclusions</h1><p id="04ae">Google has presented a model capable of showing performance that is SOTA or otherwise competitive for 12 tasks, all thanks to a single model.</p><p id="b8b6">The model also shows emerging capabilities that are multimodal, showing the importance of using multiple modalities in medicine. They also show how domain adaptation is important.</p><p id="74c0">Among the most interesting capabilities is report production for radiology. The authors note that the model also produces errors and cites articles that do not exist (AI artifacts) however, the quality is still impressive.</p><blockquote id="7c56"><p>While human clinicians can train for “general practice”, helpful subspecialty-specific expertise is often found in different experts, to whom non-specialist clinicians may refer for specialist opinions in the course of care. It is also commonplace for multiple physician specialities to work together in care delivery. (<a href="https://arxiv.org/abs/2307.14334">source</a>)</p></blockquote><p id="b963">For Google in the future, physicians will work together with both generalist and specialist AI models. On the other hand, however, these models would have to be tested extensively before entering the clinic, and at present the model is not available for analysis.</p><h2 id="e1a6">What do guys think? Let me know in the comments</h2><h1 id="60a2">If you have found this interesting:</h1><p id="c686"><i>You can look for my other articles, you can also <a href="https://salvatore-raieli.medium.com/subscribe"><b>subscribe</b></a> to get notified when I publish articles, you can <a href="https://medium.com/@salvatore-raieli/membership"><b>become a Medium member</b></a> to access all its stories (affiliate links of the platform for which I get small revenues without cost to you) and you can also connect or reach me on<b> <a href="https://www.linkedin.com/in/salvatore-raieli/">LinkedIn</a>.</b></i></p><p id="c7b1"><i>Here is the link to my GitHub repository, where I am planning to collect code and many resources related to machine learning, artificial intelligence, and more.</i></p><div id="aca1" class="link-block"> <a href="https://github.com/SalvatoreRa/tutorial"> <div> <div> <h2>GitHub - SalvatoreRa/tutorial: Tutorials on machine learning, artificial intelligence, data science…</h2> <div><h3>Tutorials on machine learning, artificial intelligence, data science with math explanation and reusable code (in python…</h3></div> <div><p>github.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*xg1EGow7Iskm2y7a)"></div> </div> </div> </a> </div><p id="26b6"><i>or you may be interested in one of my recent articles:</i></p><div id="8219" class="link-block"> <a href="https://towardsdatascience.com/all-you-need-to-know-about-in-context-learning-55bde1180610"> <div> <div> <h2>All You Need to Know about In-Context Learning</h2> <div><h3>What is and how does it work what makes Large Language Models so powerful</h3></div> <div><p>towardsdatascience.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*672ClKZmINoZUTjT)"></div> </div> </div> </a> </div><div id="2839" class="link-block"> <a href="https://levelup.gitconnected.com/meta-transformer-one-model-to-rule-all-a3eeb9bd96b9"> <div> <div> <h2>Meta-Transformer: one model to rule all</h2> <div><h3>From text to video, from graph to images, what if we could use just one model?</h3></div> <div><p>levelup.gitconnected.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*mMuSK9JngDlzJn0P)"></div> </div> </div> </a> </div><p id="00cb" type="2">Level Up Coding</p><p id="a102">Thanks for being a part of our community! Before you go:</p><ul><li>👏 Clap for the story and follow the author 👉</li><li>📰 View more content in the <a href="https://levelup.gitconnected.com/?utm_source=pub&amp;utm_medium=post">Level Up Coding publication</a></li></ul><p id="601b">🔔 Follow us: <a href="https://twitter.com/gitconnected">Twitter</a> | <a href="https://www.linkedin.com/company/gitconnected">LinkedIn</a> | <a href="https://newsletter.levelup.dev/">Newsletter</a></p><p id="fe5a"><b>🧠 AI Tools ⇒ <a href="https://www.aimind.so/prompt-generator?utm_source=luc&amp;utm_medium=article">Become an AI prompt engineer</a></b></p></article></body>

| ARTIFICIAL INTELLIGENCE| MEDICINE| HEALTH|

Google Med-PaLM M: Towards the Medical AI Generalist

Google unveils a multi-modal model capable of incredible skills

Photo by Nappy on Unsplash

Medicine is multimodal, and LLMs have only text as input. We have a possible multimodal LLM for a multimodal world, is this possible?

LLMs and medicine

Photo by Nappy on Unsplash

Actually, it is a long love affair between medicine and artificial intelligence. Although for practical reasons and stringent regulations, it is difficult for AI applications to enter the clinic, there is intense research. Why? Because artificial intelligence could save so many lives,

Google has early on tried to adapt its PaLM model to the clinic, using special fine-tuning to make it more domino-friendly.

At the same time, the open-source community has also dedicated itself to the same goal. The first version of LLaMA was immediately to medicine. The model was fine-tuned on millions of abstracts.

On the other hand, one of the main problems of LLMs is to hallucinate, and interesting solutions were sought. For example, inserting additional knowledge. ClinicalGPT exploits an ingenious idea to give different inputs to the model, but it cannot be called strictly multimodal.

At present, most of today’s models are unimodal. For example, we have excellent ViTs that can be used with medical images, but these cannot incorporate relevant patient information from medical records. Such a model also outputs a predefined set of classes, cannot explain predictions, and cannot interact interactively with the clinician.

Google and other companies think foundation models can change the approach to medicine. These models are trained with huge amounts of data and can be quickly adapted to downstream tasks (even often without fine-tuning), and have generative and dialogic capabilities. A further advance would be the ability to integrate different modalities into complex structures that would allow the model to relate information and address new challenges. This is in the direction of a generalist biomedical AI system.

A generalist biomedical AI system can be defined as a model that manages to integrate all modalities and handle all the various downstream tasks at the same time, using the same set of weights for all of them.

This is an ambitious idea for several reasons:

  • it lacks comprehensive multimodal medical benchmarks.
  • An architecture to integrate the different modalities.

Multimodal Med-PaLM: boosting the AI physician

Photo by Victor Freitas on Unsplash

Google recently published a new study in which it presents the multimodal version of Med-PaLM:

The contributions of this work can be summarized:

  • a new multimodal biomedical benchmark.
  • Med-PaLM M, the first demonstration of a generalist biomedical artificial intelligence system.
  • Evidence of new emerging capabilities in Med-PaLM M (such as zero-shot medical reasoning, generalization to new medical concepts and tasks, and positive transfer between tasks.
  • In a blinded ranking of chest radiographs, physicians expressed a pairwise preference for Med-PaLM M reports over those produced by radiologists up to 40.50% of the time.
image source: here

The dataset

The authors curated a dataset for biomedical AI; the dataset includes 12 open-source datasets and 14 tasks. This dataset is used to measure a model’s ability to perform a variety of clinically-relevant tasks. The dataset includes data from genomics, pathology, radiology, medical question, and others.

  • Task type: question answering, report generation and summarization, visual question answering, medical image classification, and genomic variant calling.
  • Modality: text, radiology (CT, MRI, and X-ray), pathology, dermatology, mammography, and genomics.
  • Output format: open-ended generation for all tasks including classification.
image source: here

The model

The authors used the Pathways Language Model (PaLM). It is a wide decoder-only Transformer (there are three versions: 8, 62, and 540 billion parameters). The authors then used Vision Transformer (ViT) as an encoder.

The authors used PaLM-E (a multimodal language model which uses pre-trained PaLM and ViT) as the basis for Med-PaLM M. In other words, the authors reused models that had already been pre-trained and then conducted fine-tuning on MultiMedBench.

The authors trained the model with a mixture of distinct tasks simultaneously via instruction tuning, this was to create a model that performs multiple tasks on multimodal inputs (while still using only one model). The authors show an example of this training, in which they provide a medical image, context on the image, and instruction:

image source: here

Evaluation

The authors evaluated the following cases:

  • Evaluate generalist capabilities. evaluate the model on different biomedical tasks. Compared with the previous SOTA for each task.
  • Explore novel emergent capabilities. Test whether using a single flexible model led to the emergence of new abilities in the biomedical field.
  • Measure radiology report generation quality. They performed expert radiologist evaluations of AI-generated reports.

Results

Med-PaLM M reaches and exceeds previous SOTAs in 5 of the 12 tasks, although it is still competitive in the other tasks as well. The authors point out that these results are obtained using only one model with the same set of weights

image source: here

The authors point out other interesting points:

  • Med-PaLM M outperformed the previous best PaLM results and the results themselves of Med-PaLM 2 (non-multimodal model). This demonstrates the importance of multimodality.
  • The model is superior to PaLM-E, multimodal but not fine-tuned on medical topics. This result shows the importance of domain adaptation.
  • For tasks that require language understanding and reasoning (such as question answering), the authors note that there is a proportional improvement with scaling. Also, for tasks such as mammography or dermatology image classification where the importance of language is less than visual understanding, the vision encoder dimensions are the bottleneck.

The authors show that the model is capable of zero-shot generalization, because even when trained on datasets that also contain X-rays the model is not specifically trained to recognize tuberculosis in the image

image source: here

The model is also able to write a report and explain the reasoning (zero-shot chain-of-thought (CoT)), although there is room for improvement in this aspect:

However, according to expert radiologist review, there are still some omissions of findings and errors in the model generated report, suggesting room for improvement. (source)

image source: here

The authors then conducted a side-by-side evaluation with clinicians. In the study, four clinicians compared reports from radiologists and the model. The clinicians’ reports are preferred in most cases, but the larger model reports show better performance.

image source: here

Conclusions

Google has presented a model capable of showing performance that is SOTA or otherwise competitive for 12 tasks, all thanks to a single model.

The model also shows emerging capabilities that are multimodal, showing the importance of using multiple modalities in medicine. They also show how domain adaptation is important.

Among the most interesting capabilities is report production for radiology. The authors note that the model also produces errors and cites articles that do not exist (AI artifacts) however, the quality is still impressive.

While human clinicians can train for “general practice”, helpful subspecialty-specific expertise is often found in different experts, to whom non-specialist clinicians may refer for specialist opinions in the course of care. It is also commonplace for multiple physician specialities to work together in care delivery. (source)

For Google in the future, physicians will work together with both generalist and specialist AI models. On the other hand, however, these models would have to be tested extensively before entering the clinic, and at present the model is not available for analysis.

What do guys think? Let me know in the comments

If you have found this interesting:

You can look for my other articles, you can also subscribe to get notified when I publish articles, you can become a Medium member to access all its stories (affiliate links of the platform for which I get small revenues without cost to you) and you can also connect or reach me on LinkedIn.

Here is the link to my GitHub repository, where I am planning to collect code and many resources related to machine learning, artificial intelligence, and more.

or you may be interested in one of my recent articles:

Level Up Coding

Thanks for being a part of our community! Before you go:

🔔 Follow us: Twitter | LinkedIn | Newsletter

🧠 AI Tools ⇒ Become an AI prompt engineer

Artificial Intelligence
Healthcare
Medicine
Science
Technology
Recommended from ReadMedium