SpReME: Sparse Regression for Multi-Environment Dynamic Systems

Moon Jeong Park, Youngbin Choi, Namhoon Lee, Dongwoo Kim · DOI

Introduction

Discovering the underlying differential equations that govern physical systems—from the oscillation of a pendulum to the complex dynamics of atmospheric convection—is a cornerstone of scientific inquiry. Traditional approaches often struggle when data is sparse, noisy, or collected across varying environments. While model-based methods like SINDy excel in single-environment settings and data-driven neural networks offer flexibility, neither generalizes well to unseen physical parameters.

This paper introduces SpReME (Sparse Regression for Multi-Environment), a framework designed to identify universal physical laws while accounting for environment-specific constants.

The Multi-Environment Challenge

In many real-world scenarios, we observe a system under different conditions (e.g., a pendulum on Earth vs. the Moon). The structural form of the governing equation remains constant, but the physical parameters change. Existing methods typically either treat each environment in isolation, failing to capture the shared physics, or attempt a "one-size-fits-all" model that lacks the precision to adapt to new settings. SpReME addresses this by enforcing a shared sparse structure across all environments while allowing for local coefficient variation.

Figure 3: Comparison of SpReME, LEADS, and CoDA on trajectory prediction. SpReME demonstrates superior extrapolation capabilities, closely following the ground truth in out-of-domain settings.

The SpReME Framework

SpReME models the system dynamics using a sparse linear regression formulation: $$\frac{dx^{(e)}(t)}{dt} = (M \circ \Xi^{(e)}) \Phi(x^{(e)}(t))$$ where $\Phi(x)$ is a library of candidate functions, $M$ is a shared binary mask representing the universal form of the law, and $\Xi^{(e)}$ are environment-specific coefficients representing physical constants.

The optimization process alternates between updating the coefficients $\Xi^{(e)}$ to minimize prediction error and refining the mask $M$ using a continuous relaxation. By integrating an ODE solver into the training loop, SpReME can learn directly from state observations even when derivatives are not explicitly provided.

Experimental Evaluation

The framework was evaluated on four benchmark dynamical systems: Linear, Lorenz (chaotic), Lotka-Volterra (predator-prey), and the Damped Pendulum. Models were trained on nine environments and tested on entirely new "out-of-domain" parameter sets.

Figure 5: Mean Squared Error (MSE) across varying environment parameters for Linear and Damped Pendulum systems. SpReME (red) maintains consistently low error compared to neural network baselines.

Key Results

SpReME demonstrated significant advantages in generalization and interpretability:

  • Out-of-Domain Generalization: In the chaotic Lorenz system, SpReME achieved an out-of-domain MSE of 0.1831, vastly outperforming the LEADS baseline (41.1628).
  • Equation Recovery: The model achieved perfect precision and recall (1.0) in identifying the correct terms for the Linear, Lotka-Volterra, and Damped Pendulum systems.
  • Robustness: Unlike black-box neural networks, SpReME's performance remained stable as the variance between training environments increased, effectively filtering out noise to find the underlying generative rules.

Conclusion

SpReME bridges the gap between symbolic regression and deep learning for dynamical systems. By leveraging the principle that physical laws have a universal structure with local constants, it achieves state-of-the-art performance in long-term extrapolation and cross-environment adaptation. Future work will focus on automating library selection and scaling to higher-dimensional systems.

Summary updated

BibTeX
@inproceedings{park2023spreme,
  author = {Moon Jeong Park and Youngbin Choi and Namhoon Lee and Dongwoo Kim},
  title = {{SpReME: Sparse Regression for Multi-Environment Dynamic Systems}},
  booktitle = {MLmDS @ AAAI},
  year = {2023},
  url = {https://openreview.net/forum?id=arD9T52XO2S},
}
Figure