Photonic Quantum-Enhanced Knowledge Distillation

Kuan-Cheng Chen, Shang Yu, Chen-Yu Liu, Samuel Yen-Chi Chen, Huan-Hsin Tseng, Yen Jui Chang, Wei-Hao Huang, Felix Burt, Esperanza Cuenca Gomez, Zohim Chandani, William Clements, Ian Walmsley, Kin K. LeungarXiv 2026

TL;DR

Photonic Quantum-Enhanced Knowledge Distillation (PQKD) is a novel hybrid framework that uses the native stochasticity of photonic quantum processors to compress classical convolutional neural networks. By utilizing a gradient-free optimization loop alongside dictionary convolutions, PQKD achieves massive parameter reduction during training while keeping the final model entirely classical for deployment.

What Problem Does This Paper Address?

As deep learning models grow larger, deploying them on resource-constrained edge devices (like smartphones or IoT hardware) becomes increasingly difficult. Model compression techniques like knowledge distillation—where a compact "student" network learns to mimic a large, high-capacity "teacher" network—help mitigate this, but aggressively shrinking a network often severely degrades its accuracy, particularly in the early convolutional layers that extract crucial spatial features.

Meanwhile, near-term quantum hardware, specifically continuous-variable (CV) photonic processors, excels at generating rich, complex probability distributions. However, these systems are inherently limited by "shot noise" (sampling fluctuations) and are notoriously difficult to differentiate for standard gradient-based machine learning.

The authors address both challenges simultaneously. They introduce a hardware-algorithm co-design that uses a programmable photonic circuit as a training-time resource to constrain and guide a parameter-efficient student network, turning quantum hardware constraints into an algorithmic advantage.

Methods

The PQKD framework splits the parameter space of a student network into classical and quantum components through a process called dictionary convolution:

  1. Spatial Basis Filters (Classical): Instead of learning full convolutional kernels, each layer of the student network learns only a small set of shared, low-rank spatial basis filters.
  2. Channel-Mixing Weights (Quantum-Conditioned): The weights that determine how these spatial filters mix across channels are generated by mapping a compact feature vector from a 16-mode photonic quantum circuit through a fixed, random linear transformation.
The hardware-algorithm co-design framework for PQKD.

To train this hybrid system without calculating gradients through physical quantum hardware, the authors implement an alternating optimization loop:

  • Inner Loop: The classical student weights are updated using standard gradient descent (Adam) to minimize a distillation loss against the teacher.
  • Outer Loop: The photonic circuit's phase shifters are updated using Simultaneous Perturbation Stochastic Approximation (SPSA)—a gradient-free method that relies only on evaluating validation performance.

Furthermore, to combat high-frequency shot noise stemming from finite quantum measurements, the authors introduce an Exponential Moving Average (EMA) feature smoothing mechanism to stabilize training.

Datasets

The framework was evaluated using four distinct image datasets:

  • MNIST: Standard handwritten digits benchmark.
  • Fashion-MNIST: A more complex dataset featuring 10 clothing categories.
  • CIFAR-10: Natural RGB images across 10 object classes, presenting a higher-dimensional spatial challenge.
  • Synthetic Dataset: A custom benchmark consisting of class-specific Gaussian "ink" templates with random jitter and pixel noise, used to isolate architectural compression effects from dataset-specific biases.

Key Insights and Ideas

  • Embracing Noise as a Regularizer: Rather than treating quantum shot noise as an obstacle, PQKD exploits it as a hardware-native source of structured randomness. This effectively regularizes the student's optimization landscape, preventing overfitting.
  • Training-Time-Only Quantum Overhead: The photonic hardware is strictly a training-time resource. Once the distillation process is complete, the generated weights are frozen. The resulting student network runs entirely on standard classical hardware during inference, requiring zero quantum resources for deployment.
  • Bilevel Optimization Without Gradients: Bypassing backpropagation through the photonic simulator/hardware via SPSA provides a scalable blueprint for hardware-in-the-loop machine learning where exact analytical gradients are unavailable.

Key Results

PQKD demonstrates a highly controllable compression-accuracy frontier across multiple network capacities. On simpler benchmarks, the compressed student networks closely matched or even slightly exceeded the validation performance of their uncompressed teachers.

Performance metrics and optimization diagnostics across MNIST, Fashion-MNIST, and CIFAR-10.

When scaling compression from a single layer to the entire convolutional stack ("All Convs"), PQKD maintained stable training trajectories even at extreme compression factors exceeding two orders of magnitude within the convolutional subnetwork (e.g., achieving a convolutional compression factor of over $105\times$ on wide architectures while losing only a few percentage points of accuracy). Additionally, the EMA smoothing mechanism effectively provided a $19\times$ increase in the virtual shot budget, significantly extending the practical operating regime of the hardware under tight sampling constraints.

Limitations and Future Work

While PQKD excels on MNIST and Fashion-MNIST, the authors note a more pronounced performance drop on the complex CIFAR-10 dataset (79.72% student accuracy vs. 86.99% teacher accuracy). This indicates that scaling to natural, high-resolution images will require more expressive optical circuits or larger photonic parameter budgets.

Additionally, the fixed linear projection matrix ($A$) used to map quantum features to channel weights can introduce a substantial classical memory footprint if scaled up blindly. Future work will explore implementing this mapping implicitly via structured random features. The authors also suggest incorporating non-Gaussian quantum resources (such as Kerr nonlinearities) to generate even richer feature distributions.

Summary updated

BibTeX
@misc{chen2026photonic,
  author = {Kuan-Cheng Chen and Shang Yu and Chen-Yu Liu and Samuel Yen-Chi Chen and Huan-Hsin Tseng and Yen Jui Chang and Wei-Hao Huang and Felix Burt and Esperanza Cuenca Gomez and Zohim Chandani and William Clements and Ian Walmsley and Kin K. Leung},
  title = {{Photonic Quantum-Enhanced Knowledge Distillation}},
  year = {2026},
  eprint = {2603.14898},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.14898},
}
Figure