arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.27975cs.LGstat.ML
收藏

现代Hopfield网络中的持续学习及其在扩散模型中的应用

Continual Learning in Modern Hopfield Networks with an Application to Diffusion Models

Graduate School of Arts and Science, The University of Tokyo(东京大学艺术与科学研究生院);Artificial Intelligence Research Center, AIST(AIST人工智能研究中心)

Ken Takeda, Masafumi Oizumi, Ryo Karakida

AI总结:

通过现代Hopfield能量分析扩散模型中的持续学习,证明高能量异常样本更容易被遗忘,并基于能量选择重放样本以缓解遗忘。

摘要:

生成模型(包括扩散模型)越来越多地被用作基础模型,并通过顺序微调进行适配,这使得持续学习成为一个关键问题设定。然而,此类生成模型中的持续学习仍未被充分理解:任务变化后,学习分布的哪些方面最容易丢失,以及应优先重放哪些样本?我们通过现代Hopfield能量来解决这些问题。现代Hopfield网络(MHN)与扩散模型之间的最新联系使得MHN中的分析可以迁移到扩散模型。我们引入内在遗忘作为任务变化后Hopfield能量的增加。在MHN的可处理设定中,我们证明高能量、类似异常值的样本比类似聚类的样本经历更大的能量增加,这意味着位于尖锐、孤立盆地中的样本更容易被遗忘。我们进一步分析了记忆重放,并表明重放对高能量样本特别有效,从而实现了基于能量的重放样本选择。我们在MHN和两种扩散模型(Stable Diffusion和像素空间DDPM)的持续学习设置实验中验证了这些预测。在这些扩散模型中,Hopfield能量追踪基于重建的遗忘,重放实验揭示了与MHN分析一致的能量依赖性遗忘缓解。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑