Sample Efficient Model-free Reinforcement Learning from LTL Specifications with Optimality Guarantees

Sample Efficient Model-free Reinforcement Learning from LTL Specifications with Optimality Guarantees

Daqian Shao, Marta Kwiatkowska

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence
Main Track. Pages 4180-4189. https://doi.org/10.24963/ijcai.2023/465

Linear Temporal Logic (LTL) is widely used to specify high-level objectives for system policies, and it is highly desirable for autonomous systems to learn the optimal policy with respect to such specifications. However, learning the optimal policy from LTL specifications is not trivial. We present a model-free Reinforcement Learning (RL) approach that efficiently learns an optimal policy for an unknown stochastic system, modelled using Markov Decision Processes (MDPs). We propose a novel and more general product MDP, reward structure and discounting mechanism that, when applied in conjunction with off-the-shelf model-free RL algorithms, efficiently learn the optimal policy that maximizes the probability of satisfying a given LTL specification with optimality guarantees. We also provide improved theoretical results on choosing the key parameters in RL to ensure optimality. To directly evaluate the learned policy, we adopt probabilistic model checker PRISM to compute the probability of the policy satisfying such specifications. Several experiments on various tabular MDP environments across different LTL tasks demonstrate the improved sample efficiency and optimal policy convergence.
Keywords:
Machine Learning: ML: Reinforcement learning
Planning and Scheduling: PS: Markov decisions processes
Robotics: ROB: Learning in robotics