Skip to main content
QUICK REVIEW

[Paper Review] Hashing over Predicted Future Frames for Informed Exploration of Deep Reinforcement Learning

Haiyan Yin, Chen, Jianda|arXiv (Cornell University)|Jul 3, 2017
Reinforcement Learning in RoboticsComputer Science22 references6 citations
TL;DR

This paper proposes a novel informed exploration framework for deep reinforcement learning that uses a deep action-conditional prediction model to forecast future frames and a convolutional autoencoder with locality-sensitive hashing (LSH) to evaluate the novelty of predicted future states. By matching hash codes of predicted and actual frames, the agent quantifies the frequency of predicted states and selects actions leading to the least explored trajectories, significantly improving sample efficiency and performance on Atari 2600 environments compared to baseline methods.

ABSTRACT

In deep reinforcement learning (RL) tasks, an efficient exploration mechanism should be able to encourage an agent to take actions that lead to less frequent states which may yield higher accumulative future return. However, both knowing about the future and evaluating the frequentness of states are non-trivial tasks, especially for deep RL domains, where a state is represented by high-dimensional image frames. In this paper, we propose a novel informed exploration framework for deep RL, where we build the capability for an RL agent to predict over the future transitions and evaluate the frequentness for the predicted future frames in a meaningful manner. To this end, we train a deep prediction model to predict future frames given a state-action pair, and a convolutional autoencoder model to hash over the seen frames. In addition, to utilize the counts derived from the seen frames to evaluate the frequentness for the predicted frames, we tackle the challenge of matching the predicted future frames and their corresponding seen frames at the latent feature level. In this way, we derive a reliable metric for evaluating the novelty of the future direction pointed by each action, and hence inform the agent to explore the least frequent one.

Motivation & Objective

  • To address the challenge of efficient exploration in high-dimensional, continuous state spaces typical of deep RL, especially in sparse-reward environments.
  • To develop a mechanism that enables agents to predict future trajectories and assess the novelty of predicted states without relying on random exploration.
  • To integrate model-based prediction with hashing techniques to enable reliable estimation of state visitation frequency for future states.
  • To overcome the limitation of standard exploration heuristics like ε-greedy, which lack direction and fail in complex environments.
  • To enable deterministic, knowledge-driven exploration by leveraging predicted future states and their frequency estimates via learned hash codes.

Proposed method

  • Train an action-conditional deep prediction model to generate multi-step future frame predictions from a given state-action pair.
  • Use a deep convolutional autoencoder to extract high-level features from observed frames and apply locality-sensitive hashing (LSH) to generate binary hash codes for efficient similarity search.
  • Introduce a two-phase training procedure: first pre-train the autoencoder via reconstruction loss, then fine-tune it using a code-matching loss to align predicted frame codes with their corresponding ground-truth frame codes.
  • Match predicted frame hash codes to those of actual seen frames at the latent feature level to enable reliable frequency counting for predicted states.
  • Compute a novelty score for each action based on the inverse frequency of its predicted future state hashes, guiding the agent to explore the least frequent future trajectories.
  • Integrate the novelty metric into the DQN algorithm to replace random exploration with informed, deterministic action selection based on predicted state novelty.

Experimental results

Research questions

  • RQ1Can future frame prediction combined with hashing enable more efficient and directed exploration in deep RL compared to random exploration?
  • RQ2How can hash codes of predicted future frames be meaningfully matched to those of observed frames to estimate their visitation frequency?
  • RQ3Does using a learned model to predict future states and evaluate their novelty lead to improved sample efficiency and performance in sparse-reward environments?
  • RQ4Can a deterministic exploration strategy based on predicted state frequency outperform stochastic exploration heuristics like ε-greedy in complex environments?
  • RQ5To what extent does integrating model-based prediction with hashing improve exploration in deep RL tasks such as Atari 2600?

Key findings

  • The proposed DQN-Informed-Hash method outperforms DQN-Random, A3C, and A3C-CTS across all tested Atari 2600 environments, with significant gains in performance scores.
  • In Breakout, DQN-Informed-Hash achieves a score of 451.93, while DQN-Informed fails to progress (0.93), indicating the superiority of the proposed method in sparse-reward settings.
  • The method achieves a 15.6% average improvement in performance over the prior state-of-the-art DQN-Informed baseline across the tested domains.
  • The code-matching loss in phase 2 reduces average code loss from above 1 to near 0, enabling meaningful frequency counting for predicted frames.
  • Reconstruction quality is slightly reduced after code-matching fine-tuning, but predicted frames remain semantically meaningful and reflect key environmental dynamics.
  • The hash codes effectively capture state similarity: actions leading to small changes (e.g., no-op, left) produce similar codes, while actions causing large changes (e.g., right) yield distinct codes.

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.