Daniel Yan Zheng Lim, Yu Bin Tan, Jonas Ren Yi Ho, Sushmitha Carkarine, Tian Wei Valerie Chew, Yuhe Ke, Jen Hong Tan, Ting Fang Tan, Kabilan Elangovan, Le Quan, Li Yuan Jin, Jasmine Chiat Ling Ong, Gerald Gui Ren Sng, Joshua Yi Min Tung, Chee Kiat Tan, Damien Tan
{"title":"视觉语言大型学习模型,GPT4V,准确分类波士顿肠准备量表得分。","authors":"Daniel Yan Zheng Lim, Yu Bin Tan, Jonas Ren Yi Ho, Sushmitha Carkarine, Tian Wei Valerie Chew, Yuhe Ke, Jen Hong Tan, Ting Fang Tan, Kabilan Elangovan, Le Quan, Li Yuan Jin, Jasmine Chiat Ling Ong, Gerald Gui Ren Sng, Joshua Yi Min Tung, Chee Kiat Tan, Damien Tan","doi":"10.1136/bmjgast-2024-001496","DOIUrl":null,"url":null,"abstract":"<p><strong>Introduction: </strong>Large learning models (LLMs) such as GPT are advanced artificial intelligence (AI) models. Originally developed for natural language processing, they have been adapted for multi-modal tasks with vision-language input. One clinically relevant task is scoring the Boston Bowel Preparation Scale (BBPS). While traditional AI techniques use large amounts of data for training, we hypothesise that vision-language LLM can perform this task with fewer examples.</p><p><strong>Methods: </strong>We used the GPT4V vision-language LLM developed by OpenAI, via the OpenAI application programming interface. A standardised prompt instructed the model to grade BBPS with contextual references extracted from the original paper describing the BBPS by Lai <i>et al</i> (GIE 2009). Performance was tested on the HyperKvasir dataset, an open dataset for automated BBPS grading.</p><p><strong>Results: </strong>Of 1794 images, GPT4V returned valid results for 1772 (98%). It had an accuracy of 0.84 for two-class classification (BBPS 0-1 vs 2-3) and 0.74 for four-class classification (BBPS 0, 1, 2, 3). Macro-averaged F1 scores were 0.81 and 0.63, respectively. Qualitatively, most errors arose from misclassification of BBPS 1 as 2. These results compare favourably with current methods using large amounts of training data, which achieve an accuracy in the range of 0.8-0.9.</p><p><strong>Conclusion: </strong>This study provides proof-of-concept that a vision-language LLM is able to perform BBPS classification accurately, without large training datasets. This represents a paradigm shift in AI classification methods in medicine, where many diseases lack sufficient data to train traditional AI models. An LLM with appropriate examples may be used in such cases.</p>","PeriodicalId":9235,"journal":{"name":"BMJ Open Gastroenterology","volume":"12 1","pages":""},"PeriodicalIF":3.3000,"publicationDate":"2025-03-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11881179/pdf/","citationCount":"0","resultStr":"{\"title\":\"Vision-language large learning model, GPT4V, accurately classifies the Boston Bowel Preparation Scale score.\",\"authors\":\"Daniel Yan Zheng Lim, Yu Bin Tan, Jonas Ren Yi Ho, Sushmitha Carkarine, Tian Wei Valerie Chew, Yuhe Ke, Jen Hong Tan, Ting Fang Tan, Kabilan Elangovan, Le Quan, Li Yuan Jin, Jasmine Chiat Ling Ong, Gerald Gui Ren Sng, Joshua Yi Min Tung, Chee Kiat Tan, Damien Tan\",\"doi\":\"10.1136/bmjgast-2024-001496\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><strong>Introduction: </strong>Large learning models (LLMs) such as GPT are advanced artificial intelligence (AI) models. Originally developed for natural language processing, they have been adapted for multi-modal tasks with vision-language input. One clinically relevant task is scoring the Boston Bowel Preparation Scale (BBPS). While traditional AI techniques use large amounts of data for training, we hypothesise that vision-language LLM can perform this task with fewer examples.</p><p><strong>Methods: </strong>We used the GPT4V vision-language LLM developed by OpenAI, via the OpenAI application programming interface. A standardised prompt instructed the model to grade BBPS with contextual references extracted from the original paper describing the BBPS by Lai <i>et al</i> (GIE 2009). Performance was tested on the HyperKvasir dataset, an open dataset for automated BBPS grading.</p><p><strong>Results: </strong>Of 1794 images, GPT4V returned valid results for 1772 (98%). It had an accuracy of 0.84 for two-class classification (BBPS 0-1 vs 2-3) and 0.74 for four-class classification (BBPS 0, 1, 2, 3). Macro-averaged F1 scores were 0.81 and 0.63, respectively. Qualitatively, most errors arose from misclassification of BBPS 1 as 2. These results compare favourably with current methods using large amounts of training data, which achieve an accuracy in the range of 0.8-0.9.</p><p><strong>Conclusion: </strong>This study provides proof-of-concept that a vision-language LLM is able to perform BBPS classification accurately, without large training datasets. This represents a paradigm shift in AI classification methods in medicine, where many diseases lack sufficient data to train traditional AI models. An LLM with appropriate examples may be used in such cases.</p>\",\"PeriodicalId\":9235,\"journal\":{\"name\":\"BMJ Open Gastroenterology\",\"volume\":\"12 1\",\"pages\":\"\"},\"PeriodicalIF\":3.3000,\"publicationDate\":\"2025-03-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11881179/pdf/\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"BMJ Open Gastroenterology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1136/bmjgast-2024-001496\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"GASTROENTEROLOGY & HEPATOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMJ Open Gastroenterology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1136/bmjgast-2024-001496","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"GASTROENTEROLOGY & HEPATOLOGY","Score":null,"Total":0}
引用次数: 0
摘要
简介:像GPT这样的大型学习模型(llm)是高级人工智能(AI)模型。它们最初是为自然语言处理而开发的,现已适用于具有视觉语言输入的多模态任务。一个临床相关的任务是波士顿肠道准备量表(BBPS)评分。虽然传统的人工智能技术使用大量的数据进行训练,但我们假设视觉语言LLM可以用更少的例子来完成这项任务。方法:采用OpenAI开发的GPT4V视觉语言LLM,通过OpenAI应用程序编程接口。一个标准化的提示提示指示模型根据Lai等人(GIE 2009)描述BBPS的原始论文中提取的上下文参考文献对BBPS进行评级。在HyperKvasir数据集上进行了性能测试,HyperKvasir数据集是一个用于自动BBPS分级的开放数据集。结果:在1794张图像中,GPT4V返回有效结果1772张(98%)。两级分类(BBPS 0-1 vs 2-3)的准确率为0.84,四级分类(BBPS 0、1、2、3)的准确率为0.74。宏观平均F1评分分别为0.81和0.63。定性上,大多数错误是由于BBPS 1误分类为2。这些结果与目前使用大量训练数据的方法相比是有利的,后者的精度在0.8-0.9之间。结论:本研究提供了概念验证,即视觉语言LLM能够在没有大型训练数据集的情况下准确地执行BBPS分类。这代表了医学领域人工智能分类方法的范式转变,因为许多疾病缺乏足够的数据来训练传统的人工智能模型。在这种情况下,可以使用带有适当示例的法学硕士。
Vision-language large learning model, GPT4V, accurately classifies the Boston Bowel Preparation Scale score.
Introduction: Large learning models (LLMs) such as GPT are advanced artificial intelligence (AI) models. Originally developed for natural language processing, they have been adapted for multi-modal tasks with vision-language input. One clinically relevant task is scoring the Boston Bowel Preparation Scale (BBPS). While traditional AI techniques use large amounts of data for training, we hypothesise that vision-language LLM can perform this task with fewer examples.
Methods: We used the GPT4V vision-language LLM developed by OpenAI, via the OpenAI application programming interface. A standardised prompt instructed the model to grade BBPS with contextual references extracted from the original paper describing the BBPS by Lai et al (GIE 2009). Performance was tested on the HyperKvasir dataset, an open dataset for automated BBPS grading.
Results: Of 1794 images, GPT4V returned valid results for 1772 (98%). It had an accuracy of 0.84 for two-class classification (BBPS 0-1 vs 2-3) and 0.74 for four-class classification (BBPS 0, 1, 2, 3). Macro-averaged F1 scores were 0.81 and 0.63, respectively. Qualitatively, most errors arose from misclassification of BBPS 1 as 2. These results compare favourably with current methods using large amounts of training data, which achieve an accuracy in the range of 0.8-0.9.
Conclusion: This study provides proof-of-concept that a vision-language LLM is able to perform BBPS classification accurately, without large training datasets. This represents a paradigm shift in AI classification methods in medicine, where many diseases lack sufficient data to train traditional AI models. An LLM with appropriate examples may be used in such cases.
期刊介绍:
BMJ Open Gastroenterology is an online-only, peer-reviewed, open access gastroenterology journal, dedicated to publishing high-quality medical research from all disciplines and therapeutic areas of gastroenterology. It is the open access companion journal of Gut and is co-owned by the British Society of Gastroenterology. The journal publishes all research study types, from study protocols to phase I trials to meta-analyses, including small or specialist studies. Publishing procedures are built around continuous publication, publishing research online as soon as the article is ready.