No Equations Needed: Learning System Dynamics Without Relying on Closed-Form ODEs
Krzysztof Kacprzyk, Mihaela van der Schaar
TL;DR
This work introduces direct semantic modeling as an alternative to the traditional two-step process of discovering closed-form ODEs and then analyzing their behavior. By predicting the semantic representation (composition and property sets) directly from data through a semantic predictor and then obtaining trajectories via a trajectory predictor, the approach bypasses post-hoc mathematical analysis and enables intuitive editing and semantic priors. The authors formalize semantic representations using motif-based compositions with bounded and unbounded dynamics, and instantiate a concrete model called Semantic ODE for one-dimensional systems. Empirical evidence in pharmacokinetics, tumor growth, and other synthetic datasets shows competitive or superior performance to standard ODE-discovery methods while offering greater interpretability, robustness to noise, and easy constraint editing. The framework lays out a path toward more transparent and flexible dynamical-system modeling, with clear extensions to multi-dimensional and more complex dynamics in future work.
Abstract
Data-driven modeling of dynamical systems is a crucial area of machine learning. In many scenarios, a thorough understanding of the model's behavior becomes essential for practical applications. For instance, understanding the behavior of a pharmacokinetic model, constructed as part of drug development, may allow us to both verify its biological plausibility (e.g., the drug concentration curve is non-negative and decays to zero) and to design dosing guidelines. Discovery of closed-form ordinary differential equations (ODEs) can be employed to obtain such insights by finding a compact mathematical equation and then analyzing it (a two-step approach). However, its widespread use is currently hindered because the analysis process may be time-consuming, requiring substantial mathematical expertise, or even impossible if the equation is too complex. Moreover, if the found equation's behavior does not satisfy the requirements, editing it or influencing the discovery algorithms to rectify it is challenging as the link between the symbolic form of an ODE and its behavior can be elusive. This paper proposes a conceptual shift to modeling low-dimensional dynamical systems by departing from the traditional two-step modeling process. Instead of first discovering a closed-form equation and then analyzing it, our approach, direct semantic modeling, predicts the semantic representation of the dynamical system (i.e., description of its behavior) directly from data, bypassing the need for complex post-hoc analysis. This direct approach also allows the incorporation of intuitive inductive biases into the optimization algorithm and editing the model's behavior directly, ensuring that the model meets the desired specifications. Our approach not only simplifies the modeling pipeline but also enhances the transparency and flexibility of the resulting models compared to traditional closed-form ODEs.
