arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1303.7032cs.AIcs.DCcs.NE
收藏

基于稀疏神经网络的大规模并行联想存储器

A Massively Parallel Associative Memory Based on Sparse Neural Networks

McGill University(麦吉尔大学);Télécom Bretagne(布列塔尼电信学院)

Zhe Yao, Vincent Gripon, Michael G. Rabbat

摘要:

关联存储器以这样的方式存储内容,使得内容可以稍后通过向存储器呈现内容的一小部分来检索,而不是像在更传统的存储器中那样向存储器呈现地址。关联存储器被用作数据库引擎、异常检测系统、压缩算法和面部识别系统中的算法的构建块。关联存储器的一个经典例子是Hopfield神经网络。最近,Gripon和Berrou介绍了一种替代结构,该结构基于纠错码理论的思想,并且在容量、多样性和效率方面大大优于Hopfield网络。在本文中,我们实现了一个通用的图形处理单元(GPU)上的Gripon-Berrou联想记忆的变化。Gripon和Berrou的工作提出了两种检索规则,总和和最大值和。和的和规则只使用矩阵向量乘法,很容易在GPU上实现。最大值和规则实现起来不那么简单,因为它涉及到非线性运算。然而,最大值和规则给出了明显更好的检索出错率。我们提出了一种混合规则,专门为在GPU上实现,实现了880倍的加速,而不牺牲任何精度。

英文摘要:

Associative memories store content in such a way that the content can be later retrieved by presenting the memory with a small portion of the content, rather than presenting the memory with an address as in more traditional memories. Associative memories are used as building blocks for algorithms within database engines, anomaly detection systems, compression algorithms, and face recognition systems. A classical example of an associative memory is the Hopfield neural network. Recently, Gripon and Berrou have introduced an alternative construction which builds on ideas from the theory of error correcting codes and which greatly outperforms the Hopfield network in capacity, diversity, and efficiency. In this paper we implement a variation of the Gripon-Berrou associative memory on a general purpose graphical processing unit (GPU). The work of Gripon and Berrou proposes two retrieval rules, sum-of-sum and sum-of-max. The sum-of-sum rule uses only matrix-vector multiplication and is easily implemented on the GPU. The sum-of-max rule is much less straightforward to implement because it involves non-linear operations. However, the sum-of-max rule gives significantly better retrieval error rates. We propose a hybrid rule tailored for implementation on a GPU which achieves a 880-fold speedup without sacrificing any accuracy.

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

↑