Control Synthesis from Linear Temporal Logic Specifications using Model-Free Reinforcement Learning

Alper Kamil Bozkurt, Yu Wang, Michael M. Zavlanos, Miroslav Pajic · DOI

Overview

This paper introduces a model-free reinforcement learning (RL) framework designed to synthesize control policies for complex high-level tasks defined by Linear Temporal Logic (LTL) in unknown stochastic environments. By employing a novel state-dependent rewarding and discounting mechanism, the authors demonstrate that their algorithm converges to a policy that maximizes the probability of task satisfaction without requiring an explicit transition model of the environment.

Problem Statement

In robotics and autonomous systems, specifying complex behaviors—such as "visit region A, then B, but never enter C unless D has occurred"—is effectively handled using Linear Temporal Logic (LTL). When operating in uncertain environments modeled as Markov Decision Processes (MDPs), the objective is to find a control policy that maximizes the probability of satisfying these LTL formulas.

Traditional approaches are typically model-based, requiring the learning of environment transition probabilities, which is memory-intensive and scales poorly. Conversely, existing model-free RL methods often struggle with "infinite-horizon" LTL tasks, where agents may fail to correctly value states that must be visited infinitely often to satisfy the Büchi condition.

Methodology

The proposed framework utilizes a three-step pipeline to bridge the gap between high-level logic and low-level control:

  1. Automata Translation: The LTL specification is translated into a Limit-Deterministic Büchi Automaton (LDBA), which tracks the progress of formula satisfaction.
  2. Product MDP Construction: The environment MDP and the LDBA are combined into a "Product MDP." In this augmented state space, satisfying the LTL formula is equivalent to visiting a set of "accepting" states infinitely often.
  3. State-Dependent Reward & Discounting: This is the core innovation. Unlike standard RL with a fixed discount factor ($\gamma$), the authors introduce state-dependent discounting. States that contribute to task satisfaction (accepting states) provide a specific reward and use a unique discount factor ($\gamma_B$), while other states provide zero reward and use a standard discount factor ($\gamma$).
The construction of a Product MDP by combining the environment's states with the states of an LDBA derived from the LTL task.

Mathematically, as these discount factors approach 1, the expected return the RL agent maximizes becomes exactly equal to the probability of satisfying the LTL task.

Experimental Evaluation

The method was evaluated on simulated motion-planning scenarios, including a grid-world robot avoiding traps and a complex "nursery" environment requiring a robot to monitor a baby while managing its own charging needs.

Key Results

  • Accuracy and Complexity: In the nursery scenario, the agent successfully navigated a product MDP with 940 states and a complex LTL formula with six sub-clauses. In simpler grid-worlds, the agent learned to prioritize safer, longer paths to maximize satisfaction probability over riskier shortcuts.
  • Convergence: The algorithm provides a model-free convergence guarantee. Empirical results confirm that the L2 norm of the error in value estimates decreases consistently as training progresses.
The L2 norm of errors in value estimates decreases as the number of training episodes increases, demonstrating empirical convergence.

Conclusion and Future Work

This approach transforms the infinite-horizon repeated reachability problem into a discounted reachability problem, allowing standard RL algorithms like Q-learning to solve LTL tasks without prior knowledge of environment topology. While effective, the size of the Product MDP grows with LTL complexity. Future research will explore combining this framework with Deep RL to handle high-dimensional or continuous state spaces where tabular methods are no longer feasible.

Summary updated

BibTeX
@inproceedings{bozkurt2019control,
  author = {Alper Kamil Bozkurt and Yu Wang and Michael M. Zavlanos and Miroslav Pajic},
  title = {{Control Synthesis from Linear Temporal Logic Specifications using Model-Free Reinforcement Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2019},
  doi = {10.1109/icra40945.2020.9196796},
}
Figure