Be aware of overfitting by hyperparameter optimization!

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tetko, Igor V., van Deursen, Ruud, Godin, Guillaume
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909402252967936
author Tetko, Igor V.
van Deursen, Ruud
Godin, Guillaume
author_facet Tetko, Igor V.
van Deursen, Ruud
Godin, Guillaume
contents Hyperparameter optimization is very frequently employed in machine learning. However, an optimization of a large space of parameters could result in overfitting of models. In recent studies on solubility prediction the authors collected seven thermodynamic and kinetic solubility datasets from different data sources. They used state-of-the-art graph-based methods and compared models developed for each dataset using different data cleaning protocols and hyperparameter optimization. In our study we showed that hyperparameter optimization did not always result in better models, possibly due to overfitting when using the same statistical measures. Similar results could be calculated using pre-set hyperparameters, reducing the computational effort by around 10,000 times. We also extended the previous analysis by adding a representation learning method based on Natural Language Processing of smiles called Transformer CNN. We show that across all analyzed sets using exactly the same protocol, Transformer CNN provided better results than graph-based methods for 26 out of 28 pairwise comparisons by using only a tiny fraction of time as compared to other methods. Last but not least we stressed the importance of comparing calculation results using exactly the same statistical measures.
format Preprint
id arxiv_https___arxiv_org_abs_2407_20786
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Be aware of overfitting by hyperparameter optimization!
Tetko, Igor V.
van Deursen, Ruud
Godin, Guillaume
Machine Learning
Artificial Intelligence
Hyperparameter optimization is very frequently employed in machine learning. However, an optimization of a large space of parameters could result in overfitting of models. In recent studies on solubility prediction the authors collected seven thermodynamic and kinetic solubility datasets from different data sources. They used state-of-the-art graph-based methods and compared models developed for each dataset using different data cleaning protocols and hyperparameter optimization. In our study we showed that hyperparameter optimization did not always result in better models, possibly due to overfitting when using the same statistical measures. Similar results could be calculated using pre-set hyperparameters, reducing the computational effort by around 10,000 times. We also extended the previous analysis by adding a representation learning method based on Natural Language Processing of smiles called Transformer CNN. We show that across all analyzed sets using exactly the same protocol, Transformer CNN provided better results than graph-based methods for 26 out of 28 pairwise comparisons by using only a tiny fraction of time as compared to other methods. Last but not least we stressed the importance of comparing calculation results using exactly the same statistical measures.
title Be aware of overfitting by hyperparameter optimization!
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2407.20786