TL;DR
This paper introduces SPEED-AE (SParse Equivalent Equation Discovery AutoEncoder), a framework that recovers the governing physical equations of a dynamical system directly from high-dimensional observations like video. By bridging Causal Representation Learning (CRL) with sparse ODE discovery, it identifies underlying physical variables and their governing laws with theoretical guarantees, significantly outperforming existing baselines in both interpretability and long-term forecasting.
What Problem Does This Paper Address?
Scientific discovery often involves finding the simple mathematical laws (Ordinary Differential Equations, or ODEs) that govern complex systems. While methods like SINDy (Sparse Identification of Nonlinear Dynamics) work well when we can measure physical variables directly (e.g., position, velocity), they fail when we only have "unstructured" data, such as raw image pixels.
Recent advances in Causal Representation Learning (CRL) can extract "disentangled" latent variables from images, but there’s a catch: these variables are only identified up to a diffeomorphism—an arbitrary, smooth, non-linear warping. If you try to learn an ODE on these warped variables, the resulting equations become incredibly dense and complex, losing the sparsity and interpretability that characterize physical laws. This paper addresses the gap between learning disentangled variables and learning sparse, physically meaningful equations.
Methods
The authors propose a two-stage pipeline called SPEED-AE:
- CRL Pretraining: First, a standard CRL model (like CITRIS or DMSVAE) is used to extract disentangled latents from high-dimensional data. These latents are "correct" in that they separate the underlying causes, but they are non-linearly warped.
- The SPEED-AE Layer: The core innovation is a component-wise autoencoder placed after the CRL model. This layer learns a specific transformation for each variable to "unwarp" it.
- Sparse ODE Discovery: Simultaneously, the model learns a sparse ODE in this new "unwarped" latent space using a library of candidate functions (like polynomials).
The key is the sparsity constraint. By forcing the discovered equations to be sparse, the model is incentivized to find a latent representation that is as close to the ground truth as possible. Standard autoencoders (like SINDyAE) lack the CRL stage and often fail to disentangle variables, while standard CRL lacks the "unwarping" stage needed for sparse discovery.
Datasets
The framework was evaluated on three classic dynamical systems, all mapped to high-dimensional observations (images or non-linear projections):
- Lotka-Volterra: A predator-prey model (2 variables).
- Lorenz System: A 3D system representing atmospheric convection, tested in both stable and chaotic regimes.
- Two-Pendulum System: A system of two independent pendulums, observed as $64 \times 64$ images.
Key Insights and Ideas
- Disentanglement is not enough: Even if a model perfectly separates the variables of a system, a non-linear warping of those variables makes equation discovery nearly impossible.
- Sparsity as a Causal Anchor: The paper proves that for polynomial ODEs, requiring the discovered equations to be sparse narrows down the identifiability of variables from general polynomials to simple monomials (and often just linear transformations).
- Component-wise is Crucial: By using component-wise autoencoders, the model preserves the disentanglement achieved by the CRL step while focusing solely on "unwarping" each individual variable.
Key Results
SPEED-AE demonstrated superior performance across multiple metrics:
- Equation Recovery: It was the only method capable of recovering the exact sparse coefficients of the ground-truth ODEs from unstructured data. As shown in Figure 2, while other methods produce dense, messy equations, SPEED-AE recovers the simple physical law.
- Disentanglement: It significantly reduced "correlation discrepancy," meaning its learned variables matched the true physical variables much more closely than standard CRL or SINDyAE.
- Forecasting: In long-term trajectory prediction, SPEED-AE achieved errors up to 20 times lower than traditional ML baselines like LSTMs or Transformers, which tend to collapse over long horizons.
Limitations and Future Work
- Theoretical Assumptions: The current proofs rely on a "non-cancellation" assumption (terms don't perfectly cancel out during variable transformation) and assume polynomial diffeomorphisms.
- CRL Dependency: The final performance is heavily dependent on the quality of the initial CRL disentanglement. If the CRL step fails to separate the variables, the subsequent sparse discovery cannot fix it.
- Future Directions: The authors suggest extending this to non-polynomial libraries and exploring settings where the underlying functional form of the ODE is completely unknown.
Summary updated