HDCS: Hierarchy Discovery and Critic Shaping for Reinforcement Learning with Automaton Specification
Duo XU, Faramarz Fekri
NeurIPS page · Open on the map
Category: Reinforcement Learning & Games › Temporal Logic Planning · Type: new method · Keywords: reinforcement learning, deterministic finite-state automaton, hierarchical RL, critic shaping, task specification, speedup
Areas: AI Agents › Agent Optimization and Evaluation › World Models for Agents; RL for LLMs & Agents › Language Model Reinforcement Learning › Reward Specification
Summary
HDCS is a two-phase RL framework that discovers hierarchical subgoal structures and uses critic shaping to accelerate solving DFA tasks while preserving the original optimal policies.
Explained to a 5-year-old
In a game, the robot needs to finish several steps in order. The robot can learn which steps must happen first by looking at the steps like a tree. Then the robot gets a helper that tells it how to go faster without changing the correct steps. This helps the robot finish the game quicker.
Explained to a 5-year-old, longer
In a video game, the robot needs to do a bunch of little tasks to win. Sometimes the tasks are hidden in a special order, like a puzzle. The robot can get confused because it doesn't know which tasks come first. The researchers gave the robot a way to look at the tasks and see which ones are needed before others. This helps the robot make a tree that shows the order of tasks. After that, the robot uses a special helper that tells it how to go faster. The helper makes the robot reach the finish line quicker without breaking the rules. The robot still does the same tasks, just more efficiently. This makes the robot finish the game in less time. The researchers tested it in many different games and saw it works well. They found the robot could solve the puzzles about two to three times faster than before. This new idea helps robots learn and play better.
For a technical reader
The paper presents HDCS, a two-stage reinforcement-learning framework for tasks described by deterministic finite-state automata. First, it discovers hierarchical relationships among the automaton’s subgoals using hierarchical RL, building a prerequisite tree. Next, it merges this hierarchy into the original automaton to form a product automaton and applies a novel critic-shaping technique that speeds up learning without changing the optimal policy. Experiments across several domains show that the critic shaping yields a 2×-3× speedup compared to existing baselines.
Problem
Training RL agents with sparse, non-Markovian rewards is difficult, and tasks specified by deterministic finite-state automata often contain hidden hierarchical subgoal structures that existing algorithms struggle to exploit efficiently.
Method
The approach first uses hierarchical reinforcement learning to identify prerequisite relationships among subgoals and construct a hierarchy. Then, given a DFA task specification, the hierarchy is integrated into the DFA to create a product automaton, and a critic shaping technique is applied to speed up reaching the product DFA states while preserving the original optimal policies.
Results
The approach achieves a 2× to 3× speedup in solving DFA tasks compared to baseline methods across multiple domains.
Contributions
It introduces a method to discover hierarchical subgoal structures in DFA tasks and a critic shaping technique that accelerates task solving without altering optimal policies.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction