Environment Inference for Learning Generalizable Dynamical System
Shixuan Liu, Yue He, Haotian Wang, Wenjing Yang, Yunfei Wang, Peng Cui, Zhong Liu
TL;DR
The paper tackles learning generalizable dynamical systems when environment labels are unavailable by introducing DynaInfer, which infers latent environment assignments from trajectory prediction losses using fixed networks and alternates between environment assignment and parameter updates. It provides theoretical convergence guarantees for the alternating optimization and demonstrates strong performance on Lotka–Volterra, Gray–Scott, and Navier–Stokes benchmarks, often matching or surpassing Oracle-label baselines. The approach enables robust generalization across diverse environments without explicit domain annotations and shows favorable adaptation to unseen environments. Overall, DynaInfer offers a principled, scalable method for unlabeled environment inference in dynamical systems, with practical implications for scientific modeling and domain-generalization tasks.
Abstract
Data-driven methods offer efficient and robust solutions for analyzing complex dynamical systems but rely on the assumption of I.I.D. data, driving the development of generalization techniques for handling environmental differences. These techniques, however, are limited by their dependence on environment labels, which are often unavailable during training due to data acquisition challenges, privacy concerns, and environmental variability, particularly in large public datasets and privacy-sensitive domains. In response, we propose DynaInfer, a novel method that infers environment specifications by analyzing prediction errors from fixed neural networks within each training round, enabling environment assignments directly from data. We prove our algorithm effectively solves the alternating optimization problem in unlabeled scenarios and validate it through extensive experiments across diverse dynamical systems. Results show that DynaInfer outperforms existing environment assignment techniques, converges rapidly to true labels, and even achieves superior performance when environment labels are available.
