TL;DR
This paper introduces an exact mathematical formulation for the Sparse Identification of Nonlinear Dynamics (SINDy) framework using Mixed-Integer Optimization (MIO). By avoiding traditional heuristic approximations, this approach solves the underlying NP-hard subset selection problem to provable optimality in seconds, delivering massive gains in sample efficiency, noise robustness, and the ability to strictly enforce physical constraints.
What Problem Does This Paper Address?
Discovering the underlying governing differential equations of a complex dynamical system directly from data is a cornerstone of scientific machine learning. The SINDy framework tackles this by setting up a massive "library" of candidate nonlinear functions (like polynomials or trigonometric functions) and using sparse regression to find the fewest terms that accurately reconstruct the system's dynamics.
Mathematically, this is an $l_0$-norm optimization problem (best subset selection), which is notoriously NP-hard. To get around this, standard SINDy implementations rely on heuristics like sequential thresholded least squares (STLSQ) or convex relaxations (like LASSO). However, these heuristics frequently break down in challenging real-world scenarios: when data is scarce, when noise is high, when coefficients span multiple orders of magnitude, or when we need to enforce strict physical laws (like the conservation of energy).
Methods
The authors propose MIOSR (Mixed-Integer Optimization for Sparse Regression), an exact formulation for SINDy. Instead of using loose "Big-M" bounding constraints common in traditional integer programming, they utilize Type-1 Specially Ordered Sets (SOS-1). This formulation enforces that either a library term's coefficient is zero, or its corresponding binary indicator variable is active.
Crucially, the authors restructure the objective function so that its optimization size is entirely independent of the number of data points ($n$). It scales only with the library size ($D$). They also introduce a joint formulation that allows domain experts to hard-code physical constraints (linear, quadratic, or semidefinite equalities/inequalities) directly into the optimization tree across all system dimensions simultaneously.
Datasets
The algorithm was benchmarked against nine canonical dynamical systems across various statistical regimes:
- Ordinary Differential Equations (ODEs): The chaotic Lorenz model, the Hopf bifurcation system (characterized by very small coefficients), a 6D triadic magnetohydrodynamical (MHD) model, the Duffing system (for physical constraints), and the Van der Pol, Lotka-Volterra, and Rössler systems (for noise robustness).
- Partial Differential Equations (PDEs): The 1D Kuramoto-Sivashinsky equation and a 2D Reaction-Diffusion system.
Key Insights and Ideas
- The Data Paradox in MIO: Counter-intuitively, MIOSR often runs faster as the amount of training data increases. Because the formulation's size is independent of $n$, more data simply tightens the optimization bounds, drastically reducing the number of nodes the branch-and-bound algorithm needs to explore.
- Global vs. Local Decisions: Heuristic methods make greedy, localized decisions (e.g., dropping the smallest coefficient at a given iteration). MIOSR takes a global view, preventing it from accidentally discarding true, small coefficients in the presence of noise.
- Strict Physical Compliance: While relaxation methods like SR3 allow "soft" constraint violations, MIOSR enforces physical symmetries and conservation laws up to strict solver numerical precision. This proves vital for maintaining model accuracy in low-data regimes.
Key Results
MIOSR consistently outperformed heuristic baselines (STLSQ, SR3, SSR, and E-STLSQ) in identifying the exact correct sparse form of the dynamics (True Positivity Rate) and minimizing coefficient error.
As shown in Figure 1, the performance gap is particularly stark in the low-data limit for complex systems like the Hopf and MHD models. For the Hopf system, heuristics completely fail to capture the small bifurcation parameter ($\mu = -0.05$), whereas MIOSR identifies it perfectly.
In terms of computational efficiency, despite solving an NP-hard problem, MIOSR terminates with a proof of optimality within seconds. Furthermore, because MIO is highly parallelizable, running the algorithm on a modern multi-thread laptop yielded up to a 100x speedup compared to a single cluster core.
Limitations and Future Work
The primary limitation of the SOS-1 formulation is scalability regarding library size. Modern general-purpose optimization solvers (like Gurobi or CPLEX) can comfortably handle sparse regression problems up to a few thousand variables. While this is more than enough for most standard ODE and PDE libraries (which rarely exceed hundreds of terms), ultra-high-dimensional systems ($D > 10^4$) would require specialized cutting-plane or backbone methods.
Future work includes extending MIOSR to handle implicit differential equations and control systems, as well as integrating more advanced data-smoothing techniques to push the boundaries of noise robustness even further.
Summary updated