Abstract
Identifying the dynamics of hybrid systems—systems that switch between different physical behaviors—is a fundamental challenge in robotics and control. This paper introduces a tractable framework that transforms the traditionally difficult mixed-integer identification problem into a bilevel convex optimization. By utilizing Semidefinite (SDP) and Linear Programming (LP) relaxations, the proposed method successfully reconstructs both mode-specific dynamics and the geometric boundaries (switching surfaces) that trigger transitions. Experimental results on synthetic benchmarks demonstrate high accuracy, robustness to noise, and significant improvements in scalability compared to combinatorial approaches.
Introduction
Many physical systems exhibit "hybrid" dynamics, where the governing equations change abruptly based on the system's state. A classic example is a walking robot, where the physics of a leg in flight differ fundamentally from the physics upon ground contact. Identifying such systems from observational data presents a "chicken-and-egg" dilemma: learning the physics of a specific mode requires knowing when that mode is active, while determining mode activity typically requires knowledge of the underlying physics.
Mathematically, this is often framed as a Mixed-Integer Program (MIP). While precise, MIPs suffer from exponential complexity as the dataset grows, making them impractical for large-scale engineering applications. This work addresses this bottleneck by proposing a convex relaxation framework that maintains tractability without sacrificing identification accuracy.
Methodology
The authors propose a bilevel optimization strategy that alternates between mode assignment and dynamics estimation.
1. Mode Assignment via Convex Relaxation
Instead of solving for discrete mode assignments (0 or 1), the problem is relaxed into a continuous space. Two primary relaxations are explored:
- Semidefinite Relaxation (SDP): Employs "moment relaxation" to approximate discrete constraints. While mathematically "tighter" and more accurate, it is computationally intensive.
- Simplex Relaxation (LP): Treats mode assignments as continuous values within a simplex (summing to 1). This approach is significantly faster and scales linearly with data size.
2. Dynamics Estimation and Surface Recovery
Once modes are assigned, the system parameters (vector fields) are estimated using Linear Programming. Following the identification of dynamics, the "guard sets"—the boundaries in state space where switches occur—are recovered. This is treated as a classification problem, using polynomial features and a margin-based approach similar to Support Vector Machines (SVMs) to find the switching surface $f(x)=0$.
Experimental Evaluation
The framework was validated on two benchmarks:
- Switching Damped Oscillator (SLS): A linear system where damping changes based on position.
- Switching Quartic Oscillator (SPS): A nonlinear system where transitions depend on an energy threshold, testing the model's ability to handle non-planar boundaries and complex vector fields.
Results and Discussion
The results highlight a critical trade-off between theoretical tightness and practical performance. While the SDP relaxation is more robust in theory, the Simplex (LP) relaxation proved to be "good enough" for practical applications, offering an order-of-magnitude speedup. For the SLS system, the LP approach took approximately 5.8 seconds per iteration, compared to 70.9 seconds for the SDP—a 12x improvement in efficiency.
Both methods achieved near-perfect mode assignment accuracy (99.95%) and high-fidelity switching surface recovery (mIoU of 0.9990). Crucially, the learned models are stable during "rollouts"—simulating the system forward in time from an initial condition. As shown in the trajectory plots, the identified models track the ground truth with minimal error (RMSE $\approx 10^{-4}$), even through multiple switching events.
Conclusion
This work demonstrates that convex relaxations provide a powerful tool for identifying hybrid dynamical systems. By moving away from combinatorial search, the framework enables the processing of large datasets common in modern robotics. Future work will focus on transitioning this from an offline "batch" process to an online, recursive identification scheme, allowing autonomous systems to learn and update their hybrid models on the fly as they encounter new environments or changing physical conditions.
Summary updated