mlsanityData to 14 Oct 2026

Effects of Feature Correlations on Associative Memory Capacity

arXiv 2508.01395 ↗First posted 2 Aug 2025cs.LG stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 6 of its 16 references that are in the map. First posted on arXiv 2 Aug 2025.

Builds on

6 of 16 references.

References · 6

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016Dense Associative Memory for Pattern Recognitioncited by 236
  3. 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 53
  4. 2023On Sparse Modern Hopfield Modelcited by 42
  5. 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
  6. 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19

Built on by

Not cited yet.