Skip to main content
QUICK REVIEW

[Paper Review] Robust Satisfaction of Temporal Logic Specifications via Reinforcement Learning

Austin Jones, Derya Aksaray|arXiv (Cornell University)|Oct 22, 2015
Formal Methods in VerificationComputer Science15 references14 citations
TL;DR

This paper proposes a Q-learning-based reinforcement learning framework that uses signal temporal logic (STL) robustness as a continuous reward signal to steer systems with unknown stochastic dynamics toward complex temporal tasks. By maximizing expected robustness rather than just satisfaction probability, the method achieves superior convergence and performance, especially under limited training data, and provably converges to optimal policies for both robustness and probability maximization.

ABSTRACT

We consider the problem of steering a system with unknown, stochastic dynamics to satisfy a rich, temporally layered task given as a signal temporal logic formula. We represent the system as a Markov decision process in which the states are built from a partition of the state space and the transition probabilities are unknown. We present provably convergent reinforcement learning algorithms to maximize the probability of satisfying a given formula and to maximize the average expected robustness, i.e., a measure of how strongly the formula is satisfied. We demonstrate via a pair of robot navigation simulation case studies that reinforcement learning with robustness maximization performs better than probability maximization in terms of both probability of satisfaction and expected robustness.

Motivation & Objective

  • To address the challenge of controlling systems with unknown, stochastic dynamics to satisfy complex, time-sensitive tasks specified in signal temporal logic (STL).
  • To develop a provably convergent reinforcement learning algorithm that maximizes the expected robustness of STL formula satisfaction, a continuous measure of how strongly a trajectory satisfies a specification.
  • To demonstrate that robustness maximization outperforms traditional probability maximization in terms of both satisfaction probability and robustness, especially with limited training episodes.
  • To construct a finite-horizon Markov decision process (τ-MDP) that encodes history-dependent STL specifications using a τ-step state history, enabling effective learning.

Proposed method

  • The system is modeled as a τ-MDP where states represent the last τ observations of the system's state, capturing history dependence in STL specifications.
  • A Q-learning algorithm is used to learn policies by iteratively updating Q-values based on observed rewards, with the reward function derived from the STL robustness degree.
  • The robustness degree is computed for each trajectory segment, providing a continuous, differentiable measure of how well a trajectory satisfies the STL formula.
  • Two learning objectives are defined: maximizing the probability of satisfying the STL formula and maximizing the expected robustness, both with provable convergence guarantees.
  • The τ-MDP construction ensures that time-bounded STL operators like U[ a,b ) are handled by encoding finite history, avoiding the need for automata-based translations.
  • The approach is validated via two robot navigation simulation case studies involving region-based temporal tasks with time constraints.

Experimental results

Research questions

  • RQ1Can reinforcement learning with robustness maximization outperform probability maximization in satisfying STL specifications when system dynamics are unknown and stochastic?
  • RQ2How does maximizing expected robustness affect the probability of satisfying a given STL formula compared to maximizing satisfaction probability alone?
  • RQ3What is the impact of partial training (limited episodes) on the convergence and performance of robustness-maximizing vs. probability-maximizing policies?
  • RQ4In what cases does robustness maximization subsume probability maximization, and when do they diverge in policy quality?
  • RQ5How does the use of a τ-MDP with finite history capture the semantics of time-bounded STL operators in a way that enables effective learning?

Key findings

  • In Case Study 1, both probability maximization and robustness maximization achieved 100% satisfaction probability, but robustness maximization yielded significantly higher mean robustness (0.2617 vs. 0.2287).
  • In Case Study 2, probability maximization failed to learn a satisfying policy (0% satisfaction probability), while robustness maximization achieved 100% satisfaction with a mean robustness of 0.1052.
  • The robustness-maximizing policy converged faster and more reliably than the probability-maximizing policy, especially when the set of satisfying policies was small and hard to discover.
  • The probability-maximizing algorithm performed a near-random search due to lack of partial credit for nearly satisfying trajectories, while robustness maximization enabled directed exploration.
  • The τ-MDP construction successfully encoded history-dependent STL semantics, enabling effective learning without requiring automaton-based translations.
  • Robustness maximization was shown to subsume probability maximization in cases where the optimal policy for robustness also satisfies the formula with probability one, but not otherwise.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.