Table of Contents
Fetching ...

Semantically-correlated memories in a dense associative model

Thomas F Burns

TL;DR

CDAM introduces a unified dense associative memory that jointly supports auto- and hetero-association on a graph-structured memory. Memory patterns are embedded in $oldsymbol\Xi \in \mathbb{R}^{n\times p}$ and recalled via a graph-augmented update $\sigma(t+1)=\sigma(t)+\eta\big([ \text{softmax}(\beta\,\sigma(t)\Xi)\,Q - \tfrac{1}{n}\tilde{\xi}^{\top}]-\sigma(t)\big)$ with $Q=a\Xi+h\Xi M^{T}$, where $M$ is the normalized adjacency of the memory graph. The analysis identifies four dynamical regimes—auto-, narrow hetero-, wide hetero-, and neutral quiescence—and shows that anti-Hebbian modulation (through $a$ and $h$) widens hetero-range, enables multi-scale community extraction, and stabilizes temporal sequences. The framework is demonstrated across synthetic graphs, real data, sparse video sequences, and finite-automata tasks, and is positioned to inform both neuroscience and Transformer interpretability by linking attention-like dynamics to energy-based hetero- and auto-associations.

Abstract

I introduce a novel associative memory model named Correlated Dense Associative Memory (CDAM), which integrates both auto- and hetero-association in a unified framework for continuous-valued memory patterns. Employing an arbitrary graph structure to semantically link memory patterns, CDAM is theoretically and numerically analysed, revealing four distinct dynamical modes: auto-association, narrow hetero-association, wide hetero-association, and neutral quiescence. Drawing inspiration from inhibitory modulation studies, I employ anti-Hebbian learning rules to control the range of hetero-association, extract multi-scale representations of community structures in graphs, and stabilise the recall of temporal sequences. Experimental demonstrations showcase CDAM's efficacy in handling real-world data, replicating a classical neuroscience experiment, performing image retrieval, and simulating arbitrary finite automata.

Semantically-correlated memories in a dense associative model

TL;DR

CDAM introduces a unified dense associative memory that jointly supports auto- and hetero-association on a graph-structured memory. Memory patterns are embedded in and recalled via a graph-augmented update with , where is the normalized adjacency of the memory graph. The analysis identifies four dynamical regimes—auto-, narrow hetero-, wide hetero-, and neutral quiescence—and shows that anti-Hebbian modulation (through and ) widens hetero-range, enables multi-scale community extraction, and stabilizes temporal sequences. The framework is demonstrated across synthetic graphs, real data, sparse video sequences, and finite-automata tasks, and is positioned to inform both neuroscience and Transformer interpretability by linking attention-like dynamics to energy-based hetero- and auto-associations.

Abstract

I introduce a novel associative memory model named Correlated Dense Associative Memory (CDAM), which integrates both auto- and hetero-association in a unified framework for continuous-valued memory patterns. Employing an arbitrary graph structure to semantically link memory patterns, CDAM is theoretically and numerically analysed, revealing four distinct dynamical modes: auto-association, narrow hetero-association, wide hetero-association, and neutral quiescence. Drawing inspiration from inhibitory modulation studies, I employ anti-Hebbian learning rules to control the range of hetero-association, extract multi-scale representations of community structures in graphs, and stabilise the recall of temporal sequences. Experimental demonstrations showcase CDAM's efficacy in handling real-world data, replicating a classical neuroscience experiment, performing image retrieval, and simulating arbitrary finite automata.
Paper Structure (31 sections, 10 equations, 32 figures, 2 tables)

This paper contains 31 sections, 10 equations, 32 figures, 2 tables.

Figures (32)

  • Figure 1: Mean correlations ($\pm$ S.D.) of memory patterns within $10$-hop neighbourhoods of the triggered memory pattern's vertex in $\mathcal{M}=\mathcal{C}_{30}$. The $k$-hop neighbourhood is the set of vertices within a distance of $k$ edges from the triggered memory pattern. For each condition, all vertices ($n=30$) are tested.
  • Figure 2: Correlations between the convergent (meta-)stable states ($\sigma(101)$ values from Figure \ref{['fig:karate-over-time']}) for all pairs of trigger stimuli (top row); and $\mathcal{M}$ drawn with vertices coloured by these (meta-)stable state correlations for a particular trigger stimulus (bottom row).
  • Figure 3: Correlations between the convergent (meta-)stable states ($\sigma(101)$ values from Figure \ref{['fig:tutte-over-time']}) for all pairs of trigger stimuli (top row); and $\mathcal{M}$ drawn with vertices coloured by these (meta-)stable state correlations for a particular trigger stimulus (bottom row).
  • Figure 4: Correlations of memory patterns over time for each vertex in $\mathcal{M}={\bm{v}}{\mathcal{C}_{50}}$, where each memory pattern is a sparsely sampled video frame (see Appendix \ref{['appendix:video']} for details) from video 1.
  • Figure 5: Correlations of memory patterns over time for each vertex in $\mathcal{M}={\bm{v}}{\mathcal{C}_{50}}$, where each memory pattern is a sparsely sampled video frame (see Appendix \ref{['appendix:video']} for details) from video 2.
  • ...and 27 more figures

Theorems & Definitions (1)

  • Definition 1.1