Simplicial Hopfield networks

05/09/2023
by   Thomas F Burns, et al.
0

Hopfield networks are artificial neural networks which store memory patterns on the states of their neurons by choosing recurrent connection weights and update rules such that the energy landscape of the network forms attractors around the memories. How many stable, sufficiently-attracting memory patterns can we store in such a network using N neurons? The answer depends on the choice of weights and update rule. Inspired by setwise connectivity in biology, we extend Hopfield networks by adding setwise connections and embedding these connections in a simplicial complex. Simplicial complexes are higher dimensional analogues of graphs which naturally represent collections of pairwise and setwise relationships. We show that our simplicial Hopfield networks increase memory storage capacity. Surprisingly, even when connections are limited to a small random subset of equivalent size to an all-pairwise network, our networks still outperform their pairwise counterparts. Such scenarios include non-trivial simplicial topology. We also test analogous modern continuous Hopfield networks, offering a potentially promising avenue for improving the attention mechanism in Transformer models.

READ FULL TEXT

page 3

page 8

page 25

page 29

page 35

research
07/16/2020

Hopfield Networks is All You Need

We show that the transformer attention mechanism is the update rule of a...
research
08/19/2022

Kernel Memory Networks: A Unifying Framework for Memory Modeling

We consider the problem of training a neural network to store a set of p...
research
06/07/2023

Long Sequence Hopfield Memory

Sequence memory is an essential attribute of natural and artificial inte...
research
04/17/2022

Recurrent neural networks that generalize from examples and optimize by dreaming

The gap between the huge volumes of data needed to train artificial neur...
research
04/06/2017

Associative content-addressable networks with exponentially many robust stable states

The brain must robustly store a large number of memories, corresponding ...
research
04/28/2023

The Exponential Capacity of Dense Associative Memories

Recent generalizations of the Hopfield model of associative memories are...
research
06/18/2022

Coin Flipping Neural Networks

We show that neural networks with access to randomness can outperform de...

Please sign up or login with your details

Forgot password? Click here to reset