Command Palette
Search for a command to run...
TERA: 통합 테일러 모델 기반 도달 가능성 분석 프레임워크
TERA: 통합 테일러 모델 기반 도달 가능성 분석 프레임워크
Salma Iraky Andrew Sogokon
초록
안전이 중요한 시스템의 도달 가능성 분석은 모든 가능한 상태 궤적의 엄밀한 포락선을 계산해야 합니다. 테일러 모델(TM) 기반 방법은 도달 가능 집합의 지나치게 보수적인 포락선을 초래하는 소위 래핑 효과를 완화하는 데 효과적임이 입증되었습니다. 그러나 기존 도구들은 확장이 어렵거나 좁은 시스템 클래스(예: 상미분 방정식으로 모델링된 결정론적 시스템 또는 하이브리드 시스템)에 초점을 맞추는 경우가 많습니다. 우리는 단일 기호-수치 워크플로 내에서 연속, 하이브리드 및 확률적 시스템에 대한 TM 기반 도달 가능성 분석을 위한 Python 네이티브 프레임워크인 TERA를 개발합니다. TERA는 무료 오픈소스로, 엄밀한 포락선을 갖춘 도달 가능성 분석 기술의 신속한 프로토타이핑을 가능하게 합니다. 현재 우리의 구현은 어려운 벤치마크 문제에서 비선형 상미분 방정식 및 하이브리드 시스템에 대한 타이트한 도달 가능 집합 과대 근사치를 계산할 수 있으며, 이미 연속 시간 확률적 시스템의 분석을 지원합니다. 우리의 목표는 확률적 하이브리드 시스템을 포함한 광범위한 시스템 클래스를 지원하는 엄밀한 도달 가능성 분석을 위한 강력한 오픈소스 Python 인프라를 개발하는 것입니다.
One-sentence Summary
TERA is a Python-native open-source framework that unifies Taylor Model-based reachability analysis for continuous, hybrid, and stochastic systems within a single symbolic-numeric workflow, overcoming the limited extensibility and narrow system classes of prior tools to enable rapid prototyping of tight rigorous enclosures and support for stochastic hybrid systems.
Key Contributions
- TERA is the first Python-native free and open-source framework for Taylor Model-based reachability analysis that unifies continuous, hybrid, and continuous-time stochastic systems within a single symbolic-numeric workflow.
- TERA computes tight reachable set overapproximations for non-linear ODEs and hybrid systems on difficult benchmark problems.
- TERA supports analysis of continuous-time stochastic systems, with ongoing work extending the infrastructure toward stochastic hybrid systems.
Introduction
In safety-critical control systems subject to bounded disturbances, verifying that all closed-loop trajectories remain within prescribed bounds requires computing forward reachable sets, typically via set-based over-approximations. Interval and zonotope representations suffer from the wrapping effect that produces excessively conservative enclosures, while Taylor Model (TM)–based methods preserve functional dependencies and tighten the bounds, yet existing TM tools either depend on proprietary environments (MATLAB) or lack support for stochastic systems and rapid prototyping within the Python ecosystem. The authors introduce TERA, the first fully Python-native free and open-source framework that leverages TMs to compute rigorous reachable-set enclosures for continuous nonlinear ODEs, hybrid systems, and continuous-time stochastic systems, seamlessly integrating with the scientific Python stack and SageMath.
Method
TERA represents reachable sets using Taylor models of the form P(x0,t)+I, where P is a Taylor polynomial approximation (up to a chosen degree) of the ODE solution x(x0,t) and I is an interval that guarantees the true solution is enclosed within the Taylor model. To achieve the required rigorous enclosure, all interval computations are performed with correct rounding, relying on the GNU MPFR library integrated through SageMath.
Continuous-time dynamics are propagated via validated Taylor model integration schemes. The tool supports local single-step integration that builds on the foundational validated ODE solving methods of Berz and Makino, combined with the flowpipe construction approach for non‑linear continuous systems. To mitigate the wrapping effect that arises over longer time horizons, TERA incorporates compositional left‑right propagation following the shrink‑wrapping technique, which iteratively refines the Taylor model representation to keep over‑approximation tight.
For hybrid systems, TERA computes guard intersections and discrete transitions using Taylor‑model‑based hybrid reachability semantics. The framework first forms the continuous flowpipe up to a guard set, then applies interval‑based intersection and reset mappings to obtain the post‑transition reachable set.
Stochastic continuous dynamics are handled by augmenting the deterministic Taylor model flowpipes with probabilistic deviation bounds. Following the approach of Jafarpour et al., the tool computes δ-probabilistic reachable set enclosures, which guarantee that system trajectories stay within the computed sets with probability at least 1−δ.
Experiment
TERA is evaluated on the ARCH competition benchmarks covering continuous, hybrid, and stochastic systems. It computes tight reachable set enclosures for a 7‑dimensional nonlinear biochemical network within seconds and scales to higher‑dimensional problems with transcendental functions. For hybrid dynamics, it accurately captures mode‑switching flowpipes, and for stochastic systems it computes probabilistic reachable sets that reliably contain Monte Carlo sample paths. The results demonstrate TERA’s versatility and effectiveness across a diverse range of verification tasks.