arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.01356cs.ETcs.LGstat.ML
收藏

用于模拟阵列的高效ConvNets

Efficient ConvNets for Analog Arrays

IBM Research AI(IBM研究院人工智能部门);TJ Watson Research Center(托马斯·J·沃森研究中心)

Malte J. Rasch, Tayfun Gokmen, Mattia Rigotti, Wilfried Haensch

摘要:

模拟阵列是一种很有前途的硬件技术,有可能大大加快深度学习的速度。它们的主要优点是在恒定时间内计算矩阵向量乘积,而不管矩阵的大小。然而,ConvNets中的早期卷积层非常不利地映射到模拟阵列上,因为内核矩阵通常很小,并且常数时间操作需要连续迭代大量次,从而降低了ConvNets的加速优势。在这里,我们建议在不同的模拟阵列上复制卷积层的内核矩阵,并在它们之间随机划分计算部分,以便并行训练多个内核矩阵。通过这种修改,模拟阵列执行ConvNets的加速因子与每层使用的内核矩阵的数量成比例(这里测试16-128)。尽管有更多的自由参数,但我们在分析和数值实验中表明,这种卷积架构是自正则化的,并且隐式地学习了跨阵列的类似滤波器。我们还报告了一些数据集上的卓越性能和对对抗攻击的鲁棒性。我们的调查建议修改混合模拟数字硬件不适合ConvNets的概念。

英文摘要:

Analog arrays are a promising upcoming hardware technology with the potential to drastically speed up deep learning. Their main advantage is that they compute matrix-vector products in constant time, irrespective of the size of the matrix. However, early convolution layers in ConvNets map very unfavorably onto analog arrays, because kernel matrices are typically small and the constant time operation needs to be sequentially iterated a large number of times, reducing the speed up advantage for ConvNets. Here, we propose to replicate the kernel matrix of a convolution layer on distinct analog arrays, and randomly divide parts of the compute among them, so that multiple kernel matrices are trained in parallel. With this modification, analog arrays execute ConvNets with an acceleration factor that is proportional to the number of kernel matrices used per layer (here tested 16-128). Despite having more free parameters, we show analytically and in numerical experiments that this convolution architecture is self-regularizing and implicitly learns similar filters across arrays. We also report superior performance on a number of datasets and increased robustness to adversarial attacks. Our investigation suggests to revise the notion that mixed analog-digital hardware is not suitable for ConvNets.

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

↑