English

LTL-Based Non-Markovian Inverse Reinforcement Learning

Formal Languages and Automata Theory 2023-03-02 v2

Abstract

The successes of reinforcement learning in recent years are underpinned by the characterization of suitable reward functions. However, in settings where such rewards are non-intuitive, difficult to define, or otherwise error-prone in their definition, it is useful to instead learn the reward signal from expert demonstrations. This is the crux of inverse reinforcement learning (IRL). While eliciting learning requirements in the form of scalar reward signals has been shown to effective, such representations lack explainability and lead to opaque learning. We aim to mitigate this situation by presenting a novel IRL method for eliciting declarative learning requirements in the form of a popular formal logic -- Linear Temporal Logic (LTL) -- from a set of traces given by the expert policy. A key novelty of the proposed approach is quantitative semantics of satisfaction of an LTL formula by a word that, following Occam's razor principle, incentivizes simpler explanations. Given a sample S=(P,N)S=(P,N) consisting of positive traces PP and negative traces NN, the proposed algorithms automate the search for a formula φ\varphi which provides the simplest explanation (in the GFGF fragment of LTL) of the samples. We have implemented this approach as an open-source tool QuantLearn to perform logic-based non-Markovian IRL. Our results demonstrate the feasibility of the proposed approach in eliciting intuitive LTL-based reward signals from noisy data.

Keywords

Cite

@article{arxiv.2110.13616,
  title  = {LTL-Based Non-Markovian Inverse Reinforcement Learning},
  author = {Mohammad Afzal and Sankalp Gambhir and Ashutosh Gupta and Krishna S and Ashutosh Trivedi and Alvaro Velasquez},
  journal= {arXiv preprint arXiv:2110.13616},
  year   = {2023}
}
R2 v1 2026-06-24T07:11:45.978Z