Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networks

Yequan Zhao, Xinling Yu, Zhixiong Chen, Ziyue Liu, Sijia Liu, Zheng ZhangarXiv 2023 · DOI

Introduction

Standard deep learning optimization relies heavily on Back-propagation (BP), which utilizes the chain rule to calculate gradients. While highly efficient on traditional GPU architectures, BP presents significant challenges for "edge" hardware such as FPGAs, ASICs, or photonic chips. These specialized devices often lack the memory capacity to store intermediate activations and the complex software infrastructure required for automatic differentiation.

Zeroth-Order (ZO) optimization offers a potential alternative by estimating gradients through forward passes alone—perturbing weights and observing changes in the loss function. However, ZO methods suffer from a severe scalability issue: as the number of parameters ($d$) increases, the variance of the gradient estimate explodes, making the training of large networks from scratch historically impractical.

Methodology

This research introduces a framework that overcomes the scalability limits of ZO optimization through three key innovations:

  1. Tensor-Train (TT) Variance Reduction: By decomposing large weight matrices into a series of small "cores" using Tensor-Train decomposition, the authors drastically reduce the number of trainable variables. Since ZO variance is directly tied to the dimensionality of the parameter space, this compression stabilizes gradient estimates.
  2. Hybrid ZO Optimizer: The training process employs a two-stage strategy. It begins with ZO-signRGE, which uses the sign of random gradient estimates to robustly navigate toward a promising neighborhood. This is followed by ZO-CGE (Fine-tuning), which utilizes coordinate-wise gradient estimation and momentum to achieve high-precision convergence.
  3. Sparse-Grid Stein Estimator for PINNs: For Physics-Informed Neural Networks (PINNs), where the loss function requires derivatives (e.g., Laplacians), the authors implement a Stein estimator combined with Sparse Grids. This allows for the estimation of physical derivatives using only forward evaluations, removing the need for BP in the loss calculation itself.

Experimental Results

MNIST Classification

The framework was rigorously tested on the MNIST handwritten digit dataset to evaluate its ability to train Multi-Layer Perceptrons (MLPs) from scratch without back-propagation.

Validation accuracy over 80 epochs for MNIST, comparing the proposed Hybrid ZO method against First-Order (FO-AD) and other Zeroth-Order baselines.

As shown in the training curves, the Hybrid ZO method significantly outperforms standard ZO-RGE and ZO-signRGE, approaching the performance of first-order methods. Specifically, the TT-compressed hybrid ZO method reached 96.64% accuracy, trailing standard BP-based training (97.16%) by less than 1%.

Efficiency and Comparative Analysis

A critical advantage of this approach is its extreme parameter efficiency. By forcing the model into a low-rank tensor format during training, the optimization problem becomes more manageable for gradient-free methods.

Comparison of the proposed TT-HZO against various optimization paradigms, including Sparse ZO, Forward Gradient, and Feedback Alignment.

The proposed TT-HZO method achieved a 205x reduction in parameters (from 814K to 4K) compared to a standard MLP while maintaining competitive accuracy. Furthermore, it demonstrates superior performance compared to other BP-free alternatives like Forward Gradient (FG) and Feedback Alignment (FA) in terms of the accuracy-to-parameter-count ratio.

High-Dimensional Physics-Informed Neural Networks

The framework's utility extends to complex mathematical problems, such as the 20-dimensional Hamilton-Jacobi-Bellman (HJB) PDE. The BP-free PINN successfully solved this high-dimensional problem, achieving a validation loss of $1.44 \times 10^{-5}$, which is comparable to results obtained via standard first-order methods. This proves that complex physics constraints can be satisfied without ever accessing the network's internal computation graph.

Conclusion

This work demonstrates that back-propagation is not a strict requirement for training high-performing neural networks. By combining Tensor-Train compression with a hybrid zeroth-order optimization strategy, researchers can achieve near-state-of-the-art results with significantly reduced memory and parameter overhead. While challenges remain regarding query complexity for fine-tuning and scaling to Transformer architectures, this framework paves the way for efficient deep learning deployment on resource-constrained edge hardware.

Summary updated

BibTeX
@misc{zhao2023tensor,
  author = {Yequan Zhao and Xinling Yu and Zhixiong Chen and Ziyue Liu and Sijia Liu and Zheng Zhang},
  title = {{Tensor-Compressed Back-Propagation-Free Training for (Physics-Informed) Neural Networks}},
  year = {2023},
  eprint = {2308.09858},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.09858},
}
Figure