[Paper Review] Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networks
This paper proposes a back-propagation-free training framework for neural networks and physics-informed neural networks (PINNs) using tensor-compressed zeroth-order (ZO) optimization. By combining tensor compression for variance reduction and a hybrid ZO gradient estimation strategy, the method enables scalable, memory-efficient training on edge devices without automatic differentiation, achieving near-sota accuracy on MNIST and successfully solving a 20-dimensional Hamilton-Jacobi-Bellman PDE.
Backward propagation (BP) is widely used to compute the gradients in neural network training. However, it is hard to implement BP on edge devices due to the lack of hardware and software resources to support automatic differentiation. This has tremendously increased the design complexity and time-to-market of on-device training accelerators. This paper presents a completely BP-free framework that only requires forward propagation to train realistic neural networks. Our technical contributions are three-fold. Firstly, we present a tensor-compressed variance reduction approach to greatly improve the scalability of zeroth-order (ZO) optimization, making it feasible to handle a network size that is beyond the capability of previous ZO approaches. Secondly, we present a hybrid gradient evaluation approach to improve the efficiency of ZO training. Finally, we extend our BP-free training framework to physics-informed neural networks (PINNs) by proposing a sparse-grid approach to estimate the derivatives in the loss function without using BP. Our BP-free training only loses little accuracy on the MNIST dataset compared with standard first-order training. We also demonstrate successful results in training a PINN for solving a 20-dim Hamiltonian-Jacobi-Bellman PDE. This memory-efficient and BP-free approach may serve as a foundation for the near-future on-device training on many resource-constraint platforms (e.g., FPGA, ASIC, micro-controllers, and photonic chips).
Motivation & Objective
- To eliminate the need for back-propagation in on-device neural network training due to hardware and memory constraints on edge platforms such as FPGAs, ASICs, and microcontrollers.
- To enable end-to-end training of realistic neural networks and PINNs from scratch without automatic differentiation or gradient computation.
- To overcome the high variance and poor scalability of traditional ZO optimization in high-dimensional settings through tensor compression and hybrid gradient estimation.
- To extend BP-free training to PINNs by replacing BP-based derivative computation with a sparse-grid Stein estimator for PDE loss evaluation.
Proposed method
- Introduces a tensor-compressed variance reduction technique that projects high-dimensional parameter gradients into a lower-dimensional tensor subspace, significantly reducing ZO gradient variance.
- Proposes a hybrid ZO gradient evaluation method combining random perturbations and finite-difference approximations to minimize forward pass count while maintaining gradient accuracy.
- Develops a sparse-grid-based Stein estimator to compute derivatives in the PINN loss function without back-propagation, enabling BP-free PINN training.
- Employs forward-only evaluation for all training steps, eliminating the need for intermediate activation storage or chain-rule-based gradient computation.
- Applies the framework to both standard feedforward networks and PINNs, using only forward passes for loss evaluation and parameter updates.
- Uses a two-stage training process: coarse training with sign-based ZO gradient estimation (Zo-SignRGE), followed by fine-tuning with ZO-CGE for improved convergence.
Experimental results
Research questions
- RQ1Can zeroth-order optimization be scaled to train realistic-sized neural networks from scratch without back-propagation?
- RQ2How can ZO gradient variance be reduced sufficiently to make BP-free training feasible for large models?
- RQ3Can a hybrid ZO gradient estimation strategy reduce the number of forward passes required for training?
- RQ4Is it possible to train physics-informed neural networks without back-propagation by replacing derivative computation with a sparse-grid estimator?
- RQ5How does BP-free training performance compare to first-order methods in terms of accuracy and convergence on edge-relevant tasks?
Key findings
- The tensor-compressed ZO approach achieves significantly lower validation loss on MNIST compared to sparsity-based ZO training, with FC-3 networks reaching 4.25e-05 loss using TT-3 parameterization.
- On the MNIST dataset, BP-free training achieves 3.58e-04 validation loss with a 3-layer fully connected network, comparable to first-order AD methods.
- The method successfully trains a PINN to solve a 20-dimensional Hamilton-Jacobi-Bellman PDE with accuracy close to that of first-order training with automatic differentiation.
- The sparse-grid Stein estimator enables BP-free PINN training by accurately approximating derivatives in the loss function without back-propagation.
- The hybrid ZO training strategy reduces forward pass count while maintaining gradient quality, improving efficiency on resource-constrained platforms.
- Despite higher query cost in fine-tuning, the overall framework enables end-to-end BP-free training on edge devices, paving the way for on-device AI training.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.