精细分层光学神经网络学习的加速方法
Acceleration Method for Learning Fine-Layered Optical Neural Networks
摘要:
光学神经网络(ONN)由于其高速、低功耗的特点而成为一种很有前途的系统。它的线性单元在光学模拟电路中执行输入向量和权重矩阵的乘法。其中,具有可编程Mach-Zehnder干涉仪(MZI)的多层结构的电路可以实现具有有限数量的MZI作为其权重矩阵的特定类别的酉矩阵。该电路有效地平衡了可编程MZI的数量和ONN的性能。然而,利用机器学习平台所配备的常规自动微分(AD)来学习电路的MZI参数需要花费大量时间。为了解决耗时的问题,我们提出了一种加速学习MZI参数的方法。我们为MZI创建定制的复值导数,利用Wirtinger导数和链式规则。它们被合并到我们新开发的C++实现的功能模块中,以多层结构共同计算它们的值。我们的方法简单,快速,通用性强,与传统的AD兼容。我们证明,我们的方法的工作速度比传统的AD时,一个像素的像素MNIST任务是在一个复值的经常性神经网络与MZI为基础的隐藏单元进行20倍。
英文摘要:
An optical neural network (ONN) is a promising system due to its high-speed and low-power operation. Its linear unit performs a multiplication of an input vector and a weight matrix in optical analog circuits. Among them, a circuit with a multiple-layered structure of programmable Mach-Zehnder interferometers (MZIs) can realize a specific class of unitary matrices with a limited number of MZIs as its weight matrix. The circuit is effective for balancing the number of programmable MZIs and ONN performance. However, it takes a lot of time to learn MZI parameters of the circuit with a conventional automatic differentiation (AD), which machine learning platforms are equipped with. To solve the time-consuming problem, we propose an acceleration method for learning MZI parameters. We create customized complex-valued derivatives for an MZI, exploiting Wirtinger derivatives and a chain rule. They are incorporated into our newly developed function module implemented in C++ to collectively calculate their values in a multi-layered structure. Our method is simple, fast, and versatile as well as compatible with the conventional AD. We demonstrate that our method works 20 times faster than the conventional AD when a pixel-by-pixel MNIST task is performed in a complex-valued recurrent neural network with an MZI-based hidden unit.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。