arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.13323cs.CVcs.ETcs.LG
收藏

知识蒸馏避免光学卷积神经网络的非线性

Knowledge Distillation Circumvents Nonlinearity for Optical Convolutional Neural Networks

University of Washington(华盛顿大学)

Jinlin Xiang, Shane Colburn, Arka Majumdar, Eli Shlizerman

摘要:

近年来,卷积神经网络(CNN)已经使得无处不在的图像处理应用成为可能。因此,CNN需要快速的运行时间(前向传播)来实时的处理高分辨率的视觉流。即使使用最先进的图形和张量处理单元,这仍然是一项具有挑战性的任务。计算效率的瓶颈主要出现在卷积层中。在傅立叶域中执行运算是加速前向传播的一种有前途的方法,因为它将卷积转换为逐元素乘法,对于大内核来说,这要快得多。此外,这种计算可以使用具有数量级更快操作的光学4f系统来实现。然而,使用这种频谱方法以及CNN的光学实现的主要挑战是在每个卷积层之间包含非线性,没有它,CNN性能会急剧下降。在这里,我们提出了一种谱CNN线性对应(SCLC)网络架构,并开发了一种知识蒸馏(KD)方法,以避免对非线性的需求并成功训练此类网络。虽然KD方法在机器学习中被认为是一种有效的网络修剪过程,但我们采用这种方法将知识从非线性网络(教师)转移到线性网络(学生)。我们表明,KD方法可以实现的性能,很容易超过标准的线性版本的CNN,可以接近非线性网络的性能。我们的模拟表明,增加输入图像的分辨率的可能性允许我们提出的4f光学线性网络比非线性网络更有效地执行两个基本图像处理任务:(i)对象分类和(ii)语义分割。

英文摘要:

In recent years, Convolutional Neural Networks (CNNs) have enabled ubiquitous image processing applications. As such, CNNs require fast runtime (forward propagation) to process high-resolution visual streams in real time. This is still a challenging task even with state-of-the-art graphics and tensor processing units. The bottleneck in computational efficiency primarily occurs in the convolutional layers. Performing operations in the Fourier domain is a promising way to accelerate forward propagation since it transforms convolutions into elementwise multiplications, which are considerably faster to compute for large kernels. Furthermore, such computation could be implemented using an optical 4f system with orders of magnitude faster operation. However, a major challenge in using this spectral approach, as well as in an optical implementation of CNNs, is the inclusion of a nonlinearity between each convolutional layer, without which CNN performance drops dramatically. Here, we propose a Spectral CNN Linear Counterpart (SCLC) network architecture and develop a Knowledge Distillation (KD) approach to circumvent the need for a nonlinearity and successfully train such networks. While the KD approach is known in machine learning as an effective process for network pruning, we adapt the approach to transfer the knowledge from a nonlinear network (teacher) to a linear counterpart (student). We show that the KD approach can achieve performance that easily surpasses the standard linear version of a CNN and could approach the performance of the nonlinear network. Our simulations show that the possibility of increasing the resolution of the input image allows our proposed 4f optical linear network to perform more efficiently than a nonlinear network with the same accuracy on two fundamental image processing tasks: (i) object classification and (ii) semantic segmentation.

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

↑