Evaluating Parameter-Based Training Performance of Neural Networks and Variational Quantum Circuits
Michael Kölle, Alexander Feist, Jonas Stein, Sebastian Wölckert, Claudia Linnhoff-Popien
TL;DR
This paper tackles the problem of parameter efficiency in machine learning by directly comparing classical neural networks (NNs) with variational quantum circuits (VQCs) on simple supervised and reinforcement learning tasks. The authors employ a grid-search approach to pair NN and VQC configurations with similar performance, predominantly using VQC simulations and estimating real-hardware training times by executing selected circuits on IBM hardware. They demonstrate that VQCs can match or slightly exceed NN performance while using significantly fewer parameters, albeit with substantially longer training times in the current setup, and they provide hardware-time estimates to gauge practical feasibility. The work highlights that, as quantum technology advances and VQC architectures improve, VQCs may offer distinct advantages for particular applications, and it provides a reproducible framework and openly available code for future benchmarking.
Abstract
In recent years, neural networks (NNs) have driven significant advances in machine learning. However, as tasks grow more complex, NNs often require large numbers of trainable parameters, which increases computational and energy demands. Variational quantum circuits (VQCs) offer a promising alternative: they leverage quantum mechanics to capture intricate relationships and typically need fewer parameters. In this work, we evaluate NNs and VQCs on simple supervised and reinforcement learning tasks, examining models with different parameter sizes. We simulate VQCs and execute selected parts of the training process on real quantum hardware to approximate actual training times. Our results show that VQCs can match NNs in performance while using significantly fewer parameters, despite longer training durations. As quantum technology and algorithms advance, and VQC architectures improve, we posit that VQCs could become advantageous for certain machine learning tasks.
