S'abonner

Pre-trained large language models outperform statistics and machine learning forecasting visits in the emergency departments - 25/11/25

Doi : 10.1016/j.ajem.2025.09.008 
Yi-Chang Yen a, Chin-Chieh Wu b, Shu-Hui Chen c, Kuan-Fu Chen b, c,
a Department of Medical Education, Chang Gung Memorial Hospital, Kaohsiung, Taiwan 
b College of Intelligent Computing, Chang Gung University, Taoyuan, Taiwan 
c Department of Emergency Medicine, Chang Gung Memorial Hospital, Keelung, Taiwan 

Corresponding author at: Department of Emergency Medicine, Chang Gung Memorial Hospital, 5, Fuxing St., Gueishan, Taoyuan 333, Taiwan. Department of Emergency Medicine Chang Gung Memorial Hospital 5, Fuxing St., Gueishan Taoyuan 333 Taiwan

Abstract

Objectives

The unpredictability of emergency department (ED) visits is a significant reason for ED crowding. This study aims to compare different conventional statistical learning, machine learning, and large language models (LLM) methods to forecast daily ED visits at primary, secondary, and tertiary hospitals across different regions in Taiwan, during the pre-COVID-19, COVID-19, and post-pandemic periods.

Methods

Daily ED visits records from 2007 to 2022, derived from the electronic medical records of six hospitals across Taiwan, were combined with calendar data and COVID-19 pandemic indicators to serve as input features. The primary objective was to develop models for a seven-day forecast horizon. Both statistical models, such as SARIMAX and Prophet, and machine learning models, including Light Gradient Boosting Machine (LightGBM), Long Short-Term Memory (LSTM), DLinear, and Time-series Dense Encoder (TiDE), were developed using training datasets from 2007 to 2017. We then compared the performances of the statistical models, machine learning models, and a pre-trained transformer-based LLM on the testing set (2018–2022), which included the pre-COVID-19, COVID-19, and post-pandemic periods. We used the Mean Absolute Percentage Error (MAPE), defined as the percentage difference between the predicted and actual values, as the metric.

Results

A total of 7,540,271 ED visits and 31,064 data points were recorded across two tertiary, three regional, and one primary hospital. The conventional statistical models revealed a significant seven-day cycle pattern in ED visit data across the hospitals. Daily ED visits surged significantly during the COVID-19 pandemic. The pre-trained LLM demonstrated the best overall performance (MAPE 7.59, 95 % CI: 7.20–7.99), closely followed by LightGBM (MAPE 8.08, 95 % CI: 7.67–8.50). Specifically, TiDE (MAPE 5.89, 95 % CI: 5.48–6.29) and Prophet (MAPE 6.80, 95 % CI: 6.41–7.18) performed best in the pre-COVID-19 period. Although the abrupt changes during COVID-19 led to declines in the performance of all models, the pre-trained LLM and LightGBM demonstrated resilience, with MAPEs of 9.03 (95 % CI 8.32, 9.77) and 10.60 (95 % CI 9.77, 11.52), respectively.

Conclusions

The pre-trained LLM showed superior overall performance in forecasting ED visits, particularly during the pandemic and post-pandemic periods. LightGBM performed relatively well across all periods. Prophet and TiDE demonstrated favorable and stable performance only during the pre-pandemic period. These findings underscore the potential of advanced time series models to improve ED visit forecasts.

Le texte complet de cet article est disponible en PDF.

Keywords : ED visits, Time series analysis, Prophet, Long short-term memory, SARIMAX, Pre-trained LLM


Plan


© 2025  Elsevier Inc. Tous droits réservés.
Ajouter à ma bibliothèque Retirer de ma bibliothèque Imprimer
Export

    Export citations

  • Fichier

  • Contenu

Vol 98

P. 298-308 - décembre 2025 Retour au numéro
Article précédent Article précédent
  • Identifying mobility instruments used in emergency departments and evaluating their measurement properties: A systematic review
  • L.D.S. Alves, S.P. Vella, E.A.B. Figueiredo, A. Chiarotto, C.G. Maher, D. Coombs, G.C. Machado
| Article suivant Article suivant
  • Characterization of neurological injuries from roller coaster rides among minors
  • Janam Patel, Ben Carnovale, William Rabon, Rohit Prem Kumar, Raj Swaroop Lavadi, Manan Shah, James Mooney, Michael M. McDowell, D. Kojo Hamilton, Nitin Agarwal

Bienvenue sur EM-consulte, la référence des professionnels de santé.
L’accès au texte intégral de cet article nécessite un abonnement.

Déjà abonné à cette revue ?

Elsevier s'engage à rendre ses eBooks accessibles et à se conformer aux lois applicables. Compte tenu de notre vaste bibliothèque de titres, il existe des cas où rendre un livre électronique entièrement accessible présente des défis uniques et l'inclusion de fonctionnalités complètes pourrait transformer sa nature au point de ne plus servir son objectif principal ou d'entraîner un fardeau disproportionné pour l'éditeur. Par conséquent, l'accessibilité de cet eBook peut être limitée. Voir plus

Mon compte


Plateformes Elsevier Masson

Déclaration CNIL

EM-CONSULTE.COM est déclaré à la CNIL, déclaration n° 1286925.

En application de la loi nº78-17 du 6 janvier 1978 relative à l'informatique, aux fichiers et aux libertés, vous disposez des droits d'opposition (art.26 de la loi), d'accès (art.34 à 38 de la loi), et de rectification (art.36 de la loi) des données vous concernant. Ainsi, vous pouvez exiger que soient rectifiées, complétées, clarifiées, mises à jour ou effacées les informations vous concernant qui sont inexactes, incomplètes, équivoques, périmées ou dont la collecte ou l'utilisation ou la conservation est interdite.
Les informations personnelles concernant les visiteurs de notre site, y compris leur identité, sont confidentielles.
Le responsable du site s'engage sur l'honneur à respecter les conditions légales de confidentialité applicables en France et à ne pas divulguer ces informations à des tiers.


Tout le contenu de ce site: Copyright © 2026 Elsevier, ses concédants de licence et ses contributeurs. Tout les droits sont réservés, y compris ceux relatifs à l'exploration de textes et de données, a la formation en IA et aux technologies similaires. Pour tout contenu en libre accès, les conditions de licence Creative Commons s'appliquent.