# Neuro-RAM Unit with Applications to Similarity Testing and Compression   in Spiking Neural Networks

**Authors:** Nancy Lynch, Cameron Musco, Merav Parter

arXiv: 1706.01382 · 2017-08-22

## TL;DR

This paper introduces a stochastic neural network model with a neuro-RAM module that efficiently performs similarity testing and compression, highlighting the role of randomness and establishing near-optimal tradeoffs in neural computation.

## Contribution

It presents a novel neuro-RAM design for similarity testing in spiking neural networks, demonstrating near-optimal tradeoffs and contrasting the computational power of randomized versus deterministic neural models.

## Key findings

- Neuro-RAM achieves sublinear auxiliary neurons for similarity testing.
- Randomness offers limited advantage for similarity testing with deterministic threshold gates.
- The tradeoff between runtime and network size in neuro-RAM is nearly optimal.

## Abstract

We study distributed algorithms implemented in a simplified biologically inspired model for stochastic spiking neural networks. We focus on tradeoffs between computation time and network complexity, along with the role of randomness in efficient neural computation.   It is widely accepted that neural computation is inherently stochastic. In recent work, we explored how this stochasticity could be leveraged to solve the `winner-take-all' leader election task. Here, we focus on using randomness in neural algorithms for similarity testing and compression. In the most basic setting, given two $n$-length patterns of firing neurons, we wish to distinguish if the patterns are equal or $\epsilon$-far from equal.   Randomization allows us to solve this task with a very compact network, using $O \left (\frac{\sqrt{n}\log n}{\epsilon}\right)$ auxiliary neurons, which is sublinear in the input size. At the heart of our solution is the design of a $t$-round neural random access memory, or indexing network, which we call a neuro-RAM. This module can be implemented with $O(n/t)$ auxiliary neurons and is useful in many applications beyond similarity testing.   Using a VC dimension-based argument, we show that the tradeoff between runtime and network size in our neuro-RAM is nearly optimal. Our result has several implications -- since our neuro-RAM can be implemented with deterministic threshold gates, it shows that, in contrast to similarity testing, randomness does not provide significant computational advantages for this problem. It also establishes a separation between feedforward networks whose gates spike with sigmoidal probability functions, and well-studied deterministic sigmoidal networks, whose gates output real number sigmoidal values, and which can implement a neuro-RAM much more efficiently.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1706.01382/full.md

## Figures

2 figures with captions in the complete paper: https://tomesphere.com/paper/1706.01382/full.md

## References

28 references — full list in the complete paper: https://tomesphere.com/paper/1706.01382/full.md

---
Source: https://tomesphere.com/paper/1706.01382