Boundary Extension Features for Width-Based Planning with Simulators on Continuous-State Domains

Florent Teichteil-Königsbuch, Miquel Ramírez, Nir LipovetzkyIJCAI 2020

TL;DR

This paper introduces a novel "Boundary Extension Encoding" (BEE) method for width-based planning algorithms, enabling them to effectively handle continuous state spaces in simulators. BEE dynamically learns state features online, allowing planners to achieve comparable policy quality to state-of-the-art deep reinforcement learning methods but with significantly less computational cost.

What Problem Does This Paper Address?

Traditional planning algorithms often struggle with continuous state domains, especially when relying on black-box simulators. Naively discretizing continuous variables leads to an explosion in the search space, making planning computationally intractable. Furthermore, continuous actions also require discretization, further increasing the branching factor. Width-based planning, a promising approach that uses "novelty" to guide search without needing explicit models of action effects, has primarily been applied to discrete domains. This paper aims to bridge this gap by developing a method that allows width-based planners to efficiently and effectively operate in continuous state spaces, particularly in control problems common in robotics and autonomous systems.

Methods

The core contribution is the Boundary Extension Encoding (BEE). BEE is an adaptive, online feature mapping mechanism designed to measure the novelty of states in continuous domains. Instead of relying on static, pre-defined features, BEE dynamically constructs features as the planning process unfolds.

Here's how it works:

  • Boundary Tracking: For each state variable, BEE maintains two ordered lists: one for positive extensions (values exceeding the current maximum observed) and one for negative extensions (values falling below the current minimum observed).
  • Feature Generation: When a new state is generated, BEE checks if the values of its state variables extend these boundaries. If a value extends a boundary, a new boundary is recorded.
  • Novelty Measurement: A state is considered "novel" if its values push the envelope of previously explored boundaries for any variable. The novelty measure is based on the index of the interval a state's value falls into, relative to the recorded boundaries.
  • Integration with Planners: These dynamically generated BEE features are then used by existing width-based search algorithms like k-BFWS (a greedy best-first search) and RIW (a rollout algorithm) to guide their exploration.

This approach contrasts with previous methods that often relied on fixed feature sets or binary representations of continuous values, which proved less effective in complex control tasks.

Datasets

The paper evaluates its approach on the OpenAI Gym's "classical control" suite of benchmarks. Specifically, it mentions:

  • Mountain Car: A classic reinforcement learning benchmark where the agent must learn to reach a goal position from a low-potential energy state.
  • Acrobot: Another benchmark involving a two-link pendulum system that needs to be swung up to a target configuration.
  • Cart Pole: A task where the agent must balance a pole on a cart.
  • Pendulum: Similar to Cart Pole, focusing on balancing a pendulum.

The authors note that they also considered naive features and Ramirez et al.'s features but found them insufficient for solving these benchmarks.

Key Insights and Ideas

  • Dynamic Feature Learning is Crucial for Continuous Domains: Static, pre-defined features are insufficient for effectively exploring continuous state spaces in simulators. Online, adaptive feature generation is key.
  • "Pushing the Envelope" as a Novelty Metric: The BEE's core idea of novelty being tied to extending the boundaries of explored state variable values is surprisingly effective, even in domains where optimal policies might not always involve extreme values.
  • Width-Based Planners Can Compete with DRL: By using BEE, width-based planners can achieve comparable policy quality to state-of-the-art deep reinforcement learning algorithms, but with significantly less computational overhead. This suggests a powerful alternative for certain planning tasks.
  • Handling "Dead-Ends" Effectively: In tasks like Cart Pole, BEE's ability to identify and avoid states that lead to failure (e.g., the pole hitting the ground) as "negative goals" contributes to finding stable solutions.

Key Results

The paper demonstrates strong performance across several benchmarks:

  • Mountain Car: k-BFWS with BEE solved the problem in an average of 4.6 seconds, while PPO2 (a deep RL algorithm) failed to learn a valid policy after 7 hours.
  • Acrobot: k-BFWS found a policy of comparable quality to PPO2, but PPO2 took approximately 20 times longer.
  • Cart Pole: k-BFWS was found to be optimal, stabilizing the robot for the entire simulation. PPO2 took 3 times longer to learn a policy of similar quality.
  • Pendulum: k-BFWS achieved good performance, and the authors suggest that warm-starting PPO2 with a plan found by k-BFWS could speed up convergence.
  • Computational Efficiency: A recurring theme is that width-based planners using BEE achieve comparable or better results with significantly less computational resources compared to DRL methods.

Limitations and Future Work

  • Recursive BEE Features: The authors explored an extension of BEE with recursive features (p > 1) to refine boundaries. While it showed some promise, the results were inconsistent, with high variance, and require further investigation.
  • Generalizability of Recursive BEE: The authors are unsure if the observed variance in recursive BEE features is a general characteristic or specific to the tested benchmarks.
  • Future Work:
    • Developing more robust recursive BEE features.
  • Using width-based planners with BEE to initialize non-linear optimal control solvers, potentially speeding up convergence.
  • Exploring BEE for excitation strategies in system identification and model learning.

Summary updated

BibTeX
@inproceedings{teichteilkonigsbuch2020boundary,
  author = {Florent Teichteil-Königsbuch and Miquel Ramírez and Nir Lipovetzky},
  title = {{Boundary Extension Features for Width-Based Planning with Simulators on Continuous-State Domains}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=d7_YSCeUeJ},
}
Figure