Data-Driven Hamiltonian for Direct Construction of Safe Set from Trajectory Data
Jason J. Choi, Christopher A. Strong, Koushil Sreenath, Namhoon Cho, Claire J. Tomlin
TL;DR
This work addresses safety verification for systems with uncertain dynamics by introducing a data-driven Hamiltonian (DDH) that provides a conservative lower bound on the Hamiltonian $H(x,p)$ using trajectory data and Lipschitz-based uncertainty sets. By solving DDH-based Hamilton-Jacobi reachability problems, the authors compute guaranteed inner-approximations of safe sets and derive safe-control policies without requiring a full dynamics model. They further propose an iterative safe-set expansion framework that safely collects data and updates the safe set, demonstrated on the tiltrotor XV-15 to expand its flight envelope from near-hover to forward flight. The approach integrates data-driven analysis with prior knowledge to enable scalable, conservative safety verification and safe experimentation in real-world systems.
Abstract
In continuous-time optimal control, evaluating the Hamiltonian requires solving a constrained optimization problem using the system's dynamics model. Hamilton-Jacobi reachability analysis for safety verification has demonstrated practical utility only when efficient evaluation of the Hamiltonian over a large state-time grid is possible. In this study, we introduce the concept of a data-driven Hamiltonian (DDH), which circumvents the need for an explicit dynamics model by relying only on mild prior knowledge (e.g., Lipschitz constants), thus enabling the construction of reachable sets directly from trajectory data. Recognizing that the Hamiltonian is the optimal inner product between a given costate and realizable state velocities, the DDH estimates the Hamiltonian using the worst-case realization of the velocity field based on the observed state trajectory data. This formulation ensures a conservative approximation of the true Hamiltonian for uncertain dynamics. The reachable set computed based on the DDH is also ensured to be a conservative approximation of the true reachable set. Next, we propose a data-efficient safe experiment framework for gradual expansion of safe sets using the DDH. This is achieved by iteratively conducting experiments within the computed data-driven safe set and updating the set using newly collected trajectory data. To demonstrate the capabilities of our approach, we showcase its effectiveness in safe flight envelope expansion for a tiltrotor vehicle transitioning from near-hover to forward flight.
