Zekun WangContinual Learning Diffusion Models
Generative replay with a rank-1 Fisher trust region
Zekun Wang. Georgia Institute of Technology.
Recorded rollouts of CW10 Task 1, hammer, for four diffusion policies. After training on Task 1, all four succeed. After training on all 10 tasks, the policy trained with Trust Region succeeds, and the policies trained with Replay, EWC, and finetuning fail.Continual learning aims to acquire tasks sequentially without catastrophic forgetting. We study it in diffusion models for class-conditional image generation and robot control.
Trust region continual learning combines generative replay with a Fisher penalty. Replay supplies old-task gradients. The Fisher penalty, computed from a rank-1 Fisher, keeps the parameters in a trust region around the old-task optima. Under local approximations, the old-task part of the update takes the form of one-step MAML.
On ImageNet-1k, average FID improves from 69.0 with replay to 48.5. On Continual World (CW10), the average success rate reaches 88.3%, and Task 1 re-converges to 90% of its initial success rate within 2 to 45 gradient updates after every task transition.
Finetuning on a new task causes catastrophic forgetting
A diffusion model is trained to remove noise from training samples. Repeating the denoising step generates an image or, for a diffusion policy, an action chunk conditioned on recent observations.12
In continual learning, the model observes a stream of tasks sequentially, and the data of the old tasks are not available while it learns a new task. The gradients of the new task change parameters that the old tasks depend on. Finetuning on the new task moves the parameters away from the old-task optimum, and the old-task performance collapses. On CW10, finetuning reaches a 17.9% average success rate after 10 tasks.3
A loss surface over the parameters, with the low-loss region of each task. Task 1 and Task 2 are the old tasks. After training on them, the parameters are at the old-task optimum, where their low-loss regions overlap. The low-loss region of the new task, Task 3, overlaps them only partly. Finetuning moves the parameters to the new-task optimum, outside the low-loss regions of the old tasks.- After training on Task 1 and Task 2, the parameters are at the old-task optimum, where the low-loss regions of the two tasks overlap.
- The low-loss region of the new task, Task 3, overlaps the low-loss regions of the old tasks only partly.
- Finetuning follows the new-task gradient to the new-task optimum, outside the low-loss regions of the old tasks.
Two families of methods address catastrophic forgetting. Regularization-based methods such as Elastic Weight Consolidation (EWC) penalize changes to parameters that are important for the old tasks. Replay-based methods train on new-task data together with stored or generated samples of the old tasks. Trust region continual learning combines the two.
EWC as a trust region around the old-task optimum
EWC adds a quadratic penalty on the displacement from the old-task optimum θ*, weighted by the Fisher information F.4 The empirical Fisher is the average outer product of per-sample gradients. It measures how sensitive the old task is to a parameter change in each direction.
F=E[gg⊤],LEWC=2λ(θ−θ⋆)⊤F(θ−θ⋆)
This Fisher penalty is the Lagrangian relaxation of a trust region constraint: the Fisher-weighted distance to the old-task optimum stays below a radius δ. EWC keeps the update in an ellipsoidal trust region whose shape is set by the Fisher.
The full Fisher is too large to store, so EWC usually uses its diagonal. The diagonal Fisher discards the off-diagonal structure. In a small MNIST diffusion model, its relative Frobenius error with respect to the full Fisher is near 1.0 at every timestep. Most of the curvature is in the off-diagonal entries, so the diagonal trust region is a weak constraint.5
Diffusion models admit a better approximation. In the later diffusion timesteps, where the signal-to-noise ratio is low, per-sample gradients are strongly collinear with their mean, so the empirical Fisher is approximately rank-1.6 In the same model, the second eigenvalue of the Fisher is 0.022 of the first at timestep 700.
F≈ρuu⊤,u=gˉ/∥gˉ∥
The same loss surface, around the old-task optimum. The per-sample gradients of each old task are strongly collinear. The trust region of the rank-1 Fisher covers the overlap of the two low-loss regions. The trust region of the diagonal Fisher is axis-aligned, so it is shorter along the overlap and wider across it.- In the later diffusion timesteps, the per-sample gradients of each old task are strongly collinear with their mean.
- The rank-1 Fisher keeps this direction, one vector per old task. Its trust region covers the overlap of the two low-loss regions.
- The diagonal Fisher keeps only the per-parameter terms. Its trust region is axis-aligned, so it is shorter along the overlap and wider across it.
The rank-1 Fisher stores one vector per task, the same memory as the diagonal Fisher. With the same generative replay, replacing the diagonal Fisher with the rank-1 Fisher improves average FID on ImageNet-1k from 73.8 to 48.5.7
Trust region continual learning: generative replay with the Fisher penalty
EWC alone can overconstrain the update. If the new-task optimum lies outside the trust region, the feasible set is empty. On CW10, EWC reaches a 17.6% average success rate, close to the 17.9% of finetuning.3
Generative replay trains on new-task data together with replay data. We use generative distillation: a frozen copy of the previous model generates samples of the old tasks, and the current model is trained to match its predictions on them.8 Replay supplies old-task gradients, so the parameters move toward a basin shared by the old tasks and the new task.
Replay alone can drift. The replay data are imperfect, and no term keeps the parameters near the old-task optimum. The parameters can converge to a different basin far from it, and the old tasks then need more gradient updates to re-converge.9
Trust region continual learning adds the Fisher penalty to the replay objective. Replay moves the parameters toward a shared basin, and the Fisher penalty keeps them near the old-task optima.
θminLnew(θ)+βLreplay(θ)+2λi∑ρi(ui⊤(θ−θi⋆))2
Three views of a loss surface with the low-loss regions of Task 1, Task 2, and the new task, Task 3. Under EWC, the low-loss region of Task 3 lies outside the trust region, and the update stops at its boundary. Replay moves the parameters into a basin shared by all three tasks and drifts to a different shared basin far from the old-task optimum. Trust Region converges in the shared basin inside the trust region.- The low-loss region of Task 3 lies outside the trust region, so the feasible set is empty. EWC stops at its boundary.
- Replay moves the parameters into a basin shared by all three tasks. Without the Fisher penalty they drift to a different shared basin far from the old-task optimum.
- With replay and the Fisher penalty, the parameters converge in the shared basin inside the trust region. The grey line is the path of replay alone.
The old-task update takes a one-step MAML form
Fast re-convergence means that the parameters act as an initialization from which few gradient updates re-attain the old-task performance. Gradient-based meta-learning optimizes for the same property.10
One-step MAML takes one inner step on support data and then minimizes the loss on query data at the adapted parameters. We compare its meta-gradient with the old-task part of the Trust Region update for an old task i, where δᵢ = θ − θᵢ* is the displacement from the old-task optimum.11
giTRgiMAML=βgi+λFiδi=(I−αHis)giq(θi′)
Under local approximations around the old-task optimum, the replay gradient approximates the query gradient, and both are approximately Fᵢδᵢ. The support Hessian is approximately Fᵢ. With the rank-1 Fisher, Fᵢ² ≈ ρᵢFᵢ.
giTR≃(β+λ)Fiδi,giMAML≃(1−αρi)Fiδi
Both updates follow the same Fisher-shaped direction, up to task-dependent scalar factors, and the directions agree when 1 − αρᵢ > 0. Replay supplies the query gradient, and the Fisher penalty approximates the support curvature correction offline, without a bilevel procedure. On the CW10 diffusion policies, the old-task part of the update has a mean cosine similarity of 0.83 with an exact second-order one-step MAML meta-gradient.12
Task 1 re-converges in few gradient updates
We evaluate Task 1 during training on Tasks 2 to 10. After each task transition, we count the gradient updates until Task 1 returns to a threshold relative to its initial performance.
For each task transition, the number of gradient updates until Task 1 returns to a threshold relative to its initial performance. On CW10 at the 90% threshold, Trust Region needs 2 to 45 gradient updates after every task transition. Replay needs 8,000 after the transition to Task 10.
On CW10 at the 90% threshold, Trust Region re-converges within 2 to 45 gradient updates after every task transition. After the transition to Task 10 it needs 2 gradient updates, and Replay needs 8,000. The continual meta-learning baselines FTML and VR-MCL need up to 20,000 gradient updates or do not re-converge.13
On ImageNet-500 at the +30% FID threshold, Trust Region re-converges within 2 to 55 gradient updates after every task transition. Replay re-converges only after the first three.
Trust Region achieves the best final performance and the lowest forgetting
We evaluate class-conditional image generation on ImageNet-1k (20 tasks) and ImageNet-500 (10 tasks), and diffusion-policy control on CW10 (10 manipulation tasks).
Final performance and forgetting of every method on three benchmarks. Trust Region reaches an average FID of 48.5 on ImageNet-1k and 44.5 on ImageNet-500, and an 88.3% average success rate on CW10, with the lowest forgetting on each.
On ImageNet-1k, Replay reaches an average FID of 69.0 with a forgetting of 46.2. Trust Region reaches 48.5 with 15.2. EWC with the rank-1 Fisher and without replay reaches 74.3.7
On ImageNet-500, Trust Region improves average FID over Replay from 53.4 to 44.5 and forgetting from 18.2 to 10.6. On CW10, it reaches an 88.3% average success rate, against 85.3% for Replay, and reduces forgetting from 8.2 to 4.4.3
FTML and VR-MCL fall below finetuning on ImageNet-500, with an average FID of 172.5 and 142.2. On CW10 they reach average success rates of 78.5% and 77.9%, below Trust Region.
Limitations and future work
The analysis assumes that the Task 1 optimum lies close to a shared optimum that also works for new tasks. When tasks are highly heterogeneous, the shared optimum can be far from the Task 1 optimum, which weakens the benefit of the trust region.
Future work could study how to identify or construct tasks that are more likely to share a common parameter region. More broadly, the results suggest a scalable approach to continual learning and meta-learning for large models and demanding tasks such as robotic control.
References
- Denoising Diffusion Probabilistic Models
Ho, Jain, and Abbeel. NeurIPS 2020.
- Diffusion Policy: Visuomotor Policy Learning via Action Diffusion
Chi and colleagues. Robotics: Science and Systems 2023.
- Final performance and forgetting on ImageNet-500 and CW10
Trust Region paper, Table 1.
- Overcoming catastrophic forgetting in neural networks
Kirkpatrick and colleagues. PNAS 2017.
- Measured Fisher spectrum and approximation errors
Rank-1 Fisher paper, Figure 3.
- Avoid Catastrophic Forgetting with Rank-1 Fisher from Diffusion Models
ICLR 2026. Section 3.1 derives the gradient collinearity.
- Final performance and forgetting on ImageNet-1k
Rank-1 Fisher paper, Table 1.
- Generative replay with generative distillation
Rank-1 Fisher paper, Section 3.4.
- EWC, replay, and trust region continual learning
Trust Region paper, Figure 1 and Section 3.2.
- Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
Finn, Abbeel, and Levine. ICML 2017.
- Trust Region Continual Learning as an Implicit Meta-Learner
NeurIPS 2026. Section 3.3, Equations 5 to 13.
- Empirical analysis of the local approximations
Trust Region paper, Appendix D.1.
- Gradient updates for Task 1 to re-converge
Trust Region paper, Table 2.