NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Ken Takeda, Masafumi Oizumi, Ryo Karakida

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Class-Incremental Learning · Type: new method · Keywords: continual learning, diffusion models, Hopfield energy, intrinsic forgetting, replay selection

Areas: Continual Learning & Adaptation › Non-Stationarity Adaptation › Lifelong Learning

Summary

The paper studies continual learning in diffusion models by analyzing forgetting through modern Hopfield energy and proposes an energy-based selection of replay samples to mitigate forgetting.

Explained to a 5-year-old

When a drawing robot learns to draw new pictures, it sometimes forgets old ones. The researchers looked at how much each picture is remembered by measuring something called energy. They found that pictures that look weird are easier to forget. They suggested picking the weird pictures to practice again so the robot remembers them better. This helps the robot keep learning new things without losing old skills.

Explained to a 5-year-old, longer

A picture-making machine learns to draw many images over time. Sometimes after learning something new, it forgets some of the old drawings. The scientists measured how much each drawing was remembered using a concept called energy. They discovered that drawings that look unusual or strange are more likely to be forgotten than the usual ones. To help the machine remember better, they proposed practicing the strange drawings again. This extra practice, called replay, helps the machine keep both old and new skills. The researchers tested this idea on simple memory networks and on popular picture-making models. They found that the energy measure correctly predicted which drawings were lost. The replay strategy reduced the loss, making the models more reliable. This approach could make future AI systems that learn continuously more dependable.

For a technical reader

The paper studies how generative models, like those that create images, change when they are updated repeatedly for new tasks. It introduces a measure called Hopfield energy to detect when parts of the model’s knowledge are forgotten. The analysis shows that unusual or outlier samples are more prone to being forgotten than common ones. Based on this insight, the authors propose selecting those outlier samples for replay during training to preserve knowledge. Experiments on both Hopfield networks and popular diffusion models confirm that this energy-based replay reduces forgetting.

Problem

When foundation generative models are sequentially fine-tuned, it is unclear which parts of the learned distribution are most vulnerable to forgetting after a task change and how to choose replay samples to preserve them.

Method

The authors analyze forgetting using the modern Hopfield energy, prove that high-energy outlier samples are more forgettable, and develop an energy-based selection of replay samples to counteract forgetting. They validate the analysis empirically on modern Hopfield networks and two diffusion models (Stable Diffusion and a pixel-space DDPM).

Contributions

The paper introduces intrinsic forgetting measured by Hopfield energy, proves that outlier samples are more forgettable, and proposes an energy-based replay selection strategy. It also demonstrates that Hopfield energy tracks forgetting in diffusion models and validates the theoretical predictions empirically.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction