Data-driven strategy synthesis for stochastic systems with unknown nonlinear disturbances

Ibon Gracia, Dimitris Boskos, Luca Laurenti, Morteza Lahijanian

Abstract

This paper introduces a data-driven framework for the synthesis of provably-correct controllers for general nonlinear switched systems under complex specifications. The focus is on systems with unknown disturbances whose effects on the dynamics are nonlinear. The specification is assumed to be given as linear temporal logic over finite traces (LTLf) formulas. Starting from observations of either the disturbance or the state of the system, we first learn an ambiguity set that contains the unknown distribution of the disturbances with a user-defined confidence. Next, we obtain a robust Markov decision process (RMDP) as a finite abstraction of the system. By composing the RMDP with the automaton obtained from the LTLf formula and performing optimal robust value iteration on the composed RMDP, we synthesize a strategy that yields a high probability that the uncertain system satisfies the specifications. Our empirical evaluations on systems with a wide variety of disturbances show that the strategies synthesized with our approach lead to high satisfaction probabilities and validate the theoretical guarantees.

Introduction

In the deployment of autonomous systems and robotics, modeling uncertainty is a fundamental challenge. Traditional control methods often rely on the assumption that the underlying noise distribution is known (e.g., Gaussian) or that the noise interacts with the system linearly (e.g., additive noise). However, real-world disturbances—such as aerodynamic drag on a drone or complex friction in robotic joints—are frequently nonlinear, and their true probability distributions are rarely known a priori.

This creates a dual-layered uncertainty problem: aleatoric uncertainty (the inherent randomness of the system) and epistemic uncertainty (our lack of knowledge regarding that randomness). To provide formal safety and performance guarantees, such as "the robot will reach the goal with at least 99% probability," we require a framework that can translate raw data into rigorous mathematical certificates without oversimplifying the physics of the noise.

Methodology

The proposed framework bridges the gap between empirical data and formal control through a multi-step pipeline:

1. Ambiguity Set Learning

Given a set of noise samples, the framework utilizes Wasserstein distance—a metric from optimal transport theory—to construct an "ambiguity set." This set is essentially a ball in the space of probability distributions that is guaranteed to contain the true, unknown distribution with a user-defined confidence level ($1-\beta$).

2. Finite Abstraction via RMDPs

The continuous state space is partitioned into a finite set of regions. Because the exact noise distribution is uncertain, the transitions between these regions are represented as sets of possible distributions rather than fixed probabilities. This results in a Robust Markov Decision Process (RMDP), which captures both the system's stochastic nature and the uncertainty in our statistical model.

3. LTLf Specification

Desired behaviors, such as "reach the goal while avoiding obstacles," are defined using Linear Temporal Logic over finite traces (LTLf). This logic is converted into a Deterministic Finite Automaton (DFA), providing a formal structure for the task requirements.

4. Robust Synthesis

By taking the product of the RMDP and the DFA, the framework employs robust dynamic programming (value iteration) to identify a control strategy. This strategy maximizes the worst-case probability of satisfying the specification across all distributions within the Wasserstein ambiguity set.

Innovation: Unlike previous methods restricted to linear systems or additive noise, this approach accommodates general nonlinear disturbances. Crucially, the confidence of the guarantee is independent of the abstraction size, avoiding the paradox where finer models appear less certain due to data sparsity.

Experimental Evaluation

The framework was evaluated on several simulated benchmarks designed to represent diverse physical challenges:

  • Nonlinear Pendulum: Subject to random wind where torque is proportional to the square of the velocity difference.
  • 3D Car Model: Featuring nonlinear Coulomb friction.
  • 2D Unicycle: Tested with complex multi-stage logic (e.g., "visit the water source, dry off at the carpet, then proceed to the charging station").
  • Multiplicative Noise System: A standard benchmark used for comparative analysis against existing literature.

Key Insights and Results

Decoupling Confidence from Resolution

A significant finding is that epistemic uncertainty (the $1-\beta$ confidence) depends primarily on the number of data samples, while aleatoric uncertainty is managed by the RMDP structure. This allows researchers to increase model resolution (grid fineness) without requiring exponentially more data to maintain the same confidence levels.

Performance and Scalability

  • Convergence: In the pendulum example, as the number of samples ($N$) increased from $10^4$ to $10^6$, the gap between the lower and upper bounds of satisfaction probability vanished, providing a near-exact certificate of performance.
  • Logic Handling: The framework successfully synthesized strategies for complex LTLf formulas involving sequential dependencies, a task typically difficult for data-driven methods.
  • Computational Feasibility: Despite the intensity of robust synthesis, the problem remained tractable. Experiments involving $10^8$ samples and tens of thousands of states were completed in timeframes ranging from a few minutes to two hours.

Limitations and Future Work

While the framework provides rigorous guarantees, the abstraction process—specifically the use of affine relaxations for nonlinear dynamics—can be conservative. This may result in a "guaranteed" lower bound that is significantly lower than the system's actual performance. Additionally, the approach faces the "curse of dimensionality," making scaling to high-dimensional systems (e.g., 12-DOF humanoids) a challenge.

Future research will focus on tightening these bounds to reduce conservatism and proving theoretical convergence—demonstrating that as data volume and grid resolution increase, the synthesized strategy approaches the true optimal performance.

Summary updated

BibTeX
@inproceedings{gracia2024data,
  author = {Ibon Gracia and Dimitris Boskos and Luca Laurenti and Morteza Lahijanian},
  title = {{Data-driven strategy synthesis for stochastic systems with unknown nonlinear disturbances}},
  booktitle = {L4DC},
  year = {2024},
  url = {https://openreview.net/forum?id=uXB1DOKj5X},
}
Figure