Skip to main content
QUICK REVIEW

[论文解读] Backpropagation-free Training of Deep Physical Neural Networks

Ali Momeni, Babak Rahmani|arXiv (Cornell University)|Apr 20, 2023
Advanced Memory and Neural ComputingEngineering被引用 3
一句话总结

本文提出了一种无需反向传播的训练方法——无模型前向-前向(MF-FF)训练,用于深度物理神经网络(PNNs),使物理非线性系统能够直接训练,而无需了解其内部动力学的详细信息。该方法在训练速度、数字计算量和功耗方面表现更优,尤其在光学生物PNN中优势显著,且在动态扰动下仍具鲁棒性,优于现有硬件感知训练方案。

ABSTRACT

Recent years have witnessed the outstanding success of deep learning in various fields such as vision and natural language processing. This success is largely indebted to the massive size of deep learning models that is expected to increase unceasingly. This growth of the deep learning models is accompanied by issues related to their considerable energy consumption, both during the training and inference phases, as well as their scalability. Although a number of work based on unconventional physical systems have been proposed which addresses the issue of energy efficiency in the inference phase, efficient training of deep learning models has remained unaddressed. So far, training of digital deep learning models mainly relies on backpropagation, which is not suitable for physical implementation as it requires perfect knowledge of the computation performed in the so-called forward pass of the neural network. Here, we tackle this issue by proposing a simple deep neural network architecture augmented by a biologically plausible learning algorithm, referred to as "model-free forward-forward training". The proposed architecture enables training deep physical neural networks consisting of layers of physical nonlinear systems, without requiring detailed knowledge of the nonlinear physical layers' properties. We show that our method outperforms state-of-the-art hardware-aware training methods by improving training speed, decreasing digital computations, and reducing power consumption in physical systems. We demonstrate the adaptability of the proposed method, even in systems exposed to dynamic or unpredictable external perturbations. To showcase the universality of our approach, we train diverse wave-based physical neural networks that vary in the underlying wave phenomenon and the type of non-linearity they use, to perform vowel and image classification tasks experimentally.

研究动机与目标

  • 为解决物理神经网络(PNNs)中反向传播在波基系统(如光学和声学)中面临的能效与可扩展性限制。
  • 通过直接训练物理非线性层而无需事先了解其内部行为,消除对梯度计算和数字孪生仿真依赖。
  • 提升PNNs的训练速度,减少数字计算量,并降低功耗,尤其在光学实现中表现更优。
  • 在传统硬件感知训练失效的动态或不可预测外部扰动下,验证该方法的鲁棒性。
  • 实现大规模物理神经网络的混合训练,以支持高速、低功耗的推理与训练。

提出的方法

  • 提出一种无模型前向-前向(MF-FF)训练算法,仅通过正样本和负样本对PNN中的线性可训练层进行训练,无需反向传播。
  • 采用双流前向传播机制:一路处理正样本(如正确类别),一路处理负样本(如错误类别),根据激活值的相对大小更新权重。
  • 通过将非线性物理层视为黑箱,将前向-前向算法的改进版本应用于物理系统,无需了解其内部非线性映射。
  • 采用损失函数,最大化正样本路径与负样本路径之间的激活差异,实现线性权重的端到端训练。
  • 将MF-FF方法与光学、微波和声学波基PNN系统集成,利用空间光调制器(SLMs)、DMDs和可编程超表面实现输入调制。
  • 分解每层的能量消耗,表明$E_{load}$、$E_{readout}$和$E_{feedforward}$随数据大小线性增长,而梯度更新成本随$N$的平方增长。

实验结果

研究问题

  • RQ1能否将无反向传播训练方法有效应用于具有任意物理非线性层的深度物理神经网络?
  • RQ2与传统硬件感知训练相比,无模型前向-前向方法是否能显著降低PNNs的训练能耗与数字计算量?
  • RQ3在标准反向传播失效的物理系统中,MF-FF方法在动态或不可预测扰动下的表现如何?
  • RQ4MF-FF方法是否可普遍适用于光学、微波和声学等多样化波基物理系统?
  • RQ5MF-FF训练在光学PNN中能多大程度上提升训练速度与能效?

主要发现

  • MF-FF方法在训练时间、数字计算量和功耗方面优于最先进的硬件感知训练方法,尤其在光学PNN中表现突出。
  • 该方法成功实现了光学、微波和声学系统中深度PNN的训练,在实验设置中实现了准确的元音和图像分类。
  • MF-FF训练在动态或不可预测外部扰动下仍具鲁棒性,而所有其他硬件感知训练方案均失效。
  • 推理能耗主要由$E_{load}$和$E_{readout}$主导,二者随数据大小线性增长,而$E_{feedforward}$在波基系统中几乎可忽略。
  • 将LC-SLMs切换为DMDs可使推理速度提升近三个数量级,达到每秒23,000帧。
  • MF-FF中前向传播的数字能耗随$N$的平方增长(因$N^2$次乘加操作),但在大模型中可被分摊,使PNN每MAC操作的能效优于数字模型。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。