Catastrophic forgetting hinders physics model adaptation to real data

Frozen in Time: How a Physics Foundation Model Forgets Under Sim-to-Real Adaptation

Machine Learning

Summary

This paper looks at a physics-based AI model that predicts fluid flow. When the model is fine-tuned on simulated data, it forgets much of what it learned before, making it worse at other tasks. This problem gets worse when adjusting the model to real experimental data. The authors show that mixing in a small amount of old simulated data during later training can help the model remember past knowledge while still learning new things.

What this means in practice

  • For engineering simulation teams: Improve fluid dynamics model updates on experimental data without losing accuracy on previous simulations by replaying a small fraction of old data.
  • For industrial process control teams: Maintain reliable physics-based model predictions during adaptation from simulated conditions to real-world experimental settings using efficient data replay.

Authors

Haaris Mian, Miles Cranmer, Alessandro Favero, Payel Mukhopadhyay

Abstract

Scientific foundation models (SciFMs) have achieved remarkable performance on a wide range of PDEs, including the ability to efficiently adapt to unseen data distributions with additional finetuning. As with all neural architectures, finetuning such models comes with the risk of catastrophic forgetting, whereby adapting to new tasks degrades prior knowledge of the model. We study catastrophic forgetting in Walrus-1.3B, a SciFM for continuum dynamics, over the course of a two-stage sim-to-real adaptation: first finetuning on simulated flow around a cylinder and then adapting to experimental data of the same system. We find that finetuning on the simulations rapidly degrades rollout performance on the original pretraining datasets, with one-step errors increasing up to 35x after just 20 epochs. Subsequent adaptation to real data further erodes performance on the simulated task. We characterize the potential drivers of forgetting, such as dataset dependence and task representation similarity. We then show that replaying as little as 1% simulated data during real-data finetuning recovers most of the lost simulation performance while retaining effective adaptation to the experimental dynamics. Our results identify catastrophic forgetting as a practical obstacle to sim-to-real adaptation of SciFMs and show that lightweight replay strategies significantly improve retention.