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

Dennis Wu, Jerry Yao-Chieh Hu, Weijian Li, Bo-Yu Chen, Han Liu
2/12/2026

No official code found. Best implementation: MAGICS-LAB/STanHop (25 stars, MIT, last commit 2024-01-18).

Abstract

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, which sparsely learns and stores both temporal and cross-series representations in a data-dependent fashion. In essence, STanHop sequentially learn temporal representation and cross-series representation using two tandem sparse Hopfield layers. In addition, StanHop incorporates two additional external memory modules: a Plug-and-Play module and a Tune-and-Play module for train-less and task-aware memory-enhancements, respectively. They allow StanHop-Net to swiftly respond to certain sudden events. Methodologically, we construct the StanHop-Net by stacking STanHop blocks in a hierarchical fashion, enabling multi-resolution feature extraction with resolution-specific sparsity. Theoretically, we introduce a sparse extension of the modern Hopfield model (Generalized Sparse Modern Hopfield Model) and show that it endows a tighter memory retrieval error compared to the dense counterpart without sacrificing memory capacity. Empirically, we validate the efficacy of our framework on both synthetic and real-world settings.

View on arXivView PDF

Code Implementations(1)

MAGICS-LAB/STanHopCommunity72%
MIT

[ICLR 2024] STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction

253PythonJan 18, 20242 years agoMIT
attention-mechanismhopfieldmodern-hopfield-modelmodern-hopfield-networkstime-series-forecasting+2 more

Similar Papers

Cite this paper

@article{wu2026stanhop,
  title  = {STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Prediction},
  author = {Dennis Wu and Jerry Yao-Chieh Hu and Weijian Li and Bo-Yu Chen and Han Liu},
  year   = {2026},
  eprint = {2312.17346},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.17346},
  journal = {ICLR 2023 2023}
}

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/2312.17346.svg)](https://codeofpaper.com/paper/2312.17346)

Discussion