Loading…
Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room
Artificial intelligence (AI) and large language models (LLMs) can play a critical role in emergency room operations by augmenting decision-making about patient admission. However, there are no studies for LLMs using real-world data and scenarios, in comparison to and being informed by traditional su...
Saved in:
Published in: | Journal of the American Medical Informatics Association : JAMIA 2024-09, Vol.31 (9), p.1921-1928 |
---|---|
Main Authors: | , , , , , , , , , , , |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
cited_by | |
---|---|
cites | cdi_FETCH-LOGICAL-c179t-d154752015d51d673472868fb2b2b08f20745941e5f718b40190fda700db0a133 |
container_end_page | 1928 |
container_issue | 9 |
container_start_page | 1921 |
container_title | Journal of the American Medical Informatics Association : JAMIA |
container_volume | 31 |
creator | Glicksberg, Benjamin S Timsina, Prem Patel, Dhaval Sawant, Ashwin Vaid, Akhil Raut, Ganesh Charney, Alexander W Apakama, Donald Carr, Brendan G Freeman, Robert Nadkarni, Girish N Klang, Eyal |
description | Artificial intelligence (AI) and large language models (LLMs) can play a critical role in emergency room operations by augmenting decision-making about patient admission. However, there are no studies for LLMs using real-world data and scenarios, in comparison to and being informed by traditional supervised machine learning (ML) models. We evaluated the performance of GPT-4 for predicting patient admissions from emergency department (ED) visits. We compared performance to traditional ML models both naively and when informed by few-shot examples and/or numerical probabilities.
We conducted a retrospective study using electronic health records across 7 NYC hospitals. We trained Bio-Clinical-BERT and XGBoost (XGB) models on unstructured and structured data, respectively, and created an ensemble model reflecting ML performance. We then assessed GPT-4 capabilities in many scenarios: through Zero-shot, Few-shot with and without retrieval-augmented generation (RAG), and with and without ML numerical probabilities.
The Ensemble ML model achieved an area under the receiver operating characteristic curve (AUC) of 0.88, an area under the precision-recall curve (AUPRC) of 0.72 and an accuracy of 82.9%. The naïve GPT-4's performance (0.79 AUC, 0.48 AUPRC, and 77.5% accuracy) showed substantial improvement when given limited, relevant data to learn from (ie, RAG) and underlying ML probabilities (0.87 AUC, 0.71 AUPRC, and 83.1% accuracy). Interestingly, RAG alone boosted performance to near peak levels (0.82 AUC, 0.56 AUPRC, and 81.3% accuracy).
The naïve LLM had limited performance but showed significant improvement in predicting ED admissions when supplemented with real-world examples to learn from, particularly through RAG, and/or numerical probabilities from traditional ML models. Its peak performance, although slightly lower than the pure ML model, is noteworthy given its potential for providing reasoning behind predictions. Further refinement of LLMs with real-world data is necessary for successful integration as decision-support tools in care settings. |
doi_str_mv | 10.1093/jamia/ocae103 |
format | article |
fullrecord | <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_miscellaneous_3057693642</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>3057693642</sourcerecordid><originalsourceid>FETCH-LOGICAL-c179t-d154752015d51d673472868fb2b2b08f20745941e5f718b40190fda700db0a133</originalsourceid><addsrcrecordid>eNo9UE1LxDAQDaK46-rRq-ToJe6kaZr2KMv6AYIXBW8lbZK1S9OsSarsvzf7oQzMB_PeY-YhdE3hjkLF5mtpOzl3rdQU2AmaUp4JUon84zT1UAjCIRMTdBHCGoAWGePnaMJKIXbsKfpZfst-lLEbVjh-aizbdvSy3WJnsMQhyqiJMyStiPQR99KvdMrDapSpsU7pHhvn8cZr1bWxc8OeqWwXQhoCNt7ZvbK2OnGHJO2ds5fozMg-6KtjnaH3h-Xb4om8vD4-L-5fSEtFFYmiPBc8A8oVp6oQLBdZWZSmyVJAaTIQOa9yqrkRtGxyoBUYJQWAakBSxmbo9qC78e5r1CHW6bJW9-kF7cZQM-CiqFiRZwlKDtDWuxC8NvXGd1b6bU2h3rlV772uj14n_M1RemysVv_oP3PZL7-afIc</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>3057693642</pqid></control><display><type>article</type><title>Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room</title><source>Oxford Journals Online</source><creator>Glicksberg, Benjamin S ; Timsina, Prem ; Patel, Dhaval ; Sawant, Ashwin ; Vaid, Akhil ; Raut, Ganesh ; Charney, Alexander W ; Apakama, Donald ; Carr, Brendan G ; Freeman, Robert ; Nadkarni, Girish N ; Klang, Eyal</creator><creatorcontrib>Glicksberg, Benjamin S ; Timsina, Prem ; Patel, Dhaval ; Sawant, Ashwin ; Vaid, Akhil ; Raut, Ganesh ; Charney, Alexander W ; Apakama, Donald ; Carr, Brendan G ; Freeman, Robert ; Nadkarni, Girish N ; Klang, Eyal</creatorcontrib><description>Artificial intelligence (AI) and large language models (LLMs) can play a critical role in emergency room operations by augmenting decision-making about patient admission. However, there are no studies for LLMs using real-world data and scenarios, in comparison to and being informed by traditional supervised machine learning (ML) models. We evaluated the performance of GPT-4 for predicting patient admissions from emergency department (ED) visits. We compared performance to traditional ML models both naively and when informed by few-shot examples and/or numerical probabilities.
We conducted a retrospective study using electronic health records across 7 NYC hospitals. We trained Bio-Clinical-BERT and XGBoost (XGB) models on unstructured and structured data, respectively, and created an ensemble model reflecting ML performance. We then assessed GPT-4 capabilities in many scenarios: through Zero-shot, Few-shot with and without retrieval-augmented generation (RAG), and with and without ML numerical probabilities.
The Ensemble ML model achieved an area under the receiver operating characteristic curve (AUC) of 0.88, an area under the precision-recall curve (AUPRC) of 0.72 and an accuracy of 82.9%. The naïve GPT-4's performance (0.79 AUC, 0.48 AUPRC, and 77.5% accuracy) showed substantial improvement when given limited, relevant data to learn from (ie, RAG) and underlying ML probabilities (0.87 AUC, 0.71 AUPRC, and 83.1% accuracy). Interestingly, RAG alone boosted performance to near peak levels (0.82 AUC, 0.56 AUPRC, and 81.3% accuracy).
The naïve LLM had limited performance but showed significant improvement in predicting ED admissions when supplemented with real-world examples to learn from, particularly through RAG, and/or numerical probabilities from traditional ML models. Its peak performance, although slightly lower than the pure ML model, is noteworthy given its potential for providing reasoning behind predictions. Further refinement of LLMs with real-world data is necessary for successful integration as decision-support tools in care settings.</description><identifier>ISSN: 1067-5027</identifier><identifier>ISSN: 1527-974X</identifier><identifier>EISSN: 1527-974X</identifier><identifier>DOI: 10.1093/jamia/ocae103</identifier><identifier>PMID: 38771093</identifier><language>eng</language><publisher>England</publisher><subject>Artificial Intelligence ; Electronic Health Records ; Emergency Service, Hospital ; Humans ; Machine Learning ; Natural Language Processing ; Patient Admission ; Retrospective Studies ; Supervised Machine Learning</subject><ispartof>Journal of the American Medical Informatics Association : JAMIA, 2024-09, Vol.31 (9), p.1921-1928</ispartof><rights>The Author(s) 2024. Published by Oxford University Press on behalf of the American Medical Informatics Association. All rights reserved. For permissions, please email: journals.permissions@oup.com.</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><cites>FETCH-LOGICAL-c179t-d154752015d51d673472868fb2b2b08f20745941e5f718b40190fda700db0a133</cites><orcidid>0000-0003-1525-8541 ; 0000-0003-4946-6533 ; 0000-0003-4515-8090 ; 0000-0001-6217-1620</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>314,780,784,27924,27925</link.rule.ids><backlink>$$Uhttps://www.ncbi.nlm.nih.gov/pubmed/38771093$$D View this record in MEDLINE/PubMed$$Hfree_for_read</backlink></links><search><creatorcontrib>Glicksberg, Benjamin S</creatorcontrib><creatorcontrib>Timsina, Prem</creatorcontrib><creatorcontrib>Patel, Dhaval</creatorcontrib><creatorcontrib>Sawant, Ashwin</creatorcontrib><creatorcontrib>Vaid, Akhil</creatorcontrib><creatorcontrib>Raut, Ganesh</creatorcontrib><creatorcontrib>Charney, Alexander W</creatorcontrib><creatorcontrib>Apakama, Donald</creatorcontrib><creatorcontrib>Carr, Brendan G</creatorcontrib><creatorcontrib>Freeman, Robert</creatorcontrib><creatorcontrib>Nadkarni, Girish N</creatorcontrib><creatorcontrib>Klang, Eyal</creatorcontrib><title>Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room</title><title>Journal of the American Medical Informatics Association : JAMIA</title><addtitle>J Am Med Inform Assoc</addtitle><description>Artificial intelligence (AI) and large language models (LLMs) can play a critical role in emergency room operations by augmenting decision-making about patient admission. However, there are no studies for LLMs using real-world data and scenarios, in comparison to and being informed by traditional supervised machine learning (ML) models. We evaluated the performance of GPT-4 for predicting patient admissions from emergency department (ED) visits. We compared performance to traditional ML models both naively and when informed by few-shot examples and/or numerical probabilities.
We conducted a retrospective study using electronic health records across 7 NYC hospitals. We trained Bio-Clinical-BERT and XGBoost (XGB) models on unstructured and structured data, respectively, and created an ensemble model reflecting ML performance. We then assessed GPT-4 capabilities in many scenarios: through Zero-shot, Few-shot with and without retrieval-augmented generation (RAG), and with and without ML numerical probabilities.
The Ensemble ML model achieved an area under the receiver operating characteristic curve (AUC) of 0.88, an area under the precision-recall curve (AUPRC) of 0.72 and an accuracy of 82.9%. The naïve GPT-4's performance (0.79 AUC, 0.48 AUPRC, and 77.5% accuracy) showed substantial improvement when given limited, relevant data to learn from (ie, RAG) and underlying ML probabilities (0.87 AUC, 0.71 AUPRC, and 83.1% accuracy). Interestingly, RAG alone boosted performance to near peak levels (0.82 AUC, 0.56 AUPRC, and 81.3% accuracy).
The naïve LLM had limited performance but showed significant improvement in predicting ED admissions when supplemented with real-world examples to learn from, particularly through RAG, and/or numerical probabilities from traditional ML models. Its peak performance, although slightly lower than the pure ML model, is noteworthy given its potential for providing reasoning behind predictions. Further refinement of LLMs with real-world data is necessary for successful integration as decision-support tools in care settings.</description><subject>Artificial Intelligence</subject><subject>Electronic Health Records</subject><subject>Emergency Service, Hospital</subject><subject>Humans</subject><subject>Machine Learning</subject><subject>Natural Language Processing</subject><subject>Patient Admission</subject><subject>Retrospective Studies</subject><subject>Supervised Machine Learning</subject><issn>1067-5027</issn><issn>1527-974X</issn><issn>1527-974X</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><recordid>eNo9UE1LxDAQDaK46-rRq-ToJe6kaZr2KMv6AYIXBW8lbZK1S9OsSarsvzf7oQzMB_PeY-YhdE3hjkLF5mtpOzl3rdQU2AmaUp4JUon84zT1UAjCIRMTdBHCGoAWGePnaMJKIXbsKfpZfst-lLEbVjh-aizbdvSy3WJnsMQhyqiJMyStiPQR99KvdMrDapSpsU7pHhvn8cZr1bWxc8OeqWwXQhoCNt7ZvbK2OnGHJO2ds5fozMg-6KtjnaH3h-Xb4om8vD4-L-5fSEtFFYmiPBc8A8oVp6oQLBdZWZSmyVJAaTIQOa9yqrkRtGxyoBUYJQWAakBSxmbo9qC78e5r1CHW6bJW9-kF7cZQM-CiqFiRZwlKDtDWuxC8NvXGd1b6bU2h3rlV772uj14n_M1RemysVv_oP3PZL7-afIc</recordid><startdate>20240901</startdate><enddate>20240901</enddate><creator>Glicksberg, Benjamin S</creator><creator>Timsina, Prem</creator><creator>Patel, Dhaval</creator><creator>Sawant, Ashwin</creator><creator>Vaid, Akhil</creator><creator>Raut, Ganesh</creator><creator>Charney, Alexander W</creator><creator>Apakama, Donald</creator><creator>Carr, Brendan G</creator><creator>Freeman, Robert</creator><creator>Nadkarni, Girish N</creator><creator>Klang, Eyal</creator><scope>CGR</scope><scope>CUY</scope><scope>CVF</scope><scope>ECM</scope><scope>EIF</scope><scope>NPM</scope><scope>AAYXX</scope><scope>CITATION</scope><scope>7X8</scope><orcidid>https://orcid.org/0000-0003-1525-8541</orcidid><orcidid>https://orcid.org/0000-0003-4946-6533</orcidid><orcidid>https://orcid.org/0000-0003-4515-8090</orcidid><orcidid>https://orcid.org/0000-0001-6217-1620</orcidid></search><sort><creationdate>20240901</creationdate><title>Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room</title><author>Glicksberg, Benjamin S ; Timsina, Prem ; Patel, Dhaval ; Sawant, Ashwin ; Vaid, Akhil ; Raut, Ganesh ; Charney, Alexander W ; Apakama, Donald ; Carr, Brendan G ; Freeman, Robert ; Nadkarni, Girish N ; Klang, Eyal</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c179t-d154752015d51d673472868fb2b2b08f20745941e5f718b40190fda700db0a133</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Artificial Intelligence</topic><topic>Electronic Health Records</topic><topic>Emergency Service, Hospital</topic><topic>Humans</topic><topic>Machine Learning</topic><topic>Natural Language Processing</topic><topic>Patient Admission</topic><topic>Retrospective Studies</topic><topic>Supervised Machine Learning</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Glicksberg, Benjamin S</creatorcontrib><creatorcontrib>Timsina, Prem</creatorcontrib><creatorcontrib>Patel, Dhaval</creatorcontrib><creatorcontrib>Sawant, Ashwin</creatorcontrib><creatorcontrib>Vaid, Akhil</creatorcontrib><creatorcontrib>Raut, Ganesh</creatorcontrib><creatorcontrib>Charney, Alexander W</creatorcontrib><creatorcontrib>Apakama, Donald</creatorcontrib><creatorcontrib>Carr, Brendan G</creatorcontrib><creatorcontrib>Freeman, Robert</creatorcontrib><creatorcontrib>Nadkarni, Girish N</creatorcontrib><creatorcontrib>Klang, Eyal</creatorcontrib><collection>Medline</collection><collection>MEDLINE</collection><collection>MEDLINE (Ovid)</collection><collection>MEDLINE</collection><collection>MEDLINE</collection><collection>PubMed</collection><collection>CrossRef</collection><collection>MEDLINE - Academic</collection><jtitle>Journal of the American Medical Informatics Association : JAMIA</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Glicksberg, Benjamin S</au><au>Timsina, Prem</au><au>Patel, Dhaval</au><au>Sawant, Ashwin</au><au>Vaid, Akhil</au><au>Raut, Ganesh</au><au>Charney, Alexander W</au><au>Apakama, Donald</au><au>Carr, Brendan G</au><au>Freeman, Robert</au><au>Nadkarni, Girish N</au><au>Klang, Eyal</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room</atitle><jtitle>Journal of the American Medical Informatics Association : JAMIA</jtitle><addtitle>J Am Med Inform Assoc</addtitle><date>2024-09-01</date><risdate>2024</risdate><volume>31</volume><issue>9</issue><spage>1921</spage><epage>1928</epage><pages>1921-1928</pages><issn>1067-5027</issn><issn>1527-974X</issn><eissn>1527-974X</eissn><abstract>Artificial intelligence (AI) and large language models (LLMs) can play a critical role in emergency room operations by augmenting decision-making about patient admission. However, there are no studies for LLMs using real-world data and scenarios, in comparison to and being informed by traditional supervised machine learning (ML) models. We evaluated the performance of GPT-4 for predicting patient admissions from emergency department (ED) visits. We compared performance to traditional ML models both naively and when informed by few-shot examples and/or numerical probabilities.
We conducted a retrospective study using electronic health records across 7 NYC hospitals. We trained Bio-Clinical-BERT and XGBoost (XGB) models on unstructured and structured data, respectively, and created an ensemble model reflecting ML performance. We then assessed GPT-4 capabilities in many scenarios: through Zero-shot, Few-shot with and without retrieval-augmented generation (RAG), and with and without ML numerical probabilities.
The Ensemble ML model achieved an area under the receiver operating characteristic curve (AUC) of 0.88, an area under the precision-recall curve (AUPRC) of 0.72 and an accuracy of 82.9%. The naïve GPT-4's performance (0.79 AUC, 0.48 AUPRC, and 77.5% accuracy) showed substantial improvement when given limited, relevant data to learn from (ie, RAG) and underlying ML probabilities (0.87 AUC, 0.71 AUPRC, and 83.1% accuracy). Interestingly, RAG alone boosted performance to near peak levels (0.82 AUC, 0.56 AUPRC, and 81.3% accuracy).
The naïve LLM had limited performance but showed significant improvement in predicting ED admissions when supplemented with real-world examples to learn from, particularly through RAG, and/or numerical probabilities from traditional ML models. Its peak performance, although slightly lower than the pure ML model, is noteworthy given its potential for providing reasoning behind predictions. Further refinement of LLMs with real-world data is necessary for successful integration as decision-support tools in care settings.</abstract><cop>England</cop><pmid>38771093</pmid><doi>10.1093/jamia/ocae103</doi><tpages>8</tpages><orcidid>https://orcid.org/0000-0003-1525-8541</orcidid><orcidid>https://orcid.org/0000-0003-4946-6533</orcidid><orcidid>https://orcid.org/0000-0003-4515-8090</orcidid><orcidid>https://orcid.org/0000-0001-6217-1620</orcidid></addata></record> |
fulltext | fulltext |
identifier | ISSN: 1067-5027 |
ispartof | Journal of the American Medical Informatics Association : JAMIA, 2024-09, Vol.31 (9), p.1921-1928 |
issn | 1067-5027 1527-974X 1527-974X |
language | eng |
recordid | cdi_proquest_miscellaneous_3057693642 |
source | Oxford Journals Online |
subjects | Artificial Intelligence Electronic Health Records Emergency Service, Hospital Humans Machine Learning Natural Language Processing Patient Admission Retrospective Studies Supervised Machine Learning |
title | Evaluating the accuracy of a state-of-the-art large language model for prediction of admissions from the emergency room |
url | http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-27T13%3A54%3A41IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Evaluating%20the%20accuracy%20of%20a%20state-of-the-art%20large%20language%20model%20for%20prediction%20of%20admissions%20from%20the%20emergency%20room&rft.jtitle=Journal%20of%20the%20American%20Medical%20Informatics%20Association%20:%20JAMIA&rft.au=Glicksberg,%20Benjamin%20S&rft.date=2024-09-01&rft.volume=31&rft.issue=9&rft.spage=1921&rft.epage=1928&rft.pages=1921-1928&rft.issn=1067-5027&rft.eissn=1527-974X&rft_id=info:doi/10.1093/jamia/ocae103&rft_dat=%3Cproquest_cross%3E3057693642%3C/proquest_cross%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-c179t-d154752015d51d673472868fb2b2b08f20745941e5f718b40190fda700db0a133%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=3057693642&rft_id=info:pmid/38771093&rfr_iscdi=true |