mlsanityData to 14 Oct 2026

Learning Task Automata for Reinforcement Learning using Hidden Markov Models

arXiv 2208.11838 ↗First posted 25 Aug 2022cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Training reinforcement learning (RL) agents using scalar reward signals is often infeasible when an environment has sparse and non-Markovian rewards. Moreover, handcrafting these reward functions before training is prone to misspecification, especially when the environment's dynamics are only partially known. This paper proposes a novel pipeline for learning non-Markovian task specifications as succinct finite-state `task automata' from episodes of agent experience within unknown environments. We leverage two key algorithmic insights. First, we learn a product MDP, a model composed of the specification's automaton and the environment's MDP (both initially unknown), by treating the product MDP as a partially observable MDP and using the well-known Baum-Welch algorithm for learning hidden Markov models. Second, we propose a novel method for distilling the task automaton (assumed to be a deterministic finite automaton) from the learnt product MDP. Our learnt task automaton enables the decomposition of a task into its constituent sub-tasks, which improves the rate at which an RL agent can later synthesise an optimal policy. It also provides an interpretable encoding of high-level environmental and task features, so a human can readily verify that the agent has learnt coherent tasks with no misspecifications. In addition, we take steps towards ensuring that the learnt automaton is environment-agnostic, making it well-suited for use in transfer learning. Finally, we provide experimental results compared with two baselines to illustrate our algorithm's performance in different environments and tasks.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 20 of its 60 references that are in the map. First posted on arXiv 25 Aug 2022.

Builds on

20 of 60 references.

References · 20

  1. 2016Concrete Problems in AI Safetycited by 1,642
  2. 2020Reward Machines: Exploiting Reward Function Structure in Reinforcement Learningcited by 191
  3. 2019Benchmarking Model-Based Reinforcement Learningcited by 162
  4. 2017Environment-Independent Task Specifications via GLTLcited by 67
  5. 2021Compositional Reinforcement Learning from Logical Specificationscited by 67
  6. 2019Joint Inference of Reward Machines and Policies for Reinforcement Learningcited by 56
  7. 2018Logically-Constrained Reinforcement Learningcited by 51
  8. 2019Reinforcement Learning with Non-Markovian Rewardscited by 45
  9. 2020Induction and Exploitation of Subgoal Automata for Reinforcement Learningcited by 26
  10. 2021The Logical Options Frameworkcited by 25
  11. 2020Active Finite Reward Automaton Inference and Reinforcement Learning Using Queries and Counterexamplescited by 23
  12. 2019Induction of Subgoal Automata for Reinforcement Learningcited by 17
8 more
  1. 2021Verifiable and Compositional Reinforcement Learning Systemscited by 13
  2. 2021Inferring Probabilistic Reward Machines from Non-Markovian Reward Processes for Reinforcement Learningcited by 13
  3. 2022Joint Learning of Reward Machines and Policies in Environments with Partially Known Semanticscited by 12
  4. 2015Statistical and Computational Guarantees for the Baum-Welch Algorithmcited by 11
  5. 2020Learning and Solving Regular Decision Processescited by 11
  6. 2022Markov Abstractions for PAC Reinforcement Learning in Non-Markov Decision Processescited by 10
  7. 2020Online Learning of Non-Markovian Reward Modelscited by 9
  8. 2014Quantitative model-checking of controlled discrete-time Markov processescited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 2; 2025: 1; 2026: 2.

7 papers.