🤖 AI Summary
This work addresses the training instability of Dense Associative Memory (DAM) models arising from hierarchical saddle-point structures. Leveraging a three-layer Potts-type Boltzmann machine, we systematically derive and analyze the saddle-point equations using statistical mechanics and the teacher–student framework. We propose two novel techniques: (1) a saddle-point–aware regularization scheme that selectively suppresses unstable critical points by exploiting their hierarchical organization; and (2) a network growth algorithm that identifies dominant saddle points in large-scale models via weight patterns learned from small-scale counterparts. Experiments demonstrate substantial improvements in training stability and convergence speed across both supervised and unsupervised classification tasks. Moreover, the approach reduces computational overhead by an order of magnitude while yielding interpretable, structured representations in the hidden layers.
📝 Abstract
Dense associative memory (DAM) models have been attracting renewed attention since they were shown to be robust to adversarial examples and closely related to state-of-the-art machine learning paradigms, such as the attention mechanisms in transformers and generative diffusion models. We study a DAM built upon a three-layer Boltzmann machine with Potts hidden units, which represent data clusters and classes. Through a statistical mechanics analysis, we derive saddle-point equations that characterize both the stationary points of DAMs trained on real data and the fixed points of DAMs trained on synthetic data within a teacher-student framework. Based on these results, we propose a novel regularization scheme that makes training significantly more stable. Moreover, we show empirically that our DAM learns interpretable solutions to both supervised and unsupervised classification problems. Pushing our theoretical analysis further, we find that the weights learned by relatively small DAMs correspond to unstable saddle points in larger DAMs. We implement a network-growing algorithm that leverages this saddle-point hierarchy to drastically reduce the computational cost of training dense associative memory.