Abstract-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 diversity, capacity 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.
After analyzing the convergence and computational properties of both SUM-OF-SUM and SUM-OF-MAX, Yao et al. REF propose a hybrid scheme and successfully implement the network on a GPU.
A Massively Parallel Associative Memory Based on Sparse Neural Networks
ArXiv
ArXiv
Computer Science