基于稀疏连接的直接反馈对齐算法
Direct Feedback Alignment with Sparse Connections for Local Learning
摘要:
深度神经网络(DNN)的最新进展将其成功归功于使用反向传播和梯度下降的训练算法。反向传播虽然在冯诺依曼架构上非常有效,但在扩展到大型网络时变得低效。通常被称为权重传输问题,每个神经元对位于网络深处的权重和错误的依赖性需要详尽的数据移动,这是提高机器学习硬件性能和能效的关键问题。在这项工作中,我们提出了一个生物合理的替代反向传播借鉴反馈对齐算法的进步,其中在一个单一的突触的误差计算减少到三个标量值的产品。使用稀疏的反馈矩阵,我们表明,神经元只需要一小部分的信息,以前使用的反馈对齐算法。因此,存储器和计算可以被分区和分布,无论哪种方式产生最有效的前向传递,只要单个错误可以被传递到每个神经元。我们的研究结果表明,数量级的改善,数据移动和$2\times$改善乘法和累加操作的反向传播。与以前的工作一样,我们观察到反馈对齐的任何变体在深度卷积神经网络上的分类准确性都会遭受重大损失。通过转移训练的卷积层并使用直接反馈对齐训练全连接层,我们证明了直接反馈对齐可以获得与反向传播竞争的结果。此外,我们观察到,使用一个非常稀疏的反馈矩阵,而不是一个密集的,结果在一个小的精度下降,同时产生硬件优势。所有的代码和结果都可以在https://github.com/bcrafton/ssdfa上找到。
英文摘要:
Recent advances in deep neural networks (DNNs) owe their success to training algorithms that use backpropagation and gradient-descent. Backpropagation, while highly effective on von Neumann architectures, becomes inefficient when scaling to large networks. Commonly referred to as the weight transport problem, each neuron's dependence on the weights and errors located deeper in the network require exhaustive data movement which presents a key problem in enhancing the performance and energy-efficiency of machine-learning hardware. In this work, we propose a bio-plausible alternative to backpropagation drawing from advances in feedback alignment algorithms in which the error computation at a single synapse reduces to the product of three scalar values. Using a sparse feedback matrix, we show that a neuron needs only a fraction of the information previously used by the feedback alignment algorithms. Consequently, memory and compute can be partitioned and distributed whichever way produces the most efficient forward pass so long as a single error can be delivered to each neuron. Our results show orders of magnitude improvement in data movement and $2\times$ improvement in multiply-and-accumulate operations over backpropagation. Like previous work, we observe that any variant of feedback alignment suffers significant losses in classification accuracy on deep convolutional neural networks. By transferring trained convolutional layers and training the fully connected layers using direct feedback alignment, we demonstrate that direct feedback alignment can obtain results competitive with backpropagation. Furthermore, we observe that using an extremely sparse feedback matrix, rather than a dense one, results in a small accuracy drop while yielding hardware advantages. All the code and results are available under https://github.com/bcrafton/ssdfa.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。