Effects of Feature Correlations on Associative Memory Capacity

Stefan Bielmeier, Gerald Friedland
8/2/2025
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

We investigate how feature correlations influence the capacity of Dense Associative Memory (DAM), a Transformer attention-like model. Practical machine learning scenarios involve feature-correlated data and learn representations in the input space, but current capacity analyses do not account for this. We develop an empirical framework to analyze the effects of data structure on capacity dynamics. Specifically, we systematically construct datasets that vary in feature correlation and pattern separation using Hamming distance from information theory, and compute the model's corresponding storage capacity using a simple binary search algorithm. Our experiments confirm that memory capacity scales exponentially with increasing separation in the input space. Feature correlations do not alter this relationship fundamentally, but reduce capacity slightly at constant separation. This effect is amplified at higher polynomial degrees in the energy function, suggesting that Associative Memory is more limited in depicting higher-order interactions between features than patterns. Our findings bridge theoretical work and practical settings for DAM, and might inspire more data-centric methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{bielmeier2025effects,
  title  = {Effects of Feature Correlations on Associative Memory Capacity},
  author = {Stefan Bielmeier and Gerald Friedland},
  year   = {2025},
  eprint = {2508.01395},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.01395v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.01395.svg)](https://codeofpaper.com/paper/2508.01395)

Discussion