Learning to Think in Physics: Breaking Shortcut Learning in Scientific Diffusion via Representation Alignment
Abstract
Lay Summary
Many AI models can generate scientific simulations, such as fluid flow, electric fields, or engineering designs. However, these models are often only checked at the final output, so they may learn shortcuts that look correct on familiar examples but fail when the physical setting changes. Our work proposes REPA-P, a training method that encourages the model to follow physical laws not only at the final answer, but also during its internal reasoning process. During training, we add small helper modules that translate hidden features into physical quantities and check whether they obey known physical rules. These helpers are removed after training, so the model does not become slower to use. Across four scientific tasks, REPA-P helps models learn faster, produce results that better satisfy physics, and generalize better to new conditions.