NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalable Back-Propagation-Free Training of Optical Physics-Informed Neural Networks

Yequan Zhao, Xinling Yu, Xian Xiao, Zhixiong Chen, Ziyue Liu, Geza Kurczveil, Raymond G Beausoleil, Sijia Liu, Zheng Zhang · Submission to ICLR 2025 · Rejected

TL;DR

Training Physics-Informed Neural Networks (PINNs) on ultra-fast photonic chips is typically blocked by two major hurdles: the lack of on-chip optical memory to support backpropagation (BP) and the physically massive footprint of optical components. This paper introduces a completely BP-free, tensor-compressed framework that uses sparse-grid Stein estimators and zeroth-order optimization to train full-scale PINNs directly on silicon photonics—slashing component counts by over $40\times$ and training PDEs in under two seconds.

What Problem Does This Paper Address?

PINNs are powerful tools for solving partial differential equations (PDEs), but training them on digital GPUs is computationally expensive and slow. While optical neural networks (ONNs) offer speed-of-light computation and exceptional energy efficiency, deploying PINNs on photonic hardware faces critical roadblocks:

  1. The Double-Backpropagation Problem: Unlike standard vision models, PINNs require differentiation twice: first to evaluate differential operators in the PDE loss function with respect to coordinates $(x, t)$, and second to calculate gradient updates with respect to network weights $\theta$.
  2. Lack of Optical Memory: Backpropagation requires saving intermediate forward activations and computational graphs. Integrated photonics lacks optical RAM; reading out states requires costly optical-electronic-optical (O-E-O) conversions that destroy photonics' latency and energy benefits.
  3. Hardware Scaling Bottlenecks: Standard photonic circuits (Mach-Zehnder Interferometers, or MZIs) scale quadratically ($O(N^2)$) with matrix dimension, capping feasible single-chip matrices to small sizes (typically $\le 64 \times 64$). While zeroth-order (ZO) optimization can bypass backpropagation, its gradient variance explodes with parameter dimensionality ($O(d)$), preventing large networks from converging.

Methods

The authors tackle these issues through a hardware-algorithm co-design featuring three components:

[ Input (x, t) ]
       │
       ▼
[ Sparse-Grid Stein Estimator ] ──► BP-free PDE Loss Evaluation
       │
       ▼
[ Tensor-Train Compressed PINN ] ──► Drastic Dimension Reduction
       │
       ▼
[ Zeroth-Order (ZO) Optimizer ]  ──► Forward-only Parameter Updates
       │
       ▼
[ Photonic Tensor Cores (TONN) ] ──► Sub-second On-chip Execution
  • Sparse-Grid Stein Derivative Estimator (Level 1 BP-Free): Rather than differentiating network outputs directly via backprop, the solution is framed as a Gaussian-smoothed expectation. Stein’s identity converts differential operators (e.g., Laplacians, gradients) into expectations of network perturbations. To avoid the thousands of queries required by standard Monte Carlo sampling, the authors deploy Smolyak sparse Gaussian quadrature grids, cutting required evaluations to just tens of forward passes while preserving high numerical integration precision.
  • Tensor-Compressed Zeroth-Order Optimization (Level 2 BP-Free): Weight matrices are factorized using Tensor-Train (TT) decomposition. By optimizing low-rank tensor cores instead of full matrices, parameter dimensions drop by orders of magnitude (e.g., $1023\times$ reduction on a $512 \times 512$ layer). This reduction directly curbs the dimensionality-dependent variance of Random Gradient Estimation (RGE) in ZO-SGD, enabling end-to-end convergence from scratch.
  • Scalable Photonic Accelerators: The architecture executes on Tensorized ONN (TONN) engines using photonic tensor cores and wavelength-division multiplexing (WDM). Two designs are evaluated: TONN-1 (fully space-multiplexed, entirely memory-free on a single chip) and TONN-2 (time-multiplexed using a single core with optical buffers). A lightweight digital controller handles random $\pm 1$ Rademacher phase perturbations and updates.

Datasets

The framework was evaluated across multiple PDE benchmarks and a vision classification task:

  • 1D Black-Scholes Equation: Financial call option pricing dynamics.
  • 20D Hamilton-Jacobi-Bellman (HJB) Equation: High-dimensional optimal control and robotics safety verification.
  • Additional PDE Benchmarks (Appendix): 1D Burgers' equation, 2D Navier-Stokes equation (lid-driven cavity flow at $Re=100$), and 2D Darcy flow through porous media.
  • MNIST: Standard handwritten digit benchmark to confirm the method generalizes to non-PDE tasks.

Key Insights and Ideas

  • Making Stein Derivative Estimation Tractable: Stein estimators remove the need for automatic differentiation in physics losses, but their Monte Carlo query costs previously made them non-viable. Integrating Smolyak sparse grids provides analytical quadrature accuracy with negligible forward queries (e.g., 13–25 points instead of $2000+$).
  • Dimension Reduction Rescues Zeroth-Order Training: ZO optimization famously struggles to train deep networks from scratch because perturbation search directions become noise in high dimensions. Tensor-Train decomposition compresses the search space to its intrinsic manifold, reducing variance sufficiently for ZO to match first-order accuracy.
  • Hardware-Software Topology Alignment: TT-cores map naturally to cascaded photonic tensor cores and wavelength-parallel optical buses, replacing massive $O(N^2)$ MZI mesh grids with compact, linear-scaling photonic pipelines.

Key Results

  • Numerical Convergence:
  • On the Black-Scholes task, uncompressed ZO failed to converge (relative $\ell_2$ error of $0.391$), whereas TT-compressed ZO converged to an error of $0.083$ (nearing first-order BP at $0.053$).
  • On 20D HJB, TT-compressed ZO achieved a $1.54 \times 10^{-3}$ relative error.
  • Hardware Simulation (Including Realistic Noise & Phase Drifts):
  • Error: Outperformed prior photonic on-chip training methods (achieving $0.103$ rel. error on Black-Scholes vs. $0.667$ for FLOPS and $0.203$ for $L^2\text{ight}$).
  • Footprint: For a $128 \times 128$ hidden layer, TONN-1 reduced the MZI count from 16,384 to 384 ($42.7\times$ reduction), cutting device footprint from $3,975.68\text{ mm}^2$ to $102.72\text{ mm}^2$.
  • Latency: Realized full on-chip training in 1.64 seconds (TONN-1) and 9.80 seconds (TONN-2).

Limitations and Future Work

  • First-Order vs. Zeroth-Order Gap: A performance gap remains between ZO and exact backprop, notably on stiff, non-convex landscapes like the 2 Navier-Stokes equations (where relative error remained around $\sim 0.48$–$0.69$).
  • Optimizer Limitations: The current setup relies on basic ZO-SGD/Adam; incorporating advanced variance reduction techniques (e.g., antithetic sampling or coordinate-wise steps) without ballooning memory could narrow the accuracy gap.
  • Exploring Factor Sparsity: Future work plans to leverage structural sparsity directly within the TT cores to scale to even deeper networks and harder PDE constraints.

Summary updated

BibTeX
@misc{zhao2025scalable,
  author = {Yequan Zhao and Xinling Yu and Xian Xiao and Zhixiong Chen and Ziyue Liu and Geza Kurczveil and Raymond G Beausoleil and Sijia Liu and Zheng Zhang},
  title = {{Scalable Back-Propagation-Free Training of Optical Physics-Informed Neural Networks}},
  year = {2025},
  eprint = {2502.12384},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.12384},
}
Figure