Quantum HyperNetworks: Training Binary Neural Networks in Quantum Superposition
Institute for Theoretical Physics, ETH Zürich(瑞士苏黎世联邦理工学院理论物理研究所);Vector Institute, MaRS Centre(向量研究所马尔中心);Department of Physics and Astronomy, University of Waterloo(滑铁卢大学物理与天文学系);Perimeter Institute for Theoretical Physics, Waterloo(滑铁卢大学理论物理研究所);University of Toronto(多伦多大学);School of Engineering, University of Guelph(圭尔夫大学工程学院);AWS Center for Quantum Computing, Pasadena, CA(亚当斯韦斯研究所量子计算中心)
Juan Carrasquilla, Mohamed Hibat-Allah, Estelle Inack, Alireza Makhzani, Kirill Neklyudov, Graham W. Taylor, Giacomo Torlai
Binary neural networks, i.e., neural networks whose parameters and activations are constrained to only two possible values, offer a compelling avenue for the deployment of deep learning models on energy- and memory-limited devices. However, their training, architectural design, and hyperparameter tuning remain challenging as these involve multiple computationally expensive combinatorial optimization problems. Here we introduce quantum hypernetworks as a mechanism to train binary neural networks on quantum computers, which unify the search over parameters, hyperparameters, and architectures in a single optimization loop. Through classical simulations, we demonstrate that our approach effectively finds optimal parameters, hyperparameters and architectural choices with high probability on classification problems including a two-dimensional Gaussian dataset and a scaled-down version of the MNIST handwritten digits. We represent our quantum hypernetworks as variational quantum circuits, and find that an optimal circuit depth maximizes the probability of finding performant binary neural networks. Our unified approach provides an immense scope for other applications in the field of machine learning.
School of Computation, Information & Technology, Technical Univ. of Munich(慕尼黑工业大学计算、信息与技术学院);Fraunhofer Institute for Cognitive Systems IKS(弗劳恩霍夫认知系统研究所IKS)