Physical neural networks are dynamical systems with adjustable weights that leverage the complexity of nature in order to perform efficient analog computation, aiming to demonstrate alternatives to power-hungry digital AI architectures. Finding the optimal platform for such computation\textemdash one that pairs dedicated hardware with a tailored training algorithm\textemdash remains an open challenge. Here, we explore wave-based neural networks built from $N$ resonant scatterers coupled by electromagnetic waves, such as loaded dipole antennas. The inputs and weights are encoded in the detuning of antenna resonances, inducing a form of structural nonlinearity that is enhanced by the non-locality of the network response, enabled by multiple scattering. To perform gradient descent, we adapt the Equilibrium Propagation (EP) algorithm and particularize it to this specific driven-dissipative system, showing that model-free gradient extraction is possible by performing two measurements per tunable antenna, using reciprocity and the diagonal dependence of the interaction operator. Since the network is read out in intensity, the cost is not a holomorphic function of the complex dipole moments, and existing holomorphic formulations of EP do not apply. We derive a modified EP learning rule showing that the nudged phase captures the holomorphic part of the gradient, and that taking its real part recovers the exact gradient. We numerically implement a compact model with fewer than $7000$ parameters that achieves over $94\%$ test accuracy on MNIST digit classification, and over $81\%$ on Fashion-MNIST classification. We quantify the robustness of the training method to noise and spatial disorder.
翻译:暂无翻译