Author(s)
|
Wulff, Eric (CERN) ; Garcia Amboage, Juan Pablo (CERN) ; Aach, Marcel (Julich, Forschungszentrum ; Iceland U.) ; Gislason, Thorsteinn Eli (Iceland U.) ; Ingolfsson, Thorsteinn Kristinn (Iceland U.) ; Ingolfsson, Tomas Kristinn (Iceland U.) ; Pasetto, Edoardo (Julich, Forschungszentrum ; RWTH Aachen U.) ; Delilbasic, Amer (Julich, Forschungszentrum ; Iceland U.) ; Riedel, Morris (Julich, Forschungszentrum ; Iceland U.) ; Sarma, Rakesh (Julich, Forschungszentrum) ; Girone, Maria (CERN) ; Lintermann, Andreas (Julich, Forschungszentrum) |
Abstract
| Hyperparameter optimization (HPO) of neural networks is a computationally expensive procedure, which requires a large number of different model configurations to be trained. To reduce such costs, this work presents a distributed, hybrid workflow, that runs the training of the neural networks on multiple graphics processing units (GPUs) on a classical supercomputer, while predicting the configurations’ performance with quantum-trained support vector regression (QT-SVR) on a quantum annealer (QA). The workflow is shown to run on up to 50 GPUs and a QA at the same time, completely automating the communication between the classical and the quantum systems. The approach is evaluated extensively on several benchmarking datasets from the computer vision (CV), high-energy physics (HEP), and natural language processing (NLP) domains. Empirical results show that resource costs for performing HPO can be reduced by up to 9% when using the hybrid workflow with performance prediction, compared to using a plain HPO algorithm without performance prediction. Additionally, the workflow obtains similar and in some cases even better accuracy of the final hyperparameter configuration, when combining multiple heuristically obtained predictions from the QA, compared to using just a single classically obtained prediction. The results highlight the potential of hybrid quantum-classical machine learning algorithms. The workflow code is made available open-source to foster adoption in the community. |