Artificial intelligence has a growing appetite for energy, and the silicon processors that feed it are running out of room to improve. A team of researchers in China now reports a way to let a photonic chip — a device that computes with light instead of electrons — teach itself directly on the hardware, bypassing the slow, error-prone simulation step that has long held optical computing back. Writing in Nature Computational Science, Tiankuang Zhou, Lu Fang and colleagues describe INSPIRE, short for in situ physical gradient descent, a general-purpose training method that computes gradients and updates parameters inside the physical optical circuit itself, rather than in a digital model of it.
The core problem the team set out to solve is one that anyone who has fabricated a microchip will recognize. Photonic neural networks promise enormous gains in speed and energy efficiency because light can perform massive numbers of multiply-and-accumulate operations in parallel, at the speed of propagation and with almost no heat dissipation. But before such a chip can do useful work, its tunable elements — phase shifters, couplers, and other adjustable components — must be set to precise values. Traditionally, those values are found by training a digital twin of the circuit in software. That twin is built from physical models of the device, and no model is perfect. Tiny discrepancies between the simulated chip and the fabricated one, introduced by manufacturing tolerances, thermal drift, and unmodeled nonlinearities, accumulate through the layers of a network and can destroy its accuracy. Re-modeling every chip individually is computationally expensive and often impractical at scale.
INSPIRE sidesteps the digital twin entirely. The method works by measuring, on the chip itself, the full complex optical fields of the bidirectional modes that propagate through the circuit — that is, both the amplitude and the phase of the light traveling forward and backward through the device. The key enabling technology is what the authors call on-chip synthetic time-reversal holography. Holography is a well-established technique for recording complete wavefronts, including phase information that ordinary intensity detectors miss. By synthesizing a time-reversed counterpart of the light field on the chip, the system can effectively send light backward through the circuit and interfere it with reference beams, extracting the field information needed to compute gradients. Those gradients — the same mathematical objects that drive learning in conventional deep networks — are then used to update the chip’s tunable parameters directly, so the physical system and the learning algorithm are one and the same process.
What makes the approach especially powerful is its generality. Earlier demonstrations of in situ training in photonics were often tailored to a specific architecture, such as a particular mesh of interferometers or a diffractive stack. INSPIRE, by contrast, is topology-agnostic: it does not care how the optical circuit is wired together. As long as the device has tunable elements and the bidirectional fields can be measured, the method applies. That compatibility with diverse optical circuits — from integrated interferometer meshes to metasurface-based processors — is what the authors mean by calling it a generalized training framework, and it is what separates this work from the growing but fragmented family of physical training techniques that have appeared in recent years.
The experimental results are striking. In benchmark demonstrations, the team trained matrices directly on the photonic hardware and achieved a relative error of just 0.26 percent against the target values — a level of precision that indicates the physical gradient computation is not merely a rough approximation but a faithful replacement for software-based optimization. Perhaps more surprising is what the researchers achieved when they pushed the method through a scattering medium, a chaotic optical environment that scrambles light in ways that are notoriously difficult to model. Using INSPIRE, they trained matrices larger than the number of native tunable elements on the chip, effectively extracting more computational capacity from the hardware than its component count would suggest possible. Because the training happens in situ, the scattering and imperfections of the medium become part of the computation rather than obstacles to it.
The team then extended the framework into the realm of meta-learning — the science of teaching systems how to learn quickly. Meta-photonic circuits trained with INSPIRE were able to perform in situ meta-learning, adapting to new tasks with remarkable efficiency. The reported numbers are eye-catching: a 251-fold compression of the model and a 136-fold acceleration in task-specific training compared with conventional approaches. In practical terms, this means a single photonic circuit can be prepared so that it snaps to a new task after minimal additional training, a property known as single-shot photonic learning. For applications where a device must be reconfigured on the fly — a sensor that changes environment, a camera that switches between imaging modes — that kind of rapid adaptability could be transformative.
The broader context explains why this demonstration has generated excitement well beyond the photonics community. Deep learning’s explosive growth has collided with the slowing of Moore’s law, and the energy cost of training and running large models on digital hardware has become a first-order concern for the industry. Optical computing has long been proposed as an escape route, and laboratory demonstrations have shown photonic processors performing inference with extraordinary efficiency — some operating with less than one photon per multiplication. But the training bottleneck has persisted: if every chip must be modeled and calibrated in software, the promise of cheap, mass-producible optical AI hardware remains out of reach. A training method that lives on the chip itself, that is indifferent to the circuit’s design, and that absorbs fabrication errors into the learning process, addresses that bottleneck head-on.
INSPIRE also fits into a rapidly evolving landscape of physical training research. Recent years have seen in situ backpropagation demonstrated in photonic meshes, forward-only training schemes that avoid sending signals backward through hardware, and theoretical frameworks for training physical neural networks of many kinds. Each of these advances has chipped away at the problem, but most have carried architectural constraints or required specialized hardware modifications. The holographic field-measurement approach at the heart of INSPIRE is notable because it treats the optical circuit as a black box whose bidirectional response can be interrogated, making the training procedure a property of the measurement scheme rather than of the device design. The authors have also released the software code for the model and training procedure through Zenodo, which should make it easier for other groups to adopt and extend the method.
There are, of course, questions that future work must answer. The demonstrations reported here, while impressive, were carried out on laboratory-scale systems, and scaling to the very large networks that commercial applications would demand will require careful engineering of the holographic measurement apparatus and the on-chip tunable elements. The speed at which gradients can be measured and applied, the stability of the trained parameters over time and temperature, and the integration of the training hardware alongside the computing hardware on a single chip are all open engineering challenges. The energy accounting of the full training pipeline, including the lasers and detectors involved in the holographic measurements, will also need to be quantified as the technology matures.
Even so, the trajectory is clear. A photonic chip that can measure its own internal light fields, compute its own gradients, and update its own parameters represents a meaningful step toward adaptive, self-configuring optical processors. If the approach scales, the consequences could reach far beyond data centers: smart sensors that learn their environment at the point of capture, imaging systems that retrain themselves in microseconds, and AI hardware whose energy footprint is measured in milliwatts rather than megawatts. The authors describe their work as a practical route toward adaptive and efficient intelligent photonic systems, and with error rates below one percent and training that survives scattering media, that route now looks considerably more navigable than it did before.
Subject of Research: In situ physical gradient descent training of photonic neuromorphic integrated circuits
Article Title: Photonic neuromorphic learning via generalized in situ physical gradient descent
Article References: Zhou, T., Zhao, Y., Li, S., Shao, G., Huang, R., & Fang, L. (2026). Photonic neuromorphic learning via generalized in situ physical gradient descent. Nature Computational Science. https://doi.org/10.1038/s43588-026-01057-y
Image Credits: AI Generated
DOI: 10.1038/s43588-026-01057-y
Keywords: photonics, neuromorphic computing, in situ training, gradient descent, holography, optical neural networks, meta-learning, photonic integrated circuits, energy-efficient computing, scattering media, inverse design, Nature Computational Science
News Source: Blake Davidson. (October 5, 2026). Light-Powered Learning: Chip Trains Itself With Physical Gradient Descent. Scienmag.



