  Silicon photonic neural networks (PNNs) utilizing wavelength-multiplexing
approaches, such as those based on micro-ring resonators (MRRs), offer superior
performance due to their weight assignment, exceptional energy efficiency, and
high computing density achieved through small device footprints. However, MRRs
are highly sensitive to ambient disturbance, with even slight resonance drifts
of tens of picometers potentially compromising MRRs-based PNNs. Current
solutions often rely on complex control methods, resulting in high hardware
complexity impractical for large-scale PNNs. Here, we propose a novel
hardware-aware training and pruning approach. The core idea is to train the
parameters of a physical neural network towards its noise-robust and
energy-efficient region. This innovation enables control-free and
energy-efficient photonic computing. Experimentally, this method improves
computing precision by 4 bits without requiring intricate MRR control or
power-consuming temperature stabilization circuits. It notably increases the
accuracy of experimental handwritten digit classification from 67.0%, initially
impacted by the thermal variances, to 95.0%, a figure comparable to the
theoretical value and achieved without a thermoelectric controller.
Additionally, this approach reduces the energy required to tune the MRRs
ten-fold. Furthermore, our numerical verification indicates that this method is
broadly applicable across various NN sizes and machine-learning tasks. Its
effectiveness is particularly marked in larger NNs, where it boosts accuracy
from 10.9% to 98.0% and slashes power consumption by 160 times. This
advancement represents a significant step towards the practical,
energy-efficient, and noise-resilient implementation of large-scale integrated
PNNs.
