Saved in:
Bibliographic Details
Main Authors: Wang, Shurong, Pan, Yuqi, Shen, Zhuoyang, Zhang, Meng, Wang, Hongwei, Li, Guoqi
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.20609
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912729059557376
author Wang, Shurong
Pan, Yuqi
Shen, Zhuoyang
Zhang, Meng
Wang, Hongwei
Li, Guoqi
author_facet Wang, Shurong
Pan, Yuqi
Shen, Zhuoyang
Zhang, Meng
Wang, Hongwei
Li, Guoqi
contents Associative memory models are content-addressable memory systems fundamental to biological intelligence and are notable for their high interpretability. However, existing models evaluate the quality of retrieval based on proximity, which cannot guarantee that the retrieved pattern has the strongest association with the query, failing correctness. We reframe this problem by proposing that a query is a generative variant of a stored memory pattern, and define a variant distribution to model this subtle context-dependent generative process. Consequently, correct retrieval should return the memory pattern with the maximum a posteriori probability of being the query's origin. This perspective reveals that an ideal similarity measure should approximate the likelihood of each stored pattern generating the query in accordance with variant distribution, which is impossible for fixed and pre-defined similarities used by existing associative memories. To this end, we develop adaptive similarity, a novel mechanism that learns to approximate this insightful but unknown likelihood from samples drawn from context, aiming for correct retrieval. We theoretically prove that our proposed adaptive similarity achieves optimal correct retrieval under three canonical and widely applicable types of variants: noisy, masked, and biased. We integrate this mechanism into a novel adaptive Hopfield network (A-Hop), and empirical results show that it achieves state-of-the-art performance across diverse tasks, including memory retrieval, tabular classification, image classification, and multiple instance learning.
format Preprint
id arxiv_https___arxiv_org_abs_2511_20609
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Adaptive Hopfield Network: Rethinking Similarities in Associative Memory
Wang, Shurong
Pan, Yuqi
Shen, Zhuoyang
Zhang, Meng
Wang, Hongwei
Li, Guoqi
Machine Learning
Associative memory models are content-addressable memory systems fundamental to biological intelligence and are notable for their high interpretability. However, existing models evaluate the quality of retrieval based on proximity, which cannot guarantee that the retrieved pattern has the strongest association with the query, failing correctness. We reframe this problem by proposing that a query is a generative variant of a stored memory pattern, and define a variant distribution to model this subtle context-dependent generative process. Consequently, correct retrieval should return the memory pattern with the maximum a posteriori probability of being the query's origin. This perspective reveals that an ideal similarity measure should approximate the likelihood of each stored pattern generating the query in accordance with variant distribution, which is impossible for fixed and pre-defined similarities used by existing associative memories. To this end, we develop adaptive similarity, a novel mechanism that learns to approximate this insightful but unknown likelihood from samples drawn from context, aiming for correct retrieval. We theoretically prove that our proposed adaptive similarity achieves optimal correct retrieval under three canonical and widely applicable types of variants: noisy, masked, and biased. We integrate this mechanism into a novel adaptive Hopfield network (A-Hop), and empirical results show that it achieves state-of-the-art performance across diverse tasks, including memory retrieval, tabular classification, image classification, and multiple instance learning.
title Adaptive Hopfield Network: Rethinking Similarities in Associative Memory
topic Machine Learning
url https://arxiv.org/abs/2511.20609