arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.07138cs.NEcs.LG
收藏

一种训练高度稀疏神经网络的脑启发算法

A Brain-inspired Algorithm for Training Highly Sparse Neural Networks

University of Twente(特文特大学);Eindhoven University of Technology(埃因霍温理工大学);University of Jyväskylä(于韦斯屈莱大学)

Zahra Atashgahi, Joost Pieterse, Shiwei Liu, Decebal Constantin Mocanu, Raymond Veldhuis, Mykola Pechenizkiy

摘要:

稀疏神经网络吸引了越来越多的兴趣,因为它们表现出与密集网络相当的性能,同时具有计算效率。修剪密集神经网络是获得稀疏神经网络的最广泛使用的方法之一。由于这种方法的高训练成本对于低资源设备来说是负担不起的,因此从头开始稀疏地训练稀疏神经网络最近受到了关注。然而,现有的稀疏训练算法存在各种问题,包括在高稀疏性场景中性能不佳,在训练期间计算密集的梯度信息,或纯随机拓扑搜索。受生物大脑进化和Hebbian学习理论的启发,本文提出了一种新的稀疏训练方法,该方法根据网络中神经元的行为来进化稀疏神经网络。具体地说,我们提出的基于余弦相似性和随机拓扑探索(CTRE)方法,通过利用余弦相似性度量连接的重要性,将最重要的连接添加到稀疏神经网络中,而不需要向后计算稠密梯度,从而进化稀疏神经网络的拓扑结构.我们在8个数据集上进行了不同的实验,包括表格,图像和文本数据集,并证明我们提出的方法在极稀疏的神经网络中的性能优于几种最先进的稀疏训练算法。实现代码可在https://github.com/zahraatashgahi/CTRE上获得

英文摘要:

Sparse neural networks attract increasing interest as they exhibit comparable performance to their dense counterparts while being computationally efficient. Pruning the dense neural networks is among the most widely used methods to obtain a sparse neural network. Driven by the high training cost of such methods that can be unaffordable for a low-resource device, training sparse neural networks sparsely from scratch has recently gained attention. However, existing sparse training algorithms suffer from various issues, including poor performance in high sparsity scenarios, computing dense gradient information during training, or pure random topology search. In this paper, inspired by the evolution of the biological brain and the Hebbian learning theory, we present a new sparse training approach that evolves sparse neural networks according to the behavior of neurons in the network. Concretely, by exploiting the cosine similarity metric to measure the importance of the connections, our proposed method, Cosine similarity-based and Random Topology Exploration (CTRE), evolves the topology of sparse neural networks by adding the most important connections to the network without calculating dense gradient in the backward. We carried out different experiments on eight datasets, including tabular, image, and text datasets, and demonstrate that our proposed method outperforms several state-of-the-art sparse training algorithms in extremely sparse neural networks by a large gap. The implementation code is available on https://github.com/zahraatashgahi/CTRE

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

↑