paper-with-me

Papers

Sparse and Structured Hopfield Networks

2024-02-21 · Saul Santos, Vlad Niculae, Daniel McNamee, Andre F. T. Martins

Modern Hopfield networks have enjoyed recent interest due to their connection to attention in transformers. Our paper provides a unified framework for sparse Hopfield networks by establishing a link with Fenchel-Young losses. The result is a new family of Hopfield-Fenchel-Young energies whose update rules are end-to-end differentiable sparse transformations. We reveal a connection between loss margins, sparsity, and exact memory retrieval. We further extend this framework to structured Hopfield networks via the SparseMAP transformation, which can retrieve pattern associations instead of a single pattern. Experiments on multiple instance learning and text rationalization demonstrate the usefulness of our approach.

📄 PDF Abstract BibTeX arXiv:2402.13725

Code (1)

deep-spin/sshn 공식 구현 pytorch

Tasks

Multiple Instance LearningRetrieval

Similar Papers 제목 키워드 기반

On Sparse Modern Hopfield Model

2023-09-22 · NeurIPS 2023 11 · Jerry Yao-Chieh Hu, Donglin Yang, Dennis Wu, Chenwei Xu 외

We introduce the sparse modern Hopfield model as a sparse extension of the modern Hopfield model. Like its dense counterpart, the sparse modern Hopfield model equips a memory-retrieval dynamics whose one-step approximati…

modelRetrieval

Nonparametric Modern Hopfield Models

2024-04-05 · Jerry Yao-Chieh Hu, Bo-Yu Chen, Dennis Wu, Feng Ruan 외

We present a nonparametric construction for deep learning compatible modern Hopfield models and utilize this framework to debut an efficient variant. Our key contribution stems from interpreting the memory storage and re…

Hopfield-Fenchel-Young Networks: A Unified Framework for Associative Memory Retrieval

2024-11-13 · Saul Santos, Vlad Niculae, Daniel McNamee, André F. T. Martins

Associative memory models, such as Hopfield networks and their modern variants, have garnered renewed interest due to advancements in memory capacity and connections with self-attention in transformers. In this work, we …

Image RetrievalMultiple Instance LearningRetrieval

STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction

2023-12-28 · Dennis Wu, Jerry Yao-Chieh Hu, Weijian Li, Bo-Yu Chen 외

We present STanHop-Net (Sparse Tandem Hopfield Network) for multivariate time series prediction with memory-enhanced capabilities. At the heart of our approach is STanHop, a novel Hopfield-based neural network block, whi…

RetrievalTime SeriesTime Series Prediction

Looking at the Performer from a Hopfield Point of View

2022-01-17 · ICLR Track Blog 2022 5 · Anonymous

The recent paper Rethinking Attention with Performers constructs a new efficient attention mechanism in an elegant way. It strongly reduces the computational cost for long sequences, while keeping the intriguing properti…