Abstract
This paper introduces Quantum Deformed Neural Networks (QDNNs), a framework that generalizes probabilistic binary neural networks by entangling weights and activations using quantum mechanics. By restricting these models to "low-entanglement" designs, the authors demonstrate that they can be efficiently trained on a classical computer and achieve modest accuracy gains on real-world datasets like MNIST and Fashion MNIST.
Introduction
Most current research in Quantum Machine Learning (QML) faces a significant "scalability wall." Due to the exponential cost of simulating general quantum circuits on classical hardware, most QML models are restricted to tiny toy problems. Furthermore, a conceptual gap exists in translating standard classical neural networks into quantum designs that leverage features like superposition and interference. The authors address these challenges by viewing quantum mechanics as a generalized statistical theory where complex amplitudes allow for interference between computational paths.
Methodology
The authors focus on Binary Neural Networks (BNNs), where weights and activations are restricted to $\{0, 1\}$. Their approach follows three main steps:
1. Quantum Phase Estimation (QPE)
The classical dot product, the core of any neural network layer, is executed on a quantum computer using QPE to estimate "pre-activations." This step translates the fundamental linear algebra of neural networks into the quantum domain.
2. Quantum Deformation
A unitary matrix $D$ is introduced into the circuit to "deform" the classical layer. This matrix entangles the qubits representing activations ($h$) and weights ($W$), creating a quantum superposition where weights and activations are fundamentally linked.
3. Classical Simulation via CLT
To make this runnable on current classical hardware, the authors restrict $D$ to a 1D arrangement with local connectivity (low entanglement). They then apply a version of the Central Limit Theorem (CLT) for weakly correlated random variables. This allows them to approximate the output of a quantum layer as a Gaussian distribution, reducing simulation complexity from exponential to $O(N)$.
Experimental Results
The models were evaluated on two standard benchmarks using full data sizes, rather than the downsampled versions common in QML literature:
- MNIST: Handwritten digits (0-9).
- Fashion MNIST: Grayscale images of clothing items.
Key performance gains included:
- Dense Layers (Arch A): The [PQ] deformation provided a significant boost. On MNIST, accuracy rose from 91.1% (baseline) to 94.3%. On Fashion MNIST, it rose from 84.2% to 86.8%.
- Convolutional Networks: Gains were more modest (typically <1%) when only a single layer was deformed, though Arch B reached 97.6% on MNIST compared to a 96.6% baseline.
Key Insights
- Interference as a Feature: By replacing positive probabilities with complex amplitudes, the network benefits from "interference," adding flexibility that classical probabilistic networks lack.
- Weight Uncertainty: The quantum wave-function models weight uncertainty, conceptually similar to Bayesian Neural Networks but encoded directly in the quantum state.
- Scalability: The "low-entanglement" simulation demonstrates that quantum-inspired architectures can be explored at a scale useful for modern deep learning without waiting for fault-tolerant quantum hardware.
Limitations and Future Work
The current simulation is limited to low-entanglement designs; the full potential of high-dimensional entanglement remains locked behind the need for actual quantum hardware. Additionally, these models are more computationally intensive to simulate and can be harder to optimize. Future work may explore quantum versions of batch normalization and pooling layers, as well as Hamiltonians with non-commuting operators.
Summary updated