Skip to main content
QUICK REVIEW

[Paper Review] Variational Deep Q Network

Yunhao Tang, Alp Kucukelbir|arXiv (Cornell University)|Nov 30, 2017
Reinforcement Learning in RoboticsComputer Science20 references8 citations
TL;DR

This paper proposes Variational Deep Q Network (VDQN), a reinforcement learning framework that models the value function parameters as a probability distribution using variational inference, enabling efficient, systematic exploration. By optimizing a surrogate objective equivalent to a variational inference loss, VDQN achieves stable and superior performance on large-scale chain MDPs compared to DQN with ε-greedy and NoisyNet.

ABSTRACT

We propose a framework that directly tackles the probability distribution of the value function parameters in Deep Q Network (DQN), with powerful variational inference subroutines to approximate the posterior of the parameters. We will establish the equivalence between our proposed surrogate objective and variational inference loss. Our new algorithm achieves efficient exploration and performs well on large scale chain Markov Decision Process (MDP).

Motivation & Objective

  • To address the limitations of naive exploration in deep reinforcement learning, such as ε-greedy and action-space noise, which fail in hard environments requiring systematic exploration.
  • To model the uncertainty in value function parameters explicitly by approximating their posterior distribution using variational inference.
  • To develop a surrogate objective that combines Bellman error and entropy regularization, enabling efficient exploration through parameter-space randomization.
  • To establish a theoretical equivalence between the proposed objective and variational inference loss, allowing use of black-box variational inference for training.
  • To improve convergence and prevent premature convergence in sparse-reward environments like large chain MDPs.

Proposed method

  • The method models the value function parameters θ as a random variable with a variational posterior qϕ(θ), approximating the true posterior p(θ|D) via variational inference.
  • A surrogate objective is derived that is mathematically equivalent to the variational inference loss, combining Bellman error and an entropy term on the parameter distribution.
  • The algorithm optimizes this objective using stochastic gradient descent, enabling end-to-end training with black-box variational inference subroutines.
  • The framework is interpreted as performing approximate Thompson sampling, which naturally encourages exploration by sampling from the posterior distribution of parameters.
  • The value function is updated using a target network with slowly updated parameters to stabilize training, similar to DQN.
  • The method maintains high entropy in the parameter distribution, preventing premature convergence to suboptimal policies.

Experimental results

Research questions

  • RQ1Can modeling the value function parameters as a probability distribution improve exploration efficiency in deep reinforcement learning?
  • RQ2Does the equivalence between the proposed surrogate objective and variational inference loss enable stable and effective training in sparse-reward environments?
  • RQ3How does VDQN compare to DQN with ε-greedy and NoisyNet in terms of convergence speed and performance on large chain MDPs?
  • RQ4Can high entropy in the parameter distribution prevent premature convergence and enable systematic exploration in long-horizon tasks?
  • RQ5What is the impact of parameter distribution uncertainty on state visitation patterns and policy learning in chain MDPs?

Key findings

  • VDQN converges to the optimal policy within 500 episodes (50 iterations) on average for chain MDPs with N ≤ 70, demonstrating stable and efficient learning.
  • For N ≥ 100, VDQN continues to make steady improvement over time, while DQN and NoisyNet fail to converge or show oscillatory behavior.
  • In N=32 chain MDPs, VDQN maintains high visitation probability for all states, including the farthest state s_N, due to consistent exploration from parameter-space randomization.
  • DQN suppresses visits to states beyond s_{N/2} due to insufficient momentum from ε-greedy exploration, leading to convergence to a locally optimal policy at s_1.
  • NoisyNet shows slower convergence and oscillations for large N, indicating instability in exploration due to lack of explicit entropy encouragement.
  • The state visit count analysis confirms that VDQN enables systematic exploration by maintaining non-zero visitation probability across the entire chain, even in early training.

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.