Physical Data Embedding for Memory Efficient AI
Callen MacPhee, Yiming Zhou, Bahram Jalali
TL;DR
The paper introduces physical embedding, a learning paradigm where data representations are encoded directly into the coefficients of a master equation, reframing PDEs as trainable architectures. The Nonlinear Schrödinger Network (NSN) uses cascaded NLSE layers with trainable parameters $\alpha$, $\beta_2$, and $\gamma$ to perform data transformations, achieving comparable or better time-series classification accuracy with orders of magnitude fewer parameters, while preserving interpretability through physically meaningful components. An extension to the Gross-Pitaevskii Equation demonstrates the approach’s generality, and ablations quantify the contributions of dispersion and nonlinearity to performance. The discussion highlights potential analog optical implementations for ultrafast inference and acknowledges limitations in generalizability, pointing to broader applicability and hardware acceleration as key future directions, with mathematical guidance provided by NLSE and GPE formulations such as $\partial E(t,z)/\partial z = -\frac{\alpha}{2} E(t,z) - i\frac{\beta_2}{2} \frac{\partial^2 E}{\partial t^2} + i\gamma|E|^2 E$ and $i\hbar\frac{\partial\psi}{\partial t} = abla$-terms.
Abstract
Deep neural networks (DNNs) have achieved exceptional performance across various fields by learning complex, nonlinear mappings from large-scale datasets. However, they face challenges such as high memory requirements and computational costs with limited interpretability. This paper introduces an approach where master equations of physics are converted into multilayered networks that are trained via backpropagation. The resulting general-purpose model effectively encodes data in the properties of the underlying physical system. In contrast to existing methods wherein a trained neural network is used as a computationally efficient alternative for solving physical equations, our approach directly treats physics equations as trainable models. We demonstrate this physical embedding concept with the Nonlinear Schrödinger Equation (NLSE), which acts as trainable architecture for learning complex patterns including nonlinear mappings and memory effects from data. The network embeds data representation in orders of magnitude fewer parameters than conventional neural networks when tested on time series data. Notably, the trained "Nonlinear Schrödinger Network" is interpretable, with all parameters having physical meanings. This interpretability offers insight into the underlying dynamics of the system that produced the data. The proposed method of replacing traditional DNN feature learning architectures with physical equations is also extended to the Gross-Pitaevskii Equation, demonstrating the broad applicability of the framework to other master equations of physics. Among our results, an ablation study quantifies the relative importance of physical terms such as dispersion, nonlinearity, and potential energy for classification accuracy. We also outline the limitations of this approach as it relates to generalizability.
