Table of Contents
Fetching ...

Derivative-Agnostic Inference of Nonlinear Hybrid Systems

Hengzhi Yu, Bohan Ma, Mingshuai Chen, Huangying Dong, Jie An, Bin Gu, Naijun Zhan, Jianwei Yin

Abstract

This paper addresses the problem of inferring a hybrid automaton from a set of input-output traces of a hybrid system exhibiting discrete mode switching between continuously evolving dynamics. Existing approaches mainly adopt a derivative-based method where (i) the occurrence of mode switching is determined by a drastic variation in derivatives and (ii) the clustering of trace segments relies on signal similarity -- both subject to user-supplied thresholds. We present a derivative-agnostic approach, named Dainarx, to infer nonlinear hybrid systems where the dynamics are captured by nonlinear autoregressive exogenous (NARX) models. Dainarx employs NARX models as a unified, threshold-free representation through the detection of mode switching and trace-segment clustering. We show that Dainarx suffices to learn models that closely approximate a general class of hybrid systems featuring high-order nonlinear dynamics with exogenous inputs, nonlinear guard conditions, and linear resets. Experimental results on a collection of benchmarks indicate that our approach can effectively and efficiently infer nontrivial hybrid automata with high-order dynamics yielding significantly more accurate approximations than state-of-the-art techniques.

Derivative-Agnostic Inference of Nonlinear Hybrid Systems

Abstract

This paper addresses the problem of inferring a hybrid automaton from a set of input-output traces of a hybrid system exhibiting discrete mode switching between continuously evolving dynamics. Existing approaches mainly adopt a derivative-based method where (i) the occurrence of mode switching is determined by a drastic variation in derivatives and (ii) the clustering of trace segments relies on signal similarity -- both subject to user-supplied thresholds. We present a derivative-agnostic approach, named Dainarx, to infer nonlinear hybrid systems where the dynamics are captured by nonlinear autoregressive exogenous (NARX) models. Dainarx employs NARX models as a unified, threshold-free representation through the detection of mode switching and trace-segment clustering. We show that Dainarx suffices to learn models that closely approximate a general class of hybrid systems featuring high-order nonlinear dynamics with exogenous inputs, nonlinear guard conditions, and linear resets. Experimental results on a collection of benchmarks indicate that our approach can effectively and efficiently infer nontrivial hybrid automata with high-order dynamics yielding significantly more accurate approximations than state-of-the-art techniques.

Paper Structure

This paper contains 37 sections, 8 theorems, 21 equations, 9 figures, 4 tables, 2 algorithms.

Key Result

Theorem 7

Given a template NARX model $\mathcal{N}\xspace$ and a set of finite discrete-time trace (segments) $S = \{\xi\xspace_j\}_{1\leq j \leq M}$. Let $E_S = \max \{E_1, E_2, \ldots, E_n\}$ where each $E_i$ is the optimal value of eqn:optimization with eq:extended-matrices w.r.t. $i$; let $N\xspace = \mat

Figures (9)

  • Figure 1: The general workflow of Dainarx.
  • Figure 2: Inferring Duffing oscillator via Dainarx. $x^{(i)}$ represents the $i$-th order derivative of $x$; $a := b$ means that $a$ is reset to $b$.
  • Figure 3: Intuition of segmentation.
  • Figure 4: SVM samples.
  • Figure 5: Traces for complex_tank.
  • ...and 4 more figures

Theorems & Definitions (19)

  • Example 1: Duffing Oscillator KUDRYASHOV2021105526
  • Definition 2: Hybrid Automaton DBLP:conf/rex/MalerMP91DBLP:conf/hybrid/AlurCHH92
  • Definition 3: Continuous-Time Trace DBLP:conf/atva/GurungWS23
  • Definition 4: Discrete-Time Trace
  • Definition 5: Trace Fitting
  • Example 6: Trace Fitting via LLSQ
  • Theorem 7: Correctness of Trace Fitting
  • Definition 8: Trace Segment
  • Theorem 10: Correctness of Segmentation
  • Remark 1
  • ...and 9 more