[Paper Review] Tractable Reinforcement Learning of Signal Temporal Logic Objectives
This paper proposes a tractable reinforcement learning approach for signal temporal logic (STL) objectives by introducing an F-MDP (flag-based Markov Decision Process) that compactly encodes state history using flags for sub-formula satisfaction. The method enables efficient Q-learning with polynomial state-space growth, achieving near-optimal satisfaction probability for STL specifications while significantly reducing computational complexity compared to traditional τ-MDPs.
Signal temporal logic (STL) is an expressive language to specify time-bound real-world robotic tasks and safety specifications. Recently, there has been an interest in learning optimal policies to satisfy STL specifications via reinforcement learning (RL). Learning to satisfy STL specifications often needs a sufficient length of state history to compute reward and the next action. The need for history results in exponential state-space growth for the learning problem. Thus the learning problem becomes computationally intractable for most real-world applications. In this paper, we propose a compact means to capture state history in a new augmented state-space representation. An approximation to the objective (maximizing probability of satisfaction) is proposed and solved for in the new augmented state-space. We show the performance bound of the approximate solution and compare it with the solution of an existing technique via simulations.
Motivation & Objective
- Address the computational intractability of learning STL-satisfying policies due to exponential state-space growth in τ-MDPs.
- Overcome the limitation of τ-MDPs, which require storing full state histories over a finite window τ, leading to m^τ state explosion.
- Develop a compact, scalable representation that captures necessary historical information for STL satisfaction without storing full state sequences.
- Enable efficient model-free reinforcement learning (via Q-learning) on the new augmented state space to maximize the probability of STL specification satisfaction.
- Provide theoretical performance bounds and empirical validation showing improved scalability and learning speed for long-horizon STL specifications.
Proposed method
- Introduce F-MDP, a new MDP formulation that augments the original system state with flag states tracking partial satisfaction of STL sub-formulas.
- Define flag states for each sub-formula in the STL specification, where each flag tracks whether the sub-formula has been satisfied within its time horizon.
- Use a recursive flag update mechanism to maintain history information in a compact way, avoiding full state history storage.
- Formulate the learning objective as maximizing the probability of STL satisfaction in the F-MDP, approximating the true objective with bounded error.
- Apply Q-learning to the F-MDP with a reward function derived from STL robustness and flag transitions, enabling sample-efficient policy learning.
- Prove that the F-MDP has polynomial state-space complexity O(|Σ| × (h+1)^k) with respect to the horizon τ, where h is the maximum horizon of sub-formulas and k is the number of sub-formulas.
Experimental results
Research questions
- RQ1Can a compact state representation be designed to avoid exponential state-space growth in reinforcement learning for STL objectives?
- RQ2How does the performance of the F-MDP-based policy compare to the τ-MDP baseline in terms of satisfaction probability and learning efficiency?
- RQ3What is the theoretical performance bound of the proposed approximation to the true STL satisfaction probability objective?
- RQ4Can the F-MDP formulation scale to longer STL horizons and complex specifications that are infeasible for τ-MDPs?
- RQ5Does the flag-based representation enable faster convergence and reduced memory usage in Q-learning for STL tasks?
Key findings
- The F-MDP formulation reduces state-space complexity from exponential (m^τ) in τ-MDPs to polynomial (|Σ| × (h+1)^k) in the horizon τ and number of sub-formulas k.
- For τ = 3, F-MDP required 6 minutes of training time and 2.9×10³ memory units, while τ-MDP required 21 minutes and 1.7×10⁴ units, showing a 3.5× speedup and 6× memory reduction.
- For τ = 5, F-MDP used 18 minutes and 18×10³ memory, while τ-MDP required 290 minutes and 1×10⁶ units, indicating a 16× speedup and 55× memory reduction.
- In the patrolling task with h=5 (τ=6), τ-MDP failed due to memory overflow (array size exceeded), while F-MDP completed successfully with 24 minutes and 24×10³ units.
- The policy learned via F-MDP achieved Pr[s₀:17 |= Φ₂] = 0.8432 for h=5, demonstrating high satisfaction probability on a long-horizon specification.
- In the reachability task, the F-MDP policy achieved 99.6% satisfaction rate (498/500 trajectories), confirming high reliability and near-optimality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.