arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.09858cs.LGcs.AI
收藏

张量压缩的无反向传播训练(用于物理信息神经网络)

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

University of California, Santa Barbara(加州大学圣巴巴拉分校);Michigan State University(密歇根州立大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)

Yequan Zhao, Xinling Yu, Zhixiong Chen, Ziyue Liu, Sijia Liu, Zheng Zhang

AI总结:

本文提出一种仅需前向传播的张量压缩无反向传播训练框架,结合零阶优化与稀疏网格方法,适用于物理信息神经网络,在MNIST上精度损失小,并能求解20维PDE,为边缘设备训练提供基础。

摘要:

反向传播(BP)广泛用于计算神经网络训练中的梯度。然而,由于缺乏支持自动微分的硬件和软件资源,在边缘设备上实现BP较为困难。这极大地增加了设备上训练加速器的设计复杂度和上市时间。本文提出了一种完全无BP的框架,仅需前向传播即可训练实际规模的神经网络。我们的技术贡献有三方面。首先,我们提出了一种张量压缩的方差缩减方法,大幅提升了零阶(ZO)优化的可扩展性,使其能够处理超出先前ZO方法能力的网络规模。其次,我们提出了一种混合梯度评估方法,以提高ZO训练的效率。最后,我们将无BP训练框架扩展到物理信息神经网络(PINNs),提出了一种稀疏网格方法来估计损失函数中的导数,而无需使用BP。与标准一阶训练相比,我们的无BP训练在MNIST数据集上仅损失少量精度。我们还成功展示了训练一个PINN来求解20维Hamilton-Jacobi-Bellman PDE的结果。这种内存高效且无BP的方法可能为近期在众多资源受限平台(如FPGA、ASIC、微控制器和光子芯片)上的设备端训练奠定基础。

英文摘要:

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).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑