Scaling Up Optuna: P2P Distributed Hyperparameters Optimization

ABSTRACT In machine learning (ML), hyperparameter optimization (HPO) is the process of choosing a tuple of values that ensures an efficient deployment and training of an AI model. In practice, HPO not only applies to ML tuning but can also be used to tune complex numerical simulations. In this context, a numerical model of a given object is created to be used in realistic simulations. This model is defined by a set of values describing properties such as the geometry of the object or other unknown parameters related to physical quantities. While HPO for ML usually requires finding a few parameters, a numerical model can involve the tuning of more than a hundred parameters. As a consequence, a large number of tuples have to be explored and evaluated before finding a relevant solution, offering new challenges in high‐performance computing for efficiently driving the optimization. In this work we rely on the Optuna HPO framework, primarily designed for ML tasks and including state‐of‐the‐art sampling and pruning algorithms. We report on its use to optimize a complex numerical model onto a 1024‐core machine. We suggest 1.5M tuples and evaluate 5M simulations using different Optuna‐distributed layouts to build several tradeoffs between performance and energy consumption metrics. In order to further scale up the optimization process onto resources, we introduce OptunaP2P, an extension of Optuna based on the peer‐to‐peer paradigm. This allows to remove any bottleneck in the management of the shared knowledge between optimization processes. With OptunaP2P, we were able to compute up to 3 times faster compared to the regular Optuna‐distributed implementation and to obtain close‐to‐similar results in terms of quality in this reduced time‐frame.

Authors

Publication Details

Journal
Concurrency and Computation Practice and Experience
Published
2025-02-28
DOI
https://doi.org/10.1002/cpe.70008
Citations
2
Primary Topic
Peer-to-Peer Network Technologies
Type
article
Field-Weighted Citation Impact
2.97
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Scaling Up Optuna: P2P Distributed Hyperparameters Optimization

Loïc Cudennec
2 citations
Concurrency and Computation Practice and Experience
Peer-to-Peer Network Technologies
2.97
article

Scaling Up Optuna: P2P Distributed Hyperparameters Optimization

Loïc Cudennec
article en
2 citations

Abstract

ABSTRACT In machine learning (ML), hyperparameter optimization (HPO) is the process of choosing a tuple of values that ensures an efficient deployment and training of an AI model. In practice, HPO not only applies to ML tuning but can also be used to tune complex numerical simulations. In this context, a numerical model of a given object is created to be used in realistic simulations. This model is defined by a set of values describing properties such as the geometry of the object or other unknown parameters related to physical quantities. While HPO for ML usually requires finding a few parameters, a numerical model can involve the tuning of more than a hundred parameters. As a consequence, a large number of tuples have to be explored and evaluated before finding a relevant solution, offering new challenges in high‐performance computing for efficiently driving the optimization. In this work we rely on the Optuna HPO framework, primarily designed for ML tasks and including state‐of‐the‐art sampling and pruning algorithms. We report on its use to optimize a complex numerical model onto a 1024‐core machine. We suggest 1.5M tuples and evaluate 5M simulations using different Optuna‐distributed layouts to build several tradeoffs between performance and energy consumption metrics. In order to further scale up the optimization process onto resources, we introduce OptunaP2P, an extension of Optuna based on the peer‐to‐peer paradigm. This allows to remove any bottleneck in the management of the shared knowledge between optimization processes. With OptunaP2P, we were able to compute up to 3 times faster compared to the regular Optuna‐distributed implementation and to obtain close‐to‐similar results in terms of quality in this reduced time‐frame.

Concurrency and Computation Practice and ExperienceVol. 37(4-5)
Openalex Percentile: Top 10%
Peer-to-Peer Network Technologies
2.97
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.