Generative models, including diffusion models, are increasingly used as foundation models and adapted through sequential fine-tuning, making continual learning an essential problem setting. However, continual learning in such generative models remains poorly understood: after a task change, what aspects of the learned distribution are most easily lost, and what replay samples should be prioritized? We address these questions through the modern Hopfield energy. Recent links between modern Hopfield networks (MHNs) and diffusion models allow analyses in MHNs to be transferred to diffusion models. We introduce intrinsic forgetting as an increase in Hopfield energy after the task change. In tractable settings in an MHN, we prove that high-energy, outlier-like samples undergo a larger energy increase than cluster-like samples, implying that samples located in sharp, isolated basins are more forgettable. We further analyze memory replay and show that replay is particularly effective for high-energy samples, enabling an energy-based selection of replay samples. We validate these predictions in experiments on MHNs and two diffusion models under continual-learning settings: Stable Diffusion and a pixel-space DDPM. In these diffusion models, Hopfield energy tracks reconstruction-based forgetting, and replay experiments reveal energy-dependent mitigation of forgetting that is consistent with the MHN analysis.
Department of Computer Science, Northwestern University, Evanston, IL, USA(计算机科学系,西北大学,伊利诺伊州埃文斯顿);Department of Physics and Computer Science, National Taiwan University, Taipei, Taiwan(物理与计算机科学系,国立台湾大学,台湾台北);Department of Statistics and Data Science, Northwestern University, Evanston, IL, USA(统计与数据科学系,西北大学,伊利诺伊州埃文斯顿)
Modern Hopfield Networks with Continuous-Time Memories
Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);Universidade de Lisboa(里斯本大学);Champalimaud Research(尚帕利莫研究中心);Unbabel(昂巴贝尔公司);ELLIS Unit Lisbon(欧洲学习与智能系统研究所里斯本分部)
Modern Hopfield Networks and Attention for Immune Repertoire Classification
ELLIS Unit Linz(ELLIS林茨单元);LIT AI Lab(LIT人工智能实验室);Institute for Machine Learning(机器学习研究所);Johannes Kepler University Linz(约翰内斯·开普勒大学林茨分校);Institute of Advanced Research in Artificial Intelligence (IARAI)(高级人工智能研究所(IARAI));University of Oslo(奥斯陆大学)
Modern Hopfield Networks for Few- and Zero-Shot Reaction Template Prediction
Johannes Kepler University Linz(约翰内斯·开普勒大学林茨分校);Institute of Advanced Research in Artificial Intelligence (IARAI)(人工智能高级研究所);Janssen Research & Development, Janssen Pharmaceutica N.V.(杨森制药有限公司杨森研发部);Microsoft Research(微软研究院)
Johannes Kepler University Linz(林茨约翰开普勒大学);Institute of Advanced Research in Artificial Intelligence (IARAI)(高级人工智能研究所(IARAI));University of Oslo(奥斯陆大学)
Instituto Superior Técnico, Universidade de Lisboa(里斯本大学高等技术学院);Instituto de Telecomunicações(电信研究所);Language Technology Lab, University of Amsterdam(阿姆斯特丹大学语言技术实验室);Champalimaud Research(尚帕利莫德研究院);Unbabel(昂巴贝尔公司)
Hopfield-Fenchel-Young Networks: A Unified Framework for Associative Memory Retrieval
Instituto Superior Técnico, Universidade de Lisboa(里斯本大学技术学院);Instituto de Telecomunicações(电信研究所);Language Technology Lab, University of Amsterdam(阿姆斯特丹大学语言技术实验室);Champalimaud Research(恰帕拉姆德研究);ELLIS Unit Lisbon(里斯本ELLIS单位)
Modern Hopfield Networks Require Chain-of-Thought to Solve $\mathsf{NC}^1$-Hard Problems
Wyoming Seminary(怀俄明神学院);University of New South Wales(新南威尔士大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Simons Institute for the Theory of Computing, University of California, Berkeley(伯克利加州大学计算理论研究所)
Associative Memory and Generative Diffusion in the Zero-noise Limit
Computational & Systems Biology, Sloan Kettering Institute, Memorial Sloan Kettering Cancer Center(计算生物学与系统生物学,斯隆凯特灵研究所,纪念斯隆凯特灵癌症中心);Tri-Institutional Training Program in Computational Biology & Medicine(计算生物学与医学三机构联合培训计划)
Input-Driven Dynamics for Robust Memory Retrieval in Hopfield Networks
Department of Information Engineering(信息工程系);Università degli Studi di Padova(帕多瓦大学);Center for Control, Dynamical Systems and Computation(控制、动态系统与计算中心);University of California at Santa Barbara(加州大学圣巴巴拉分校)
Phase Kernel Lifts Capacity of Dense Associative Memory
Institute of Fundamental and Frontier Sciences, University of Electronic Science and Technology of China(电子科技大学基础与前沿研究院);School of Physics, University of Electronic Science and Technology of China(电子科技大学物理学院);Non-classical Information Science Basic Discipline Research Center of Sichuan Province, University of Electronic Science and Technology of China(电子科技大学四川省非经典信息科学基础学科研究中心)
Continual Weight Updates and Convolutional Architectures for Equilibrium Propagation
Centre de Nanosciences et de Nanotechnologies, Université Paris-Saclay(巴黎萨克雷大学纳米科学与纳米技术中心);Unité Mixte de Physique, CNRS, Thales, Université Paris-Saclay(巴黎萨克雷大学、法国国家科学研究中心、泰雷兹集团联合物理单位);Canadian Institute for Advanced Research(加拿大高等研究院);Mila, Université de Montréal(蒙特利尔大学米拉研究所)