Skip to main content
QUICK REVIEW

[Paper Review] Automata Guided Reinforcement Learning With Demonstrations

Xiao Li, Yao Ma|arXiv (Cornell University)|Sep 17, 2018
Reinforcement Learning in RoboticsComputer Science29 references11 citations
TL;DR

This paper proposes a reinforcement learning framework that integrates syntactically co-safe truncated linear temporal logic (scTLTL) with demonstrations to generate task-aligned intrinsic rewards and hierarchical policies. By compiling scTLTL specifications into finite state automata (FSA), the method provides structured intrinsic rewards that guide efficient learning, significantly reducing sample complexity and improving robustness in robotic manipulation tasks with complex, logically structured goals.

ABSTRACT

Tasks with complex temporal structures and long horizons pose a challenge for reinforcement learning agents due to the difficulty in specifying the tasks in terms of reward functions as well as large variances in the learning signals. We propose to address these problems by combining temporal logic (TL) with reinforcement learning from demonstrations. Our method automatically generates intrinsic rewards that align with the overall task goal given a TL task specification. The policy resulting from our framework has an interpretable and hierarchical structure. We validate the proposed method experimentally on a set of robotic manipulation tasks.

Motivation & Objective

  • To address the challenge of specifying reward functions for long-horizon, logically structured tasks in reinforcement learning.
  • To reduce sample complexity and variance in learning by incorporating formal task specifications via temporal logic.
  • To improve learning efficiency and policy robustness by combining demonstrations with automata-guided intrinsic rewards.
  • To enable interpretable, hierarchical policies that naturally decompose complex tasks into subtasks.
  • To facilitate zero-shot transfer of policies from simulation to real-world robotic systems.

Proposed method

  • The method compiles a given scTLTL task specification into a finite state automaton (FSA), which serves as a progress tracker and intrinsic reward generator.
  • Intrinsic rewards are derived from the FSA state transitions, providing dense, task-aligned signals that guide exploration toward goal satisfaction.
  • The FSA state is incorporated as a discrete dimension in the state space, effectively creating a curriculum that decomposes the task into simpler subtasks.
  • Demonstrations are used to initialize the policy via behavior cloning, reducing initial exploration time and mitigating covariate shift.
  • A hybrid training approach combines off-policy deep reinforcement learning (e.g., DDPG) with FSA-augmented MDPs and shaped rewards.
  • The framework uses robustness metrics from temporal logic to evaluate task success, enabling fair comparison across methods.

Experimental results

Research questions

  • RQ1Can formal task specifications via scTLTL improve sample efficiency in reinforcement learning for complex, logically structured tasks?
  • RQ2How does automaton-guided intrinsic reward shaping compare to heuristic reward shaping in terms of learning speed and success rate?
  • RQ3To what extent do demonstrations combined with FSA-augmented rewards reduce training variance and accelerate convergence?
  • RQ4Can policies trained in simulation successfully transfer to real-world robotic platforms?
  • RQ5How does the hierarchical structure from the FSA enable interpretable and robust policy learning?

Key findings

  • The proposed method achieved stable task success with average completion times of 36.5 steps for Task 1 and 34.3 steps for Task 2, significantly outperforming shaped-reward baselines.
  • Policies trained with demonstrations and FSA rewards converged faster and with lower variance than those using shaped rewards alone, which failed to solve tasks within the allocated training time.
  • The average number of steps for shaped-reward policies was 99.6 for Task 1 and 95.5 for Task 2, indicating poor sample efficiency.
  • The method enabled successful zero-shot transfer from simulation to real-world Baxter robot, with high success rates across 10 random trials for both tasks.
  • The FSA-based intrinsic rewards reduced reward hacking and improved policy interpretability by aligning learning with formal task specifications.
  • The hierarchical structure from the FSA enabled the agent to learn complex sequences more efficiently by decomposing the task into manageable subgoals.

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.