arXiv:2610.40857cs.LGOct 2026

Manuscript Offprint

arXiv:2610.40857

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

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 35×35\times 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.

1 Introduction

In recent years, large-scale scientific foundation models (SciFMs), such as Walrus [1], DPOT-L [2], Poseidon [3], and many others [4–15], have adapted transformer-based architectures similar to those used in large language and vision models to the problem of physics simulation, pretraining with vast amounts of numerically simulated PDE data [16–19]. This purely data-driven approach to surrogate modeling has seen considerable success across a wide variety of physics domains, including fluid dynamics, weather, and astrophysics [20–22].

To adapt foundation models to downstream tasks or unseen data distributions, additional finetuning is generally required from the pretrained baseline. However, the gains from finetuning are not without tradeoffs. In particular, supervised fine-tuning runs the risk of catastrophic forgetting, [23–25] well-characterized in the vision and language model literature, whereby weight updates made to the model during finetuning result in severe degradation of the pretrained model's prior capabilities. This phenomenon has spurred the growth of a subfield dubbed Continual Learning (CL), aimed at developing methods to continually adapt models to new tasks while preserving prior knowledge and mitigating the problem of catastrophic forgetting [26].

To deploy SciFMs in real-world scientific or engineering applications, models must ultimately make predictions on experimental data. However, a large gap exists between the simulated PDE data used for pretraining and the real, noisy dynamics observed in a fluids laboratory, known as the sim-to-real

*Core technical contributors. †Equal advising. Correspondence: ham51@cam.ac.uk

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Sim2Science: ML with Imperfect Scientific Models.

Figure

Figure 1: Setup. Walrus-1.3B, pretrained on The Well, is fine-tuned on simulated cylinder flow (Phase I), then adapted to real PIV of the same flow (Phase II). Phase I induces catastrophic forgetting, so Phase II replays simulation at a fixed fraction.

gap [27, 28]. Recent work demonstrated zero-shot transfer from such models to laboratory data, and additionally showed that a lightweight second finetuning stage on few samples can further improve the results [29]. While finetuning provides a general strategy to adapt a simulation-trained model to experimental fluid flows, it is currently unclear how such adaptation affects the prior knowledge acquired during pretraining, or whether learning from real data further degrades recently-gained simulation knowledge.

In this work, we study these questions in Walrus-1.3B using a two-stage adaptation setting: we first finetune the pretrained model on simulated flow around a cylinder, and then adapt it to pair experimental particle-image-velocimetry (PIV) data of the same system. We ask how and what does a large PDE model forget upon exposure to unseen physics or experimental data? What is the severity of forgetting and its onset? Is forgotten physics recoverable or retainable through CL methods such as replay? We find that forgetting begins rapidly during simulated-cylinder finetuning, with prediction error on some pretraining datasets increasing by up to 35× after just 20 epochs. Later adaptation to real PIV data further degrades performance on the simulated task. Remarkably, we show that replaying even a small fraction of simulated data substantially restores the lost performance.

References (36)