arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.00730cs.CV
收藏

自二值化网络

Self-Binarizing Networks

EPFL(洛桑联邦理工学院);University of Berne(伯尔尼大学)

Fayez Lahoud, Radhakrishna Achanta, Pablo Márquez-Neila, Sabine Süsstrunk

摘要:

我们提出了一种训练自二值化神经网络的方法,即在训练过程中将其权重和激活演化为二值的网络。为了得到相似的二进制网络,现有的方法依赖于符号激活函数。然而,这个函数对于非零值没有梯度,这使得标准的反向传播是不可能的。为了避免训练依赖于符号激活函数的网络的困难,这些方法在训练期间在网络的浮点和二进制表示之间交替,这是次优且低效的。我们通过在涉及平滑激活函数的唯一表示上进行训练来接近二值化任务,该函数在训练期间迭代地锐化,直到它成为与符号激活函数等效的二值表示。此外,我们引入了一种新的技术来执行二进制批量归一化,简化了传统的批量归一化,将其转换成一个简单的比较操作。这与现有方法不同,现有方法被迫保留传统的基于浮点的批量归一化。我们的二进制网络,除了显示较低的内存和计算的优势相比,传统的浮点和二进制网络,也显示出更高的分类精度比现有的国家的最先进的方法在多个基准数据集。

英文摘要:

We present a method to train self-binarizing neural networks, that is, networks that evolve their weights and activations during training to become binary. To obtain similar binary networks, existing methods rely on the sign activation function. This function, however, has no gradients for non-zero values, which makes standard backpropagation impossible. To circumvent the difficulty of training a network relying on the sign activation function, these methods alternate between floating-point and binary representations of the network during training, which is sub-optimal and inefficient. We approach the binarization task by training on a unique representation involving a smooth activation function, which is iteratively sharpened during training until it becomes a binary representation equivalent to the sign activation function. Additionally, we introduce a new technique to perform binary batch normalization that simplifies the conventional batch normalization by transforming it into a simple comparison operation. This is unlike existing methods, which are forced to the retain the conventional floating-point-based batch normalization. Our binary networks, apart from displaying advantages of lower memory and computation as compared to conventional floating-point and binary networks, also show higher classification accuracy than existing state-of-the-art methods on multiple benchmark datasets.

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

↑