TL;DR
Extracting reusable, fixed-length skills from offline data helps reinforcement learning (RL) agents solve long-horizon tasks, but it often forces them to blindly overshoot critical crossroads. This paper introduces NBDI (Novelty-based Decision Point Identification), a method that uses state-action novelty to dynamically terminate skills at meaningful decision points. By allowing variable-length skills, NBDI dramatically improves an agent's exploration efficiency and generalization to unseen environment configurations.
What Problem Does This Paper Address?
In hierarchical reinforcement learning, agents reason using "temporal abstraction"—instead of controlling a robot joint millimeter by millimeter (low-level actions), the agent invokes macro-actions like "grasp the cup" or "open the door" (high-level skills). A popular way to acquire these skills is to extract them from task-agnostic offline datasets via unsupervised learning.
However, most state-of-the-art frameworks rely on fixed-length skills (e.g., always executing exactly 30 low-level steps). This rigid design introduces a major flaw: the agent frequently skips critical decision points. Imagine an autonomous car executing a fixed 100-meter "drive straight" skill that forces it to blow right past a crucial intersection where it should have turned. While some variable-length skill methods exist, they are computationally complex, unstable in large environments, or fail to generalize when the downstream environment's layout changes.
Methods
The authors propose NBDI, which dynamically determines when a skill should end by identifying when an agent hits a high-novelty state-action pair.
1. Decomposing State-Action Novelty
NBDI defines a critical decision point based on joint state-action novelty $\chi(s,a)$, which mathematically breaks down into two intuitive components: $$\chi(s, a) = \chi(s) \cdot \chi(a|s)$$ * State Novelty $\chi(s)$: Identifies states that are rare or hard to reach. Terminating here forces the agent to pause and make a deliberate choice in unfamiliar territory, expanding exploration coverage. * Conditional Action Novelty $\chi(a|s)$: Identifies states where a wide variety of actions have been taken in the past (e.g., a crossroad or the completion of a subtask).
2. The Offline Curiosity Trick
To calculate this novelty without complex density estimation, the authors repurpose the Intrinsic Curiosity Module (ICM). While ICM is traditionally used online to reward agents for exploring, NBDI pre-trains ICM offline on the demonstration dataset. In this setup, states where the ICM network suffers a high next-state prediction error naturally correspond to high-novelty decision points.
3. Joint Optimization
During the unsupervised skill-extraction phase, a deep latent variable model jointly learns the low-level policy, the skill embedding space, and a stochastic termination predictor ($\beta$) by maximizing the Evidence Lower Bound (ELBO). In downstream tasks, the high-level policy selects a skill, which runs until the termination module signals a stop ($\beta = 1$) or a maximum horizon ($H=30$) is reached.
Datasets
The method was evaluated on three challenging, sparse-reward environments using task-agnostic demonstrations:
- Maze Navigation (30x30 and 40x40): Derived from the D4RL benchmark. Crucially, the downstream evaluation mazes were four times larger and featured entirely unseen layouts compared to the training data.
- D4RL Kitchen: A robotic arm must execute an unseen sequence of four object manipulations (e.g., open microwave, turn burner).
- Sparse Block Stacking: A MuJoCo robotic environment where the agent trains on data from a 5-block setup but must generalize to an 11-block setup with rewards given only for the final height of the stack.
Key Insights and Ideas
- Alignment with Theory: The authors show that state-action novelty closely mirrors the classic Termination Improvement Theorem. Novelty naturally pinpoints states where the value functions of alternative actions diverge, which is exactly where an agent should re-evaluate its choices.
- Robustness to Layout Changes: By using agent-centered cropped images rather than global coordinates, the learned novelty module successfully identifies decision points even when transferred to completely new environment geometries.
- The Synergy of State + Action: Ablation studies revealed that terminating on state novelty alone or action novelty alone yields suboptimal results. The combination is what allows the agent to balance exploring open spaces and navigating tight bottlenecks.
Key Results
NBDI significantly outperformed flat RL baselines and the fixed-length skill baseline (SPiRL):
- Maze Navigation: In the massive 40x40 maze, NBDI achieved a 0.25 success rate, representing a 177.78% improvement over SPiRL (0.09).
- Sparse Block Stacking: NBDI achieved an average of 1.12 stacked blocks, outperforming SPiRL (0.67) by 67.16%.
- Kitchen Task: NBDI successfully completed 3.67 subtasks on average compared to SPiRL's 3.0 (22.33% improvement).
NBDI also proved highly robust, maintaining its performance even when the capacity (width/depth) of the underlying neural network or the size of the dataset was varied.
Limitations and Future Work
The primary limitation of NBDI is its dependency on the quality and style of the offline dataset. If the dataset is generated by a highly stochastic policy (like a pure random walk), the agent tends to cluster around the initial state. This flattens the prediction error distribution, making it difficult for the offline ICM to isolate distinct, meaningful decision points.
For future work, the authors suggest extending this novelty-based decision point framework to fully offline skill execution algorithms, removing the need for online fine-tuning entirely.
Summary updated