Skip to main content
QUICK REVIEW

[Paper Review] Automata-Guided Hierarchical Reinforcement Learning for Skill Composition

Xiao Li, Yao Ma|arXiv (Cornell University)|Oct 31, 2017
Reinforcement Learning in RoboticsComputer Science16 references4 citations
TL;DR

This paper proposes an automata-guided hierarchical reinforcement learning framework that uses syntactically co-safe linear temporal logic (scTLTL) specifications to automatically generate finite state automata (FSA) for constructing hierarchical policies. By mapping task specifications to deterministic meta-controllers via FSA, the method enables transparent, safe, and efficient skill composition with minimal retraining, outperforming end-to-end training on complex tasks in grid world and AI2Thor environments.

ABSTRACT

Skills learned through (deep) reinforcement learning often generalizes poorly across domains and re-training is necessary when presented with a new task. We present a framework that combines techniques in extit{formal methods} with extit{reinforcement learning} (RL). The methods we provide allows for convenient specification of tasks with logical expressions, learns hierarchical policies (meta-controller and low-level controllers) with well-defined intrinsic rewards, and construct new skills from existing ones with little to no additional exploration. We evaluate the proposed methods in a simple grid world simulation as well as a more complicated kitchen environment in AI2Thor

Motivation & Objective

  • To address the poor generalization of RL-trained skills across tasks and the high sample cost of retraining.
  • To enable automatic construction of hierarchical policies from formal task specifications using scTLTL and FSA.
  • To support skill composition by composing existing policies through FSA product construction, ensuring transparency and safety.
  • To eliminate manual reward engineering by deriving intrinsic rewards directly from FSA input alphabets.
  • To enable transfer and reusability of low-level policies across diverse tasks via meta-controller reconfiguration.

Proposed method

  • Translates scTLTL task specifications into deterministic finite state automata (FSA) to represent hierarchical policy structures.
  • Constructs intrinsic rewards from FSA transition labels, ensuring progress toward satisfying the full specification.
  • Augments the MDP state space with a discrete FSA state to enable training of structurally simple policies (e.g., feed-forward networks) on complex temporal tasks.
  • Uses FSA product construction to compose new skills from existing ones, preserving safety and interpretability.
  • Applies standard RL algorithms (e.g., DQN) on the product MDP to learn hierarchical policies without constraints on policy representation.
  • Employs compensation steps in training to fine-tune policies using stored experiences and true objectives, improving performance.

Experimental results

Research questions

  • RQ1Can formal task specifications expressed in scTLTL be automatically translated into interpretable, deterministic meta-controllers for hierarchical RL?
  • RQ2Can intrinsic rewards derived from FSA transitions guide RL agents to make progress toward complex temporal logic goals without manual reward shaping?
  • RQ3To what extent does FSA-based skill composition outperform end-to-end training in terms of sample efficiency and success rate on composed tasks?
  • RQ4How does the composition of FSA-based policies ensure safety and transparency in policy behavior?
  • RQ5Can the framework generalize to new tasks by reusing and recombining existing low-level policies with minimal retraining?

Key findings

  • The proposed method achieved significantly higher task success rates on complex tasks (e.g., task 2) compared to baseline methods, especially when using action penalties to reduce failure rates.
  • Skill composition via FSA product construction outperformed end-to-end training on the same task, with the composed policy achieving better success rates despite a larger FSA (23 nodes, 110 edges).
  • Simply initializing the policy with the FSA structure (c₁) already yielded a functional policy, demonstrating the value of specification-driven design.
  • The compensation step (c₃) significantly improved performance over c₁ and c₂, indicating that fine-tuning with experience is crucial for optimal results.
  • Action success rate remained high across all tasks, indicating that the intrinsic reward mechanism effectively discouraged failing actions.
  • The framework enabled early detection of specification errors through FSA analysis, reducing wasted training effort.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.