Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning with A* and a Deep Heuristic

Ariel Keselman, S. Ten|arXiv (Cornell University)|Nov 19, 2018
Reinforcement Learning in RoboticsComputer Science12 references13 citations
TL;DR

This paper proposes \aleph^{*}, a model-based reinforcement learning algorithm that combines A* search with a deep neural network heuristic to efficiently plan in complex environments. By training a convolutional neural network to predict action values via a soft temporal-difference update, \aleph^{*} achieves superior sample efficiency and performance over N-Step DQN in a pixel-based driving simulation, with trees showing high sequential efficiency (85% of nodes in sequence) and reaching 50% of the theoretical reward upper bound.

ABSTRACT

A* is a popular path-finding algorithm, but it can only be applied to those domains where a good heuristic function is known. Inspired by recent methods combining Deep Neural Networks (DNNs) and trees, this study demonstrates how to train a heuristic represented by a DNN and combine it with A*. This new algorithm which we call aleph-star can be used efficiently in domains where the input to the heuristic could be processed by a neural network. We compare aleph-star to N-Step Deep Q-Learning (DQN Mnih et al. 2013) in a driving simulation with pixel-based input, and demonstrate significantly better performance in this scenario.

Motivation & Objective

  • To address the limitation of A* in domains without a known heuristic by learning a deep neural network heuristic via reinforcement learning.
  • To develop a model-based RL algorithm that leverages tree search with a learned heuristic for efficient planning in high-dimensional observation spaces.
  • To improve sample efficiency and performance over standard DQN in environments with pixel-based inputs, such as driving simulations.
  • To enable real-time planning by constructing shallow, highly sequential trees through effective heuristic-guided search.

Proposed method

  • The algorithm uses a priority queue to expand nodes based on a combination of cumulative reward and estimated Q-values, favoring high-reward, high-expected-return paths.
  • Action values are backpropagated from leaf nodes to the root using a soft temporal-difference update, defined as $ Q^{s}_{a} = r^{s}_{a} + \gamma \frac{\sum_{b\in{\mathcal{A}}} Q^{x}_{b} w^{x}_{b}}{\sum_{b\in{\mathcal{A}}} w^{x}_{b}} $, which smooths over action values instead of using a hard maximum.
  • A deep convolutional neural network (CNN) serves as the heuristic function $ \mathcal{H}_{\theta} $, processing raw pixel observations to predict action values.
  • The network is trained using a mean squared error loss: $ \mathcal{L} = \frac{\left|Q^{s} - \mathcal{H}_{\theta}(S(s))\right|^{2}}{\mathrm{len}(\mathcal{A})} $, with stochastic gradient descent.
  • Experiences from completed trees are stored in a replay buffer and used to update the network weights, enabling continual learning.
  • Temporal dynamics (e.g., velocity, steering) are encoded directly into pixel colors to avoid frame stacking, enabling end-to-end learning from single-frame observations.

Experimental results

Research questions

  • RQ1Can a deep neural network heuristic be effectively trained and integrated into A* search to improve planning efficiency in complex, high-dimensional environments?
  • RQ2How does the performance of A* enhanced with a learned deep heuristic compare to standard DQN in pixel-based control tasks?
  • RQ3To what extent does the structure of the search tree (e.g., branching factor, sequential depth) affect real-time planning feasibility?
  • RQ4Does the use of a soft temporal-difference update improve learning stability and performance compared to standard Q-learning updates?

Key findings

  • The \aleph^{*} algorithm achieved 50% of the theoretical upper bound cumulative reward after 1000 training iterations in the driving simulation, demonstrating effective learning.
  • Using the trained heuristic alone (without tree search) resulted in a 50% performance drop, indicating that tree search is essential for full performance.
  • N-Step DQN failed to learn effectively in the same environment, even with high exploration ($\epsilon = 1$), highlighting the advantage of \aleph^{*}'s structured search.
  • The \aleph^{*} tree structure exhibited high efficiency, with 85% of nodes forming a nearly sequential path, enabling efficient real-time planning.
  • The algorithm scales as $\mathcal{O}(\text{rank})$ due to the use of a priority queue, in contrast to $\mathcal{O}(\text{rank}^2)$ for rollout-based methods like MCTS, making it suitable for large trees.

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.