A strategy for cost-effective large language model use at health system-scale

Large language models (LLMs) can optimize clinical workflows; however, the economic and computational challenges of their utilization at the health system scale are underexplored. We evaluated how concatenating queries with multiple clinical notes and tasks simultaneously affects model performance under increasing computational loads. We assessed ten LLMs of different capacities and sizes utilizing real-world patient data. We conducted >300,000 experiments of various task sizes and configurations, measuring accuracy in question-answering and the ability to properly format outputs. Performance deteriorated as the number of questions and notes increased. High-capacity models, like Llama-3-70b, had low failure rates and high accuracies. GPT-4-turbo-128k was similarly resilient across task burdens, but performance deteriorated after 50 tasks at large prompt sizes. After addressing mitigable failures, these two models can concatenate up to 50 simultaneous tasks effectively, with validation on a public medical question-answering dataset. An economic analysis demonstrated up to a 17-fold cost reduction at 50 tasks using concatenation. These results identify the limits of LLMs for effective utilization and highlight avenues for cost-efficiency at the enterprise scale.

Authors

Institutions

Publication Details

Journal
npj Digital Medicine
Published
2024-11-18
DOI
https://doi.org/10.1038/s41746-024-01315-1
Citations
30
Primary Topic
Artificial Intelligence in Healthcare and Education
Type
article
Field-Weighted Citation Impact
3.61

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A strategy for cost-effective large language model use at health system-scale

Donald U. Apakama, Benjamin Scott Glicksberg, Eyal Klang, Akhil Vaid et al.
30 citations
npj Digital Medicine
Artificial Intelligence in Healthcare and Education
3.61
article

A strategy for cost-effective large language model use at health system-scale

Donald U. Apakama, Benjamin Scott Glicksberg, Eyal Klang, Akhil Vaid, Girish N. Nadkarni, Ethan Abbott, Robert Freeman, David L. Reich, Joshua Lampert, Ankit Sakhuja, Alexander W. Charney, Monica Kraft
article en
30 citations

Abstract

Large language models (LLMs) can optimize clinical workflows; however, the economic and computational challenges of their utilization at the health system scale are underexplored. We evaluated how concatenating queries with multiple clinical notes and tasks simultaneously affects model performance under increasing computational loads. We assessed ten LLMs of different capacities and sizes utilizing real-world patient data. We conducted >300,000 experiments of various task sizes and configurations, measuring accuracy in question-answering and the ability to properly format outputs. Performance deteriorated as the number of questions and notes increased. High-capacity models, like Llama-3-70b, had low failure rates and high accuracies. GPT-4-turbo-128k was similarly resilient across task burdens, but performance deteriorated after 50 tasks at large prompt sizes. After addressing mitigable failures, these two models can concatenate up to 50 simultaneous tasks effectively, with validation on a public medical question-answering dataset. An economic analysis demonstrated up to a 17-fold cost reduction at 50 tasks using concatenation. These results identify the limits of LLMs for effective utilization and highlight avenues for cost-efficiency at the enterprise scale.

npj Digital MedicineVol. 7(1)
Mount Sinai Hospital (US), Child Health and Development Institute (US), Icahn School of Medicine at Mount Sinai (US)
Georgia Clinical and Translational Science Alliance, National Institutes of Health, National Heart, Lung, and Blood Institute, National Center for Advancing Translational Sciences
Openalex Percentile: Top 6%
Artificial Intelligence in Healthcare and Education
3.61
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.