Skip to main navigation Skip to search Skip to main content

Loss function influence on hyperparameter optimization for observational healthcare prediction models

  • Erasmus University Rotterdam
  • Janssen Research and Development

Research output: Contribution to journalArticleAcademicpeer-review

3 Downloads (Pure)

Abstract

Objectives: 

Prediction models are increasingly used in healthcare for risk stratification and personalized care. Many models are developed using machine learning, which requires tuning hyperparameters to maximize performance based on a chosen loss function metric. In healthcare, the area under the receiver operating characteristic curve (AUROC) is commonly used for this purpose, but it may not always be the most appropriate choice for every clinical application. We empirically characterize whether the choice of loss function metric in hyperparameter optimization leads to systematic differences in model behavior across several clinical prediction tasks using real-world healthcare data. 

Methods: 

We utilized fifteen different loss function metrics to guide hyperparameter selection across three clinical prediction tasks and four machine learning algorithms. We then compared how loss function metric choice affected selected hyperparameters, overall performance, and individual predicted probabilities. 

Results:

We observed that certain hyperparameters tended to have similar optimal values across different loss function metrics, although this pattern differed by algorithm. The best-performing models, evaluated using AUROC, were often not the models with hyperparameters optimized using AUROC. While models performed similarly at a population level, based on discrimination and calibration. The choice of the loss function metric had significant impact on the individual predicted risk for a patient. Discussion: The predictive multiplicity observed can have significant impact on the patient level, while not observed in the population level model evaluation. 

Conclusion: 

Predictive multiplicity can have a serious impact on patient treatment decisions but is not yet well understood.

Original languageEnglish
Pages (from-to)1474-1484
Number of pages11
JournalJournal of the American Medical Informatics Association
Volume33
Issue number8
DOIs
Publication statusPublished - Aug 2026

Bibliographical note

Publisher Copyright:
© The Author(s) 2026. Published by Oxford University Press on behalf of the American Medical Informatics Association. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.

Fingerprint

Dive into the research topics of 'Loss function influence on hyperparameter optimization for observational healthcare prediction models'. Together they form a unique fingerprint.

Cite this