Introduction
Presented at ICML 2024, AMORE (Amortized Equation Discovery) represents a significant advancement in scientific machine learning. It addresses the complex task of discovering mathematical laws for hybrid dynamical systems—systems that transition between different physical behaviors over time. By unifying mode segmentation and symbolic regression into a single end-to-end framework, AMORE overcomes the limitations of traditional disjoint pipelines.
The Challenge of Hybrid Systems
Hybrid systems are ubiquitous in nature and engineering, characterized by continuous dynamics punctuated by discrete switching events. Examples include robotic locomotion (switching between stance and swing phases) or epidemiological models where transmission rates change due to policy shifts.
Discovering the underlying Ordinary Differential Equations (ODEs) for such systems is traditionally difficult due to the "Two-Stage Trap." Previous methods typically cluster short time-series fragments into modes first and then apply symbolic regression (like SINDy) to each cluster. This approach is prone to error propagation: if the initial segmentation is slightly off, the resulting equations will be inaccurate. Furthermore, it fails to recognize that disparate time segments may belong to the same physical mode and should therefore be governed by identical equations.
The AMORE Framework
AMORE shifts the paradigm by treating categorization and equation discovery as a joint optimization problem.
Joint Learning and Amortization
The core innovation lies in "amortized" discovery. Instead of treating each segment in isolation, the model learns a global set of equations for each identified mode. By looking at all data points assigned to a specific mode across the entire dataset, the model becomes significantly more robust to noise and sparse data. The coupling of mode identification and equation discovery creates a self-correcting loop: better equations lead to more accurate segmentation, which in turn refines the equations.
Generative Modeling with Geometric Priors
To handle the discrete switching, AMORE utilizes a latent variable generative model that incorporates physical intuition about mode persistence.
As shown in the graphical model, the system tracks:
- Mode Variables ($z_t$): Representing the current physical regime.
- Count Variables ($c_t$): Modeling the duration of a mode. This acts as a geometric prior, preventing the model from "flickering" between modes and ensuring that transitions align with physical reality where modes persist over finite intervals.
- Observations ($y_t$): The actual measured state of the system.
Multi-Object Dynamics: AMORE-MIO
For systems involving multiple interacting entities, such as colliding particles, the authors introduced AMORE-MIO. This extension integrates a Graph Neural Network (GNN) to infer latent interactions (edges) between objects. This allows the model to discover how specific interactions trigger mode switches, providing a deeper level of interpretability for complex multi-body systems.
Experimental Results
The framework was validated across a diverse range of systems, including physics-based simulations (Mass-spring Hopper), epidemiological models (SIR), and real-world motion capture data (Salsa-dancing).
- Segmentation Accuracy: On the Mass-spring Hopper, AMORE achieved a near-perfect segmentation accuracy of 99.1%, vastly outperforming the 70.5% achieved by Hybrid-SINDy.
- Equation Recovery: The model frequently recovered the exact ground-truth coefficients for the underlying ODEs, even in the presence of noise.
- Forecasting: In long-term prediction tasks, AMORE outperformed state-of-the-art time-series foundation models like TimeGPT. This underscores the advantage of discovering fundamental physical laws over purely statistical pattern matching.
Conclusion and Future Directions
AMORE demonstrates that joint optimization of segmentation and symbolic regression is the key to unlocking interpretable models for hybrid systems. While currently dependent on a predefined library of basis functions, future work aims to extend this discovery process to raw high-dimensional data, such as video pixels, potentially automating the discovery of physics directly from visual observation.
Summary updated